Bug 5229 - Code observer unblock right before delete request hangs
Summary: Code observer unblock right before delete request hangs
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:
 
Reported: 2007-10-29 08:55 UTC by Mark Wielaard
Modified: 2007-10-29 08:55 UTC (History)
0 users

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 Mark Wielaard 2007-10-29 08:55:08 UTC
Doing an unblock of a Code observer triggering a step over the breakpoint and
immediately (before the step over the breakpoint is completed) requesting the
deletion of the Code observer from that address will hang the inferior.

This is most likely related to bug #4383 which explains that we send too many
stop events to the inferior.

I wrote a testcase
frysk.proc.TestTaskObserverCode.testMultiTaskUpdateUnblockDelete that shows the
problem. It can probably be simplified a little.

The behaviour of the above test is slightly different between x86_64/fc6 (kernel
2.6.22.9-61.fc6) where it hangs frysk itself (!) and x86/f8 (2.6.23.1-31.fc8)
where only the inferior hangs, but frysk-core seems fine (and the tests times out).