[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41699] imformats causes a segmentation fault
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #41699] imformats causes a segmentation fault on Windows when Octave exits |
Date: |
Sat, 28 Feb 2015 17:48:12 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0 |
Follow-up Comment #87, bug #41699 (project octave):
I tested your 3 conditions for failure in comment #85 and they are accurate.
Changing any one is enough to make things work.
I'm grasping at straws here, but is there a destructor somewhere that isn't
checking
if (ptr != NULL)
free (ptr);
Also, could there be an order of destructor operation issue?
The following does not segfault.
whatever ()
clear -f whatever
exit
In this case the persistent variable is presumably cleanly destroyed and
re-initialized and that is why it doesn't cause a segfault. Maybe when you
call exit() something comes along and destroys the persistent variable, but a
second destructor comes along afterwards and attempts to do the same clean up.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41699>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #41699] imformats causes a segmentation fault on Windows when Octave exits, (continued)
- [Octave-bug-tracker] [bug #41699] imformats causes a segmentation fault on Windows when Octave exits, Rik, 2015/02/24
- [Octave-bug-tracker] [bug #41699] imformats causes a segmentation fault on Windows when Octave exits, Rik, 2015/02/24
- [Octave-bug-tracker] [bug #41699] imformats causes a segmentation fault on Windows when Octave exits, John Donoghue, 2015/02/24
- [Octave-bug-tracker] [bug #41699] imformats causes a segmentation fault on Windows when Octave exits, Mike Miller, 2015/02/24
- [Octave-bug-tracker] [bug #41699] imformats causes a segmentation fault on Windows when Octave exits, John Donoghue, 2015/02/24
- [Octave-bug-tracker] [bug #41699] imformats causes a segmentation fault on Windows when Octave exits, John Donoghue, 2015/02/24
- [Octave-bug-tracker] [bug #41699] imformats causes a segmentation fault on Windows when Octave exits, Rik, 2015/02/24
- [Octave-bug-tracker] [bug #41699] imformats causes a segmentation fault on Windows when Octave exits, Rik, 2015/02/24
- [Octave-bug-tracker] [bug #41699] imformats causes a segmentation fault on Windows when Octave exits, Mike Miller, 2015/02/25
- [Octave-bug-tracker] [bug #41699] imformats causes a segmentation fault on Windows when Octave exits, Mike Miller, 2015/02/28
- [Octave-bug-tracker] [bug #41699] imformats causes a segmentation fault on Windows when Octave exits,
Rik <=