public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: coredumps with fc-cache, fc-list
       [not found]   ` <503DCCD1.9020905@cwilson.fastmail.fm>
@ 2012-08-31  7:08     ` Charles Wilson
  0 siblings, 0 replies; only message in thread
From: Charles Wilson @ 2012-08-31  7:08 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-30 22:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <503C61C2.2010406@cwilson.fastmail.fm>
     [not found] ` <1346142378.8376.5.camel@YAAKOV04>
     [not found]   ` <503DCCD1.9020905@cwilson.fastmail.fm>
2012-08-31  7:08     ` coredumps with fc-cache, fc-list Charles Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).