[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] UnixProcess forkSqueak broken since October (#548)

Jan Vrany jan.vrany at fit.cvut.cz
Mon Jan 25 06:49:17 UTC 2021


On Sun, 2021-01-24 at 18:59 -0800, David T Lewis wrote:
> 
>    */usr/local/bin/../lib/squeak/5.0-
> 202101160259/squeak(aioPoll+0x12e)[0x4bc0fe]
> 
> I am not able to catch the failure in gdb because it happens in the
> child process. 

GDB can follow fork(), see

(gdb) help set follow-fork-mode 
Set debugger response to a program call of fork or vfork.
A fork or vfork creates a new process.  follow-fork-mode can be:
  parent  - the original process is debugged after a fork
  child   - the new process is debugged after a fork
The unfollowed process will continue to run.
By default, the debugger will follow the parent process.

HTH, Jan



More information about the Vm-dev mailing list