bugGNU Octave - Bugs: bug #54169, Plotting with graphics toolkit...

 
 

bug #54169: Plotting with graphics toolkit fltk crashes on Mac with GUI

Submitted by:  Andrew Janke <apjanke>
Submitted on:  Sat 23 Jun 2018 04:22:02 AM UTC  
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  Mac OS

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

( Jump to the original submission)

Fri 15 Feb 2019 10:33:37 AM UTC, comment #9: 

Closing report since FLTK can't be used together with the GUI anymore.

Pantxo Diribarne <pantxo>
Project Member
Sat 19 Jan 2019 05:28:01 PM UTC, comment #8: 

The tests with fltk are conditional on its availability with this changeset:
http://hg.savannah.gnu.org/hgweb/octave/rev/ada14ef3067f

Re-titling for the remaining issue.

But I don't think this should block the Octave 5 release because a user would have to register fltk manually to run into this bug.

Markus Mützel <mmuetzel>
Project Member
Sat 19 Jan 2019 05:11:29 PM UTC, comment #7: 

I pushed Pantxo's patch here:
http://hg.savannah.gnu.org/hgweb/octave/rev/ab06235daf33

Will push a different one along the lines of comment #4 shortly.

Markus Mützel <mmuetzel>
Project Member
Mon 31 Dec 2018 12:20:40 AM UTC, comment #6: 

Can someone look at combining the patch for this bug report with jwe's suggestions in comment #4 to check whether fltk is an available toolkit so the tests don't fail?

Mike Miller <mtmiller>
Project Administrator
Wed 11 Jul 2018 04:55:58 PM UTC, comment #5: 

I think the proposed patch is OK as a quick fix, but it doesn't prevent someone from later registering the fltk toolkit on a mac when the interpreter is not running in the main thread.  So longer term, maybe a better solution is needed that really does check for the situation we are trying to avoid.

John W. Eaton <jwe>
Project Administrator
Wed 11 Jul 2018 04:52:29 PM UTC, comment #4: 

So instead of

%!testif HAVE_OPENGL, HAVE_FLTK; have_window_system ()

we might use something like

%!testif HAVE_OPENGL, HAVE_FLTK; have_window_system () && have_graphics_toolkit ("fltk")

?  Assuming an appropriate "have_graphics_toolkit" function..

I see that in a few other places, we already use

%!testif HAVE_OPENGL, HAVE_FLTK; have_window_system () && any (strcmp ("fltk", available_graphics_toolkits ()))

which is also OK with me, and avoids adding yet another function.

John W. Eaton <jwe>
Project Administrator
Sun 24 Jun 2018 11:48:18 PM UTC, comment #3: 

The patch kind of works. Looks like it sets up the toolkits right, but now there are test suite failures.

Default `octave`:

$ /Applications/Octave-4.4.0.app/Contents/Resources/usr/bin/octave
GNU Octave, version 4.4.0
[...]
octave:1> available_graphics_toolkits
ans =
{
  [1,1] = gnuplot
  [1,2] = qt
}

With `octave --no-gui-libs`:

$ /Applications/Octave-4.4.0.app/Contents/Resources/usr/bin/octave --no-gui-libs

GNU Octave, version 4.4.0
[...]
octave:1> available_graphics_toolkits
ans =
{
  [1,1] = fltk
  [1,2] = gnuplot
}

In the Qt GUI:

>> available_graphics_toolkits
ans =
{
  [1,1] = gnuplot
  [1,2] = qt
}

The test suite now runs to completion without crashing for me.

But looks like some tests contingent on `HAVE_FLTK` are now failing:


Summary:

  PASS                            14935
  FAIL                               12
  XFAIL (reported bug)               54

>>>>> processing /private/tmp/octave-octave-app_4.4.0-20180624-64959-y7qzxc/octave-4.4.0/scripts/plot/util/__opengl_info__.m
***** testif HAVE_OPENGL, HAVE_FLTK; have_window_system () && any (strcmp ("fltk", available_graphics_toolkits ()))
old_toolkit = graphics_toolkit ();
unwind_protect
   graphics_toolkit ("fltk");
   a = __opengl_info__ ();
unwind_protect_cleanup
   graphics_toolkit (old_toolkit);
end_unwind_protect
assert (! isempty (a));
assert (isfield (a, "version"));
----- skipped test (runtime test)
[...]

Maybe these need to be conditioned on a run-time test for the toolkit?

Attaching a full test log.

Andrew Janke <apjanke>
Sun 24 Jun 2018 07:15:47 PM UTC, comment #2: 

@Andrew: "octave --no-gui" is now the default (equivalent to "octave") and you need to add "--gui" to have the GUI application running, but in either case it is unsafe to run fltk since it will end up being run from a non-main thread.

The attached patch should disallow the use of fltk when the interpreter is not running in the main thread.

Can you confirm that the patch works, e.g.

$ octave
available_graphics_toolkits ()

"fltk" should not be in the list.

$ octave --no-gui-libs ## No Qt, no second thread
available_graphics_toolkits ()

Now "fltk" should be listed but not "qt".

(file #44423)

Pantxo Diribarne <pantxo>
Project Member
Sun 24 Jun 2018 05:54:19 PM UTC, comment #1: 

Yes, Mac OS is not as permissive as other OSs when it comes to running GUI components from a thread that is not the main one.

When running Octave in pure cli mode FLTK is ran in the main thread (together with the interpreter) which explains why the crash does not occur.

I'll mark this bug as confirmed since I recall having seen similar issues a while ago when I had a MAC.

Pantxo Diribarne <pantxo>
Project Member
Sat 23 Jun 2018 04:22:02 AM UTC, original submission:  

When I build Octave 4.4.0 with Qt and run the test suite with _run_test_suite_, it crashes part way through the test suite. Happens both under --force-gui and --no-gui.

I don't know if this is happening in the dev branch, because I currently cannot get dev to build.

I believe this is Qt and/or FLTK related, because when I run it under --no-gui, there's a stack trace, and it's talking about a call being done from the wrong thread, and Qt and FLTK show up in the stack trace. The crash does not occur in octave 4.4.0 build --without-qt.

Here's the stack trace from the error when running --no-gui.

  plot/util/__gnuplot_drawnow__.m ............................. PASS      1/1
  plot/util/__next_line_color__.m ............................. PASS      1/1
  plot/util/__next_line_style__.m ............................. PASS      1/1
  plot/util/__opengl_info__.m .................................2018-06-23 00:16:52.821 octave-gui[92710:30754308] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'nextEventMatchingMask should only be called from the Main Thread!'
*** First throw call stack:
(
        0   CoreFoundation                      0x00007fff30e4932b __exceptionPreprocess + 171
        1   libobjc.A.dylib                     0x00007fff57fb3c76 objc_exception_throw + 48
        2   AppKit                              0x00007fff2eaf2297 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 4167
        3   libfltk.1.3.dylib                   0x0000000119780c42 _Z15fl_open_displayv + 290
        4   libfltk.1.3.dylib                   0x0000000119787e6f _ZN4Fl_X4makeEP9Fl_Window + 73
        5   __init_fltk__.oct                   0x0000000117c4d1f3 _ZN11plot_windowC2EiiiiRN6figure10propertiesEb + 1097
        6   __init_fltk__.oct                   0x0000000117c4b754 _ZN14figure_manager13do_new_windowERN6figure10propertiesE + 566
        7   __init_fltk__.oct                   0x0000000117c496e3 _ZNK21fltk_graphics_toolkit13redraw_figureERK15graphics_object + 481
        8   liboctinterp.5.dylib                0x000000010f7f8d57 _Z8FdrawnowRK17octave_value_listi + 554
        9   liboctinterp.5.dylib                0x000000010f953f24 _Z6FpauseRK17octave_value_listi + 107
        10  liboctinterp.5.dylib                0x000000010f44831c _ZN14octave_builtin4callERN6octave14tree_evaluatorEiRK17octave_value_list + 338
        11  liboctinterp.5.dylib                0x000000010f5b62d8 _ZN6octave14tree_evaluator22visit_index_expressionERNS_21tree_index_expressionE + 916
        12  liboctinterp.5.dylib                0x000000010f5c7b1e _ZN6octave14tree_evaluator8evaluateEPNS_15tree_expressionEi + 78
        13  liboctinterp.5.dylib                0x000000010f5bc261 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE + 289
        14  liboctinterp.5.dylib                0x000000010f5bc801 _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE + 87
        15  liboctinterp.5.dylib                0x000000010f5bd482 _ZN6octave14tree_evaluator19visit_while_commandERNS_18tree_while_commandE + 300
        16  liboctinterp.5.dylib                0x000000010f5bc1f7 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE + 183
        17  liboctinterp.5.dylib                0x000000010f5bc801 _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE + 87
        18  liboctinterp.5.dylib                0x000000010f50dffe _ZN20octave_user_function4callERN6octave14tree_evaluatorEiRK17octave_value_list + 2168
        19  liboctinterp.5.dylib                0x000000010f5b62d8 _ZN6octave14tree_evaluator22visit_index_expressionERNS_21tree_index_expressionE + 916
        20  liboctinterp.5.dylib                0x000000010f5a39b4 _ZN6octave14tree_evaluator10evaluate_nEPNS_15tree_expressionEi + 84
        21  liboctinterp.5.dylib                0x000000010f5b9ef2 _ZN6octave14tree_evaluator22visit_multi_assignmentERNS_21tree_multi_assignmentE + 292
        22  liboctinterp.5.dylib                0x000000010f5c7b1e _ZN6octave14tree_evaluator8evaluateEPNS_15tree_expressionEi + 78
        23  liboctinterp.5.dylib                0x000000010f5bc261 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE + 289
        24  liboctinterp.5.dylib                0x000000010f5bc801 _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE + 87
        25  liboctinterp.5.dylib                0x000000010f50dffe _ZN20octave_user_function4callERN6octave14tree_evaluatorEiRK17octave_value_list + 2168
        26  liboctinterp.5.dylib                0x000000010f5b62d8 _ZN6octave14tree_evaluator22visit_index_expressionERNS_21tree_index_expressionE + 916
        27  liboctinterp.5.dylib                0x000000010f5c7b1e _ZN6octave14tree_evaluator8evaluateEPNS_15tree_expressionEi + 78
        28  liboctinterp.5.dylib                0x000000010f5bb9ed _ZN6octave14tree_evaluator23visit_simple_assignmentERNS_22tree_simple_assignmentE + 83
        29  liboctinterp.5.dylib                0x000000010f5c7b1e _ZN6octave14tree_evaluator8evaluateEPNS_15tree_expressionEi + 78
        30  liboctinterp.5.dylib                0x000000010f5bc261 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE + 289
        31  liboctinterp.5.dylib                0x000000010f5bc801 _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE + 87
        32  liboctinterp.5.dylib                0x000000010f5bd2ce _ZN6octave14tree_evaluator28visit_unwind_protect_commandERNS_27tree_unwind_protect_commandE + 88
        33  liboctinterp.5.dylib                0x000000010f5bc1f7 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE + 183
        34  liboctinterp.5.dylib                0x000000010f5bc801 _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE + 87
        35  liboctinterp.5.dylib                0x000000010f50dffe _ZN20octave_user_function4callERN6octave14tree_evaluatorEiRK17octave_value_list + 2168
        36  liboctinterp.5.dylib                0x000000010f5b62d8 _ZN6octave14tree_evaluator22visit_index_expressionERNS_21tree_index_expressionE + 916
        37  liboctinterp.5.dylib                0x000000010f5a39b4 _ZN6octave14tree_evaluator10evaluate_nEPNS_15tree_expressionEi + 84
        38  liboctinterp.5.dylib                0x000000010f5a3803 _ZN6octave11eval_stringERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEbRii + 524
        39  liboctinterp.5.dylib                0x000000010f5a3f8e _ZN6octaveL11eval_stringERK12octave_valuebRii + 71
        40  liboctinterp.5.dylib                0x000000010f5a3d7b _Z5FevalRK17octave_value_listi + 206
        41  liboctinterp.5.dylib                0x000000010f44831c _ZN14octave_builtin4callERN6octave14tree_evaluatorEiRK17octave_value_list + 338
        42  liboctinterp.5.dylib                0x000000010f5b62d8 _ZN6octave14tree_evaluator22visit_index_expressionERNS_21tree_index_expressionE + 916
        43  liboctinterp.5.dylib                0x000000010f5c7b1e _ZN6octave14tree_evaluator8evaluateEPNS_15tree_expressionEi + 78
        44  liboctinterp.5.dylib                0x000000010f5bc261 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE + 289
        45  liboctinterp.5.dylib                0x000000010f5bc801 _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE + 87
        46  liboctinterp.5.dylib                0x000000010f5bcb63 _ZN6octave14tree_evaluator23visit_try_catch_commandERNS_22tree_try_catch_commandE + 367
        47  liboctinterp.5.dylib                0x000000010f5bc1f7 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE + 183
        48  liboctinterp.5.dylib                0x000000010f5bc801 _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE + 87
        49  liboctinterp.5.dylib                0x000000010f5bc1f7 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE + 183
        50  liboctinterp.5.dylib                0x000000010f5bc801 _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE + 87
        51  liboctinterp.5.dylib                0x000000010f5bd2ce _ZN6octave14tree_evaluator28visit_unwind_protect_commandERNS_27tree_unwind_protect_commandE + 88
        52  liboctinterp.5.dylib                0x000000010f5bc1f7 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE + 183
        53  liboctinterp.5.dylib                0x000000010f5bc801 _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE + 87
        54  liboctinterp.5.dylib                0x000000010f5b45b0 _ZN6octave14tree_evaluator24visit_simple_for_commandERNS_23tree_simple_for_commandE + 480
        55  liboctinterp.5.dylib                0x000000010f5bc1f7 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE + 183
        56  liboctinterp.5.dylib                0x000000010f5bc801 _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE + 87
        57  liboctinterp.5.dylib                0x000000010f50dffe _ZN20octave_user_function4callERN6octave14tree_evaluatorEiRK17octave_value_list + 2168
        58  liboctinterp.5.dylib                0x000000010f5b62d8 _ZN6octave14tree_evaluator22visit_index_expressionERNS_21tree_index_expressionE + 916
        59  liboctinterp.5.dylib                0x000000010f5a39b4 _ZN6octave14tree_evaluator10evaluate_nEPNS_15tree_expressionEi + 84
        60  liboctinterp.5.dylib                0x000000010f5b9ef2 _ZN6octave14tree_evaluator22visit_multi_assignmentERNS_21tree_multi_assignmentE + 292
        61  liboctinterp.5.dylib                0x000000010f5c7b1e _ZN6octave14tree_evaluator8evaluateEPNS_15tree_expressionEi + 78
        62  liboctinterp.5.dylib                0x000000010f5bc261 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE + 289
        63  liboctinterp.5.dylib                0x000000010f5bc801 _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE + 87
        64  liboctinterp.5.dylib                0x000000010f5bc1f7 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE + 183
        65  liboctinterp.5.dylib                0x000000010f5bc801 _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE + 87
        66  liboctinterp.5.dylib                0x000000010f5bc1f7 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE + 183
        67  liboctinterp.5.dylib                0x000000010f5bc801 _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE + 87
        68  liboctinterp.5.dylib                0x000000010f5b45b0 _ZN6octave14tree_evaluator24visit_simple_for_commandERNS_23tree_simple_for_commandE + 480
        69  liboctinterp.5.dylib                0x000000010f5bc1f7 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE + 183
        70  liboctinterp.5.dylib                0x000000010f5bc801 _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE + 87
        71  liboctinterp.5.dylib                0x000000010f50dffe _ZN20octave_user_function4callERN6octave14tree_evaluatorEiRK17octave_value_list + 2168
        72  liboctinterp.5.dylib                0x000000010f5b62d8 _ZN6octave14tree_evaluator22visit_index_expressionERNS_21tree_index_expressionE + 916
        73  liboctinterp.5.dylib                0x000000010f5a39b4 _ZN6octave14tree_evaluator10evaluate_nEPNS_15tree_expressionEi + 84
        74  liboctinterp.5.dylib                0x000000010f5b9ef2 _ZN6octave14tree_evaluator22visit_multi_assignmentERNS_21tree_multi_assignmentE + 292
        75  liboctinterp.5.dylib                0x000000010f5c7b1e _ZN6octave14tree_evaluator8evaluateEPNS_15tree_expressionEi + 78
        76  liboctinterp.5.dylib                0x000000010f5bc261 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE + 289
        77  liboctinterp.5.dylib                0x000000010f5bc801 _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE + 87
        78  liboctinterp.5.dylib                0x000000010f5bc1f7 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE + 183
        79  liboctinterp.5.dylib                0x000000010f5bc801 _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE + 87
        80  liboctinterp.5.dylib                0x000000010f5b45b0 _ZN6octave14tree_evaluator24visit_simple_for_commandERNS_23tree_simple_for_commandE + 480
        81  liboctinterp.5.dylib                0x000000010f5bc1f7 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE + 183
        82  liboctinterp.5.dylib                0x000000010f5bc801 _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE + 87
        83  liboctinterp.5.dylib                0x000000010f50dffe _ZN20octave_user_function4callERN6octave14tree_evaluatorEiRK17octave_value_list + 2168
        84  liboctinterp.5.dylib                0x000000010f5b62d8 _ZN6octave14tree_evaluator22visit_index_expressionERNS_21tree_index_expressionE + 916
        85  liboctinterp.5.dylib                0x000000010f5a39b4 _ZN6octave14tree_evaluator10evaluate_nEPNS_15tree_expressionEi + 84
        86  liboctinterp.5.dylib                0x000000010f5b9ef2 _ZN6octave14tree_evaluator22visit_multi_assignmentERNS_21tree_multi_assignmentE + 292
        87  liboctinterp.5.dylib                0x000000010f5c7b1e _ZN6octave14tree_evaluator8evaluateEPNS_15tree_expressionEi + 78
        88  liboctinterp.5.dylib                0x000000010f5bc261 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE + 289
        89  liboctinterp.5.dylib                0x000000010f5bc801 _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE + 87
        90  liboctinterp.5.dylib                0x000000010f5bc1f7 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE + 183
        91  liboctinterp.5.dylib                0x000000010f5bc801 _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE + 87
        92  liboctinterp.5.dylib                0x000000010f5b45b0 _ZN6octave14tree_evaluator24visit_simple_for_commandERNS_23tree_simple_for_commandE + 480
        93  liboctinterp.5.dylib                0x000000010f5bc1f7 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE + 183
        94  liboctinterp.5.dylib                0x000000010f5bc801 _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE + 87
        95  liboctinterp.5.dylib                0x000000010f50dffe _ZN20octave_user_function4callERN6octave14tree_evaluatorEiRK17octave_value_list + 2168
        96  liboctinterp.5.dylib                0x000000010f5b62d8 _ZN6octave14tree_evaluator22visit_index_expressionERNS_21tree_index_expressionE + 916
        97  liboctinterp.5.dylib                0x000000010f5a39b4 _ZN6octave14tree_evaluator10evaluate_nEPNS_15tree_expressionEi + 84
        98  liboctinterp.5.dylib                0x000000010f5b9ef2 _ZN6octave14tree_evaluator22visit_multi_assignmentERNS_21tree_multi_assignmentE + 292
        99  liboctinterp.5.dylib                0x000000010f5c7b1e _ZN6octave14tree_evaluator8evaluateEPNS_15tree_expressionEi + 78
        100 liboctinterp.5.dylib                0x000000010f5bc261 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE + 289
        101 liboctinterp.5.dylib                0x000000010f5bc801 _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE + 87
        102 liboctinterp.5.dylib                0x000000010f5b45b0 _ZN6octave14tree_evaluator24visit_simple_for_commandERNS_23tree_simple_for_commandE + 480
        103 liboctinterp.5.dylib                0x000000010f5bc1f7 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE + 183
        104 liboctinterp.5.dylib                0x000000010f5bc801 _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE + 87
        105 liboctinterp.5.dylib                0x000000010f5bcb63 _ZN6octave14tree_evaluator23visit_try_catch_commandERNS_22tree_try_catch_commandE + 367
        106 liboctinterp.5.dylib                0x000000010f5bc1f7 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE + 183
        107 liboctinterp.5.dylib                0x000000010f5bc801 _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE + 87
        108 liboctinterp.5.dylib                0x000000010f5bd2ce _ZN6octave14tree_evaluator28visit_unwind_protect_commandERNS_27tree_unwind_protect_commandE + 88
        109 liboctinterp.5.dylib                0x000000010f5bc1f7 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE + 183
        110 liboctinterp.5.dylib                0x000000010f5bc801 _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE + 87
        111 liboctinterp.5.dylib                0x000000010f50dffe _ZN20octave_user_function4callERN6octave14tree_evaluatorEiRK17octave_value_list + 2168
        112 liboctinterp.5.dylib                0x000000010f5b58ce _ZN6octave14tree_evaluator16visit_identifierERNS_15tree_identifierE + 828
        113 liboctinterp.5.dylib                0x000000010f5c7b1e _ZN6octave14tree_evaluator8evaluateEPNS_15tree_expressionEi + 78
        114 liboctinterp.5.dylib                0x000000010f5bc261 _ZN6octave14tree_evaluator15visit_statementERNS_14tree_statementE + 289
        115 liboctinterp.5.dylib                0x000000010f5bc801 _ZN6octave14tree_evaluator20visit_statement_listERNS_19tree_statement_listE + 87
        116 liboctinterp.5.dylib                0x000000010f83ed18 _ZN6octave11interpreter9main_loopEv + 276
        117 liboctinterp.5.dylib                0x000000010f83de02 _ZN6octave11interpreter7executeEv + 172
        118 liboctgui.3.dylib                   0x000000010eeff184 _ZN6octave18octave_interpreter7executeEv + 250
        119 QtCore                              0x0000000111ed49f1 _ZN7QObject5eventEP6QEvent + 769
        120 QtWidgets                           0x00000001127ed46d _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 269
        121 QtWidgets                           0x00000001127ee897 _ZN12QApplication6notifyEP7QObjectP6QEvent + 583
        122 QtCore                              0x0000000111eaaf64 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 164
        123 QtCore                              0x0000000111eac0d7 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData + 791
        124 QtCore                              0x0000000111f00908 _ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 72
        125 QtCore                              0x0000000111ea63de _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE + 430
        126 QtCore                              0x0000000111cea16c _ZN7QThread4execEv + 140
        127 QtCore                              0x0000000111cf365e _ZNK9QtPrivate15ResultStoreBase5countEv + 1278
        128 libsystem_pthread.dylib             0x00007fff58ee5661 _pthread_body + 340
        129 libsystem_pthread.dylib             0x00007fff58ee550d _pthread_body + 0
        130 libsystem_pthread.dylib             0x00007fff58ee4bf9 thread_start + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException
fatal: caught signal Abort trap: 6 -- stopping myself...
[1]    92710 abort      ./octave
$ echo $?
134

Andrew Janke <apjanke>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #44428:  fntests-with-fltkmac-patch.log.gz added by apjanke (1MiB - application/x-gzip - Test suite results when built with fltkmac.patch)
file #44423:  fltkmac.patch added by pantxo (1KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by apjanke (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 11 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-02-15 pantxo StatusConfirmed => Fixed
        Open/ClosedOpen => Closed
    2019-01-19 mmuetzel StatusPatch Submitted => Confirmed
        Release4.4.0 => dev
        SummaryTest suite crashes when Octave built with Qt and FLTK => Plotting with graphics toolkit fltk crashes on Mac with GUI
    2018-06-24 apjanke Attached File- => Added fntests-with-fltkmac-patch.log.gz, #44428
    2018-06-24 pantxo Attached File- => Added fltkmac.patch, #44423
        StatusConfirmed => Patch Submitted
    2018-06-24 pantxo CategoryInterpreter => Plotting with OpenGL
        StatusNone => Confirmed
    2018-06-23 apjanke Attached File- => Added octave_4.4.0 build logs - 8dcd9d5831d3d3568d4e51ea3ca6fb93-09e64e05a46eb58baf1baee32af3fd769b94fb4c.zip, #44418

    Back to the top


    Powered by Savane 3.5