#5522: [with patch; needs work] Fix segfault if libsingular.so can't be found
----------------------+-----------------------------------------------------
 Reporter:  tabbott   |       Owner:  mabshoff  
     Type:  defect    |      Status:  new       
 Priority:  major     |   Milestone:  sage-3.4.1
Component:  packages  |    Keywords:            
----------------------+-----------------------------------------------------
Changes (by GeorgSWeber):

 * cc: GeorgSWeber (added)


Comment:

 Hi,

 right after
 {{{
 if handle == NULL
 }}}
 one could do
 {{{
 print "cannot load libSINGULAR library"
 }}}
 and only then try to call dlerror() or raise ImportError or whatsoever. If
 then the SegFault (sometimes) occurs, the user still knows why. With this
 change, I would consider this such an enhancement over the current
 situation, that I would vote to have it in.

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