#927 sdcdb hangs if child s51 process turns zombie

closed-fixed
Maarten Brock
Debugger (15)
5
2013-05-25
2005-05-19
Martin Leopold
No

During a debug session with sdcdb the spawned s51 process
stopped responding, this in turn had the unfortunate effect that
sdcdb allso hangs without any error messages.

Going through the code in the function openSimulator (simi.c) it
seems that the socket is opened correctly for read and write on
the appropriate port. In turn sdcdb waits on output from s51 in
waitForSim (simi.c) - since s51 is not responding this never
happens.

The arguments of waitForSim suggests a timeout, but this isn't
implemented.

I've tested with sdcc 2.5.0 (#1020) and 2.5.1 (#1028)

Discussion

    • labels: --> Debugger
     
  • Maarten Brock
    Maarten Brock
    2010-12-28

    In SDCDB 0.9 I think you can still use Ctrl-C.
    In revision #6092 the timeout is also implemented.

     
  • Maarten Brock
    Maarten Brock
    2010-12-28

    • milestone: --> fixed
    • assigned_to: nobody --> maartenbrock
    • status: open --> closed-fixed