public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Charles Wilson <cygwin@cwilson.fastmail.fm>
To: cygwin@cygwin.com
Subject: Re: coredumps with fc-cache, fc-list
Date: Fri, 31 Aug 2012 07:08:00 -0000	[thread overview]
Message-ID: <503FE808.7060602@cwilson.fastmail.fm> (raw)
In-Reply-To: <503DCCD1.9020905@cwilson.fastmail.fm>

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

           reply	other threads:[~2012-08-30 22:24 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <503DCCD1.9020905@cwilson.fastmail.fm>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=503FE808.7060602@cwilson.fastmail.fm \
    --to=cygwin@cwilson.fastmail.fm \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).