[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [arm-gnu] C++ exception at load time


  • To: "Esper, James" <James.Esper@xxxxxxxxxxxxxx>, "Mark Mitchell" <mark@xxxxxxxxxxxxxxxx>, "Douglass, Woody" <Woodrow.Douglass@xxxxxxxxxxxxxx>
  • Subject: RE: [arm-gnu] C++ exception at load time
  • From: "Esper, James" <James.Esper@xxxxxxxxxxxxxx>
  • Date: Mon, 25 Jan 2010 09:46:31 -0500

I meant to say I did a grep for try and for catch...
The printf was also at the very top of the main() function.

-----Original Message-----
From: Esper, James [mailto:James.Esper@xxxxxxxxxxxxxx] 
Sent: Monday, January 25, 2010 9:42 AM
To: Mark Mitchell; Douglass, Woody
Cc: arm-gnu@xxxxxxxxxxxxxxxx
Subject: RE: [arm-gnu] C++ exception at load time

Hi Mark,

This error happens upon launch (I can't even get a printf with an
fflush(stdout) to display on the terminal when I execute this program).

I have also noticed that if I comment out all of the pthread calls then
the error goes away and I am able to run the program... any ideas why
that could be?

I guess it's possible for it to be an exception was thrown, but it would
have to be in a library we're linking in or something like that.  I did
a grep for throw in our source code but didn't find anything.

Thanks,

James

-----Original Message-----
From: Mark Mitchell [mailto:mark@xxxxxxxxxxxxxxxx] 
Sent: Sunday, January 24, 2010 1:22 PM
To: Douglass, Woody
Cc: arm-gnu@xxxxxxxxxxxxxxxx
Subject: Re: [arm-gnu] C++ exception at load time

Douglass, Woody wrote:

> terminate called after throwing an instance of
> '__gnu_cxx::__concurrence_broadcast_error'
>   what():  __gnu_cxx::__concurrence_broadcast_error
> Aborted

This might mean that this exception was thrown, but that there was no
corresponding catch handler.  Does that sound plausible in your
situation?

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@xxxxxxxxxxxxxxxx
(650) 331-3385 x713