[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47326] segfault in GUI and interpreter initia
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #47326] segfault in GUI and interpreter initialization |
Date: |
Thu, 10 Mar 2016 18:31:32 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 Iceweasel/44.0.2 |
Update of bug #47326 (project octave):
Status: None => Patch Submitted
_______________________________________________________
Follow-up Comment #6:
Thanks for the report, that certainly indicates that there are some threading
problems in the initialization. While the stack is not exactly the same, my
crash could have occurred after some earlier interaction.
My understanding of the GUI is that Qt has to run in the main thread, so it
starts another thread to run the interpreter and talks to it over the
octave_link class. This thread is starting while the GUI is still being
constructed, though, and before QApplication::exec is called.
The following patch defers execution of the interpreter until after the
QApplication main loop is running, and this seems to work better for me so far
(running for 30 minutes now without a crash).
I'm also not that comfortable with the GUI so I'd appreciate someone who works
on it more to see if this is safe, maybe test on Windows also.
(file #36598)
_______________________________________________________
Additional Item Attachment:
File name: delay-interp.diff Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47326>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47326] segfault in GUI and interpreter initialization, Mike Miller, 2016/03/02
- [Octave-bug-tracker] [bug #47326] segfault in GUI and interpreter initialization, Mike Miller, 2016/03/02
- [Octave-bug-tracker] [bug #47326] segfault in GUI and interpreter initialization, Rik, 2016/03/02
- [Octave-bug-tracker] [bug #47326] segfault in GUI and interpreter initialization, Lachlan Andrew, 2016/03/02
- [Octave-bug-tracker] [bug #47326] segfault in GUI and interpreter initialization, Rik, 2016/03/08
- [Octave-bug-tracker] [bug #47326] segfault in GUI and interpreter initialization, Rik, 2016/03/09
- [Octave-bug-tracker] [bug #47326] segfault in GUI and interpreter initialization,
Mike Miller <=
- [Octave-bug-tracker] [bug #47326] segfault in GUI and interpreter initialization, Rik, 2016/03/10
- [Octave-bug-tracker] [bug #47326] segfault in GUI and interpreter initialization, John W. Eaton, 2016/03/10
- [Octave-bug-tracker] [bug #47326] segfault in GUI and interpreter initialization, Mike Miller, 2016/03/10
- [Octave-bug-tracker] [bug #47326] segfault in GUI and interpreter initialization, Rik, 2016/03/11