"import pymongo" on Python 2.6 and 2.7 on a 3.2.0-2-amd64 kernel.

Installed packages:

ii  libc6:amd64                            2.13-35
amd64                    Embedded GNU C Library: Shared libraries
ii  python-bson                            2.2-2
amd64                    Python implementation of BSON for MongoDB
ii  python-pymongo                         2.2-2
amd64                    Python interface to the MongoDB
document-oriented database
ii  python-pymongo-ext                     2.2-2
amd64                    C-coded extension to the python-pymongo
package
ii  python2.6                              2.6.8-0.2
amd64                    An interactive high-level object-oriented
language (version 2.6)
ii  python2.7                              2.7.3~rc2-2.1            amd64


gdb -q --args python2.6 -c "import pymongo; print 'import successful'"
Reading symbols from /usr/bin/python2.6...Reading symbols from
/usr/lib/debug/usr/bin/python2.6...done.
done.
(gdb) r
Starting program: /usr/bin/python2.6 -c import\ pymongo\;\ print\
\'import\ successful\'
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
import successful

Program received signal SIGSEGV, Segmentation fault.
visit_decref (op=<unknown at remote 0x7ffff618b2f0>, data=0x0) at
../Modules/gcmodule.c:271
271     ../Modules/gcmodule.c: No such file or directory.
(gdb) bt
#0  visit_decref (op=<unknown at remote 0x7ffff618b2f0>, data=0x0) at
../Modules/gcmodule.c:271
#1  0x0000000000451aa0 in dict_traverse (op=
    {'bson.son': <module at remote 0x7ffff7e399b8>, 'gevent.hub':
<module at remote 0x7ffff54e59f0>, 'functools': <module at remote
0x7ffff7ee0830>, 'random': <module at remote 0x7ffff7e29408>,
'bson.threading': None, 'datetime': <module at remote 0x7ffff7f1a8d8>,
'pprint': <module at remote 0x7ffff5c3f9f0>, 'ctypes._endian': <module
at remote 0x7ffff7e9e1a0>, 'encodings.encodings': None,
'gevent.traceback': None, 'pymongo.socket': None, 'pymongo.warnings':
None, 'struct': <module at remote 0x7ffff7eae360>, 'tempfile': <module
at remote 0x7ffff7e9ead0>, 'base64': <module at remote
0x7ffff5f42130>, 'gevent.gevent': None, 'collections': <module at
remote 0x7ffff7e60638>, 'bson.time': None, 'pymongo.connection':
<module at remote 0x7ffff7f1a8a0>, 'gevent.weakref': None,
'zipimport': <module at remote 0x7ffff7fda1d8>, 'string': <module at
remote 0x7ffff5f32a98>, 'encodings.utf_8': <module at remote
0x7ffff7f12e88>, 'ssl': <module at remote 0x7ffff5f28718>,
'pymongo.replica_set_connection': <module at remote
0x7ffff5c...(truncated),
    visit=0x4d4790 <visit_decref>, arg=0x0) at ../Objects/dictobject.c:2003
#2  0x00000000004d4a25 in subtract_refs (containers=0x848e20) at
../Modules/gcmodule.c:296
#3  collect (generation=generation@entry=2) at ../Modules/gcmodule.c:817
#4  0x00000000004d56b8 in PyGC_Collect () at ../Modules/gcmodule.c:1292
#5  0x00000000004c7620 in Py_Finalize () at ../Python/pythonrun.c:441
#6  0x000000000041abdc in Py_Main (argc=<optimized out>,
argv=<optimized out>) at ../Modules/main.c:642
#7  0x00007ffff6976ead in __libc_start_main () from
/lib/x86_64-linux-gnu/libc.so.6
#8  0x000000000041a421 in _start ()


gdb -q --args python2.7 -c "import pymongo; print 'import successful'"
Reading symbols from /usr/bin/python2.7...Reading symbols from
/usr/lib/debug/usr/bin/python2.7...done.
done.
(gdb) r
Starting program: /usr/bin/python2.7 -c import\ pymongo\;\ print\
\'import\ successful\'
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
import successful

Program received signal SIGSEGV, Segmentation fault.
0x00000000005432c8 in visit_decref ()
(gdb) bt
#0  0x00000000005432c8 in visit_decref ()
#1  0x0000000000541b46 in dict_traverse.18320 ()
#2  0x000000000057f045 in collect.48521 ()
#3  0x0000000000568add in Py_Finalize ()
#4  0x00000000004da1e5 in Py_Main ()
#5  0x00007ffff6976ead in __libc_start_main () from
/lib/x86_64-linux-gnu/libc.so.6
#6  0x000000000041e131 in _start ()



-- 
Federico


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to