Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AND after installing cairo-dbg:
- (gdb) run
- Starting program: /usr/bin/python2.6-dbg cairo_actor_segfault.py
- [Thread debugging using libthread_db enabled]
- /usr/bin/python2.6-dbg: symbol lookup error: /usr/lib/pymodules/python2.6/gtk-2.0/glib/_glib.so: undefined symbol: Py_InitModule4
- Program exited with code 0177.
- $ gdb --args python2.6-dbg cairo_actor_segfault.py
- GNU gdb (GDB) 7.0-ubuntu
- 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 "i486-linux-gnu".
- For bug reporting instructions, please see:
- <http://www.gnu.org/software/gdb/bugs/>...
- Reading symbols from /usr/bin/python2.6-dbg...done.
- (gdb) run
- Starting program: /usr/bin/python2.6-dbg cairo_actor_segfault.py
- [Thread debugging using libthread_db enabled]
- Traceback (most recent call last):
- File "cairo_actor_segfault.py", line 3, in <module>
- import cairo
- File "/usr/lib/pymodules/python2.6/cairo/__init__.py", line 1, in <module>
- from _cairo import *
- ImportError: /usr/lib/pymodules/python2.6/cairo/_cairo.so: undefined symbol: Py_InitModule4
- [15031 refs]
- Program exited with code 01.
- (gdb) bt full
- #0 0x0033d9ce in ?? ()
- No symbol table info available.
- (gdb) bt
- #0 0x0033d9ce in ?? ()
- AND FULL RUN:
- (gdb) run
- The program being debugged has been started already.
- Start it from the beginning? (y or n) y
- Starting program: /usr/bin/python cairo_actor_segfault.py
- [Thread debugging using libthread_db enabled]
- /usr/lib/pymodules/python2.6/clutter/__init__.py:66: Warning: g_set_prgname() called multiple times
- _clutter.init()
- Program received signal SIGSEGV, Segmentation fault.
- 0x0033d9ce in ?? ()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement