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

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

[Octave-bug-tracker] [bug #58814] Abort, core dump on exiting from graph


From: Hg200
Subject: [Octave-bug-tracker] [bug #58814] Abort, core dump on exiting from graphics code
Date: Thu, 13 Aug 2020 14:54:30 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #10, bug #58814 (project octave):

1.) are we currently talking about signal "abort" or signal "segfault" or
both?

2.) i've never been able to recreate segfaults (concerning test suite as
reported in bug #57591 or concerning comment #1 of this bug report), but if i
run the following class and quit Octave with "ctrl-d", i can see an abort
signal also without invoking a graphic instance (notice that the "sombrero"
keyword is missing):

++
classdef foocls < handle
  methods
    function delete (obj)
      fprintf (stderr, "foocls: foo-i-hithere\n");
    end
  end
end
--

the testing procedure is:

++
octave:1> foocls
ans =

  foocls object with properties:


octave:2> ##press "ctrl-d" to exit here
pure virtual method called
terminate called without an active exception
fatal: caught signal Aborted -- stopping myself...
Aborted (core dumped)
--

- hg update -C 5b1143d1d74b
- backtrace attached
- and this is the last thing i can see in ddd:

++
  /**
   *  @brief  A smart pointer with reference-counted copy semantics.
   *
   *  The object pointed to is deleted when the last shared_ptr pointing to
   *  it is destroyed or reset.
  */
  template<typename _Tp>
    class shared_ptr : public __shared_ptr<_Tp>
    {
      template<typename... _Args>
        using _Constructible = typename enable_if<
          is_constructible<__shared_ptr<_Tp>, _Args...>::value
        >::type;
--

the good news is now that your patch from file #49663 seems to fix this:

++
octave:1> foocls
ans =

  foocls object with properties:


octave:2> 
foocls: foo-i-hithere
--

(file #49664)
    _______________________________________________________

Additional Item Attachment:

File name: bt.txt                         Size:15 KB
    <https://file.savannah.gnu.org/file/bt.txt?file_id=49664>



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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