Bug 5580 - frysk dies silently (tty conflict running interactive shell /bin/bash under fhpd)
Summary: frysk dies silently (tty conflict running interactive shell /bin/bash under f...
Status: NEW
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: 5572
  Show dependency treegraph
 
Reported: 2008-01-09 18:53 UTC by Andrew Cagney
Modified: 2008-01-10 14:32 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.