This is the mail archive of the
mailing list for the Cygwin project.
Re: X widget question
- From: Jon Turney <jon dot turney at dronecode dot org dot uk>
- To: Marco Atzeri <marco dot atzeri at gmail dot com>, cygwin at cygwin dot com
- Date: Tue, 22 Mar 2016 10:18:58 +0000
- Subject: Re: X widget question
- Authentication-results: sourceware.org; auth=none
- References: <56EE7412 dot 8080708 at gmail dot com>
- Reply-to: cygwin at cygwin dot com
On 20/03/2016 09:57, Marco Atzeri wrote:
I have finally identified where ncview was
segfaulting on X86_64
The solution was to reverse the order of destruction
for a chain of widgets
Nice to see that you have resolved this.
It's not clear from what you write if you are sure there is an
undocumented ordering constraint (which just happens to not crash on
32-bit), or if reversing the ordering just happens to make things not
crash on 64-bit
The segfault was inside Xlib when managing the constraints.
As the segfault did not happened on i686, is it possible
that is a race inside Xlib ?
I have not found in the X Documentation nothing about
requested order of widget destruction in this case.
Possible, yes. It seems more likely that there is a documentation
error, or a bug in handling widgets which share a constraint being
destroyed out of order.
I'm afraid finding someone who cares greatly about libXt will be hard,
but do you think it would now be possible to craft a test case which
demonstrates the problem?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple