octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55028] plots executed from script containing


From: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #55028] plots executed from script containing many plots seg fault
Date: Thu, 15 Nov 2018 08:15:24 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?55028>

                 Summary: plots executed from script containing many plots seg
fault
                 Project: GNU Octave
            Submitted by: godfrey
            Submitted on: Thu 15 Nov 2018 01:15:22 PM UTC
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: Godfrey
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

This problem has returned in the current dev.
HG 1861e2ea0a4b

When I run a script containing many plots Octave seg faults
after only a few plots. Running under gdb I get:
++verbatim
Thread 8 "QThread" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffcb7fe700 (LWP 30871)]
0x00007ffff5a45dd2 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /lib64/libQt5Core.so.5

and bt:
#0  0x00007ffff5a45dd2 in QMetaObject::activate(QObject*, int, int, void**)
()
    at /lib64/libQt5Core.so.5
#1  0x00007fffe00ea8ea in QtHandles::Figure::updateBoundingBoxHelper(void*)
(data=0xe54cd0)
    at libgui/graphics/Figure.cc:639
#2  0x00007ffff7785f90 in graphics_event::execute() (this=0x7fffcb7fae10)
    at libinterp/corefcn/graphics.h:12891
#3  0x00007ffff7785f90 in gh_manager::do_process_events(bool)
(this=0x7fffbc19a340, force=false)
    at libinterp/corefcn/graphics.cc:11396
#4  0x00007ffff773a55b in gh_manager::process_events() () at
libinterp/corefcn/graphics.h:12937
#5  0x00007ffff773a55b in Fdrawnow(octave_value_list const&, int) (args=...)
    at libinterp/corefcn/graphics.cc:12737
#6  0x00007ffff738bbd0 in octave_builtin::call(octave::tree_evaluator&, int,
octave_value_list const&) (this=0x7fffbc0734a0, tw=..., nargout=0, args=...)
at libinterp/octave-value/ov-builtin.cc:65
#7  0x00007ffff750ed6e in
octave::tree_evaluator::visit_index_expression(octave::tree_index_expression&)
(this=0x7fffbc003e08, idx_expr=...) at libinterp/parse-tree/pt-eval.cc:1913
#8  0x00007ffff73cc0be in
octave::tree_evaluator::evaluate(octave::tree_expression*, int)
    (address@hidden, address@hidden,
nargout=<optimized out>, 
    address@hidden) at libinterp/parse-tree/pt-eval.h:302
#9  0x00007ffff750a679 in
octave::tree_evaluator::visit_statement(octave::tree_statement&)
    (this=0x7fffbc003e08, stmt=...) at libinterp/parse-tree/pt-eval.cc:2680

--verbatim
This may be related to the fact that after each plot I adjust the size of the
bounding box.
I will try a few experiments as time permits.
My system is: Current Linux FC29: 4.18.17-300.fc29.x86_64 





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55028>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]