[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #63730] The "see" command hangs forever on a default Ubuntu install
From: |
Jerome Abela |
Subject: |
[bug #63730] The "see" command hangs forever on a default Ubuntu installation |
Date: |
Mon, 30 Jan 2023 09:01:24 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?63730>
Summary: The "see" command hangs forever on a default Ubuntu
installation
Project: Gforth
Submitter: jeromelon
Submitted: Mon 30 Jan 2023 02:01:22 PM UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Mon 30 Jan 2023 02:01:22 PM UTC By: Jerome Abela <jeromelon>
Steps to reproduce:
* start gforth
* run "see +"
The output is:
Code +
And then it hangs for ever.
This is due to the default value for /proc/sys/kernel/yama/ptrace_scope (1),
which only allows a process to trace its children, so the attach fails, so the
gdb script fails, so gdb never exits, and gforth waits forever for gdb to
exit.
It would be great to handle this case gracefully, for example by detecting
this case, and showing an error message instead of hanging.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63730>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #63730] The "see" command hangs forever on a default Ubuntu installation,
Jerome Abela <=