J
John [H2O]
Hello,
I have a module created from a Fortran file to read in unformatted binary
fortran output. It works fine for some datasets, but crashes with others.
The strange thing is it will loop through several files before it crashes,
then suddently giving me this output:
*** glibc detected *** python: munmap_chunk(): invalid pointer: 0xb34ac008
***
======= Backtrace: =========
/lib/libc.so.6[0x7b0874]
/usr/lib/python2.5/site-packages/numpy/core/multiarray.so[0x44a24b]
/usr/lib/libpython2.5.so.1.0[0x55cf0cf]
/usr/lib/libpython2.5.so.1.0(PyEval_EvalCodeEx+0x579)[0x5636c59]
/usr/lib/libpython2.5.so.1.0[0x55d0eb2]
/usr/lib/libpython2.5.so.1.0(PyObject_Call+0x37)[0x55b10b7]
/usr/lib/libpython2.5.so.1.0(PyEval_EvalFrameEx+0x466f)[0x5633e7f]
/usr/lib/libpython2.5.so.1.0(PyEval_EvalCodeEx+0x695)[0x5636d75]
/usr/lib/libpython2.5.so.1.0(PyEval_EvalCode+0x63)[0x5636fd3]
/usr/lib/libpython2.5.so.1.0[0x5652542]
/usr/lib/libpython2.5.so.1.0(PyRun_FileExFlags+0x92)[0x5652602]
/usr/lib/libpython2.5.so.1.0(PyRun_SimpleFileExFlags+0x1bc)[0x5653d8c]
/usr/lib/libpython2.5.so.1.0(PyRun_AnyFileExFlags+0x7a)[0x56544fa]
/usr/lib/libpython2.5.so.1.0(Py_Main+0xc4f)[0x565e3df]
python(main+0x32)[0x80485d2]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7595d6]
python[0x8048501]
======= Memory map: ========
00110000-00111000 r-xp 00110000 00:00 0 [vdso]
00111000-00115000 r-xp 00000000 fd:00 1835759
/usr/lib/python2.5/lib-dynload/stropmodule.so
00115000-00117000 rw-p 00004000 fd:00 1835759
/usr/lib/python2.5/lib-dynload/stropmodule.so
00117000-0011a000 r-xp 00000000 fd:00 1835717
/usr/lib/python2.5/lib-dynload/_localemodule.so
0011a000-0011b000 rw-p 00003000 fd:00 1835717
/usr/lib/python2.5/lib-dynload/_localemodule.so
0011b000-00121000 r-xp 00000000 fd:00 1835750
/usr/lib/python2.5/lib-dynload/operator.so
00121000-00122000 rw-p 00006000 fd:00 1835750
/usr/lib/python2.5/lib-dynload/operator.so
00122000-00128000 r-xp 00000000 fd:00 1835727
/usr/lib/python2.5/lib-dynload/_struct.so
00128000-00129000 rw-p 00006000 fd:00 1835727
/usr/lib/python2.5/lib-dynload/_struct.so
00129000-0012c000 r-xp 00000000 fd:00 1835762
/usr/lib/python2.5/lib-dynload/timemodule.so
[snip ...]
Anyone have some inputs on how to determine the cause???
Thanks,
john
I have a module created from a Fortran file to read in unformatted binary
fortran output. It works fine for some datasets, but crashes with others.
The strange thing is it will loop through several files before it crashes,
then suddently giving me this output:
*** glibc detected *** python: munmap_chunk(): invalid pointer: 0xb34ac008
***
======= Backtrace: =========
/lib/libc.so.6[0x7b0874]
/usr/lib/python2.5/site-packages/numpy/core/multiarray.so[0x44a24b]
/usr/lib/libpython2.5.so.1.0[0x55cf0cf]
/usr/lib/libpython2.5.so.1.0(PyEval_EvalCodeEx+0x579)[0x5636c59]
/usr/lib/libpython2.5.so.1.0[0x55d0eb2]
/usr/lib/libpython2.5.so.1.0(PyObject_Call+0x37)[0x55b10b7]
/usr/lib/libpython2.5.so.1.0(PyEval_EvalFrameEx+0x466f)[0x5633e7f]
/usr/lib/libpython2.5.so.1.0(PyEval_EvalCodeEx+0x695)[0x5636d75]
/usr/lib/libpython2.5.so.1.0(PyEval_EvalCode+0x63)[0x5636fd3]
/usr/lib/libpython2.5.so.1.0[0x5652542]
/usr/lib/libpython2.5.so.1.0(PyRun_FileExFlags+0x92)[0x5652602]
/usr/lib/libpython2.5.so.1.0(PyRun_SimpleFileExFlags+0x1bc)[0x5653d8c]
/usr/lib/libpython2.5.so.1.0(PyRun_AnyFileExFlags+0x7a)[0x56544fa]
/usr/lib/libpython2.5.so.1.0(Py_Main+0xc4f)[0x565e3df]
python(main+0x32)[0x80485d2]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7595d6]
python[0x8048501]
======= Memory map: ========
00110000-00111000 r-xp 00110000 00:00 0 [vdso]
00111000-00115000 r-xp 00000000 fd:00 1835759
/usr/lib/python2.5/lib-dynload/stropmodule.so
00115000-00117000 rw-p 00004000 fd:00 1835759
/usr/lib/python2.5/lib-dynload/stropmodule.so
00117000-0011a000 r-xp 00000000 fd:00 1835717
/usr/lib/python2.5/lib-dynload/_localemodule.so
0011a000-0011b000 rw-p 00003000 fd:00 1835717
/usr/lib/python2.5/lib-dynload/_localemodule.so
0011b000-00121000 r-xp 00000000 fd:00 1835750
/usr/lib/python2.5/lib-dynload/operator.so
00121000-00122000 rw-p 00006000 fd:00 1835750
/usr/lib/python2.5/lib-dynload/operator.so
00122000-00128000 r-xp 00000000 fd:00 1835727
/usr/lib/python2.5/lib-dynload/_struct.so
00128000-00129000 rw-p 00006000 fd:00 1835727
/usr/lib/python2.5/lib-dynload/_struct.so
00129000-0012c000 r-xp 00000000 fd:00 1835762
/usr/lib/python2.5/lib-dynload/timemodule.so
[snip ...]
Anyone have some inputs on how to determine the cause???
Thanks,
john