[SciPy-dev] core dump during weave tests on Solaris

Skip Montanaro skip at pobox.com
Fri Sep 20 08:04:53 CDT 2002


I'm now getting a Python core dump on Solaris if I run scipy.test(5).
Running scipy.test(1) succeeds though still with a failure in test_shapiro.
Here's the output of scipy.weave.test():


     creating test suite for: weave.ast_tools
     creating test suite for: weave.standard_array_spec
    No test suite found for  weave.accelerate_tools
    No test suite found for  weave.base_info
    No test suite found for  weave.base_spec
    No test suite found for  weave.blitz_spec
     creating test suite for: weave.blitz_tools
     creating test suite for: weave.build_tools
    No test suite found for  weave.bytecodecompiler
     creating test suite for: weave.c_spec
     creating test suite for: weave.catalog
    No test suite found for  weave.common_info
    No test suite found for  weave.converters
    No test suite found for  weave.dumb_shelve
    No test suite found for  weave.dumbdbm_patched
     creating test suite for: weave.ext_tools
    building extensions here: /home/skip/.python21_compiled/146290
    building extensions here: /home/skip/.python21_compiled/146291
     creating test suite for: weave.inline_tools
     creating test suite for: weave.size_check
     creating test suite for: weave.slice_handler
    No test suite found for  weave.vtk_spec
    No test suite found for  weave.wx_spec
    ......
    Expression: result[1:-1,1:-1] = (b[1:-1,1:-1] + b[2:,1:-1] + b[:-2,1:-1]+ b[1:-1,2:] + b[1:-1,:-2]) / 5.
    Run: (10, 10) f
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/tinyvec.h", line 488: Error: Unable to parse field declaration in class template: skipping field.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/array/storage.h", line 279:     Where: While specializing "blitz::GeneralArrayStorage<1>".
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/array/storage.h", line 279:     Where: Specialized in non-template code.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/array/storage.h", line 237: Error: The type "blitz::TinyVector<int, 1>" is incomplete.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/array/storage.h", line 279:     Where: While specializing "blitz::GeneralArrayStorage<1>".
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/array/storage.h", line 279:     Where: Specialized in non-template code.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/tinyvec.h", line 488: Error: Unable to parse field declaration in class template: skipping field.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/array/storage.h", line 279:     Where: While specializing "blitz::GeneralArrayStorage<1>".
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/array/storage.h", line 279:     Where: Specialized in non-template code.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/array/storage.h", line 238: Error: The type "blitz::TinyVector<bool, 1>" is incomplete.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/array/storage.h", line 279:     Where: While specializing "blitz::GeneralArrayStorage<1>".
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/array/storage.h", line 279:     Where: Specialized in non-template code.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/tinyvec.h", line 488: Error: Unable to parse field declaration in class template: skipping field.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/array/storage.h", line 279:     Where: While specializing "blitz::GeneralArrayStorage<1>".
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/array/storage.h", line 279:     Where: Specialized in non-template code.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/array/storage.h", line 239: Error: The type "blitz::TinyVector<int, 1>" is incomplete.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/array/storage.h", line 279:     Where: While specializing "blitz::GeneralArrayStorage<1>".
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/array/storage.h", line 279:     Where: Specialized in non-template code.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/array/storage.h", line 254: Error: blitz::GeneralArrayStorage<1>::ordering_ is not accessible from blitz::FortranArray<1>.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/array/storage.h", line 279:     Where: While specializing "blitz::FortranArray<1>".
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/array/storage.h", line 279:     Where: Specialized in non-template code.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/array/storage.h", line 255: Error: blitz::GeneralArrayStorage<1>::ascendingFlag_ is not accessible from blitz::FortranArray<1>.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/array/storage.h", line 279:     Where: While specializing "blitz::FortranArray<1>".
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/array/storage.h", line 279:     Where: Specialized in non-template code.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/array/storage.h", line 256: Error: blitz::GeneralArrayStorage<1>::base_ is not accessible from blitz::FortranArray<1>.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/array/storage.h", line 279:     Where: While specializing "blitz::FortranArray<1>".
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/array/storage.h", line 279:     Where: Specialized in non-template code.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/tinyvec.h", line 488: Error: Unable to parse field declaration in class template: skipping field.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/tinyvec.h", line 488: Error: Unable to parse field declaration in class template: skipping field.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/tinyvec.h", line 488: Error: Unable to parse field declaration in class template: skipping field.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/tinyvec.h", line 488: Error: Unable to parse field declaration in class template: skipping field.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/tinyvec.h", line 488: Error: Unable to parse field declaration in class template: skipping field.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/tinyvec.h", line 488: Error: Unable to parse field declaration in class template: skipping field.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/tinyvec.h", line 488: Error: Unable to parse field declaration in class template: skipping field.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/tinyvec.h", line 488: Error: Unable to parse field declaration in class template: skipping field.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/tinyvec.h", line 488: Error: Unable to parse field declaration in class template: skipping field.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/tinyvec.h", line 488: Error: Unable to parse field declaration in class template: skipping field.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/tinyvec.h", line 488: Error: Unable to parse field declaration in class template: skipping field.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/tinyvec.h", line 488: Error: Unable to parse field declaration in class template: skipping field.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/tinyvec.h", line 488: Error: Unable to parse field declaration in class template: skipping field.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/tinyvec.h", line 488: Error: Unable to parse field declaration in class template: skipping field.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/tinyvec.h", line 488: Error: Unable to parse field declaration in class template: skipping field.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/tinyvec.h", line 488: Error: Unable to parse field declaration in class template: skipping field.
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/array/storage.h", line 282:     Where: While specializing "blitz::GeneralArrayStorage<2>".
    "/home/skip/tmp/sunos5/2.1/lib/python2.1/site-packages/weave/blitz-20001213/blitz/array/storage.h", line 282:     Where: Specialized in non-template code.
    Compilation aborted, too many Error messages.
    Ewarning: specified build_dir '_bad_path_' does not exist or is not writable. Trying default locations
    ...warning: specified build_dir '..' does not exist or is not writable. Trying default locations
    .warning: specified build_dir '_bad_path_' does not exist or is not writable. Trying default locations
    ...warning: specified build_dir '..' does not exist or is not writable. Trying default locations
    ...Abort (core dumped)

