Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pydbattach.sh: gdb fails to import gdb.backtrace #5

Open
TauPan opened this issue Feb 9, 2016 · 0 comments
Open

pydbattach.sh: gdb fails to import gdb.backtrace #5

TauPan opened this issue Feb 9, 2016 · 0 comments

Comments

@TauPan
Copy link

TauPan commented Feb 9, 2016

I get a failure, when I try to attach to a python process with pydbattach.sh:

Loaded symbols for /usr/lib64/pango/1.8.0/modules/pango-basic-fc.so
Reading symbols from /afs/dfn-cert.de/user/delgado/.virtualenvs/marvin/lib/python2.7/site-packages/meliae/_intset.so...done.
Loaded symbols for /afs/dfn-cert.de/user/delgado/.virtualenvs/marvin/lib/python2.7/site-packages/meliae/_intset.so
Reading symbols from /afs/dfn-cert.de/user/delgado/.virtualenvs/marvin/lib/python2.7/site-packages/meliae/_scanner.so...done.
Loaded symbols for /afs/dfn-cert.de/user/delgado/.virtualenvs/marvin/lib/python2.7/site-packages/meliae/_scanner.so
0x00007f7ad963b443 in epoll_wait () from /lib64/libc.so.6
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.3800.2-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
(gdb) (gdb) (gdb) Invalid data type for function to be called.
(gdb) A debugging session is active.

        Inferior 1 [process 2963] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]
Detaching from program: /afs/dfn-cert.de/user/delgado/nobackup/virtualenvs/qtile/bin/python, process 2963
done, you should have a Pdb shell in the Python process now

And I'm back in my shell. This seems to be related to https://bugzilla.gnome.org/show_bug.cgi?id=623552

I'm using meliae===0.4.0.final.0 compiled with Cython==0.23.4 on Python 2.7.6, openSUSE 13.1 (x86_64). gdb version is gdb-7.6.50.20130731-3.1.2.x86_64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant