By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,034 Members | 1,777 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,034 IT Pros & Developers. It's quick & easy.

gdb list command - doesnot show source - where I should copy source ?

100+
P: 365
gdb list command - doesnot show source - where I should copy source ?


# gdb /pfrm2.0/bin/cacd
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
GNU gdb (GDB) 7.0.1
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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 "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /pfrm2.0/bin/cacd...done.
(gdb) conntrack v0.9.13 (conntrack-tools): connection tracking table has been emptied.

(gdb) set args /tmp/system.db
(gdb) set verbose
(gdb) run
Starting program: /pfrm2.0/bin/cacd /tmp/system.db
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /lib/libthread_db.so.1.
td_ta_new failed: application not linked with libthread
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /lib/libthread_db.so.1.
td_ta_new failed: application not linked with libthread
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from system-supplied DSO at 0xffffe000...(no debugging symbols found)...done.
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /lib/libthread_db.so.1.
td_ta_new failed: application not linked with libthread
Symbols already loaded for /lib/ld-linux.so.2
Symbols already loaded for /lib/ld-linux.so.2
Reading symbols from /pfrm2.0/lib/libi386sslim.so...done.
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /lib/libthread_db.so.1.
td_ta_new failed: application not linked with libthread
Loaded symbols for /pfrm2.0/lib/libi386sslim.so
Reading symbols from /pfrm2.0/lib/libsqlite3.so.0...done.
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /lib/libthread_db.so.1.
td_ta_new failed: application not linked with libthread
Loaded symbols for /pfrm2.0/lib/libsqlite3.so.0
Reading symbols from /pfrm2.0/lib/libpcsclite.so.1...done.
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /lib/libthread_db.so.1.
td_ta_new failed: application not linked with libthread
Loaded symbols for /pfrm2.0/lib/libpcsclite.so.1
Reading symbols from /pfrm2.0/lib/libspeapi.so.1...done.
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /lib/libthread_db.so.1.
td_ta_new failed: application not linked with libthread
Loaded symbols for /pfrm2.0/lib/libspeapi.so.1
Reading symbols from /pfrm2.0/lib/libz.so.1...done.
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /lib/libthread_db.so.1.
td_ta_new failed: application not linked with libthread
Loaded symbols for /pfrm2.0/lib/libz.so.1
Reading symbols from /pfrm2.0/lib/libi386x509.so...done.
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /lib/libthread_db.so.1.
td_ta_new failed: application not linked with libthread
Loaded symbols for /pfrm2.0/lib/libi386x509.so
Reading symbols from /pfrm2.0/lib/libi386klite.so...done.
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /lib/libthread_db.so.1.
td_ta_new failed: application not linked with libthread
Loaded symbols for /pfrm2.0/lib/libi386klite.so
Reading symbols from /pfrm2.0/lib/libldap-2.3.so.0...done.
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /lib/libthread_db.so.1.
td_ta_new failed: application not linked with libthread
Loaded symbols for /pfrm2.0/lib/libldap-2.3.so.0
Reading symbols from /pfrm2.0/lib/liblber-2.3.so.0...done.
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /lib/libthread_db.so.1.
td_ta_new failed: application not linked with libthread
Loaded symbols for /pfrm2.0/lib/liblber-2.3.so.0
Reading symbols from /pfrm2.0/lib/libi386krb.so...done.
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /lib/libthread_db.so.1.
td_ta_new failed: application not linked with libthread
Loaded symbols for /pfrm2.0/lib/libi386krb.so
Reading symbols from /pfrm2.0/lib/libi386lua.so...done.
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /lib/libthread_db.so.1.
td_ta_new failed: application not linked with libthread
Loaded symbols for /pfrm2.0/lib/libi386lua.so
Reading symbols from /pfrm2.0/lib/libsasl2.so.2...done.
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /lib/libthread_db.so.1.
td_ta_new failed: application not linked with libthread
Loaded symbols for /pfrm2.0/lib/libsasl2.so.2
Reading symbols from /pfrm2.0/lib/libi386msgapi.so...done.
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /lib/libthread_db.so.1.
td_ta_new failed: application not linked with libthread
Loaded symbols for /pfrm2.0/lib/libi386msgapi.so
Reading symbols from /pfrm2.0/lib/libi386cac.so...done.
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /lib/libthread_db.so.1.
td_ta_new failed: application not linked with libthread
Loaded symbols for /pfrm2.0/lib/libi386cac.so
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /lib/libthread_db.so.1.
td_ta_new failed: application not linked with libthread
Loaded symbols for /lib/libm.so.6
Reading symbols from /pfrm2.0/lib/libi386adaptos.so...done.
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /lib/libthread_db.so.1.
td_ta_new failed: application not linked with libthread
Loaded symbols for /pfrm2.0/lib/libi386adaptos.so
Reading symbols from /pfrm2.0/lib/libi386umi.so...done.
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /lib/libthread_db.so.1.
td_ta_new failed: application not linked with libthread
Loaded symbols for /pfrm2.0/lib/libi386umi.so
Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /lib/libthread_db.so.1.
td_ta_new failed: application not linked with libthread
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libpthread.so.0...done.
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /lib/libthread_db.so.1.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /usr/lib/libssl.so.0.9.8...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libssl.so.0.9.8
Reading symbols from /usr/lib/libcrypto.so.0.9.8...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libcrypto.so.0.9.8
[New Thread 0xb7985b90 (LWP 2323)]
[New Thread 0xb7185b90 (LWP 2324)]
Detaching after fork from child process 2325.
Detaching after fork from child process 2402.
conntrack v0.9.13 (conntrack-tools): connection tracking table has been emptied.

Program received signal SIGSEGV, Segmentation fault.
0xb7f92864 in sqlite3SafetyOn () from /pfrm2.0/lib/libsqlite3.so.0
(gdb) bt
Reading in symbols for cacLib.c...done.
#0 0xb7f92864 in sqlite3SafetyOn () from /pfrm2.0/lib/libsqlite3.so.0
#1 0xb7f85f78 in sqlite3Prepare () from /pfrm2.0/lib/libsqlite3.so.0
#2 0xb7f86497 in sqlite3_prepare () from /pfrm2.0/lib/libsqlite3.so.0
#3 0xb7fa6b75 in sqlite3_exec () from /pfrm2.0/lib/libsqlite3.so.0
#4 0xb7c9b23e in cacStatsUpdate (type=CAC_CARD_STATUS, pValue=0x0)
at cacLib.c:3440
#5 0x0805228e in cacdRun ()
#6 0x08052e90 in main ()
(gdb) where
#0 0xb7f92864 in sqlite3SafetyOn () from /pfrm2.0/lib/libsqlite3.so.0
#1 0xb7f85f78 in sqlite3Prepare () from /pfrm2.0/lib/libsqlite3.so.0
#2 0xb7f86497 in sqlite3_prepare () from /pfrm2.0/lib/libsqlite3.so.0
#3 0xb7fa6b75 in sqlite3_exec () from /pfrm2.0/lib/libsqlite3.so.0
#4 0xb7c9b23e in cacStatsUpdate (type=CAC_CARD_STATUS, pValue=0x0)
at cacLib.c:3440
#5 0x0805228e in cacdRun ()
#6 0x08052e90 in main ()
(gdb) list
1 cacLib.c: No such file or directory.
in cacLib.c
(gdb)
Jan 22 '10 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.