Bug 6673

Summary: testAddthenDeleteWatchpoint(frysk.proc.TestTaskObserverWatchpoint)junit.framework.AssertionFailedError: event loop run explictly stopped (Run and test watchpoint )
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Phil Muldoon <pmuldoon>
Status: WAITING ---    
Severity: normal CC: cagney
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 6675    

Description Andrew Cagney 2008-06-20 13:24:44 UTC
testAddthenDeleteWatchpoint(frysk.proc.TestTaskObserverWatchpoint)junit.framework.AssertionFailedError:
event loop run explictly stopped (Run and test watchpoint )
   at frysk.testbed.TestLib.assertRunUntilStop(TestLib.java:79)
   at frysk.testbed.TestLib.assertRunUntilStop(TestLib.java:90)
   at
frysk.proc.TestTaskObserverWatchpoint.testAddthenDeleteWatchpoint(TestTaskObserverWatchpoint.java:337)
   at frysk.junit.Runner.runCases(Runner.java:214)
   at frysk.junit.Runner.runTestCases(Runner.java:441)
   at TestRunner.main(TestRunner.java:64)
Comment 1 Phil Muldoon 2008-06-20 14:16:35 UTC
I cannot replicate this on F9, HEAD, X8664. What was the arch, OS this run on?
Was it run under JNI or CNI backends?

Alas, the backtrace is not very useful to try and debug via that :(
Comment 2 Andrew Cagney 2008-06-20 17:31:52 UTC
Fedora 8, x86-64; occures with both cni and jni.
Comment 3 Phil Muldoon 2008-06-23 06:46:23 UTC
With Fedora 9, x8664, JNI:

[pmuldoon@localhost frysk-core]$ make jni
make: Nothing to be done for `jni'.
[pmuldoon@localhost frysk-core]$ ./JniRunner frysk.proc.TestTaskObserverWatchpoint
vm loaded
Running
testSteppingInstructionAndWatchpoint(frysk.proc.TestTaskObserverWatchpoint) ...PASS
Running testRunningAndWatchpoint(frysk.proc.TestTaskObserverWatchpoint) ...PASS
Running testAddFailed(frysk.proc.TestTaskObserverWatchpoint) ...PASS
Running testRunningAndReadOnlyWatchpoint(frysk.proc.TestTaskObserverWatchpoint)
...PASS
Running testAddthenDeleteWatchpoint(frysk.proc.TestTaskObserverWatchpoint) ...PASS
Running testWatchpointActionContinue(frysk.proc.TestTaskObserverWatchpoint) ...PASS

and with CNI

[pmuldoon@localhost frysk-core]$ make
make  all-am
make[1]: Entering directory `/home/pmuldoon/frysk_bin/frysk-core'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/pmuldoon/frysk_bin/frysk-core'

[pmuldoon@localhost frysk-core]$ ./TestRunner frysk.proc.TestTaskObserverWatchpoint
Running
testSteppingInstructionAndWatchpoint(frysk.proc.TestTaskObserverWatchpoint) ...PASS
Running testRunningAndWatchpoint(frysk.proc.TestTaskObserverWatchpoint) ...PASS
Running testAddFailed(frysk.proc.TestTaskObserverWatchpoint) ...PASS
Running testRunningAndReadOnlyWatchpoint(frysk.proc.TestTaskObserverWatchpoint)
...PASS
Running testAddthenDeleteWatchpoint(frysk.proc.TestTaskObserverWatchpoint) ...PASS
Running testWatchpointActionContinue(frysk.proc.TestTaskObserverWatchpoint) ...PASS


As soon as I find a x8664 Fedora 8 box, I'll see if I can get it to fail there.
But no liuck so far.
Comment 4 Phil Muldoon 2008-06-23 10:35:57 UTC
Built on towns:

-bash-3.2$ cat /etc/redhat-release 
Fedora release 8 (Werewolf)

-bash-3.2$ cd frysk-core/
-bash-3.2$ ./TestRunner frysk.proc.TestTaskObserverWatchpoint
Running
testSteppingInstructionAndWatchpoint(frysk.proc.TestTaskObserverWatchpoint) ...PASS
Running testRunningAndWatchpoint(frysk.proc.TestTaskObserverWatchpoint) ...PASS
Running testAddFailed(frysk.proc.TestTaskObserverWatchpoint) ...PASS
Running testRunningAndReadOnlyWatchpoint(frysk.proc.TestTaskObserverWatchpoint)
...PASS
Running testAddthenDeleteWatchpoint(frysk.proc.TestTaskObserverWatchpoint) ...PASS
Running testWatchpointActionContinue(frysk.proc.TestTaskObserverWatchpoint) ...PASS

Time: 0.264

OK (6 tests)

-bash-3.2$ make jni
make: Nothing to be done for `jni'.
-bash-3.2$ ./JniRunner frysk.proc.TestTaskObserverWatchpoint
vm loaded

Running
testSteppingInstructionAndWatchpoint(frysk.proc.TestTaskObserverWatchpoint) ...PASS
Running testRunningAndWatchpoint(frysk.proc.TestTaskObserverWatchpoint) ...PASS
Running testAddFailed(frysk.proc.TestTaskObserverWatchpoint) ...PASS
Running testRunningAndReadOnlyWatchpoint(frysk.proc.TestTaskObserverWatchpoint)
...PASS
Running testAddthenDeleteWatchpoint(frysk.proc.TestTaskObserverWatchpoint) ...PASS
Running testWatchpointActionContinue(frysk.proc.TestTaskObserverWatchpoint) ...PASS

Time: 1.545

OK (6 tests)