Comment # 2
on bug 8990
from Andy Tsouladze
Hmmm... I am not a C programmer, so there is a good chance I am not doing the
right thing with gdb. Besides, without running `make install', the failing
executables are called via scripts, so they cannot be run through gdb directly.
So here is what I have done. If this is insufficient, please give me specific
instructions, and I will try to do better next time ;)
andyt@andytest: wireshark-1.10.2pre1-51009> find . -name "*.so*"
[skip output]
andyt@andytest: wireshark-1.10.2pre1-51009> setenv LD_LIBRARY_PATH
`pwd`/./epan/.libs:`pwd`/./wiretap/.libs:`pwd`/./wsutil/.libs
andyt@andytest: wireshark-1.10.2pre1-51009> gdb .libs/wireshark
GNU gdb (GDB) 7.5
Copyright (C) 2012 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 "x86_64-slackware-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from
/home/src/wireshark/wireshark-1.10.2pre1-51009/.libs/wireshark...done.
(gdb) bt
No stack.
(gdb) run
Starting program:
/home/src/wireshark/wireshark-1.10.2pre1-51009/.libs/wireshark
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
Traceback (most recent call last):
File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.3200.4-gdb.py",
line 9, in <module>
from gobject import register
File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
import gdb.backtrace
ImportError: No module named backtrace
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff147f9fe in genl_register () from /usr/lib64/libnl-genl-3.so.200
(gdb) bt
#0 0x00007ffff147f9fe in genl_register () from /usr/lib64/libnl-genl-3.so.200
#1 0x00007fffefdd6716 in ?? () from /usr/lib64/libnl.so.1
#2 0x0000000000000000 in ?? ()
(gdb)q
A debugging session is active.
Inferior 1 [process 23747] will be killed.
Quit anyway? (y or n) y
You are receiving this mail because:
- You are watching all bug changes.