[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57591] Segmentation faults when running the t
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #57591] Segmentation faults when running the test suite (mostly with clang) |
Date: |
Sat, 15 Aug 2020 12:52:21 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
Update of bug #57591 (project octave):
Status: Confirmed => Patch Submitted
_______________________________________________________
Follow-up Comment #69:
What appears to be happening is that the __gnuplot_init__.oct file (the one
that defines the gnuplot graphics toolkit) is being closed before the toolkit
is unloaded. So when that happens, the pointer to the toolkit object is
invalid. The same problem exists with fltk. It doesn't happen with qt
because that is not dynamically loaded (with dlopen). The same sequence of
events happens when Octave is compiled with GCC, but for whatever reason, it
the crash isn't happening. So, it seems that we need to either prevent the
toolkit's .oct file from being dlclosed (I thought the mlock in the init
function would do that!) or we need to ensure that when it is dlclosed, that
it is also removed/unregistered from the toolkit list.
I'm attaching a possible change to consider. I'm not sure is the best
solution, but it should at least avoid the crash.
(file #49678)
_______________________________________________________
Additional Item Attachment:
File name: shutdown-diffs.txt Size:1 KB
<https://file.savannah.gnu.org/file/shutdown-diffs.txt?file_id=49678>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57591>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #57591] Segmentation faults when running the test suite (mostly with clang), (continued)
- [Octave-bug-tracker] [bug #57591] Segmentation faults when running the test suite (mostly with clang), Hg200, 2020/08/14
- [Octave-bug-tracker] [bug #57591] Segmentation faults when running the test suite (mostly with clang), Dmitri A. Sergatskov, 2020/08/14
- [Octave-bug-tracker] [bug #57591] Segmentation faults when running the test suite (mostly with clang), Rik, 2020/08/14
- [Octave-bug-tracker] [bug #57591] Segmentation faults when running the test suite (mostly with clang), Rik, 2020/08/14
- [Octave-bug-tracker] [bug #57591] Segmentation faults when running the test suite (mostly with clang), Dmitri A. Sergatskov, 2020/08/14
- [Octave-bug-tracker] [bug #57591] Segmentation faults when running the test suite (mostly with clang), Dmitri A. Sergatskov, 2020/08/14
- [Octave-bug-tracker] [bug #57591] Segmentation faults when running the test suite (mostly with clang), Rik, 2020/08/14
- [Octave-bug-tracker] [bug #57591] Segmentation faults when running the test suite (mostly with clang), Hg200, 2020/08/14
- [Octave-bug-tracker] [bug #57591] Segmentation faults when running the test suite (mostly with clang), Hg200, 2020/08/14
- [Octave-bug-tracker] [bug #57591] Segmentation faults when running the test suite (mostly with clang), Markus Mützel, 2020/08/15
- [Octave-bug-tracker] [bug #57591] Segmentation faults when running the test suite (mostly with clang),
John W. Eaton <=
- [Octave-bug-tracker] [bug #57591] Segmentation faults when running the test suite (mostly with clang), Hg200, 2020/08/15
- [Octave-bug-tracker] [bug #57591] Segmentation faults when running the test suite (mostly with clang), Dmitri A. Sergatskov, 2020/08/15
- [Octave-bug-tracker] [bug #57591] Segmentation faults when running the test suite (mostly with clang), John W. Eaton, 2020/08/15
- [Octave-bug-tracker] [bug #57591] Segmentation faults when running the test suite (mostly with clang), Markus Mützel, 2020/08/19
- [Octave-bug-tracker] [bug #57591] Segmentation faults when running the test suite (mostly with clang), John W. Eaton, 2020/08/19
- [Octave-bug-tracker] [bug #57591] Segmentation faults when running the test suite (mostly with clang), Markus Mützel, 2020/08/19
- [Octave-bug-tracker] [bug #57591] Segmentation faults when running the test suite (mostly with clang), Markus Mützel, 2020/08/24
- [Octave-bug-tracker] [bug #57591] Segmentation faults when running the test suite (mostly with clang), Markus Mützel, 2020/08/24
- [Octave-bug-tracker] [bug #57591] Segmentation faults when running the test suite (mostly with clang), Markus Mützel, 2020/08/27
- [Octave-bug-tracker] [bug #57591] Segmentation faults when running the test suite (mostly with clang), John W. Eaton, 2020/08/27