This is the mail archive of the insight-prs@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

insight/40: Clicking 'Stop' button on Insight GUI blows away X session.



>Number:         40
>Category:       insight
>Synopsis:       Clicking 'Stop' button on Insight GUI blows away X session.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 02 16:53:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Ken Milmore
>Release:        20000725
>Organization:
>Environment:
RedHat 6.2; I686; Kernel 2.2.16; XFree86; Gnome
>Description:
Clicking 'Stop' button on Insight GUI blows away X session.
>How-To-Repeat:
Launch Insight from Source Navigator, to debug a C++ console app running in an xterm.
Click 'Run' then 'Continue', then while code is executing, click 'Stop'.
The X session appears to die immediately, and you're dumped back into gdm or whatever.
>Fix:
Problem appeared to be with function child_stop() defined in
file gdb/iftarg.c: Zero pid value being passed to kill().
I hacked around this by changing child_stop to do the following
instead:

  if (inferior_pid)
    kill (inferior_pid, SIGINT);
>Release-Note:
>Audit-Trail:
>Unformatted:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]