[MMTK] problems installing

Bjorge Solli bjorge.solli at it.uib.no
Thu Jun 4 09:39:57 UTC 2009


Konrad Hinsen wrote:
>     env CPATH=/usr/include/netcdf python setup.py build

After installing I can import MMTK, but when I quit python I get the
following error:

>>> import MMTK
>>> exit()
*** glibc detected *** python: free(): invalid pointer: 0xb802aae8 ***
======= Backtrace: =========
/lib/libc.so.6[0x17f3a4]
/lib/libc.so.6(cfree+0x96)[0x181356]
/usr/lib/python2.5/site-packages/Numeric/RNG/RNG.so[0xafab80]
/usr/lib/python2.5/site-packages/Numeric/RNG/RNG.so[0xafab24]
/usr/lib/libpython2.5.so.1.0[0x2ee1679]
/usr/lib/libpython2.5.so.1.0(PyDict_SetItem+0x9c)[0x2ee47fc]
/usr/lib/libpython2.5.so.1.0(_PyModule_Clear+0xe3)[0x2ee61c3]
/usr/lib/libpython2.5.so.1.0(PyImport_Cleanup+0x29b)[0x2f4c55b]
/usr/lib/libpython2.5.so.1.0(Py_Finalize+0xd4)[0x2f54244]
/usr/lib/libpython2.5.so.1.0(Py_Exit+0x17)[0x2f54397]
/usr/lib/libpython2.5.so.1.0[0x2f544c3]
/usr/lib/libpython2.5.so.1.0(PyErr_PrintEx+0x19d)[0x2f546dd]
/usr/lib/libpython2.5.so.1.0(PyErr_Print+0x1e)[0x2f5495e]
/usr/lib/libpython2.5.so.1.0(PyRun_InteractiveOneFlags+0x2bd)[0x2f5512d]
/usr/lib/libpython2.5.so.1.0(PyRun_InteractiveLoopFlags+0x56)[0x2f55216]
/usr/lib/libpython2.5.so.1.0(PyRun_AnyFileExFlags+0x47)[0x2f55347]
/usr/lib/libpython2.5.so.1.0(Py_Main+0xc4f)[0x2f5f43f]
python(main+0x32)[0x80485d2]
/lib/libc.so.6(__libc_start_main+0xe5)[0x1266e5]
python[0x8048501]
======= Memory map: ========
00110000-0027e000 r-xp 00000000 08:02 124780     /lib/libc-2.9.so
0027e000-00280000 r--p 0016e000 08:02 124780     /lib/libc-2.9.so
00280000-00281000 rw-p 00170000 08:02 124780     /lib/libc-2.9.so
00281000-00284000 rw-p 00281000 00:00 0
00284000-00291000 r-xp 00000000 08:02 124788
/lib/libgcc_s-4.3.2-20081105.so.1
00291000-00292000 rw-p 0000c000 08:02 124788
/lib/libgcc_s-4.3.2-20081105.so.1
00309000-0030f000 r-xp 00000000 08:02 75448
/usr/lib/python2.5/lib-dynload/_struct.so
0030f000-00310000 rw-p 00006000 08:02 75448
/usr/lib/python2.5/lib-dynload/_struct.so
00328000-0032c000 r-xp 00000000 08:02 75475
/usr/lib/python2.5/lib-dynload/readline.so
0032c000-0032d000 rw-p 00004000 08:02 75475
/usr/lib/python2.5/lib-dynload/readline.so
00470000-00473000 r-xp 00000000 08:02 75455
/usr/lib/python2.5/lib-dynload/cStringIO.so
00473000-00474000 rw-p 00003000 08:02 75455
/usr/lib/python2.5/lib-dynload/cStringIO.so
00669000-0066b000 r-xp 00000000 08:02 124790     /lib/libutil-2.9.so
0066b000-0066c000 r--p 00001000 08:02 124790     /lib/libutil-2.9.so
0066c000-0066d000 rw-p 00002000 08:02 124790     /lib/libutil-2.9.so
00670000-00690000 r-xp 00000000 08:02 124779     /lib/ld-2.9.so
00691000-00692000 r--p 00020000 08:02 124779     /lib/ld-2.9.so
00692000-00693000 rw-p 00021000 08:02 124779     /lib/ld-2.9.so
00754000-00757000 r-xp 00000000 08:02 75468
/usr/lib/python2.5/lib-dynload/mathmodule.so
00757000-00758000 rw-p 00002000 08:02 75468
/usr/lib/python2.5/lib-dynload/mathmodule.so
007b4000-007b5000 r-xp 007b4000 00:00 0          [vdso]
007df000-007e1000 r-xp 00000000 08:02 75443
/usr/lib/python2.5/lib-dynload/_randommodule.so
007e1000-007e2000 rw-p 00002000 08:02 75443
/usr/lib/python2.5/lib-dynload/_randommodule.so
0080f000-00836000 r-xp 00000000 08:02 124783     /lib/libm-2.9.so
00836000-00837000 r--p 00026000 08:02 124783     /lib/libm-2.9.so
00837000-00838000 rw-p 00027000 08:02 124783     /lib/libm-2.9.so
0083a000-0083d000 r-xp 00000000 08:02 124784     /lib/libdl-2.9.so
0083d000-0083e000 r--p 00002000 08:02 124784     /lib/libdl-2.9.so
0083e000-0083f000 rw-p 00003000 08:02 124784     /lib/libdl-2.9.so
00841000-00857000 r-xp 00000000 08:02 124787     /lib/libpthread-2.9.so
00857000-00858000 r--p 00015000 08:02 124787     /lib/libpthread-2.9.so
00858000-00859000 rw-p 00016000 08:02 124787     /lib/libpthread-2.9.so
00859000-0085b000 rw-p 00859000 00:00 0
008a1000-008a8000 r-xp 00000000 08:02 82395
/usr/lib/python2.5/site-packages/Numeric/multiarray.so
008a8000-008a9000 rw-p 00007000 08:02 82395
/usr/lib/python2.5/site-packages/Numeric/multiarray.so
008f1000-008f5000 r-xp 00000000 08:02 75480
/usr/lib/python2.5/lib-dynload/stropmodule.so
008f5000-008f7000 rw-p 00004000 08:02 75480
/usr/lib/python2.5/lib-dynload/stropmodule.so
00972000-00983000 r-xp 00000000 08:02 82398
/usr/lib/python2.5/site-packages/Numeric/umath.so
00983000-00985000 rw-p 00010000 08:02 82398
/usr/lib/python2.5/site-packages/Numeric/umath.so
00ae3000-00aed000 r-xp 00000000 08:02 552808
/usr/lib/python2.5/site-packages/Scientific/linux2/Scientific_vector.so
00aed000-00aee000 rw-p 0000a000 08:02 552808
/usr/lib/python2.5/site-packages/Scientific/linux2/Scientific_vector.so
00af9000-00afc000 r-xp 00000000 08:02 82387
/usr/lib/python2.5/site-packages/Numeric/RNG/RNG.so
00afc000-00afd000 rw-p 00003000 08:02 82387
/usr/lib/python2.5/site-packages/Numeric/RNG/RNG.so
00b53000-00b58000 r-xp 00000000 08:02 75457
/usr/lib/python2.5/lib-dynload/collectionsmodule.so
00b58000-00b59000 rw-p 00005000 08:02 75457
/usr/lib/python2.5/lib-dynload/collectionsmodule.so
00be9000-00bec000 r-xp 00000000 08:02 75478
/usr/lib/python2.5/lib-dynload/selectmodule.so
00bec000-00bed000 rw-p 00002000 08:02 75478
/usr/lib/python2.5/lib-dynload/selectmodule.so
00c81000-00c84000 r-xp 00000000 08:02 75483
/usr/lib/python2.5/lib-dynload/timemodule.so
00c84000-00c86000 rw-p 00002000 08:02 75483
/usr/lib/python2.5/lib-dynload/timemodule.so
00ce5000-00cfc000 r-xp 00000000 08:02 82392
/usr/lib/python2.5/site-packages/Numeric/_numpy.so
00cfc000-00cfe000 rw-p 00016000 08:02 82392
/usr/lib/python2.5/site-packages/Numeric/_numpy.so
00d54000-00d82000 r-xp 00000000 08:02 123106     /lib/libncursesw.so.5.6
00d82000-00d83000 rw-p 0002d000 08:02 123106     /lib/libncursesw.so.5.6
00e6e000-00e72000 r-xp 00000000 08:02 75452
/usr/lib/python2.5/lib-dynload/binascii.so
00e72000-00e73000 rw-p 00004000 08:02 75452
/usr/lib/python2.5/lib-dynload/binascii.so
00e96000-00e98000 r-xp 00000000 08:02 75462
/usr/lib/python2.5/lib-dynload/fcntlmodule.so
00e98000-00e99000 rw-p 00002000 08:02 75462
/usr/lib/python2.5/lib-dynload/fcntlmodule.so
02e8d000-02fb2000 r-xp 00000000 08:02 2511198
/usr/lib/libpython2.5.so.1.0
02fb2000-02fd8000 rw-p 00124000 08:02 2511198
/usr/lib/libpython2.5.so.1.0
02fd8000-02fde000 rw-p 02fd8000 00:00 0
05d36000-05d67000 r-xp 00000000 08:02 124820     /lib/libreadline.so.5.2
05d67000-05d6b000 rw-p 00031000 08:02 124820     /lib/libreadline.so.5.2
05d6b000-05d6c000 rw-p 05d6b000 00:00 0
074c5000-074db000 r-xp 00000000 08:02 124819     /lib/libtinfo.so.5.6
074db000-074de000 rw-p 00015000 08:02 124819     /lib/libtinfo.so.5.6
08048000-08049000 r-xp 00000000 08:02 2511283    /usr/bin/python
08049000-0804a000 rw-p 00000000 08:02 2511283    /usr/bin/python
084d6000-085c3000 rw-p 084d6000 00:00 0          [heap]
b7b00000-b7b21000 rw-p b7b00000 00:00 0
b7b21000-b7c00000 ---p b7b21000 00:00 0
b7d25000-b7de8000 rw-p b7d25000 00:00 0
b7de8000-b7fe8000 r--p 00000000 08:02 2511665
/usr/lib/locale/locale-archive
b7fe8000-b806d000 rw-p b7fe8000 00:00 0
b808a000-b8091000 r--s 00000000 08:02 2531763
/usr/lib/gconv/gconv-modules.cache
b8091000-b8092000 rw-p b8091000 00:00 0
b8092000-b8093000 r--p 00baf000 08:02 2511665
/usr/lib/locale/locale-archive
bfe68000-bfe92000 rw-p bffd6000 00:00 0          [stack]
Aborted

Any ideas?

Bjørge



More information about the mmtk mailing list