public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/45509] New: program abort after compiled with gcc-4.5.1
@ 2010-09-02 21:12 wung at synopsys dot com
2010-09-02 21:54 ` [Bug c++/45509] " hjl dot tools at gmail dot com
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: wung at synopsys dot com @ 2010-09-02 21:12 UTC (permalink / raw)
To: gcc-bugs
Our program got an exception and abort when compiled and run on RHEL 4.6 with
gcc 4.5.1. It got this mysterious stack trace. It seems to occur due to
_Unwind_Resume doing something odd here.
This code works with the gcc4.2.2 compiler.
#0 0x0000002a9890725d in raise () from /lib64/tls/libc.so.6
#1 0x0000002a98908a5e in abort () from /lib64/tls/libc.so.6
#2 0x0000002a987d4c6a in _Unwind_Resume () from /lib64/libgcc_s.so.1
#3 0x0000002a95941edd in Fw::CE::Variant::operator QList<Fw::CE::Variant> (
this=0x2a95b853e0) at variant.cpp:2477
#4 0x0000002a9f49e8a0 in layout::oasisSaveOptions::parseVarList (var=...,
a_Compress=@0x7fbfff8a7c, a_Compact=@0x7fbfff8a77,
a_ModalVar=@0x7fbfff8a76, errString=...) at oasisSaveOptions.cpp:184
#5 0x0000002a9f49de5a in layout::oasisSaveOptions::toVariant (this=0xfb9f80,
a_Var=...) at oasisSaveOptions.cpp:54
#6 0x0000002a9588f82c in defaultInfo (this=0xfb63e0, val=..., con=0xfb9f80,
publicDefault=true, module=0x0) at default.h:116
#7 0x0000002a9588ee9c in Fw::Core::DefaultsManager::registerDefault (
name=..., converter=0xfb9f80, overwrite=true, value=..., isPublic=true,
module=0x0) at default.cpp:45
#8 0x0000002a9f3bf8c7 in layout::layoutModule::onLoad (this=0xd5c960)
at layoutModule.cpp:3799
#9 0x0000002a958a0207 in Fw::Core::Framework::registerModule (this=0xaab1a0,
module=0xd5c960) at framework.cpp:688
#10 0x0000002a9589ffd4 in Fw::Core::Framework::loadModule (this=0xaab1a0,
path=...) at framework.cpp:640
#11 0x00000000004182e6 in icwbevApp::init (this=0x7fbfffe870) at main.cpp:305
#12 0x0000000000418e4d in icwbevGUIApp::init (this=0x7fbfffe830)
at main.cpp:531
#13 0x00000000004190d3 in icwbevGUIApp::createQApplication (this=0x7fbfffe830)
at main.cpp:597
#14 0x0000002a9753a7cb in TqApplication::exec() ()
from
/remote/ntih12/hdole/p4/test/fw/main/src/icwbev/../../3rd_party/tq3.0.0/amd64/lib/libtq.so.3
#15 0x0000000000416fbe in main (argc=1, argv=0x7fbfffe9f8) at main.cpp:714
Even if we use the libgcc_s.so.1 that comes with the gcc 4.5.1, the program
gets the same abort.
Please provide some advices to this problem.
Gcc-4.5.1 was built on RHEL 4.6 O.S with the following configure switches:
Configured with: ../../src/gcc-4.5.1/configure
--prefix=/remote/depotsrc/depotsrc/amd64-2.4/local_install/gcc-4.5.1
--enable-bootstrap --enable-threads=posix --disable-checking --with-system-zlib
--enable-__cxa_atexit --disable-libunwind-exceptions
--enable-languages=c,c++,fortran --disable-libgcj --with-cpu=generic
--build=x86_64-redhat-linux
Thread model: posix
-Seto
--
Summary: program abort after compiled with gcc-4.5.1
Product: gcc
Version: 4.5.1
Status: UNCONFIRMED
Severity: blocker
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: wung at synopsys dot com
GCC build triplet: x86_64-redhat-linux
GCC target triplet: x86_64-redhat-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45509
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/45509] program abort after compiled with gcc-4.5.1
2010-09-02 21:12 [Bug c++/45509] New: " wung at synopsys dot com
@ 2010-09-02 21:54 ` hjl dot tools at gmail dot com
2010-09-03 0:08 ` wung at synopsys dot com
2010-09-03 2:03 ` hjl dot tools at gmail dot com
2 siblings, 0 replies; 6+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-09-02 21:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from hjl dot tools at gmail dot com 2010-09-02 21:53 -------
Which libstdc++ is used at run-time? Please do
(gdb) info shared
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45509
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/45509] program abort after compiled with gcc-4.5.1
2010-09-02 21:12 [Bug c++/45509] New: " wung at synopsys dot com
2010-09-02 21:54 ` [Bug c++/45509] " hjl dot tools at gmail dot com
@ 2010-09-03 0:08 ` wung at synopsys dot com
2010-09-03 2:03 ` hjl dot tools at gmail dot com
2 siblings, 0 replies; 6+ messages in thread
From: wung at synopsys dot com @ 2010-09-03 0:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from wung at synopsys dot com 2010-09-03 00:07 -------
Hopefully this is what you need. The info is from the debug build.
Program received signal SIGABRT, Aborted.
0x0000002a987f425d in raise () from /lib64/tls/libc.so.6
(gdb) where
#0 0x0000002a987f425d in raise () from /lib64/tls/libc.so.6
#1 0x0000002a987f5a5e in abort () from /lib64/tls/libc.so.6
#2 0x0000002a986c1c6a in _Unwind_Resume () from /lib64/libgcc_s.so.1
#3 0x0000002a959296a7 in Fw::CE::Variant::operator QList<Fw::CE::Variant> (
this=0x2a95c85280) at variant.cpp:2810
#4 0x0000002a9f249730 in layout::oasisSaveOptions::parseVarList (var=...,
a_Compress=@0x7fbfff8aec, a_Compact=@0x7fbfff8ae7,
a_ModalVar=@0x7fbfff8ae6, errString=...) at oasisSaveOptions.cpp:190
#5 0x0000002a9f248c1e in layout::oasisSaveOptions::toVariant (this=0xf70e00,
a_Var=...) at oasisSaveOptions.cpp:55
#6 0x0000002a95877880 in defaultInfo (this=0xf6b100, val=..., con=0xf70e00,
publicDefault=true, module=0x0) at default.h:116
#7 0x0000002a95876ef0 in Fw::Core::DefaultsManager::registerDefault (
name=..., converter=0xf70e00, overwrite=true, value=..., isPublic=true,
module=0x0) at default.cpp:45
#8 0x0000002a9f168053 in layout::layoutModule::onLoad (this=0xd0c910)
at layoutModule.cpp:3807
#9 0x0000002a9588809b in Fw::Core::Framework::registerModule (this=0xa48540,
module=0xd0c910) at framework.cpp:691
#10 0x0000002a95887e68 in Fw::Core::Framework::loadModule (this=0xa48540,
path=...) at framework.cpp:643
#11 0x0000000000417e54 in icwbevApp::init (this=0x7fbfffe8d0) at main.cpp:305
#12 0x0000000000418995 in icwbevGUIApp::init (this=0x7fbfffe890)
at main.cpp:537
#13 0x0000000000418c1b in icwbevGUIApp::createQApplication (this=0x7fbfffe890)
at main.cpp:603
#14 0x0000002a9741f7cb in TqApplication::exec() ()
from
/remote/ntih12/hdole/p4/test/fw/main/src/icwbev/../../3rd_party/tq3.0.0/amd64/lib/libtq.so.3
#15 0x0000000000416b0e in main (argc=1, argv=0x7fbfffea58) at main.cpp:723
(gdb) info shared
>From To Syms Read Shared Object Library
0x0000002a95556a80 0x0000002a95566d27 Yes (*) /lib64/ld-linux-x86-64.so.2
0x0000002a957e4a80 0x0000002a9595ce18 Yes
/remote/ntih12/hdole/p4/test/fw/main/src/icwbev/../../fw-stage-g/lib/amd64/libframework-g.so
0x0000002a95c9d9c0 0x0000002a95cbace8 Yes
/remote/ntih12/hdole/p4/test/fw/main/src/icwbev/../../fw-stage-g/lib/amd64/libsnps_winman.so.1
0x0000002a95f5f520 0x0000002a9646fd68 Yes (*)
/remote/ntih12/hdole/p4/test/fw/main/3rd_party/qt/4.3.3/amd64/lib/libQtGui.so.4
0x0000002a96878f70 0x0000002a9695ace8 Yes (*)
/remote/ntih12/hdole/p4/test/fw/main/3rd_party/qt/4.3.3/amd64/lib/libQtCore.so.4
0x0000002a96bf38a0 0x0000002a96c34fe8 Yes (*)
/remote/ntih12/hdole/p4/test/fw/main/3rd_party/qt/4.3.3/amd64/lib/libQtNetwork.so.4
0x0000002a96e6e750 0x0000002a96ee60d8 Yes (*)
/remote/ntih12/hdole/p4/test/fw/main/src/icwbev/../../3pty/tcl/8.4/amd64-O/lib/libtcl8.4.so
0x0000002a9713c4e0 0x0000002a971d84e8 Yes (*)
/remote/ntih12/hdole/p4/test/fw/main/src/icwbev/../../3pty/tcl/8.4/amd64-O/lib/libtk8.4.so
0x0000002a9741cf10 0x0000002a9742c918 Yes (*)
/remote/ntih12/hdole/p4/test/fw/main/src/icwbev/../../3rd_party/tq3.0.0/amd64/lib/libtq.so.3
0x0000002a9766a540 0x0000002a97675448 Yes (*)
/usr/X11R6/lib64/libXext.so.6
0x0000002a97792880 0x0000002a97802bb8 Yes (*)
/usr/X11R6/lib64/libX11.so.6
0x0000002a97976f70 0x0000002a97984cd8 Yes (*)
/usr/X11R6/lib64/libICE.so.6
0x0000002a97a8e880 0x0000002a97a93d98 Yes (*) /usr/X11R6/lib64/libXi.so.6
0x0000002a97b9caa0 0x0000002a97ba91c8 Yes (*)
/usr/X11R6/lib64/libXmu.so.6
0x0000002a97cb01c0 0x0000002a97cbb0a8 Yes (*)
/remote/ntih12/hdole/p4/test/fw/main/src/icwbev/../../fw-stage-g/lib/amd64/libz.so.1
0x0000002a97dc3f80 0x0000002a97dc4918 Yes (*) /lib64/libdl.so.2
0x0000002a97ecc100 0x0000002a97ed4048 Yes (*) /lib64/tls/libpthread.so.0
0x0000002a97fe4d90 0x0000002a9801deb8 Yes
/remote/ntih12/hdole/p4/test/fw/main/src/icwbev/../../fw-stage-g/lib/amd64/libcdpl-g.so
0x0000002a9822fdf0 0x0000002a98272b98 Yes (*) /lib64/tls/libm.so.6
0x0000002a98409e20 0x0000002a984747d6 Yes
/remote/ntih12/hdole/p4/test/fw/main/src/icwbev/../../fw-stage-g/lib/amd64/libstdc++.so.6
0x0000002a986bb060 0x0000002a986c3b08 Yes (*) /lib64/libgcc_s.so.1
0x0000002a987e2200 0x0000002a988c0a2c Yes (*) /lib64/tls/libc.so.6
0x0000002a98a10f60 0x0000002a98a4e618 Yes (*)
/remote/ntih12/hdole/p4/test/fw/main/3rd_party/qt/4.3.3/amd64/lib/libQtXml.so.4
0x0000002a98c6a940 0x0000002a98c6efc8 Yes (*) /usr/X11R6/lib64/libSM.so.6
0x0000002a98d729f0 0x0000002a98d78638 Yes (*)
/usr/X11R6/lib64/libXrender.so.1
0x0000002a98e7c050 0x0000002a98e7d5b8 Yes (*)
/usr/X11R6/lib64/libXrandr.so.2
0x0000002a98f7f500 0x0000002a98f82308 Yes (*)
/usr/X11R6/lib64/libXfixes.so.3
0x0000002a99086240 0x0000002a9908a8e8 Yes (*)
/usr/X11R6/lib64/libXcursor.so.1
0x0000002a9918ec10 0x0000002a9918f798 Yes (*)
/usr/X11R6/lib64/libXinerama.so.1
0x0000002a992b3d00 0x0000002a992f5098 Yes (*) /usr/lib64/libfreetype.so.6
0x0000002a9942b1c0 0x0000002a9943c688 Yes (*)
/usr/lib64/libfontconfig.so.1
0x0000002a99551c90 0x0000002a99556b38 Yes (*) /lib64/tls/librt.so.1
0x0000002a997434c0 0x0000002a998f52d8 Yes (*)
/remote/ntih12/hdole/p4/test/fw/main/3rd_party/qt/4.3.3/amd64/lib/libQt3Support.so.4
0x0000002a99b98ff0 0x0000002a99bb8b18 Yes (*)
/remote/ntih12/hdole/p4/test/fw/main/3rd_party/qt/4.3.3/amd64/lib/libQtSql.so.4
0x0000002a99dd8690 0x0000002a99e14098 Yes (*) /usr/X11R6/lib64/libXt.so.6
0x0000002a99f2ba90 0x0000002a99f412b8 Yes (*) /usr/lib64/libexpat.so.0
0x0000002a9cecf870 0x0000002a9cecf9d8 Yes (*)
/usr/X11R6/lib/X11/locale/lib64/common/xlcUTF8Load.so.2
0x0000002a9cfd6e40 0x0000002a9cfea548 Yes (*)
/usr/X11R6/lib/X11/locale/lib64/common/ximcp.so.2
0x0000002a9d0f16f0 0x0000002a9d0f2d88 Yes (*) /usr/lib64/gconv/UTF-16.so
0x0000002a9d1f7de0 0x0000002a9d1fa778 Yes
/remote/ntih12/hdole/p4/test/fw/main/3rd_party/qt/4.3.3-real/amd64/plugins/imageformats/libqgif.so
0x0000002a9d400940 0x0000002a9d41ccf8 Yes
/remote/ntih12/hdole/p4/test---Type <return> to continue, or q <return> to
quit---
/fw/main/3rd_party/qt/4.3.3-real/amd64/plugins/imageformats/libqjpeg.so
0x0000002a9d62da10 0x0000002a9d66ceb8 Yes
/remote/ntih12/hdole/p4/test/fw/main/3rd_party/qt/4.3.3-real/amd64/plugins/imageformats/libqmng.so
0x0000002a9d880690 0x0000002a9d8813e8 Yes
/remote/ntih12/hdole/p4/test/fw/main/3rd_party/qt/4.3.3-real/amd64/plugins/imageformats/libqsvg.so
0x0000002a9da9cbc0 0x0000002a9dad3538 Yes (*)
/remote/ntih12/hdole/p4/test/fw/main/3rd_party/qt/4.3.3/amd64/lib/libQtSvg.so.4
0x0000002a9dce9610 0x0000002a9dd11408 Yes
/remote/ntih12/hdole/p4/test/fw/main/3rd_party/qt/4.3.3-real/amd64/plugins/imageformats/libqtiff.so
0x0000002a9df81290 0x0000002a9df88008 Yes (*) /lib64/libnss_files.so.2
0x0000002a9eccd760 0x0000002a9f6f89f8 Yes
/remote/ntih12/hdole/p4/test/fw/main/src/icwbev/../../fw-stage-g/lib/amd64/liblayout.so
0x0000002aa010d680 0x0000002aa012ff58 Yes
/remote/ntih12/hdole/p4/test/fw/main/src/icwbev/../../fw-stage-g/lib/amd64/libgeom.so
0x0000002aa0559cd0 0x0000002aa0677cd8 Yes
/remote/ntih12/hdole/p4/test/fw/main/src/icwbev/../../fw-stage-g/lib/amd64/libGds64.so
0x0000002aa0b06f50 0x0000002aa0bde5a8 Yes
/remote/ntih12/hdole/p4/test/fw/main/src/icwbev/../../fw-stage-g/lib/amd64/libFWGdsMT64.so
0x0000002aa1081ca0 0x0000002aa11d8398 Yes
/remote/ntih12/hdole/p4/test/fw/main/src/icwbev/../../fw-stage-g/lib/amd64/libFWOasis64.so
0x0000002aa16cc8e0 0x0000002aa181f878 Yes
/remote/ntih12/hdole/p4/test/fw/main/src/icwbev/../../fw-stage-g/lib/amd64/libOasis32.so
0x0000002aa1cd3a70 0x0000002aa1df4dd8 Yes
/remote/ntih12/hdole/p4/test/fw/main/src/icwbev/../../fw-stage-g/lib/amd64/libFWOasisMT32.so
0x0000002aa227cf90 0x0000002aa23a1ab8 Yes
/remote/ntih12/hdole/p4/test/fw/main/src/icwbev/../../fw-stage-g/lib/amd64/libFWOasisMT64.so
0x0000002aa26efd90 0x0000002aa2762fe8 Yes
/remote/ntih12/hdole/p4/test/fw/main/src/icwbev/../../fw-stage-g/lib/amd64/libFWThinOasis32.so
0x0000002aa2a18f80 0x0000002aa2a8ea18 Yes
/remote/ntih12/hdole/p4/test/fw/main/src/icwbev/../../fw-stage-g/lib/amd64/libFWThinOasis64.so
(*): Shared library is missing debugging information.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45509
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/45509] program abort after compiled with gcc-4.5.1
2010-09-02 21:12 [Bug c++/45509] New: " wung at synopsys dot com
2010-09-02 21:54 ` [Bug c++/45509] " hjl dot tools at gmail dot com
2010-09-03 0:08 ` wung at synopsys dot com
@ 2010-09-03 2:03 ` hjl dot tools at gmail dot com
2 siblings, 0 replies; 6+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-09-03 2:03 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from hjl dot tools at gmail dot com 2010-09-03 02:02 -------
It is hard to tell without a small testcase.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45509
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-09-25 14:58 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-45509-4@http.gcc.gnu.org/bugzilla/>
2010-10-28 20:41 ` [Bug c++/45509] program abort after compiled with gcc-4.5.1 pinskia at gcc dot gnu.org
2011-03-29 17:28 ` redi at gcc dot gnu.org
2011-09-25 15:05 ` paolo.carlini at oracle dot com
2010-09-02 21:12 [Bug c++/45509] New: " wung at synopsys dot com
2010-09-02 21:54 ` [Bug c++/45509] " hjl dot tools at gmail dot com
2010-09-03 0:08 ` wung at synopsys dot com
2010-09-03 2:03 ` hjl dot tools at gmail dot com
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).