On Fri, Dec 11, 2009 at 7:13 AM, Jaap Spies <j.sp...@hccnet.nl> wrote: > William Stein wrote: >> On Fri, Dec 11, 2009 at 5:56 AM, Jaap Spies<j.sp...@hccnet.nl> wrote: >>> Mike Hansen wrote: >>>> Hello all, >>>> >>>> Sage 4.3.rc0 is out. Source and binary are available at > [...] > >>> >> >> (1) There are no problems (except the one Burcin posted a fix for >> above) on Fedora 11 64-bit. >> >> (2) You should post more details about the problems above. What is >> causing the segfault? Use "sage -t -verbose" and "sage -t -gdb". >> >
Jaap, can you give any specific thing you can type into Sage that results in a segfault? William > For example: > 3 items had no tests: > __main__ > __main__.change_warning_output > __main__.warning_function > 37 items passed all tests: > 7 tests in __main__.example_0 > 8 tests in __main__.example_1 > 5 tests in __main__.example_10 > 5 tests in __main__.example_11 > 4 tests in __main__.example_12 > 7 tests in __main__.example_13 > 36 tests in __main__.example_14 > 7 tests in __main__.example_15 > 3 tests in __main__.example_16 > 5 tests in __main__.example_17 > 4 tests in __main__.example_18 > 7 tests in __main__.example_19 > 20 tests in __main__.example_2 > 4 tests in __main__.example_20 > 4 tests in __main__.example_21 > 4 tests in __main__.example_22 > 5 tests in __main__.example_23 > 2 tests in __main__.example_24 > 3 tests in __main__.example_25 > 7 tests in __main__.example_26 > 6 tests in __main__.example_27 > 4 tests in __main__.example_28 > 4 tests in __main__.example_29 > 8 tests in __main__.example_3 > 3 tests in __main__.example_30 > 3 tests in __main__.example_31 > 6 tests in __main__.example_32 > 2 tests in __main__.example_33 > 8 tests in __main__.example_34 > 7 tests in __main__.example_35 > 22 tests in __main__.example_36 > 5 tests in __main__.example_4 > 28 tests in __main__.example_5 > 3 tests in __main__.example_6 > 4 tests in __main__.example_7 > 6 tests in __main__.example_8 > 8 tests in __main__.example_9 > 274 tests in 40 items. > 274 passed and 0 failed. > Test passed. > *** glibc detected *** python: double free or corruption (fasttop): > 0x0000000005a77830 *** > ======= Backtrace: ========= > /lib64/libc.so.6[0x3d2d674576] > /lib64/libc.so.6(exit+0xe2)[0x3d2d635b72] > python[0x4bad2a] > python(PyErr_PrintEx+0x1a5)[0x4baf45] > python(PyRun_SimpleFileExFlags+0x1e0)[0x4bbc90] > python(Py_Main+0x9af)[0x413caf] > /lib64/libc.so.6(__libc_start_main+0xfd)[0x3d2d61eb1d] > python[0x412f09] > ======= Memory map: ======== > 00400000-00552000 r-xp 00000000 fd:00 942946 > /home/jaap/downloads/sage-4.3.rc0/local/bin/python > 00751000-0078a000 rw-p 00151000 fd:00 942946 > /home/jaap/downloads/sage-4.3.rc0/local/bin/python > 0078a000-00798000 rw-p 00000000 00:00 0 > 026fa000-068c5000 rw-p 00000000 00:00 0 > [heap] > 3494600000-349461b000 r-xp 00000000 fd:00 324757 > /usr/lib64/libxcb.so.1.1.0 > 349461b000-349481a000 ---p 0001b000 fd:00 324757 > /usr/lib64/libxcb.so.1.1.0 > 349481a000-349481b000 rw-p 0001a000 fd:00 324757 > /usr/lib64/libxcb.so.1.1.0 > 3494a00000-3494b39000 r-xp 00000000 fd:00 324758 > /usr/lib64/libX11.so.6.3.0 > 3494b39000-3494d39000 ---p 00139000 fd:00 324758 > /usr/lib64/libX11.so.6.3.0 > 3494d39000-3494d3f000 rw-p 00139000 fd:00 324758 > /usr/lib64/libX11.so.6.3.0 > 3495600000-3495626000 r-xp 00000000 fd:00 131584 > /lib64/libexpat.so.1.5.2 > 3495626000-3495825000 ---p 00026000 fd:00 131584 > /lib64/libexpat.so.1.5.2 > 3495825000-3495828000 rw-p 00025000 fd:00 131584 > /lib64/libexpat.so.1.5.2 > 3497200000-34972b3000 r-xp 00000000 fd:00 131849 > /lib64/libkrb5.so.3.3 > 34972b3000-34974b3000 ---p 000b3000 fd:00 131849 > /lib64/libkrb5.so.3.3 > 34974b3000-34974bd000 rw-p 000b3000 fd:00 131849 > /lib64/libkrb5.so.3.3 > 3497600000-3497608000 r-xp 00000000 fd:00 131836 > /lib64/libkrb5support.so.0.1 > 3497608000-3497808000 ---p 00008000 fd:00 131836 > /lib64/libkrb5support.so.0.1 > 3497808000-3497809000 rw-p 00008000 fd:00 131836 > /lib64/libkrb5support.so.0.1 > 3497a00000-3497a2a000 r-xp 00000000 fd:00 131848 > /lib64/libk5crypto.so.3.1 > 3497a2a000-3497c2a000 ---p 0002a000 fd:00 131848 > /lib64/libk5crypto.so.3.1 > 3497c2a000-3497c2c000 rw-p 0002a000 fd:00 131848 > /lib64/libk5crypto.so.3.1 > 3498200000-349822d000 r-xp 00000000 fd:00 131851 > /lib64/libgssapi_krb5.so.2.2 > 349822d000-349842d000 ---p 0002d000 fd:00 131851 > /lib64/libgssapi_krb5.so.2.2 > 349842d000-349842f000 rw-p 0002d000 fd:00 131851 > /lib64/libgssapi_krb5.so.2.2 > 3498600000-3498652000 r-xp 00000000 fd:00 269879 > /usr/lib64/libssl.so.1.0.0 > 3498652000-3498851000 ---p 00052000 fd:00 269879 > /usr/lib64/libssl.so.1.0.0 > 3498851000-3498859000 rw-p 00051000 fd:00 269879 > /usr/lib64/libssl.so.1.0.0 > 349aa00000-349aa11000 r-xp 00000000 fd:00 332339 > /usr/lib64/libXpm.so.4.11.0 > 349aa11000-349ac10000 ---p 00011000 fd:00 332339 > /usr/lib64/libXpm.so.4.11.0 > 349ac10000-349ac11000 rw-p 00010000 fd:00 332339 > /usr/lib64/libXpm.so.4.11.0 > 3c3e800000-3c3e834000 r-xp 00000000 fd:00 263056 > /usr/lib64/libfontconfig.so.1.4.4 > 3c3e834000-3c3ea34000 ---p 00034000 fd:00 263056 > /usr/lib64/libfontconfig.so.1.4.4 > 3c3ea34000-3c3ea36000 rw-p 00034000 fd:00 263056 > /usr/lib64/libfontconfig.so.1.4.4 > 3d2d200000-3d2d21e000 r-xp 00000000 fd:00 131831 > /lib64/ld-2.11.so > 3d2d41d000-3d2d41e000 r--p 0001d000 fd:00 131831 > /lib64/ld-2.11.so > 3d2d41e000-3d2d41f000 rw-p 0001e000 fd:00 131831 > /lib64/ld-2.11.so > 3d2d41f000-3d2d420000 rw-p 00000000 00:00 0 > 3d2d600000-3d2d76f000 r-xp 00000000 fd:00 131832 > /lib64/libc-2.11.so > 3d2d76f000-3d2d96e000 ---p 0016f000 fd:00 131832 > /lib64/libc-2.11.so > 3d2d96e000-3d2d972000 r--p 0016e000 fd:00 131832 > /lib64/libc-2.11.so > 3d2d972000-3d2d973000 rw-p 00172000 fd:00 131832 > /lib64/libc-2.11.so > 3d2d973000-3d2d978000 rw-p 00000000 00:00 0 > 3d2da00000-3d2da83000 r-xp 00000000 fd:00 131833 > /lib64/libm-2.11.so > 3d2da83000-3d2dc82000 ---p 00083000 fd:00 131833 > /lib64/libm-2.11.so > 3d2dc82000-3d2dc83000 r--p 00082000 fd:00 131833 > /lib64/libm-2.11.so > 3d2dc83000-3d2dc84000 rw-p 00083000 fd:00 131833 > /lib64/libm-2.11.so > 3d2de00000-3d2de02000 r-xp 00000000 fd:00 131835 > /lib64/libdl-2.11.so > 3d2de02000-3d2e002000 ---p 00002000 fd:00 131835 > /lib64/libdl-2.11.so > 3d2e002000-3d2e003000 r--p 00002000 fd:00 131835 > /lib64/libdl-2.11.so > 3d2e003000-3d2e004000 rw-p 00003000 fd:00 131835 > /lib64/libdl-2.11.so > 3d2e200000-3d2e217000 r-xp 00000000 fd:00 131838 > /lib64/libpthread-2.11.so > 3d2e217000-3d2e416000 ---p 00017000 fd:00 131838 > /lib64/libpthread-2.11.so > 3d2e416000-3d2e417000 r--p 00016000 fd:00 131838 > /lib64/libpthread-2.11.so > 3d2e417000-3d2e418000 rw-p 00017000 fd:00 131838 > /lib64/libpthread-2.11.so > 3d2e418000-3d2e41c000 rw-p 00000000 00:00 0 > 3d2ea00000-3d2ea07000 r-xp 00000000 fd:00 131855 > /lib64/librt-2.11.so > 3d2ea07000-3d2ec06000 ---p 00007000 fd:00 131855 > /lib64/librt-2.11.so > 3d2ec06000-3d2ec07000 r--p 00006000 fd:00 131855 > /lib64/librt-2.11.so > 3d2ec07000-3d2ec08000 rw-p 00007000 fd:00 131855 > /lib64/librt-2.11.so > 3d2ee00000-3d2ee1c000 r-xp 00000000 fd:00 131847 > /lib64/libselinux.so.1 > 3d2ee1c000-3d2f01b000 ---p 0001c000 fd:00 131847 > /lib64/libselinux.so.1 > 3d2f01b000-3d2f01c000 r--p 0001b000 fd:00 131847 > /lib64/libselinux.so.1 [2.5 s] > exit code: 768 > > ---------------------------------------------------------------------- > The following tests failed: > > > sage -t -verbose "devel/sage/sage/matrix/matrix_space.py" > Total time for all tests: 2.5 seconds > > > > From dmesg: > [...] > python[15081]: segfault at 3d33185930 ip 0000003d2d674695 sp 00007fff7002de40 > error 4 in libc-2.11.so[3d2d600000+16f000] > > sage -t -gdb "devel/sage/sage/matrix/matrix_space.py" > ******************************************************************************** > Type r at the (gdb) prompt to run the doctests. > Type bt if there is a crash to see a traceback. > ******************************************************************************** > 'import site' failed; use -v for traceback > Traceback (most recent call last): > File "<string>", line 27, in <module> > ImportError: No module named os.path > GNU gdb (GDB) Fedora (7.0-9.fc12) > Copyright (C) 2009 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "x86_64-redhat-linux-gnu". > For bug reporting instructions, please see: > <http://www.gnu.org/software/gdb/bugs/>... > Reading symbols from > /home/jaap/downloads/sage-4.3.rc0/local/bin/python...done. > (gdb) r > Starting program: /home/jaap/downloads/sage-4.3.rc0/local/bin/python > /home/jaap/.sage//tmp/.doctest_matrix_space.py > [Thread debugging using libthread_db enabled] > Traceback (most recent call last): > File "/usr/share/gdb/auto-load/usr/lib64/libstdc++.so.6.0.13-gdb.py", line > 19, in <module> > import os > ImportError: No module named os > Detaching after fork from child process 4404. > Detaching after fork from child process 4437. > Detaching after fork from child process 4438. > *** glibc detected *** /home/jaap/downloads/sage-4.3.rc0/local/bin/python: > double free or corruption (fasttop): 0x000000000445dbc0 *** > ======= Backtrace: ========= > /lib64/libc.so.6[0x3d2d674576] > /lib64/libc.so.6(exit+0xe2)[0x3d2d635b72] > /home/jaap/downloads/sage-4.3.rc0/local/bin/python[0x4bad2a] > /home/jaap/downloads/sage-4.3.rc0/local/bin/python(PyErr_PrintEx+0x1a5)[0x4baf45] > /home/jaap/downloads/sage-4.3.rc0/local/bin/python(PyRun_SimpleFileExFlags+0x1e0)[0x4bbc90] > /home/jaap/downloads/sage-4.3.rc0/local/bin/python(Py_Main+0x9af)[0x413caf] > /lib64/libc.so.6(__libc_start_main+0xfd)[0x3d2d61eb1d] > /home/jaap/downloads/sage-4.3.rc0/local/bin/python[0x412f09] > ======= Memory map: ======== > 00400000-00552000 r-xp 00000000 fd:00 942946 > /home/jaap/downloads/sage-4.3.rc0/local/bin/python > 00751000-0078a000 rw-p 00151000 fd:00 942946 > /home/jaap/downloads/sage-4.3.rc0/local/bin/python > 0078a000-04aa5000 rw-p 00000000 00:00 0 > [heap] > 3494600000-349461b000 r-xp 00000000 fd:00 324757 > /usr/lib64/libxcb.so.1.1.0 > 349461b000-349481a000 ---p 0001b000 fd:00 324757 > /usr/lib64/libxcb.so.1.1.0 > 349481a000-349481b000 rw-p 0001a000 fd:00 324757 > /usr/lib64/libxcb.so.1.1.0 > 3494a00000-3494b39000 r-xp 00000000 fd:00 324758 > /usr/lib64/libX11.so.6.3.0 > 3494b39000-3494d39000 ---p 00139000 fd:00 324758 > /usr/lib64/libX11.so.6.3.0 > 3494d39000-3494d3f000 rw-p 00139000 fd:00 324758 > /usr/lib64/libX11.so.6.3.0 > 3495600000-3495626000 r-xp 00000000 fd:00 131584 > /lib64/libexpat.so.1.5.2 > 3495626000-3495825000 ---p 00026000 fd:00 131584 > /lib64/libexpat.so.1.5.2 > 3495825000-3495828000 rw-p 00025000 fd:00 131584 > /lib64/libexpat.so.1.5.2 > 3497200000-34972b3000 r-xp 00000000 fd:00 131849 > /lib64/libkrb5.so.3.3 > 34972b3000-34974b3000 ---p 000b3000 fd:00 131849 > /lib64/libkrb5.so.3.3 > 34974b3000-34974bd000 rw-p 000b3000 fd:00 131849 > /lib64/libkrb5.so.3.3 > 3497600000-3497608000 r-xp 00000000 fd:00 131836 > /lib64/libkrb5support.so.0.1 > 3497608000-3497808000 ---p 00008000 fd:00 131836 > /lib64/libkrb5support.so.0.1 > 3497808000-3497809000 rw-p 00008000 fd:00 131836 > /lib64/libkrb5support.so.0.1 > 3497a00000-3497a2a000 r-xp 00000000 fd:00 131848 > /lib64/libk5crypto.so.3.1 > 3497a2a000-3497c2a000 ---p 0002a000 fd:00 131848 > /lib64/libk5crypto.so.3.1 > 3497c2a000-3497c2c000 rw-p 0002a000 fd:00 131848 > /lib64/libk5crypto.so.3.1 > 3498200000-349822d000 r-xp 00000000 fd:00 131851 > /lib64/libgssapi_krb5.so.2.2 > 349822d000-349842d000 ---p 0002d000 fd:00 131851 > /lib64/libgssapi_krb5.so.2.2 > 349842d000-349842f000 rw-p 0002d000 fd:00 131851 > /lib64/libgssapi_krb5.so.2.2 > 3498600000-3498652000 r-xp 00000000 fd:00 269879 > /usr/lib64/libssl.so.1.0.0 > 3498652000-3498851000 ---p 00052000 fd:00 269879 > /usr/lib64/libssl.so.1.0.0 > 3498851000-3498859000 rw-p 00051000 fd:00 269879 > /usr/lib64/libssl.so.1.0.0 > 349aa00000-349aa11000 r-xp 00000000 fd:00 332339 > /usr/lib64/libXpm.so.4.11.0 > 349aa11000-349ac10000 ---p 00011000 fd:00 332339 > /usr/lib64/libXpm.so.4.11.0 > 349ac10000-349ac11000 rw-p 00010000 fd:00 332339 > /usr/lib64/libXpm.so.4.11.0 > 3c3e800000-3c3e834000 r-xp 00000000 fd:00 263056 > /usr/lib64/libfontconfig.so.1.4.4 > 3c3e834000-3c3ea34000 ---p 00034000 fd:00 263056 > /usr/lib64/libfontconfig.so.1.4.4 > 3c3ea34000-3c3ea36000 rw-p 00034000 fd:00 263056 > /usr/lib64/libfontconfig.so.1.4.4 > 3d2d200000-3d2d21e000 r-xp 00000000 fd:00 131831 > /lib64/ld-2.11.so > 3d2d41d000-3d2d41e000 r--p 0001d000 fd:00 131831 > /lib64/ld-2.11.so > 3d2d41e000-3d2d41f000 rw-p 0001e000 fd:00 131831 > /lib64/ld-2.11.so > 3d2d41f000-3d2d420000 rw-p 00000000 00:00 0 > 3d2d600000-3d2d76f000 r-xp 00000000 fd:00 131832 > /lib64/libc-2.11.so > 3d2d76f000-3d2d96e000 ---p 0016f000 fd:00 131832 > /lib64/libc-2.11.so > 3d2d96e000-3d2d972000 r--p 0016e000 fd:00 131832 > /lib64/libc-2.11.so > 3d2d972000-3d2d973000 rw-p 00172000 fd:00 131832 > /lib64/libc-2.11.so > 3d2d973000-3d2d978000 rw-p 00000000 00:00 0 > 3d2da00000-3d2da83000 r-xp 00000000 fd:00 131833 > /lib64/libm-2.11.so > 3d2da83000-3d2dc82000 ---p 00083000 fd:00 131833 > /lib64/libm-2.11.so > 3d2dc82000-3d2dc83000 r--p 00082000 fd:00 131833 > /lib64/libm-2.11.so > 3d2dc83000-3d2dc84000 rw-p 00083000 fd:00 131833 > /lib64/libm-2.11.so > 3d2de00000-3d2de02000 r-xp 00000000 fd:00 131835 > /lib64/libdl-2.11.so > 3d2de02000-3d2e002000 ---p 00002000 fd:00 131835 > /lib64/libdl-2.11.so > 3d2e002000-3d2e003000 r--p 00002000 fd:00 131835 > /lib64/libdl-2.11.so > 3d2e003000-3d2e004000 rw-p 00003000 fd:00 131835 > /lib64/libdl-2.11.so > 3d2e200000-3d2e217000 r-xp 00000000 fd:00 131838 > /lib64/libpthread-2.11.so > 3d2e217000-3d2e416000 ---p 00017000 fd:00 131838 > /lib64/libpthread-2.11.so > 3d2e416000-3d2e417000 r--p 00016000 fd:00 131838 > /lib64/libpthread-2.11.so > 3d2e417000-3d2e418000 rw-p 00017000 fd:00 131838 > /lib64/libpthread-2.11.so > 3d2e418000-3d2e41c000 rw-p 00000000 00:00 0 > 3d2ea00000-3d2ea07000 r-xp 00000000 fd:00 131855 > /lib64/librt-2.11.so > 3d2ea07000-3d2ec06000 ---p 00007000 fd:00 131855 > /lib64/librt-2.11.so > 3d2ec06000-3d2ec07000 r--p 00006000 fd:00 131855 > /lib64/librt-2.11.so > 3d2ec07000-3d2ec08000 rw-p 00007000 fd:00 131855 > /lib64/librt-2.11.so > Program received signal SIGABRT, Aborted. > 0x0000003d2d6326b5 in raise () from /lib64/libc.so.6 > Missing separate debuginfos, use: debuginfo-install expat-2.0.1-8.fc12.x86_64 > fontconfig-2.8.0-1.fc12.x86_64 glibc-2.11-2.x86_64 > keyutils-libs-1.2-6.fc12.x86_64 > krb5-libs-1.7-10.fc12.x86_64 libX11-1.3-1.fc12.x86_64 > libXau-1.0.5-1.fc12.x86_64 libXpm-3.5.8-2.fc12.x86_64 > libcom_err-1.41.9-5.fc12.x86_64 > libgcc-4.4.2-7.fc12.x86_64 libselinux-2.0.87-1.fc12.x86_64 > libstdc++-4.4.2-7.fc12.x86_64 libxcb-1.4-2.fc12.x86_64 > ncurses-libs-5.7-3.20090207.fc12.x86_64 > nss-softokn-freebl-3.12.4-10.fc12.x86_64 openssl-1.0.0-0.13.beta4.fc12.x86_64 > (gdb) bt > #0 0x0000003d2d6326b5 in raise () from /lib64/libc.so.6 > #1 0x0000003d2d633e95 in abort () from /lib64/libc.so.6 > #2 0x0000003d2d66ebe3 in __libc_message () from /lib64/libc.so.6 > #3 0x0000003d2d674576 in malloc_printerr () from /lib64/libc.so.6 > #4 0x0000003d2d635b72 in exit () from /lib64/libc.so.6 > #5 0x00000000004bad2a in Py_Exit (sts=0) at Python/pythonrun.c:1716 > #6 handle_system_exit (sts=0) at Python/pythonrun.c:1116 > #7 0x00000000004baf45 in PyErr_PrintEx (set_sys_last_vars=1) at > Python/pythonrun.c:1126 > #8 0x00000000004bbc90 in PyRun_SimpleFileExFlags (fp=<value optimized out>, > filename=<value optimized out>, closeit=1, flags=0x7fffffffd950) at > Python/pythonrun.c:935 > #9 0x0000000000413caf in Py_Main (argc=<value optimized out>, argv=<value > optimized out>) > at Modules/main.c:599 > #10 0x0000003d2d61eb1d in __libc_start_main () from /lib64/libc.so.6 > #11 0x0000000000412f09 in _start () > (gdb) > > > Jaap > > > >> William >> > > > -- > To post to this group, send an email to sage-devel@googlegroups.com > To unsubscribe from this group, send an email to > sage-devel+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/sage-devel > URL: http://www.sagemath.org > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org