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

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

[Octave-bug-tracker] [bug #59228] embedded.cc example crashes with segfa


From: Carlo de Falco
Subject: [Octave-bug-tracker] [bug #59228] embedded.cc example crashes with segfault
Date: Sun, 11 Oct 2020 06:59:04 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:81.0) Gecko/20100101 Firefox/81.0

Follow-up Comment #9, bug #59228 (project octave):

[comment #8 comment #8:]
> The stripped down example crashes for me repeatedly.  However, I had to
reverse the commented out code.  When s is a file static variable there is no
crash.  When it is a local variable within a function (the function is main()
in this case) then the crash happens.

Hi, thanks for testing!
Were you testing with dev or stable?

Anyway, I think the fact that the crash is unpredictable 
(maybe depends on compiler used?) and somewhat random is
an argument in favor of trying to fix the way memory is 
cleared in the interpreter destructor ...

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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