public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/28586] thowing exception before main() leads to crash on AIX
[not found] <bug-28586-4@http.gcc.gnu.org/bugzilla/>
@ 2012-12-10 17:17 ` dje at gcc dot gnu.org
2015-02-16 23:10 ` dje at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: dje at gcc dot gnu.org @ 2012-12-10 17:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28586
David Edelsohn <dje at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|powerpc-aix |powerpc-ibm-aix
Last reconfirmed|2006-08-03 18:48:29 |2012-12-10 18:48:29
Host| |powerpc-ibm-aix
Build| |powerpc-ibm-aix
--- Comment #2 from David Edelsohn <dje at gcc dot gnu.org> 2012-12-10 17:17:07 UTC ---
This probably is related to static constructors of dependent libraries not
running before constructors in the application because it is trying to throw an
exception from a static constructor.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/28586] thowing exception before main() leads to crash on AIX
[not found] <bug-28586-4@http.gcc.gnu.org/bugzilla/>
2012-12-10 17:17 ` [Bug target/28586] thowing exception before main() leads to crash on AIX dje at gcc dot gnu.org
@ 2015-02-16 23:10 ` dje at gcc dot gnu.org
2015-03-17 19:44 ` zoltan at hidvegi dot com
` (3 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: dje at gcc dot gnu.org @ 2015-02-16 23:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28586
David Edelsohn <dje at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |chandrakm at hotmail dot com
--- Comment #3 from David Edelsohn <dje at gcc dot gnu.org> ---
*** Bug 61637 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/28586] thowing exception before main() leads to crash on AIX
[not found] <bug-28586-4@http.gcc.gnu.org/bugzilla/>
2012-12-10 17:17 ` [Bug target/28586] thowing exception before main() leads to crash on AIX dje at gcc dot gnu.org
2015-02-16 23:10 ` dje at gcc dot gnu.org
@ 2015-03-17 19:44 ` zoltan at hidvegi dot com
2015-03-17 22:36 ` zoltan at hidvegi dot com
` (2 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: zoltan at hidvegi dot com @ 2015-03-17 19:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28586
Zoltan Hidvegi <zoltan at hidvegi dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zoltan at hidvegi dot com
--- Comment #4 from Zoltan Hidvegi <zoltan at hidvegi dot com> ---
This testcase fails with gcc-4.8, but works with g++-4.9 and later on AIX both
for 32-bit and 64-bit, even though MD_FALLBACK_FRAME_STATE_FOR is not
implemented for 64-bit AIX. Is there still a bug here? Maybe this works but
there are still issues when using dlopen or shared libaries? I've tried to
create a failing testcase using dlopen etc. for gcc-4.9 or later, but
everything I've tried works the same on AIX and Linux.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/28586] thowing exception before main() leads to crash on AIX
[not found] <bug-28586-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2015-03-17 19:44 ` zoltan at hidvegi dot com
@ 2015-03-17 22:36 ` zoltan at hidvegi dot com
2015-03-18 12:42 ` dje at gcc dot gnu.org
2015-03-18 12:44 ` dje at gcc dot gnu.org
5 siblings, 0 replies; 8+ messages in thread
From: zoltan at hidvegi dot com @ 2015-03-17 22:36 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28586
--- Comment #5 from Zoltan Hidvegi <zoltan at hidvegi dot com> ---
Btw. the original testcase was really failing because of Bug 33704, and it
seems that is already fixed, however it's still open, or is it not fully fixed?
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/28586] thowing exception before main() leads to crash on AIX
[not found] <bug-28586-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2015-03-17 22:36 ` zoltan at hidvegi dot com
@ 2015-03-18 12:42 ` dje at gcc dot gnu.org
2015-03-18 12:44 ` dje at gcc dot gnu.org
5 siblings, 0 replies; 8+ messages in thread
From: dje at gcc dot gnu.org @ 2015-03-18 12:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28586
Bug 28586 depends on bug 33704, which changed state.
Bug 33704 Summary: AIX runs c++ constructors in incorrect order
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33704
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/28586] thowing exception before main() leads to crash on AIX
[not found] <bug-28586-4@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2015-03-18 12:42 ` dje at gcc dot gnu.org
@ 2015-03-18 12:44 ` dje at gcc dot gnu.org
5 siblings, 0 replies; 8+ messages in thread
From: dje at gcc dot gnu.org @ 2015-03-18 12:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28586
David Edelsohn <dje at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
--- Comment #6 from David Edelsohn <dje at gcc dot gnu.org> ---
Is this now is fixed?
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/28586] New: thowing exception before main() leads to crash on AIX
@ 2006-08-03 16:15 bigwad at mail dot ru
2006-08-03 16:17 ` [Bug target/28586] " pinskia at gcc dot gnu dot org
2006-08-03 18:48 ` dje at gcc dot gnu dot org
0 siblings, 2 replies; 8+ messages in thread
From: bigwad at mail dot ru @ 2006-08-03 16:15 UTC (permalink / raw)
To: gcc-bugs
test enviroment: AIX 5.2, 5.3; gcc 3.3.2, 4.1.0
code to reproduce:
int f()
{
try
{
throw 1;
}
catch(int){}
return 0;
}
int i = f();
int main( int argc, char* argv[] )
{
return 0;
}
--
Summary: thowing exception before main() leads to crash on AIX
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bigwad at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28586
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2015-03-18 12:44 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-28586-4@http.gcc.gnu.org/bugzilla/>
2012-12-10 17:17 ` [Bug target/28586] thowing exception before main() leads to crash on AIX dje at gcc dot gnu.org
2015-02-16 23:10 ` dje at gcc dot gnu.org
2015-03-17 19:44 ` zoltan at hidvegi dot com
2015-03-17 22:36 ` zoltan at hidvegi dot com
2015-03-18 12:42 ` dje at gcc dot gnu.org
2015-03-18 12:44 ` dje at gcc dot gnu.org
2006-08-03 16:15 [Bug c++/28586] New: " bigwad at mail dot ru
2006-08-03 16:17 ` [Bug target/28586] " pinskia at gcc dot gnu dot org
2006-08-03 18:48 ` dje at gcc dot gnu dot org
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).