#6304: intermittent crash in bernmm (4.0.2.rc0)
---------------------------+------------------------------------------------
Reporter: dmharvey | Owner: mhansen
Type: defect | Status: new
Priority: major | Milestone: sage-4.1.2
Component: combinatorics | Keywords:
Reviewer: | Author:
Merged: |
---------------------------+------------------------------------------------
Comment(by was):
{{{
On Sat, Aug 15, 2009 at 9:52 AM, William Stein<[email protected]> wrote:
> On Sat, Aug 15, 2009 at 9:42 AM, David Harvey<[email protected]>
wrote:
>>
>> On Aug 15, 2009, at 12:40 PM, William Stein wrote:
>>
>>> On Sat, Aug 15, 2009 at 9:33 AM, David Harvey<[email protected]>
>>> wrote:
>>>>
>>>> On Aug 15, 2009, at 12:28 PM, William Stein wrote:
>>>>
>>>>> gcc version 4.0.1 (Apple Inc. build 5493)
>>>>
>>>> but still gcc 4.0.1?
>>>>
>>>> Try "man gcc_select"?
>>>
>>> Yes. So just for clarification, the bug happens with all builds of
>>> GCC 4.0.1, but can be got around by switching to GCC 4.2.x?
>>
>> I don't know. My guess is that there is a bug in the threading support
in
>> gcc 4.0.1, but of course it could also be a bug in my code. I spent
several
>> hours debugging one day and found nothing. From memory I then tried to
build
>> sage using gcc 4.2.x (?) on 10.5 but was not successful, and then I got
>> distracted by other things....
>>
>
> OK, thanks for the clarification. You do in fact clearly explain this
> at http://trac.sagemath.org/sage_trac/ticket/6304/. At least it
> crashes instead of giving wrong answers.
>
> There is no gcc_select command with that name on OS X. I switched to
> gcc-4.2.1 just by changing two symlinks in /usr/bin/. (For gcc and
> g++.) I'll try building Sage on that box with that compiler now.
>
I completely built with the latest gcc-4.2.1, and bernmm test still fails.
I've updated the ticket accordingly. I think the right thig to do at this
point is to make using bernmm off by default for OS X 10.5 intel, and put
a remark in the docstring that it will sometimes crash sage with an
illegal instruction error, and that using the latest XCode with either GCC
4.0.1 or 4.2.1 does not fix the problem. Robust multithreaded
programming is hard.
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6304#comment:8>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---