On Fri, Dec 11, 2009 at 8:38 AM, Jaap Spies <j.sp...@hccnet.nl> wrote:
> William Stein wrote:
>> 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?
>
> I tried very hard, but failed. A typical result from sage -t -verbose:

That's great since it suggests the problem occurs when Sage is
exiting.   It's probably the result of some weird memory allocation
issue.  So it might not cause you any trouble during actual use, at
least.

Thanks for the debugging info.  I think at this point I'll have to
install Fedora 12 on a virtual machine to get further...

> 256 tests in 28 items.
> 256 passed and 0 failed.
> Test passed.
>         [8.1 s]
>
> ----------------------------------------------------------------------
>
> The following tests failed:
>
>        sage -t -verbose 
> devel/sage/sage/schemes/elliptic_curves/ell_finite_field.py # Segfault
> ----------------------------------------------------------------------
> Total time for all tests: 8.1 seconds
>
> So *all* test passed, but nevertheless!
>
> Another example:
>
> 113 tests in 17 items.
> 113 passed and 0 failed.
> Test passed.
>         [6.2 s]
>
> ----------------------------------------------------------------------
>
> The following tests failed:
>
>        sage -t -verbose devel/sage/sage/matrix/matrix_sparse.pyx # Segfault
> ----------------------------------------------------------------------
> Total time for all tests: 6.2 seconds
> [j...@vrede sage-4.3.rc0]$
>
> But in another run:
> [j...@vrede sage-4.3.rc0]$ ./sage -t -verbose 
> devel/sage/sage/matrix/matrix_sparse.pyx 2>&1 | tee -a test.log
>
> [...]
> 113 tests in 17 items.
> 113 passed and 0 failed.
> Test passed.
> *** glibc detected *** python: double free or corruption (fasttop): 
> 0x0000000007627b40 ***
> ======= 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
> 01213000-0c441000 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
> 3d2f01c000-3d2f01d000 rw-p 0001c000 fd:00 131847                         
> /lib64/libselinux.so.1
> 3d2f01d000-3d2f01e000 rw-p 00000000 00:00 0
> 3d2f600000-3d2f62e000 r-xp 00000000 fd:00 131893                         
> /lib64/libncursesw.so.5.7
> 3d2f62e000-3d2f82d000 ---p 0002e000 fd:00 131893                         
> /lib64/libncursesw.so.5.7       [6.1 s]
> exit code: 768
>
> ----------------------------------------------------------------------
> The following tests failed:
>
>
>        sage -t -verbose "devel/sage/sage/matrix/matrix_sparse.pyx"
> Total time for all tests: 6.1 seconds
> [j...@vrede sage-4.3.rc0]$
>
> Remarkably the backtrace does not show up in the test.log!
> [j...@vrede sage-4.3.rc0]$ tail test.log
> Test passed.
>         [6.1 s]
> exit code: 768
>
> ----------------------------------------------------------------------
> The following tests failed:
>
>
>        sage -t -verbose "devel/sage/sage/matrix/matrix_sparse.pyx"
> Total time for all tests: 6.1 seconds
>
>
> Jaap
>
>
>
>
> --
> 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

Reply via email to