This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Core dump in application on SuSE9 zLinux



Hi All,

I have one application (named app) which I have compiled on SuSE8 SP3
zLinux. I have tested my application on SuSE8 sp3 Zlinux, But when I try
to run the same application on SuSE9 zLinux SP2, I get a core dump.
Please find below the gdb and ldd output of the application

(gdb) where (Back Trace of core)
#0  0x401f0f5c in raise () from /lib/tls/libc.so.6
#1  0x401f251c in abort () from /lib/tls/libc.so.6
#2  0x40118882 in __cxxabiv1::__terminate () from
/usr/lib/libstdc++.so.5
#3  0x401188d0 in std::terminate () from /usr/lib/libstdc++.so.5
#4  0x401187b4 in __gxx_personality_v0 () from /usr/lib/libstdc++.so.5
#5  0x401c15dc in _Unwind_ForcedUnwind_Phase2 () from /lib/libgcc_s.so.1
#6  0x401c1dd4 in _Unwind_ForcedUnwind () from /lib/libgcc_s.so.1
#7  0x40063c34 in _Unwind_ForcedUnwind () from /lib/tls/libpthread.so.0
#8  0x40061a5e in __pthread_unwind () from /lib/tls/libpthread.so.0
#9  0x4005d5fc in pthread_exit () from /lib/tls/libpthread.so.0
#10 0x0040d2b8 in ConnectionService ()
#11 0x4005d1ac in start_thread () from /lib/tls/libpthread.so.0
#12 0x402800ba in thread_start () from /lib/tls/libc.so.6
(gdb)


$ldd app
libappres.so => /work/new_wrksuse/bin/libappres.so
(0x40018000)
        libapplog.so => /work/new_wrksuse9/bin/libapplog.so (0x4001c000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40057000)
        libdl.so.2 => /lib/libdl.so.2 (0x4006a000)
        librt.so.1 => /lib/tls/librt.so.1 (0x4006e000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40076000)
        libm.so.6 => /lib/tls/libm.so.6 (0x4014b000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x401bc000)
        libc.so.6 => /lib/tls/libc.so.6 (0x401c7000)
        /lib/ld.so.1 => /lib/ld.so.1 (0x40000000)


Can anyone please help me resolve the issue? On facet it seems to be a C
Library issue. Please suggest all the possible solutions.
I fail to understand why an application which is working fine on SuSe8
zLinux (SP3) is failing on SuSE9 zLinux (SP2).


Regards
Harshpreet Singh

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]