and here's a gdb backtrace (currently without symbols - let me know if you
need me to recompile with -g):

    #0  0xff259b0c in __sigprocmask () from /usr/lib/libthread.so.1
    #1  0xff24e544 in _resetsig () from /usr/lib/libthread.so.1
    #2  0xff24dc34 in _sigon () from /usr/lib/libthread.so.1
    #3  0xff250da8 in _thrp_kill () from /usr/lib/libthread.so.1
    #4  0xfef4ae68 in raise () from /usr/lib/libc.so.1
    #5  0xfef35644 in abort () from /usr/lib/libc.so.1
    #6  0xff1d466c in __1cH__CimplMex_terminate6F_v_ () from /usr/lib/libCrun.so.1
    #7  0xff1d59ac in __1cG__CrunIex_throw6Fpvpkn0AQstatic_type_info_pF1_v_v_ ()
       from /usr/lib/libCrun.so.1
    #8  0xfd4d2fd0 in __1cLthrow_error6FpnH_object_pkc_v_ ()
       from /home/skip/.python21_compiled/sc_d41d8cd98f00b204e9800998ecf8427e0.so
    #9  0xfd4d31cc in __1cZhandle_variable_not_found6Fpc_v_ ()
       from /home/skip/.python21_compiled/sc_d41d8cd98f00b204e9800998ecf8427e0.so
    #10 0xfd4d3214 in __1cMget_variable6FpcpnH_object_2_2_ ()
       from /home/skip/.python21_compiled/sc_d41d8cd98f00b204e9800998ecf8427e0.so
    #11 0xfd4d32cc in __1cNcompiled_func6FpnH_object_1_1_ ()
       from /home/skip/.python21_compiled/sc_d41d8cd98f00b204e9800998ecf8427e0.so
    #12 0x23c88 in call_object ()
    #13 0x23a54 in PyEval_CallObjectWithKeywords ()
    #14 0x7b6a4 in builtin_apply ()
    #15 0x21bfc in eval_code2 ()
    #16 0x242bc in fast_function ()
    #17 0x21d4c in eval_code2 ()
    #18 0x242bc in fast_function ()
    #19 0x21d4c in eval_code2 ()
    #20 0x24184 in call_eval_code2 ()
    #21 0x23c58 in call_object ()
    #22 0x2400c in call_method ()
    #23 0x23c28 in call_object ()
    #24 0x23e90 in call_instance ()
    #25 0x23ce8 in call_object ()
    #26 0x24660 in do_call ()
    #27 0x21d68 in eval_code2 ()
    #28 0x24184 in call_eval_code2 ()
    #29 0x23c58 in call_object ()
    #30 0x2400c in call_method ()
    #31 0x23c28 in call_object ()
    #32 0x23e90 in call_instance ()
    #33 0x23ce8 in call_object ()
    #34 0x24660 in do_call ()
    #35 0x21d68 in eval_code2 ()
    #36 0x24184 in call_eval_code2 ()
    #37 0x23c58 in call_object ()
    #38 0x2400c in call_method ()
    #39 0x23c28 in call_object ()
    #40 0x23e90 in call_instance ()
    #41 0x23ce8 in call_object ()
    #42 0x24660 in do_call ()
    #43 0x21d68 in eval_code2 ()
    #44 0x24184 in call_eval_code2 ()
    #45 0x23c58 in call_object ()
    #46 0x2400c in call_method ()
    #47 0x23c28 in call_object ()
    #48 0x23e90 in call_instance ()
    #49 0x23ce8 in call_object ()
    #50 0x24660 in do_call ()
    #51 0x21d68 in eval_code2 ()
    #52 0x242bc in fast_function ()
    #53 0x21d4c in eval_code2 ()
    #54 0x242bc in fast_function ()
    #55 0x21d4c in eval_code2 ()
    #56 0x1db1c in PyEval_EvalCode ()
    #57 0x3d258 in run_node ()
    #58 0x3c120 in PyRun_InteractiveOneFlags ()
    #59 0x3bf14 in PyRun_InteractiveLoopFlags ()
    #60 0x3bde4 in PyRun_AnyFileExFlags ()
    #61 0x19e08 in Py_Main ()

(I tried setting the language to c++ but it still didn't demangle the C++
names.) 

Skip



More information about the Scipy-dev mailing list