public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/4057] New: {frysk.proc.LinuxPtraceTask@39dffd75,pid=2505,tid=2505,state=detached} in state "detached" did not handle handleUnblock
@ 2007-02-15 20:12 mcvet at redhat dot com
  2007-02-15 20:54 ` [Bug general/4057] " mcvet at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: mcvet at redhat dot com @ 2007-02-15 20:12 UTC (permalink / raw)
  To: frysk-bugzilla

Open a random process without debuginfo in the source window.

Then click "continue" to attempt to continue execution of the process.

A core error dialog comes up with:

{frysk.proc.LinuxPtraceTask@398d1b75,pid=11829,tid=11829,state=detached} in 
state "detached" did not handle handleUnblock

java.lang.RuntimeException: 
{frysk.proc.LinuxPtraceTask@398d1b75,pid=11829,tid=11829,state=detached} in 
state "detached" did not handle handleUnblock
   at frysk.proc.State.unhandled(FryskGui)
   at frysk.proc.TaskState.handleUnblock(FryskGui)
   at frysk.proc.Task$2.execute(FryskGui)
   at frysk.event.EventLoop.runEventLoop(FryskGui)
   at frysk.event.EventLoop.run(FryskGui)
   at frysk.gui.Gui$4.run(FryskGui)
   at java.lang.Thread.run(libgcj.so.7rh)

-- 
           Summary: {frysk.proc.LinuxPtraceTask@39dffd75,pid=2505,tid=2505,s
                    tate=detached} in state "detached" did not handle
                    handleUnblock
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: mcvet at redhat dot com


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

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


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

* [Bug general/4057] {frysk.proc.LinuxPtraceTask@39dffd75,pid=2505,tid=2505,state=detached} in state "detached" did not handle handleUnblock
  2007-02-15 20:12 [Bug general/4057] New: {frysk.proc.LinuxPtraceTask@39dffd75,pid=2505,tid=2505,state=detached} in state "detached" did not handle handleUnblock mcvet at redhat dot com
@ 2007-02-15 20:54 ` mcvet at redhat dot com
  2007-02-15 20:57 ` timoore at redhat dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: mcvet at redhat dot com @ 2007-02-15 20:54 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From mcvet at redhat dot com  2007-02-15 20:54 -------
Looks like this is caused by a combination of:

t.requestDeleteInstructionObserver(this);
t.requestUnblock(this);

in RunState.run(LinkedList).

Blocking by #4051

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |4051
            Summary|{frysk.proc.LinuxPtraceTask@|{frysk.proc.LinuxPtraceTask@
                   |39dffd75,pid=2505,tid=2505,s|39dffd75,pid=2505,tid=2505,s
                   |tate=detached} in state     |tate=detached} in state
                   |"detached" did not handle   |"detached" did not handle
                   |handleUnblock               |handleUnblock


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

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


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

* [Bug general/4057] {frysk.proc.LinuxPtraceTask@39dffd75,pid=2505,tid=2505,state=detached} in state "detached" did not handle handleUnblock
  2007-02-15 20:12 [Bug general/4057] New: {frysk.proc.LinuxPtraceTask@39dffd75,pid=2505,tid=2505,state=detached} in state "detached" did not handle handleUnblock mcvet at redhat dot com
  2007-02-15 20:54 ` [Bug general/4057] " mcvet at redhat dot com
@ 2007-02-15 20:57 ` timoore at redhat dot com
  2007-02-16 15:17 ` mcvet at redhat dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: timoore at redhat dot com @ 2007-02-15 20:57 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From timoore at redhat dot com  2007-02-15 20:57 -------
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=4057

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


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

* [Bug general/4057] {frysk.proc.LinuxPtraceTask@39dffd75,pid=2505,tid=2505,state=detached} in state "detached" did not handle handleUnblock
  2007-02-15 20:12 [Bug general/4057] New: {frysk.proc.LinuxPtraceTask@39dffd75,pid=2505,tid=2505,state=detached} in state "detached" did not handle handleUnblock mcvet at redhat dot com
  2007-02-15 20:54 ` [Bug general/4057] " mcvet at redhat dot com
  2007-02-15 20:57 ` timoore at redhat dot com
@ 2007-02-16 15:17 ` mcvet at redhat dot com
  2007-02-19 16:14 ` mark at klomp dot org
  2007-02-19 16:33 ` mark at klomp dot org
  4 siblings, 0 replies; 6+ messages in thread
From: mcvet at redhat dot com @ 2007-02-16 15:17 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From mcvet at redhat dot com  2007-02-16 15:16 -------
Temporarily worked around:

Log message:
	frysk-core/frysk/rt:
	2007-02-16  Mike Cvet  <mcvet@redhat.com>
	
	* RunState.java (swContinue): Added. Temporary workaround for
	#4057.
	
	frysk-gui/frysk/gui/srcwin:
	2007-02-16  Mike Cvet  <mcvet@redhat.com>
	
	* SourceWindow.java (doContinue): Temporarily calls
	RunState.swContinue() as a workaround for #4057.

-- 


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

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


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

* [Bug general/4057] {frysk.proc.LinuxPtraceTask@39dffd75,pid=2505,tid=2505,state=detached} in state "detached" did not handle handleUnblock
  2007-02-15 20:12 [Bug general/4057] New: {frysk.proc.LinuxPtraceTask@39dffd75,pid=2505,tid=2505,state=detached} in state "detached" did not handle handleUnblock mcvet at redhat dot com
                   ` (2 preceding siblings ...)
  2007-02-16 15:17 ` mcvet at redhat dot com
@ 2007-02-19 16:14 ` mark at klomp dot org
  2007-02-19 16:33 ` mark at klomp dot org
  4 siblings, 0 replies; 6+ messages in thread
From: mark at klomp dot org @ 2007-02-19 16:14 UTC (permalink / raw)
  To: frysk-bugzilla



-- 
Bug 4057 depends on bug 4051, which changed state.

Bug 4051 Summary: task won't unblock after calling requestDeleteInstructionObserver
http://sourceware.org/bugzilla/show_bug.cgi?id=4051

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

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

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


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

* [Bug general/4057] {frysk.proc.LinuxPtraceTask@39dffd75,pid=2505,tid=2505,state=detached} in state "detached" did not handle handleUnblock
  2007-02-15 20:12 [Bug general/4057] New: {frysk.proc.LinuxPtraceTask@39dffd75,pid=2505,tid=2505,state=detached} in state "detached" did not handle handleUnblock mcvet at redhat dot com
                   ` (3 preceding siblings ...)
  2007-02-19 16:14 ` mark at klomp dot org
@ 2007-02-19 16:33 ` mark at klomp dot org
  4 siblings, 0 replies; 6+ messages in thread
From: mark at klomp dot org @ 2007-02-19 16:33 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From mark at klomp dot org  2007-02-19 16:33 -------
Bug #4051 was fixed and the workarounds have been removed again.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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

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


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

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

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-15 20:12 [Bug general/4057] New: {frysk.proc.LinuxPtraceTask@39dffd75,pid=2505,tid=2505,state=detached} in state "detached" did not handle handleUnblock mcvet at redhat dot com
2007-02-15 20:54 ` [Bug general/4057] " mcvet at redhat dot com
2007-02-15 20:57 ` timoore at redhat dot com
2007-02-16 15:17 ` mcvet at redhat dot com
2007-02-19 16:14 ` mark at klomp dot org
2007-02-19 16:33 ` 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).