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

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

[Octave-bug-tracker] [bug #63982] Ctrl-C in Command Window causes crash


From: Nahid Harjee
Subject: [Octave-bug-tracker] [bug #63982] Ctrl-C in Command Window causes crash
Date: Thu, 30 Mar 2023 16:45:15 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?63982>

                 Summary: Ctrl-C in Command Window causes crash
                   Group: GNU Octave
               Submitter: nharjee
               Submitted: Thu 30 Mar 2023 08:45:13 PM UTC
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 8.1.0
         Discussion Lock: Any
        Operating System: Mac OS
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 30 Mar 2023 08:45:13 PM UTC By: Nahid Harjee <nharjee>
I have an M1 MacBook Pro running macOS Ventura 13.3 (22E252). I recently
updated Octave from 7.3.0 to 8.1.0 via Homebrew. Now, whenever I press Ctrl-C
in the Command Window, Octave immediately crashes.

I start Octave with this command in Terminal:

octave --gui &


After the crash, I see this message in Terminal:

octave exited with signal 6


Top of the crash report:

Process:               octave-gui [4915]
Path:                  /opt/homebrew/*/octave-gui
Identifier:            octave-gui
Version:               ???
Code Type:             ARM-64 (Native)
Parent Process:        Exited process [4910]
Responsible:           Terminal [772]
User ID:               501

Date/Time:             2023-03-29 20:34:05.5830 -0700
OS Version:            macOS 13.3 (22E252)
Report Version:        12
Anonymous UUID:        6DB400E7-C254-D74D-9F26-E083A8BF8DC8

Sleep/Wake UUID:       9BE7C342-FB7E-4529-9AB9-253EB3E0DF2C

Time Awake Since Boot: 18000 seconds
Time Since Wake:       14054 seconds

System Integrity Protection: enabled

Crashed Thread:        3  QThread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Application Specific Information:
abort() called


Stack trace for thread 3 (the thread that crashed):

Thread 3 Crashed:: QThread
0   libsystem_kernel.dylib                     0x1a82f4724 __pthread_kill + 8
1   libsystem_pthread.dylib                    0x1a832bc28 pthread_kill + 288
2   libsystem_c.dylib                          0x1a8239ae8 abort + 180
3   libc++abi.dylib                            0x1a82e4b84 abort_message + 132
4   libc++abi.dylib                            0x1a82d43b4
demangling_terminate_handler() + 320
5   libobjc.A.dylib                            0x1a7fab03c _objc_terminate() + 
160
6   libc++abi.dylib                            0x1a82e3f48 std::__terminate(void
(*)()) + 16
7   libc++abi.dylib                            0x1a82e6d34
__cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception*) + 36
8   libc++abi.dylib                            0x1a82e6ce0 __cxa_throw + 140
9   liboctave.10.dylib                         0x10730e0ec
octave::gnu_readline::do_handle_interrupt_signal() + 76
10  liboctave.10.dylib                         0x10730e4c8
octave::command_editor::event_handler() + 56
11  libreadline.8.2.dylib                      0x105baeca8 rl_read_key + 836
12  libreadline.8.2.dylib                      0x105b95474 
readline_internal_char +
172
13  libreadline.8.2.dylib                      0x105b94d0c readline + 96
14  liboctave.10.dylib                         0x10730d458
octave::gnu_readline::do_readline(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool&) + 56
15  liboctave.10.dylib                         0x10730ea84
octave::command_editor::readline(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool&) + 108
16  liboctinterp.11.dylib                      0x106665d0c
octave::input_system::gnu_readline(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool&) const +
72
17  liboctinterp.11.dylib                      0x106665c34
octave::input_system::interactive_input(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool&) + 192
18  liboctinterp.11.dylib                      0x1066665d4
octave::base_reader::octave_gets(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool&) + 280
19  liboctinterp.11.dylib                      0x106666b98
octave::terminal_reader::get_input(std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool&) + 108
20  liboctinterp.11.dylib                      0x106408884
octave::push_parser::run() + 116
21  liboctinterp.11.dylib                      0x10641c104
octave::tree_evaluator::repl() + 280
22  liboctinterp.11.dylib                      0x106671b30
octave::interpreter::execute() + 320
23  liboctgui.9.dylib                          0x104faaa38
octave::interpreter_qobject::execute() + 476
24  QtCore                                     0x1080ca30c 
QObject::event(QEvent*)
+ 596
25  QtWidgets                                  0x10a8f7248
QApplicationPrivate::notify_helper(QObject*, QEvent*) + 292
26  QtWidgets                                  0x10a8f85ec
QApplication::notify(QObject*, QEvent*) + 548
27  liboctgui.9.dylib                          0x10501a5f4
octave::octave_qapplication::notify(QObject*, QEvent*) + 44
28  QtCore                                     0x10809ffb8
QCoreApplication::notifyInternal2(QObject*, QEvent*) + 292
29  QtCore                                     0x1080a1480
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 1404
30  QtCore                                     0x108101044
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) +
84
31  QtCore                                     0x10809bf74
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 520
32  QtCore                                     0x107ede8b4 QThread::exec() + 136
33  QtCore                                     0x107edf8a8 0x107ebc000 + 145576
34  libsystem_pthread.dylib                    0x1a832bfa8 _pthread_start + 148
35  libsystem_pthread.dylib                    0x1a8326da0 thread_start + 8









    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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