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

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

[Octave-bug-tracker] [bug #65547] Byte-code machine working in debug mod


From: Petter
Subject: [Octave-bug-tracker] [bug #65547] Byte-code machine working in debug mode causes crash / core dump
Date: Wed, 3 Apr 2024 17:25:13 -0400 (EDT)

Follow-up Comment #2, bug #65547 (group octave):

It seems like the catch of any quit_debug_exception need to happen at a lot
more places, when unwinding multiple stack frames, than added in
https://savannah.gnu.org/bugs/?65056

I've made an patch that seems to address the issue. I can't recreate the
problem after applying the patch.


Catch debug exit exceptions in nested bytecode contexts (bug #65547)

When debugging is aborted, and there are nested bytecode interpreters,
the exit debug exception would not be handled properly.

Also, add some missed handling of exit exceptions.

* pt-bytecode-vm-internal.h: Add CATCH_DEBUG_EXCEPTION macro def.
                             Wrap tries with the macro.
                             Add missing CATCH_EXIT_EXCEPTION.
* pt-bytecode-vm.cc: Wrap tries with the CATCH_DEBUG_EXCEPTION macro


(file #55918)

    _______________________________________________________

Additional Item Attachment:

File name: 33535.patch                    Size: 16KiB
    <https://file.savannah.gnu.org/file/33535.patch?file_id=55918>


    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-33c11c275907ab370260d57e57449be9e849c346.tar.gz


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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