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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=EFLhNFWttEnvvPA4ENDjCNHt9hHbv6A11F2Bh3XKC9K vrrIeapSCzloHs3g/2RB7jUwvBZrkewAtIzrNsHPlLSzIPg1wPX4Thz0W4rUFK5x y9UABWYVg9E3h0uRSz6KA1Qc4W8OKnR4qc7gEsL2LOt2B6qvIUvGaJNqFNM+wUF8 = 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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=AtKbhyq5keB618yzbxa/4lur5rk=; b=qp4FNcx1el2UOnvnr rTlyt8+BvBKHWkwlnFNtInbsHtlrHj3nEsAINFgShVf1iTxTNfZWi6a3UNf3AuoA Y/5LcWtHI4EjND0HSslsxpFa4dE3RPofOltWTuycPF90UwQq/AV2KHErvieewJmH JICEjPwWj16RLfZKDJ2Z5eJTrI= 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.7 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: limerock02.mail.cornell.edu X-CornellRouted: This message has been Routed already. Message-ID: <52AB18B2.7040802@cornell.edu> Date: Fri, 13 Dec 2013 09:24:50 -0500 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: gtk+ applications crash when filechooser opened References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 12/13/2013 2:12 AM, Carl Michal wrote: > I recently started trying to port a gtk program to cygwin, and have > found that my program crashes everytime it tries to open a file chooser > widget. > > This doesn't happen with just my own programs, but also with gvim and > emacs-x11. Either will start up ok, but both crash as soon as File->Open > is selected. > > I see this problem with both the gtk+-2 and gtk3 versions of my program. > I've done a little digging with the debugger, and see that the crash > happens deep in glib at this line: > > return pthread_getspecific (*g_private_get_impl (key)); > > The g_private_get_impl call completes ok, but pthread_getspecific causes > a pretty dramatic crash: > > g_private_get (key=0x2003c5d8, key AT entry=0x6acb1260 > ) at > /usr/src/debug/glib2.0-2.36.4-4/glib/gthread-posix.c:1005 > 1005 } > (gdb) step > 1004 return pthread_getspecific (*g_private_get_impl (key)); > (gdb) step > /netrel/src/gdb-7.6.50-4/gdb/infrun.c:1942: internal-error: resume: > Assertion `pc_in_thread_step_range (pc, tp)' failed. > A problem internal to GDB has been detected, > further debugging may prove unreliable. > Quit this debugging session? (y or n) > > I notice from a previous post on the list that someone else has seen > similar problems. I also saw that there was a new glib version on Dec 6. > Unfortunately, reverting to libglib2.0_0-2.36.4-3 (or -1) from -4 > doesn't seem to help at all. > > I've attached output of cygcheck. > > Any advice would be appreciated, This discussion belongs on the cygwin-xfree list. I'm sending a followup there. Ken -- 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