#10100: Segfault calling change_ring(RR) on a symbolic polynomial
-----------------------------+----------------------------------------------
   Reporter:  davidloeffler  |       Owner:  burcin
       Type:  defect         |      Status:  new   
   Priority:  major          |   Milestone:        
  Component:  symbolics      |    Keywords:        
     Author:                 |    Upstream:  N/A   
   Reviewer:                 |      Merged:        
Work_issues:                 |  
-----------------------------+----------------------------------------------

Comment(by drkirkby):

 FWIW, it crashes on my !OpenSolaris machine. I've not looked in detail,
 but it seems to be something calling mpfr_clear in MPFR. Of course that
 does '''not''' mean it is an MPFR bug, but that's where the crash is
 occuring.

 {{{
 drkir...@hawk:~/sage-4.6.alpha2$ ./sage -gdb
 ----------------------------------------------------------------------
 | Sage Version 4.6.alpha2, Release Date: 2010-09-29                  |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------
 **********************************************************************
 *                                                                    *
 * Warning: this is a prerelease version, and it may be unstable.     *
 *                                                                    *
 **********************************************************************
 /export/home/drkirkby/sage-4.6.alpha2/local/bin/sage-ipython
 GNU gdb 6.8
 Copyright (C) 2008 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 "i386-pc-solaris2.11"...
 warning: Lowest section in /lib/libdl.so.1 is .dynamic at 00000074
 Python 2.6.4 (r264:75706, Oct  6 2010, 11:29:17)
 [GCC 4.5.0] on sunos5
 Type "help", "copyright", "credits" or "license" for more information.
 warning: Lowest section in /lib/libintl.so.1 is .dynamic at 00000074
 warning: Lowest section in /lib/libpthread.so.1 is .dynamic at 00000074
 sage:  a = var('a')
 sage: R.<x>  = a.parent()[]
 sage: (x - a).change_ring(RR) # boom!

 Program received signal SIGSEGV, Segmentation fault.
 0xfc31aec2 in mpfr_clear ()
    from /export/home/drkirkby/sage-4.6.alpha2/local/lib//libmpfr.so.1
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10100#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to