delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/30/18:24:45

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-7.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,TW_RX
X-Spam-Check-By: sourceware.org
Message-ID: <503FE808.7060602@cwilson.fastmail.fm>
Date: Thu, 30 Aug 2012 18:24:08 -0400
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
Reply-To: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: coredumps with fc-cache, fc-list
References: <503C61C2 DOT 2010406 AT cwilson DOT fastmail DOT fm> <1346142378 DOT 8376 DOT 5 DOT camel AT YAAKOV04> <503DCCD1 DOT 9020905 AT cwilson DOT fastmail DOT fm>
In-Reply-To: <503DCCD1.9020905@cwilson.fastmail.fm>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 8/29/2012 4:03 AM, Charles Wilson wrote:
> I'm back to debugging, on the Vista machine where gdb actually works
> [1], the original problem with rxvt-unicode which I encountered on W7 --
> that is, whenever I do anything "interesting" (like, say, simply
> starting vi), my rxvt-unicode terminal crashes with a SIGABRT:
> 
> Program received signal SIGABRT, Aborted.
> 0x00000000 in ?? ()
> (gdb) bt
> #0  0x00000000 in ?? ()
> #1  0x77015490 in ntdll!ZwWaitForSingleObject ()
>    from /c/Windows/system32/ntdll.dll
> #2  0x757b9aa4 in WaitForSingleObjectEx ()
>    from /c/Windows/system32/kernel32.dll
> #3  0x00000564 in ?? ()
> #4  0x00000000 in ?? ()
> 
> 
> No idea why.

Turns out this was an unhandled exception issue (which was quite obvious
from the stacktrace once I was able to put a breakpoint in cygwin's
abort() implementation).  rxvt-unicode was trying to be clever, and
linking only against libsupc++ (that is, using gcc to link, and adding
-lsupc++) rather than linking with g++.

The configure test was apparently simple enough that it passed on cygwin
-- but rxvt-unicode itself was more complex, and died horribly. I
changed it to link using g++ and everything worked fine: both the new
9.15-1 and a simple respin of the old 9.07 release.

I still can't use gdb on my W7 box, tho...

> [1] "Space key + gdb": http://cygwin.com/ml/cygwin/2012-08/msg00571.html 

--
Chuck


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019