[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #62030] 'Malformed xchar' error, if fork'ed child throws
From: |
Stephan Rudlof |
Subject: |
[bug #62030] 'Malformed xchar' error, if fork'ed child throws |
Date: |
Thu, 10 Feb 2022 20:57:21 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?62030>
Summary: 'Malformed xchar' error, if fork'ed child throws
Project: Gforth
Submitted by: hartrock
Submitted on: Fri 11 Feb 2022 01:57:19 AM UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
System info:
+++
sr@rs:~/Gforth$ ../gforth/gforth --version
gforth 0.7.9_20220210 amd64
sr@rs:/usr/local/share/gforth$ uname -a
Linux rs 4.19.0-18-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29) x86_64
GNU/Linux
+++
This triggers the error:
+++
: baz
fork
if \ child pid -> parent, or ..
else \ .. 0 -> child
\ needed to get normally working terminal (after finishing child)
stdin close-file throw \ or 'sh stty -icanon' in parent bye...
stdout close-file throw
history-cold
1 throw
bye
then
;
baz
+++
as endless loop:
+++
...
kernel/int.fs:658:5: 5 $7FADAF4B4EA0 bt-rp0-catch
*the terminal*:1:1: error: Malformed xchar
>>>÷z<<<
Backtrace:
kernel/input.fs:216:30: 0 $7FADAF4C0438 throw
kernel/input.fs:216:36: 1 $7FADAF4B5348 get-input-colored
except.fs:83:2: 2 $7FADAF4CBDD8 execute [catch
frame]
kernel/int.fs:654:5: 3 $7FADAF4B4E38 catch
4 $7FADAF0E3FC0
kernel/int.fs:658:5: 5 $7FADAF4B4EA0 bt-rp0-catch
*the terminal*:1:1: error: Malformed xchar
>>>÷z<<<
Backtrace:
kernel/input.fs:216:30: 0 $7FADAF4C0438 throw
kernel/input.fs:216:36: 1 $7FADAF4B5348 get-input-colored
except.fs:83:2: 2 $7FADAF4CBDD8 execute [catch
frame]
kernel/int.fs:654:5: 3 $7FADAF4B4E38 catch
4 $7FADAF0E3FC0
kernel/int.fs:658:5: 5 $7FADAF4B4EA0 bt-rp0-catch
*the terminal*:1:1: error: Malformed xchar
>>>÷z<<<
Backtrace:
kernel/input.fs:216:30: 0 $7FADAF4C0438 throw
kernel/input.fs:216:36: 1 $7FADAF4B5348 get-input-colored
except.fs:83:2: 2 $7FADAF4CBDD8 execute [catch
frame]
kernel/int.fs:654:5: 3 $7FADAF4B4E38 catch
4 $7FADAF0E3FC0
kernel/int.fs:658:5: 5 $7FADAF4B4EA0 bt-rp0-catch
*the terminal*:1:1: error: Malformed xchar
>>>÷z<<<
...
+++
Notes:
- fork() gotten by
+++
\c #include <sys/types.h>
\c #include <unistd.h>
c-function fork fork -- n ( -- u )
+++
, and working as expected.
- Distribution gforth 0.7.3 not triggering above bug.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62030>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #62030] 'Malformed xchar' error, if fork'ed child throws,
Stephan Rudlof <=
- [bug #62030] 'Malformed xchar' error, if fork'ed child throws, Anton Ertl, 2022/02/11
- [bug #62030] 'Malformed xchar' error, if fork'ed child throws, Stephan Rudlof, 2022/02/11
- [bug #62030] 'Malformed xchar' error, if fork'ed child throws, Bernd Paysan, 2022/02/11
- [bug #62030] 'Malformed xchar' error, if fork'ed child throws, Bernd Paysan, 2022/02/11
- [bug #62030] 'Malformed xchar' error, if fork'ed child throws, Stephan Rudlof, 2022/02/11
- [bug #62030] 'Malformed xchar' error, if fork'ed child throws, Stephan Rudlof, 2022/02/11
- [bug #62030] 'Malformed xchar' error, if fork'ed child throws, Bernd Paysan, 2022/02/11
- [bug #62030] 'Malformed xchar' error, if fork'ed child throws, Stephan Rudlof, 2022/02/13
- [bug #62030] 'Malformed xchar' error, if fork'ed child throws, Stephan Rudlof, 2022/02/13
- [bug #62030] 'Malformed xchar' error, if fork'ed child throws, Stephan Rudlof, 2022/02/13