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

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

[Octave-bug-tracker] [bug #54656] Crash with signal 11 (segfault)


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #54656] Crash with signal 11 (segfault)
Date: Thu, 13 Sep 2018 15:31:20 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #7, bug #54656 (project octave):

I tested with 4.4.1.  Yes, it seems related to clearing symbols while a script
is executing.  I can trigger the crash with this script:


a = ones (10000000, 1);
b = sort (a);
clear a;
b = [];
a = ones (1048576, 1);
b = sort (a);


Doesn't crash with the dev version, but you are right that it doesn't mean
that the issue is really fixed.  Probably we are just avoiding it.  I'm
guessing the real problem is that the GUI might access the contents of a
symbol_scope object while it is being modified.  So we may need some locking,
or a copy-on-write mechanism for this use case(?), or we need to avoid 
passing symbol scope objects directly to the interpreter and only pass summary
info about them.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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