Menu

#3650 Regression-testing on OpenBSD amd64 is a fork-bomb

closed-out-of-date
None
Build
5
2023-11-07
2023-09-18
No

I've installed OpenBSD 7.3 in an amd64 VM (qemu, Debian GNU/Linux host). Any regression test target other than test-host is a fork-bomb. I see this problem neither when using Debian GNU/Linux on amd64, nor when using OpenBSD on powerpc64.

openbsd-test$ ps x | grep sdcc    
50446 p1  R+p/8    0:00.00 grep sdcc
openbsd-test$ ps x
  PID TT  STAT        TIME COMMAND
78039 ??  I        0:05.67 sshd: test@ttyp0 (sshd)
58683 ??  S        0:00.81 sshd: test@ttyp1 (sshd)
 8107 p0  I+p      0:00.09 -ksh (ksh)
91071 p1  Sp       0:00.09 -ksh (ksh)
81287 p1  R+pU/2   0:00.00 ps -x
openbsd-test$ ps x | grep sdcc 
37709 p1  R+p/2    0:00.00 grep sdcc
openbsd-test$ ps x | grep sdcc 
88290 p0  S+p      0:00.00 /bin/sh ../../bin/sdcc --fverbose-asm -DNO_VARARGS --nostdinc -I../.. -mpdk14 --less-pedantic --out-fmt-ihx -I./fwk/include -I./tests -I../../device/include -c fwk/lib/testfwk.c -o gen/pdk14/testfwk.rel
65760 p0  S+p      0:00.01 /bin/sh /home/test/sdcc-trunk/sdcc/bin/sdcc --fverbose-asm -DNO_VARARGS --nostdinc -I../.. -mpdk14 --less-pedantic --out-fmt-ihx -I./fwk/include -I./tests -I../../device/include -c fwk/lib/testfwk.c -o gen/pdk14/testfwk.rel
60313 p0  S+p      0:00.00 /bin/sh /home/test/sdcc-trunk/sdcc/bin/sdcc --fverbose-asm -DNO_VARARGS --nostdinc -I../.. -mpdk14 --less-pedantic --out-fmt-ihx -I./fwk/include -I./tests -I../../device/include -c fwk/lib/testfwk.c -o gen/pdk14/testfwk.rel
[many more lines identical to the one above, except for the process id]

Related

Wiki: SDCC 4.4.0 Release

Discussion

  • Philipp Klaus Krause

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,4 @@
    -I've installed OpenBSD in an amd64 VM (qemu, Debian GNU/Linux host). Any regression test target other than test-host is a fork-bomb. I see this problem neither when using Debian GNU/Linux on amd64, nor when using OpenBSD on powerpc64.
    +I've installed OpenBSD 7.3 in an amd64 VM (qemu, Debian GNU/Linux host). Any regression test target other than test-host is a fork-bomb. I see this problem neither when using Debian GNU/Linux on amd64, nor when using OpenBSD on powerpc64.
    
     ~~~~
     openbsd-test$ ps x | grep sdcc    
    
     
  • Philipp Klaus Krause

    • status: open --> closed-out-of-date
    • assigned_to: Philipp Klaus Krause
    • Category: other --> Build
     
  • Philipp Klaus Krause

    I cannot reproduce this issue using OpenBSD 7.4.

     

Log in to post a comment.