This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: possible bug in libXt or libXaw
- From: Marco Atzeri <marco dot atzeri at gmail dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Sun, 16 Nov 2014 08:16:33 +0100
- Subject: Re: possible bug in libXt or libXaw
- Authentication-results: sourceware.org; auth=none
- References: <5467E20A dot 4000503 at gmail dot com> <loom dot 20141116T072443-957 at post dot gmane dot org>
- Reply-to: cygwin-xfree at cygwin dot com
On 11/16/2014 7:30 AM, Mark Geisert wrote:
Marco Atzeri writes:
this is the pointer causing the segfault
(gdb) p form->form.horiz_base
$2 = (Widget) 0x6275705f6779632f
while similar pointers have a much smaller address,
(gdb) p w
$5 = (Widget) 0x60014bd50
so it that an assignment not clearing the upper
portion of the pointer.
$2 is not a pointer that needed partial clearing, it's a character string
"/cyg_pub". Possibly a buffer overrun somewhere? Hope the string fragment
points the way to somebody.
..mark
thanks for the hint, "/cyg_pub" is a directory on the root
$ ls -l / |grep pub
lrwxrwxrwx 1 marco Administrators 19 Jun 26 19:11 pub ->
/cygdrive/e/cyg_pub
where the data file was stored,
however moving it to "/tmp" produce as result
p ref
$1 = (Widget) 0x635f7261636e5f62 aka c_racn_b
that is not very meaningful to me, so the pointer corruption
can be very generic.
Marco
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/