[Nipy-devel] little favor for those with scipy>0.7.0-2

Yaroslav Halchenko lists@onerussian....
Fri Nov 6 21:36:51 CST 2009


Could someone who has some trunk scipy/numpy ready: just save the
attachment and run:

python -c 'import scipy.io, numpy; G=scipy.io.loadmat("jack_in.mat")["G"]; numpy.linalg.eig(numpy.dot(G, G.T)); '

would you get smth like
*** glibc detected *** python: free(): invalid next size (fast): 0x000000000198edc0 ***

it works fine if G is simply defined as numpy.array with similar values but
seems to puke for me wherever it comes from loadmat, so I wonder if all clean
there...

it pukes on (according to valgrind)
==6949== Invalid write of size 8
==6949==    at 0x92896B0: dormhr_ (in /usr/lib/atlas/liblapack.so.3gf.0)
==6949==    by 0x920A759: dlaqr3_ (in /usr/lib/atlas/liblapack.so.3gf.0)
==6949==    by 0x92063FE: dlaqr0_ (in /usr/lib/atlas/liblapack.so.3gf.0)
==6949==    by 0x91A8A77: dhseqr_ (in /usr/lib/atlas/liblapack.so.3gf.0)
==6949==    by 0x912A673: dgeev_ (in /usr/lib/atlas/liblapack.so.3gf.0)
==6949==    by 0x8CD9B4B: lapack_lite_dgeev (lapack_litemodule.c:160)
==6949==    by 0x4911D4: PyEval_EvalFrameEx (ceval.c:3612)
==6949==    by 0x491CE1: PyEval_EvalFrameEx (ceval.c:3698)
==6949==    by 0x4924CC: PyEval_EvalCodeEx (ceval.c:2875)
==6949==    by 0x4926C1: PyEval_EvalCode (ceval.c:514)
==6949==    by 0x4B342B: PyRun_SimpleStringFlags (pythonrun.c:1273)
==6949==    by 0x413F52: Py_Main (main.c:521)
==6949==  Address 0x9e67988 is not stack'd, malloc'd or (recently) free'd
==6949== 
==6949== Invalid read of size 8
==6949==    at 0x920A7A0: dlaqr3_ (in /usr/lib/atlas/liblapack.so.3gf.0)
==6949==    by 0x92063FE: dlaqr0_ (in /usr/lib/atlas/liblapack.so.3gf.0)
==6949==    by 0x91A8A77: dhseqr_ (in /usr/lib/atlas/liblapack.so.3gf.0)
==6949==    by 0x912A673: dgeev_ (in /usr/lib/atlas/liblapack.so.3gf.0)
==6949==    by 0x8CD9B4B: lapack_lite_dgeev (lapack_litemodule.c:160)
==6949==    by 0x4911D4: PyEval_EvalFrameEx (ceval.c:3612)
==6949==    by 0x491CE1: PyEval_EvalFrameEx (ceval.c:3698)
==6949==    by 0x4924CC: PyEval_EvalCodeEx (ceval.c:2875)
==6949==    by 0x4926C1: PyEval_EvalCode (ceval.c:514)
==6949==    by 0x4B342B: PyRun_SimpleStringFlags (pythonrun.c:1273)
==6949==    by 0x413F52: Py_Main (main.c:521)
==6949==    by 0x56E95C5: (below main) (in /lib/libc-2.9.so)
==6949==  Address 0x9e67988 is not stack'd, malloc'd or (recently) free'd

-- 
                                  .-.
=------------------------------   /v\  ----------------------------=
Keep in touch                    // \\     (yoh@|www.)onerussian.com
Yaroslav Halchenko              /(   )\               ICQ#: 60653192
                   Linux User    ^^-^^    [175555]


-------------- next part --------------
A non-text attachment was scrubbed...
Name: jack_in.mat
Type: application/octet-stream
Size: 2613 bytes
Desc: not available
Url : http://mail.scipy.org/pipermail/nipy-devel/attachments/20091106/3ea49be1/attachment.obj 


More information about the Nipy-devel mailing list