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

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

[Octave-bug-tracker] [bug #60473] rmdir called with empty string causes


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #60473] rmdir called with empty string causes gui to crash on windows
Date: Thu, 29 Apr 2021 06:42:32 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #2, bug #60473 (project octave):

We might also be able to improve the crash behavior.  For me, the stack trace
is


#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ff55ba75537 in __GI_abort () at abort.c:79
#2  0x00007ff55a211bf1 in QMessageLogger::fatal(char const*, ...) const ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ff55a211040 in qt_assert(char const*, char const*, int) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff55e0e275a in QString::at (this=0x7ffdb2643b10, i=0) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1071
#5  QString::at (i=<optimized out>, this=<optimized out>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1071
#6  octave::file_editor::handle_file_remove (this=0x55fba7404a80,
old_name=..., new_name=...) at
/home/jwe/src/octave/libgui/src/m-editor/file-editor.cc:1141


so maybe we could make the qt_assert or QMessageLogger::fatal functions
provide more info before calling abort?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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