Quantcast
Channel: ActiveState Community Site - PDK discussion
Viewing all articles
Browse latest Browse all 116

PerlApp - Getting a backtrace from a coredump

$
0
0

Hello All!

How can I get a backtrace of segfault application packed with perlapp?
My application sometimes dies with core file. How can I analysis it?

[root@ndRR3 cknm36]# gdb -c core.25625 /usr/local/bin/myapp
GNU gdb Fedora (6.8-27.el5)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
"/usr/local/bin/myapp": not in executable format: File format not recognized
(no debugging symbols found)
Core was generated by `./myapp reg_ptxas_A_B_new.xml'.
Program terminated with signal 11, Segmentation fault.
[New process 25651]
#0 0x002f10c1 in ?? ()
(gdb)
(gdb) bt
#0 0x002f10c1 in ?? ()
#1 0x00000001 in ?? ()
#2 0x00000000 in ?? ()
(gdb)

[root@ndRR3 cknm36]# file /usr/local/bin/myapp
/usr/local/bin/myapp: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped

?

Thanks, Yury.


Viewing all articles
Browse latest Browse all 116

Trending Articles