Bug 5580

Summary: frysk dies silently (tty conflict running interactive shell /bin/bash under fhpd)
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Status: NEW ---    
Severity: normal CC: cagney, rmoseley
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 5572    

Description Andrew Cagney 2008-01-09 18:53:32 UTC
A sequence something like:

load foo
load bar
focus [1.0]
break main
start

caused frysk to exit silently.

(I'm hopeing mark can dig up the actual sequence from the log file :-)
Comment 1 Mark Wielaard 2008-01-10 14:18:34 UTC
Unfortunately I don't have the log file anymore.
And currently fhpd works just splendidly even loading multiple programs and
switching focus. Does anybody remember what the trigger of the dying might be?

I can make frysk die silently by running /bin/bash under fhpd. But I believe
that is a different bug (where fhpd and bash are fighting over the tty).
Comment 2 Mark Wielaard 2008-01-10 14:32:36 UTC
re comment #1 I cannot find any other bug related to tty conflicts between bash
and fhpd. And Andrew and Rick said that examples not involving /bin/bash seem to
work fine now. So I assume the real bug is as follows:

$ ./fhpd
(fhpd) load /bin/bash
Loaded executable file: /bin/bash
(fhpd) run
Attached to process 28943
Running process 28943
(fhpd) $ 

At this point the terminal is foobared. Apparently bash and fhpd got into a
fight over the tty ownership and fhpd lost.