#9583: Unhandled SIGSEGV with 4.5.2.alpha0 on t2
-----------------------+----------------------------------------------------
   Reporter:  mpatel   |       Owner:  drkirkby  
       Type:  defect   |      Status:  new       
   Priority:  blocker  |   Milestone:  sage-4.5.2
  Component:  solaris  |    Keywords:            
     Author:           |    Upstream:  N/A       
   Reviewer:           |      Merged:            
Work_issues:           |  
-----------------------+----------------------------------------------------

Comment(by drkirkby):

 John said he did not know how to use GDB. These were the steps I took,
 which made finding this easy. I would add, it is often '''much''' more
 difficult to find the bugs - I perhaps got lucky here

  * Start Sage with {{{sage -gdb}}}
  * Lucilly it crashed immediately, saying it was at
 {{{__pyx_pf_4sage_4libs_8singular_6option_27LibSingularOptions_abstract_load}}}
  * I put a breakpoint on that with {{{ br
 __pyx_pf_4sage_4libs_8singular_6option_27LibSingularOptions_abstract_load}}}
  * Restarted the program. It broke at
 {{{__pyx_pf_4sage_4libs_8singular_6option_27LibSingularOptions_abstract_load}}}
 as expected.
  * I stepped into that bit of code using {{{s}}} which is short for
 {{{step}}}
  * I used {{{n}}}, which is short for {{{next}}} to execute one line at a
 time.
  * After using {{{next}}} once, just hitting return will run {{{next
 again}}}. For some reason I typed it a few times, but that was not
 necessary.

 Dave

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