public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Andrew Haley <aph@redhat.com>
To: Barry Andrews <titanandrews@gmail.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: Mixing exception handling libraries with non exception handling
Date: Mon, 04 Aug 2008 16:25:00 -0000	[thread overview]
Message-ID: <48972D36.4010005@redhat.com> (raw)
In-Reply-To: <489728DE.50403@gmail.com>

Barry Andrews wrote:
> Andrew Haley wrote:
>>
>> Yes, it is always true AFAIAA.  The unwinder reads the data lazily,
>> so unless it actually finds a stack frame belonging to code that has
>> no unwinder data, that should have no effect.  The instant the unwinder
>> sees a frame that it can't unwind, it will abort: there is nothing
>> else it can do.
>>
>> Note this: the abort is from within the unwinder, WHILE IT IS
>> TRYING TO UNWIND A ROUTINE WITH NO UNWINDER DATA.  So, you have
>> to try to find out why that is happening.
>>
>> gdb is your friend here.
>>   
> And that's why it aborts for me. There is no unwinder data at all. I'll
> keep digging, but there are lots of internals here to debug.

OK, so you have to look at a gdb backtrace to see which routine
with no unwinder data is being unwound.

>>> Is there no work around for this? It seems so very strange to me.
>>>     
>>
>> Compile with -fexceptions.
>>   
> Yeah, I have that. Doesn't help. Did it work for you?

Yes, always.

Andrew.

  parent reply	other threads:[~2008-08-04 16:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-04 14:40 Barry Andrews
2008-08-04 15:00 ` Andrew Haley
     [not found]   ` <48971DE4.90804@gmail.com>
2008-08-04 15:26     ` Andrew Haley
     [not found]       ` <48972282.2060208@gmail.com>
2008-08-04 15:54         ` Andrew Haley
     [not found]           ` <489728DE.50403@gmail.com>
2008-08-04 16:25             ` Andrew Haley [this message]
2008-08-05 14:33           ` Ian Lance Taylor
     [not found]             ` <489867BB.1090204@gmail.com>
2008-08-05 15:28               ` Andrew Haley
2008-08-05 16:23               ` Ian Lance Taylor

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=48972D36.4010005@redhat.com \
    --to=aph@redhat.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=titanandrews@gmail.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).