X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:reply-to:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=ukkiUfDXFzmIwKOE 4ON38+MsXk/hMmlLOCMca6YJcbKAzD9cIbS9GGceDAs2qpWL9KKLTGgj01S111Cf Zo6Bo7YRjv/EtINjSIy3w4HrxcL568JIWpIy30dMMalV6t3+V7oRaay30DDxGIfL 9a4QnCUWyMwAE2JbN8Q6Jv/M3uA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:reply-to:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=UpxjSnn27wWGznW9dG/q9k 6yxrY=; b=vQo4x7gr8pm7pJGfShfKDk+UVPTB0EnG7e+yEN199AHWSgah7/k2Ok B5SSq/vAK7/R2sP4RCc/jA8qLTjwkDUjb6E9wg7GMcUfk9PvdkYcWvvRmErr2zz1 rKzOiyF9DOdl+sDPoS/+W8KGyOFczF2Y3GSf8Wpcako6NbNlVpuVc= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=H*R:D*cygwin.com, Hx-spam-relays-external:ESMTPA X-HELO: out1-smtp.messagingengine.com Subject: Re: X widget question To: Marco Atzeri , cygwin AT cygwin DOT com References: <56EE7412 DOT 8080708 AT gmail DOT com> Reply-To: cygwin AT cygwin DOT com From: Jon Turney Message-ID: <56F11C12.80900@dronecode.org.uk> Date: Tue, 22 Mar 2016 10:18:58 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: <56EE7412.8080708@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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 FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple