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: John W. Eaton
Subject: [Octave-bug-tracker] [bug #59228] embedded.cc example crashes with segfault
Date: Mon, 19 Oct 2020 15:05:31 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

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

I think the intent is that the destructor is not supposed to be called for the
static nil_rep object because the reference count is never supposed to be
zero.  But the dim_vector object appears to construct the nil_rep object in a
way that it would be called.  Does the attached patch also avoid the crash?

 

(file #50016)
    _______________________________________________________

Additional Item Attachment:

File name: dim-vector-diffs.txt           Size:0 KB
    <https://file.savannah.gnu.org/file/dim-vector-diffs.txt?file_id=50016>



    _______________________________________________________

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]