#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:
----------------------+-----------------------------------------------------
If for some reason libsingular.so doesn't exist, Sage will segfault when
trying to call dlerror() when dlopen() was never called.
I've attached a patch which avoids doing so.
With this patch, however, Sage then segfaults sometime after trying to
raise the ImportError on the next line.
I don't have time to investigate further, but it is easy to reproduce the
condition by just moving aside the libsingular.so and trying to start
sage.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5522>
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
-~----------~----~----~----~------~----~------~--~---