I'm not strong with gdb... Especially we have python code here, So here are my steps, please help me if I'm doing wrong:
[serg@server1 glance]$ gdb --args python
GNU gdb (GDB) Fedora (7.3.50.20110722-9.fc16)
Copyright (C) 2011 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-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/python...Reading symbols from /usr/lib/debug/usr/bin/python.debug...done.
done.
(gdb) run /usr/bin/glance
Starting program: /usr/bin/python /usr/bin/glance index
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Detaching after fork from child process 2350.
Detaching after fork from child process 2352.
Program received signal SIGSEGV, Segmentation fault.
__memcpy_ssse3_rep () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S:158
158 movdqu (%eax), %xmm0
this is with nova:
[serg@server1 glance]$ sudo gdb --args python
GNU gdb (GDB) Fedora (7.3.50.20110722-9.fc16)
Copyright (C) 2011 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-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/python...Reading symbols from /usr/lib/debug/usr/bin/python.debug...done.
done.
(gdb) run /usr/bin/nova-api
Starting program: /usr/bin/python /usr/bin/nova-api
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Detaching after fork from child process 2605.
Detaching after fork from child process 2607.
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 336, in fire_timers
timer()
File "/usr/lib/python2.7/site-packages/eventlet/hubs/timer.py", line 56, in __call__
cb(*args, **kw)
SystemError: error return without exception set
Program received signal SIGSEGV, Segmentation fault.
__memcpy_ssse3_rep () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S:1169
1169 movzbl -1(%eax), %ecx
I found a lot of information about printing stack etc., please let me know what information you want and the best way to get it
Thanks for the replay,
The latest update didn't help, so I try to do some debugging.
glibc-common- 2.14.90- 12.999. i686 -2.14.90- 12.999. i686 14.90-12. 999.i686 -common- 2.14.90- 12.999. i686
glibc-debuginfo
glibc-2.
glibc-debuginfo
I'm not strong with gdb... Especially we have python code here, So here are my steps, please help me if I'm doing wrong:
[serg@server1 glance]$ gdb --args python 20110722- 9.fc16) gnu.org/ licenses/ gpl.html> linux-gnu" . www.gnu. org/software/ gdb/bugs/>... python. ..Reading symbols from /usr/lib/ debug/usr/ bin/python. debug.. .done.
GNU gdb (GDB) Fedora (7.3.50.
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
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-redhat-
For bug reporting instructions, please see:
<http://
Reading symbols from /usr/bin/
done.
(gdb) run /usr/bin/glance
Starting program: /usr/bin/python /usr/bin/glance index _db.so. 1".
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread
Detaching after fork from child process 2350.
Detaching after fork from child process 2352.
Program received signal SIGSEGV, Segmentation fault. i386/i686/ multiarch/ memcpy- ssse3-rep. S:158
__memcpy_ssse3_rep () at ../sysdeps/
158 movdqu (%eax), %xmm0
this is with nova: 20110722- 9.fc16) gnu.org/ licenses/ gpl.html> linux-gnu" . www.gnu. org/software/ gdb/bugs/>... python. ..Reading symbols from /usr/lib/ debug/usr/ bin/python. debug.. .done. _db.so. 1". python2. 7/site- packages/ eventlet/ hubs/hub. py", line 336, in fire_timers python2. 7/site- packages/ eventlet/ hubs/timer. py", line 56, in __call__
[serg@server1 glance]$ sudo gdb --args python
GNU gdb (GDB) Fedora (7.3.50.
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
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-redhat-
For bug reporting instructions, please see:
<http://
Reading symbols from /usr/bin/
done.
(gdb) run /usr/bin/nova-api
Starting program: /usr/bin/python /usr/bin/nova-api
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread
Detaching after fork from child process 2605.
Detaching after fork from child process 2607.
Traceback (most recent call last):
File "/usr/lib/
timer()
File "/usr/lib/
cb(*args, **kw)
SystemError: error return without exception set
Program received signal SIGSEGV, Segmentation fault. i386/i686/ multiarch/ memcpy- ssse3-rep. S:1169
__memcpy_ssse3_rep () at ../sysdeps/
1169 movzbl -1(%eax), %ecx
I found a lot of information about printing stack etc., please let me know what information you want and the best way to get it
Thank you