This is the mail archive of the frysk-bugzilla@sourceware.org mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug general/5795] New: Problem killing multi-threaded tasks


When using the test suite when a multi-threaded task is killed with the "kill"
command a backtrace is generated.  I can duplicate this every time with the
following command sequence:

(fhpd) load ../pkglibdir/funit-threads-looper
Loaded executable file: ../pkglibdir/funit-threads-looper
(fhpd) run
Attached to process 10410
starting/running with this command:
/home/rmoseley/frysk-git3/build/frysk-core/frysk/bindir/../pkglibdir/funit-threads-looper

Running process 10410
(fhpd) run
Killing process 9259 that was created from
/home/rmoseley/frysk-git3/build/frysk-core/frysk/pkglibdir/funit-threads-looper
Loaded executable file:
/home/rmoseley/frysk-git3/build/frysk-core/frysk/pkglibdir/funit-threads-looper
Exception in thread "main" java.lang.RuntimeException:
{frysk.proc.live.LinuxPtraceTask@2fa6f055,pid=9259,tid=9260,state=StartClonedTask.blockedOffspring}
in state "StartClonedTask.blockedOffspring" did not handle handleTerminatedEvent
   at frysk.proc.live.State.unhandled(State.java:67)
   at
frysk.proc.live.LinuxPtraceTaskState.handleTerminatedEvent(LinuxPtraceTaskState.java:73)
   at
frysk.proc.live.LinuxPtraceTask.processTerminatedEvent(LinuxPtraceTask.java:230)
   at frysk.proc.live.LinuxWaitBuilder.terminated(LinuxWaitBuilder.java:200)
   at frysk.sys.Wait.wait(Wait.cxx:586)
   at frysk.sys.Wait.wait(Wait.java:125)
   at frysk.event.WaitEventLoop.block(WaitEventLoop.java:87)
   at frysk.event.EventLoop.runEventLoop(EventLoop.java:377)
   at frysk.event.EventLoop.run(EventLoop.java:487)
   at frysk.bindir.fhpd.main(fhpd.java:197)

-- 
           Summary: Problem killing multi-threaded tasks
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: rmoseley at redhat dot com
OtherBugsDependingO 2246
             nThis:


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

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


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