[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave with FLTK segfaulting on MacOS X
From: |
Ben Abbott |
Subject: |
Re: Octave with FLTK segfaulting on MacOS X |
Date: |
Mon, 23 Jun 2014 08:48:05 -0400 |
On Jun 22, 2014, at 11:30 AM, Ben Abbott <address@hidden> wrote:
> On Jun 21, 2014, at 9:50 PM, Ben Abbott <address@hidden> wrote:
>
>> On Jun 20, 2014, at 9:04 PM, Ben Abbott <address@hidden> wrote:
>>
>>> On Jun 17, 2014, at 9:44 PM, Ben Abbott <address@hidden> wrote:
>>>
>>>> Carlo,
>>>>
>>>> I'm seeing a seg-fault when using the fltk graphics toolkit. For example,
>>>> the commands below ...
>>>>
>>>> graphics_toolkit fltk
>>>> plot (rand (3))
>>>>
>>>> ... result in ...
>>>>
>>>> line 2: 86876 Segmentation fault: 11
>>>> /Users/bpabbott/Development/mercurial/default/sources/run-octave --no-gui
>>>>
>>>> Can you confirm this is a problem on your Mac as well?
>>>>
>>>> Ben
>>>
>>> I don't see the seg-fault on the stable, but do see it on the gui-release
>>> branch (using the same configure options). A common "feature" is that the
>>> gui thread is active when Octave starts for the default and gui-releaes
>>> branch ... meaning that an Octave icon appears on the MacOS Dock for the
>>> default and gui-release branches, but not for the stable branch.
>>>
>>> When I have time, I'll start bisecting to identify the changeset.
>>>
>>> Ben
>>
>> The last default branch revision which worked correctly was 55e376fd8636.
>> Meaning "hg revert -a -r 55e376fd8636" followed by bootstraping, configure,
>> and make produces a functional fltk toolkit on MacOS 10.9.
>>
>> changeset: 18485:55e376fd8636
>> branch: stable
>> user: John W. Eaton <address@hidden>
>> date: Mon Feb 17 03:32:22 2014 -0500
>> summary: Added tag rc-3-8-1-3 for changeset 02ce68d63fba
>>
>> The next changeset to the default branch was a periodic merge of gui-release
>> to default.
>>
>> http://hg.savannah.gnu.org/hgweb/octave/rev/8473198fd005
>>
>> I expect problem is directly related to the bug report below (no GUI
>> interaction outside the main thread on MacOS X).
>>
>> https://savannah.gnu.org/bugs/?40242
>>
>> Ben
>
> I've opened a bug report.
>
> https://savannah.gnu.org/bugs/index.php?42596
>
> Its marked as a blocker (because none of the OpenGL toolkits work any longer
> on MacOS X)
>
> Ben
This has been partially resolved. Pantxo pointed out that I needed to
"./run-octave -cli" instead of "./run-octave --no-gui" to get the command line
interface. Using the "-cli" option results in a functional FLTK toolkit on
MacOS X. However, there is still no functional OpenGL toolkit available for
the GUI on MacOS X.
Ben