#12054: crash in digraph.py
-----------------------------+----------------------------------------------
   Reporter:  emil           |          Owner:  tbd                             
  
       Type:  PLEASE CHANGE  |         Status:  new                             
  
   Priority:  major          |      Milestone:  sage-4.8                        
  
  Component:  PLEASE CHANGE  |       Keywords:  diagraph SIGABRT 
feedback_edge_set
Work_issues:                 |       Upstream:  N/A                             
  
   Reviewer:                 |         Author:                                  
  
     Merged:                 |   Dependencies:                                  
  
-----------------------------+----------------------------------------------
 I compiled 4.7.2 on the Live CD and got this error:

 sage -t  -force_lib "devel/sage/sage/graphs/digraph.py" # Killed/
 crashed

 I ran the test with -verbose
 {{{
 Trying:
     cycle.size()###line 1338:_sage_    >>> cycle.size()
 Expecting:
     5
     # >>> dcycle.feedback_edge_set(value_only=True)
     5.0
 **********************************************************************
 File "/mnt/sda6/COMPILE/sage-4.7.2/devel/sage/sage/graphs/digraph.py",
 line 998, in __main__.example_22
 Failed example:
     cycle.size()###line 1338:_sage_    >>> cycle.size()
 Expected:
     5
     # >>> dcycle.feedback_edge_set(value_only=True)
     5.0
 Got:
     5

 and then:

 Trying:
     feedback = dg.feedback_edge_set()###line 1348:_sage_    >>>
 feedback = dg.feedback_edge_set()
 Expecting nothing
 Assertion failed: orig->m > 0 && orig->n > 0
 Error detected in file glpapi09.c at line 289
 /mnt/sda6/COMPILE/sage-4.7.2/local/lib/libcsage.so(print_backtrace
 +0x3b)[0xb71f231e]
 /mnt/sda6/COMPILE/sage-4.7.2/local/lib/libcsage.so(sigdie+0x17)
 [0xb71f235e]
 /mnt/sda6/COMPILE/sage-4.7.2/local/lib/libcsage.so(sage_signal_handler
 +0x1c4)[0xb71f1e97]
 [0xffffe400]
 /lib/libc.so.6(abort+0x182)[0xb7472ab2]
 /usr/local/lib/libglpk.so.0(+0x43b0e)[0xaea1eb0e]
 /usr/local/lib/libglpk.so.0(+0x439ff)[0xaea1e9ff]
 /usr/local/lib/libglpk.so.0(glp_intopt+0xae0)[0xae9e89b0]
 /mnt/sda6/COMPILE/sage-4.7.2/local/lib/python/site-packages/sage/
 numerical/backends/glpk_backend.so(+0x5c47)[0xaea99c47]
 /mnt/sda6/COMPILE/sage-4.7.2/local/lib/python/site-packages/sage/
 numerical/mip.so(+0x29036)[0xb0bcf036]
 /mnt/sda6/COMPILE/sage-4.7.2/local/lib/libpython2.6.so.
 1.0(PyCFunction_Call+0x128)[0xb7642c58]

 .lotsof that sort..

 /mnt/sda6/COMPILE/sage-4.7.2/local/lib/libpython2.6.so.1.0(Py_Main
 +0xc7d)[0xb76d0c5d]
 python(main+0x27)[0x8048667]
 /lib/libc.so.6(__libc_start_main+0xe6)[0xb745bbc6]
 python[0x80485a1]

 ------------------------------------------------------------------------
 Unhandled SIGABRT: An abort() occurred in Sage.
 This probably occurred because a *compiled* component of Sage has a
 bug
 in it and is not properly wrapped with sig_on(), sig_off(). You might
 want to run Sage under gdb with 'sage -gdb' to debug this.
 Sage will now terminate.
 ------------------------------------------------------------------------
 The doctested process was killed by signal 6
          [5.7 s]

 }}}

 tread on sage-devel
 [http://groups.google.com/group/sage-
 devel/browse_thread/thread/e1886d5ba5ade945]

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12054>
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