public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/4051] New: task won't unblock after calling requestDeleteInstructionObserver
@ 2007-02-15 13:57 timoore at redhat dot com
  2007-02-15 20:57 ` [Bug general/4051] " mcvet at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: timoore at redhat dot com @ 2007-02-15 13:57 UTC (permalink / raw)
  To: frysk-bugzilla

If there are any other observers installed e.g., a CodeObserver, the task won't
unblock after calling requestDeleteInstructionObserver; requestUnblock must be
called too. See frysk.rt.RunState.run.

-- 
           Summary: task won't unblock after calling
                    requestDeleteInstructionObserver
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: timoore at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=4051

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug general/4051] task won't unblock after calling requestDeleteInstructionObserver
  2007-02-15 13:57 [Bug general/4051] New: task won't unblock after calling requestDeleteInstructionObserver timoore at redhat dot com
@ 2007-02-15 20:57 ` mcvet at redhat dot com
  2007-02-15 20:58 ` timoore at redhat dot com
  2007-02-19 13:27 ` mark at klomp dot org
  2 siblings, 0 replies; 4+ messages in thread
From: mcvet at redhat dot com @ 2007-02-15 20:57 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From mcvet at redhat dot com  2007-02-15 20:56 -------
#4057 is apparently a result of the combination of 
requestDeleteInstructionObserver() + requestUnblock(instructionObserver).

Can be observed by trying to 'continue' almost any non-debuginfo program in the 
sourcewindow.

When working with step-over and step-out in RunState, I did not notice this 
bug, but the difference is that in that case the InstructionObserver was being 
deleted from CodeObserver.addedTo(), instead of when both were fully blocking 
the Task.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4051

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug general/4051] task won't unblock after calling requestDeleteInstructionObserver
  2007-02-15 13:57 [Bug general/4051] New: task won't unblock after calling requestDeleteInstructionObserver timoore at redhat dot com
  2007-02-15 20:57 ` [Bug general/4051] " mcvet at redhat dot com
@ 2007-02-15 20:58 ` timoore at redhat dot com
  2007-02-19 13:27 ` mark at klomp dot org
  2 siblings, 0 replies; 4+ messages in thread
From: timoore at redhat dot com @ 2007-02-15 20:58 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From timoore at redhat dot com  2007-02-15 20:58 -------
My little test program:

int main (int argc, char **argv)
{
  int i = 0;

  while (1)
    {
      if (i > 0)
        i--;
      else
        i++;
    }
  return 0;
}

I use fhpd to attach to this running program:
attach test1 0000
break test1.c 10
go

Without the call to requestUnblock the process won't continue.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4051

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug general/4051] task won't unblock after calling requestDeleteInstructionObserver
  2007-02-15 13:57 [Bug general/4051] New: task won't unblock after calling requestDeleteInstructionObserver timoore at redhat dot com
  2007-02-15 20:57 ` [Bug general/4051] " mcvet at redhat dot com
  2007-02-15 20:58 ` timoore at redhat dot com
@ 2007-02-19 13:27 ` mark at klomp dot org
  2 siblings, 0 replies; 4+ messages in thread
From: mark at klomp dot org @ 2007-02-19 13:27 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From mark at klomp dot org  2007-02-19 13:27 -------
Mine

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|frysk-bugzilla at sourceware|mark at klomp dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED


http://sourceware.org/bugzilla/show_bug.cgi?id=4051

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-02-19 13:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-15 13:57 [Bug general/4051] New: task won't unblock after calling requestDeleteInstructionObserver timoore at redhat dot com
2007-02-15 20:57 ` [Bug general/4051] " mcvet at redhat dot com
2007-02-15 20:58 ` timoore at redhat dot com
2007-02-19 13:27 ` mark at klomp dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).