public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/4663] New: TaskObserver.Instruction doesn't appear to unblock on new process' first instructions
@ 2007-06-19 21:06 mcvet at redhat dot com
2007-06-19 21:26 ` [Bug general/4663] " mcvet at redhat dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: mcvet at redhat dot com @ 2007-06-19 21:06 UTC (permalink / raw)
To: frysk-bugzilla
When calling Manager.host.requestCreateAttachedProc() and handling the
resulting return from the AttachedObserver; adding an InstructionObserver to
the Task, removing the AttachedObserver, and then attemping to step appears to
never return from the EventLoop.
--
Summary: TaskObserver.Instruction doesn't appear to unblock on
new process' first instructions
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
CC: mark at klomp dot org,mcvet at redhat dot com
OtherBugsDependingO 3346
nThis:
http://sourceware.org/bugzilla/show_bug.cgi?id=4663
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug general/4663] TaskObserver.Instruction doesn't appear to unblock on new process' first instructions
2007-06-19 21:06 [Bug general/4663] New: TaskObserver.Instruction doesn't appear to unblock on new process' first instructions mcvet at redhat dot com
@ 2007-06-19 21:26 ` mcvet at redhat dot com
2007-06-20 12:23 ` mark at klomp dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: mcvet at redhat dot com @ 2007-06-19 21:26 UTC (permalink / raw)
To: frysk-bugzilla
------- Additional Comments From mcvet at redhat dot com 2007-06-19 21:26 -------
(FC6 x86_64)
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4663
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug general/4663] TaskObserver.Instruction doesn't appear to unblock on new process' first instructions
2007-06-19 21:06 [Bug general/4663] New: TaskObserver.Instruction doesn't appear to unblock on new process' first instructions mcvet at redhat dot com
2007-06-19 21:26 ` [Bug general/4663] " mcvet at redhat dot com
@ 2007-06-20 12:23 ` mark at klomp dot org
2007-06-20 15:12 ` cagney at redhat dot com
2007-06-20 15:19 ` mark at klomp dot org
3 siblings, 0 replies; 5+ messages in thread
From: mark at klomp dot org @ 2007-06-20 12:23 UTC (permalink / raw)
To: frysk-bugzilla
------- Additional Comments From mark at klomp dot org 2007-06-20 12:23 -------
I think I see the problem. When we ask to step onto the very first instruction
for some reason the stepping debug flag isn't set in the isa debug registers.
This means we interpret the trap event as a real trap signal which we pass on to
the process which gets instantly killed...
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4663
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug general/4663] TaskObserver.Instruction doesn't appear to unblock on new process' first instructions
2007-06-19 21:06 [Bug general/4663] New: TaskObserver.Instruction doesn't appear to unblock on new process' first instructions mcvet at redhat dot com
2007-06-19 21:26 ` [Bug general/4663] " mcvet at redhat dot com
2007-06-20 12:23 ` mark at klomp dot org
@ 2007-06-20 15:12 ` cagney at redhat dot com
2007-06-20 15:19 ` mark at klomp dot org
3 siblings, 0 replies; 5+ messages in thread
From: cagney at redhat dot com @ 2007-06-20 15:12 UTC (permalink / raw)
To: frysk-bugzilla
------- Additional Comments From cagney at redhat dot com 2007-06-20 15:12 -------
why does fstep work? It goes through the same sequence. Or if it isn't it
would be a bug :-)
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4663
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug general/4663] TaskObserver.Instruction doesn't appear to unblock on new process' first instructions
2007-06-19 21:06 [Bug general/4663] New: TaskObserver.Instruction doesn't appear to unblock on new process' first instructions mcvet at redhat dot com
` (2 preceding siblings ...)
2007-06-20 15:12 ` cagney at redhat dot com
@ 2007-06-20 15:19 ` mark at klomp dot org
3 siblings, 0 replies; 5+ messages in thread
From: mark at klomp dot org @ 2007-06-20 15:19 UTC (permalink / raw)
To: frysk-bugzilla
------- Additional Comments From mark at klomp dot org 2007-06-20 15:18 -------
Added a simplified test and a first workaround for this issue.
2007-06-20 Mark Wielaard <mwielaard@redhat.com>
* frysk-core/frysk/proc/Observation.java (toString): Include
observable and observer.
* frysk-core/frysk/proc/Task.java (just_started): New boolean field.
* frysk-core/frysk/proc/TestTaskObserverInstruction.java
(testFirstInstructionStep): New test)
(StepAttachedObserver): New inner class.
(testFirstInstructionSteppingEngine): Renamed method from
testFirstInstructionStep. Remove broken marker.
2007-06-20 Mark Wielaard <mwielaard@redhat.com>
* frysk-core/frysk/proc/ptrace/LinuxTaskState.java
(blockOrAttachContinue): Set just_started marker.
(sendContinue): Reset just_started marker unless first step.
(Running.handleTrapped): Check and reset just_started marker.
Keeping open to resolve with a real Stepping state and after consulting on other
debug step marker corner cases.
--
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=4663
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-06-20 15:19 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-19 21:06 [Bug general/4663] New: TaskObserver.Instruction doesn't appear to unblock on new process' first instructions mcvet at redhat dot com
2007-06-19 21:26 ` [Bug general/4663] " mcvet at redhat dot com
2007-06-20 12:23 ` mark at klomp dot org
2007-06-20 15:12 ` cagney at redhat dot com
2007-06-20 15:19 ` 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).