#11079: SIGSEGV test throws SIGBUS instead on certain systems
-----------------------------------+----------------------------------------
   Reporter:  jdemeyer             |       Owner:  mvngu          
       Type:  defect               |      Status:  positive_review
   Priority:  major                |   Milestone:  sage-4.7       
  Component:  doctest              |    Keywords:                 
     Author:  Jeroen Demeyer       |    Upstream:  N/A            
   Reviewer:  Karl-Dieter Crisman  |      Merged:                 
Work_issues:                       |  
-----------------------------------+----------------------------------------

Old description:

> In the file `sage/tests/interrupt.pyx` there is a test for a segmentation
> fault by explicitly dereferencing a NULL pointer.  However, on some
> systems (Mac OS X 10.4 PPC and Mac OS X 10.5.8 Intel) this generates a
> SIGBUS instead of a SIGSEGV.

New description:

 In the file `sage/tests/interrupt.pyx` there is a test for a segmentation
 fault by explicitly dereferencing a NULL pointer.  However, on some
 systems (Mac OS X 10.4 PPC, Mac OS X 10.4 Intel, and Mac OS X 10.5.8
 Intel) this generates a SIGBUS instead of a SIGSEGV.

--

Comment(by GeorgSWeber):

 I see this on MacIntel OS X 10.4.11, too, so I updated the description.
 The patch looks superb (although I didn't apply and test it myself);
 hopefully it gets into the next alpha/rc release.

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