#5862: [with patch, needs work] OSX 64 bit libsingular -- sage/libsingular
segfaults on first creation of a ring
---------------------------------+------------------------------------------
 Reporter:  was                  |       Owner:  malb      
     Type:  defect               |      Status:  new       
 Priority:  major                |   Milestone:  sage-3.4.2
Component:  commutative algebra  |    Keywords:            
---------------------------------+------------------------------------------

Old description:



New description:

 Sage 3.4.1 or similar segault on startup once the first mv polynomial ring
 via libSingular is created. This is bad ;)

 Cheers,

 Michael

--

Comment(by mabshoff):

 The problem is that siInit doesn't get called on 64 bit OSX (William and I
 verified by adding a printf() statement). After this patch it gets called,
 but the allocation still fails, so we need to dig a little deeper.

 As is the patch is not applicable since we open the mangled name, but
 siInit should be declared {{{extern "C"}}} to avoid this.

 Cheers,

 Michael

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5862#comment:1>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
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