Name: boT120536 Date: 03/22/2001
Java(TM) Plug-in: Version 1.3.1
Using JRE version 1.3.1-beta Java HotSpot(TM) Client VM
User home directory = /home/cwturner
Proxy Configuration: no proxy
A signed applet can call java.lang.Runtime.exec() with no problems until following
an applet reload, when a call to exec() will hang. Thread traces show
the problem might be associated with interrupted forker and reaper threads.
A thread trace of the good working situation is:-
about to exec...
done
hello world
Dump thread list ...
Group main,ac=15,agc=1,pri=10
main,5,alive
AWT-EventQueue-0,6,alive
SunToolkit.PostEventQueue-0,6,alive
AWT-Motif,6,alive
TimerQueue,5,alive,dameon
Thread-0,5,alive
Thread-1,5,alive
Thread-2,5,alive
Screen Updater,5,alive
Group http://java.cycom.co.uk/bugdemo/-threadGroup,ac=6,agc=0,pri=4
AWT-EventQueue-1,4,alive
SunToolkit.PostEventQueue-1,4,alive
thread applet-BugDemo,4,alive
TimerQueue,4,alive,dameon
process reaper,4,alive,dameon
process forker,4,alive,dameon
Done.
A thread trace following the applet reload and just prior to the hang is:-
Dump thread list ...
Group main,ac=15,agc=2,pri=10
main,5,alive
AWT-EventQueue-0,6,alive
SunToolkit.PostEventQueue-0,6,alive
AWT-Motif,6,alive
TimerQueue,5,alive,dameon
Thread-0,5,alive
Thread-1,5,alive
Thread-2,5,alive
Screen Updater,5,alive
Group http://java.cycom.co.uk/bugdemo/-threadGroup,ac=2,agc=0,pri=4
process reaper,4,alive,dameon,interrupted
process forker,4,alive,dameon,interrupted
Group http://java.cycom.co.uk/bugdemo/-threadGroup,ac=4,agc=0,pri=4
AWT-EventQueue-2,4,alive
SunToolkit.PostEventQueue-2,4,alive
thread applet-BugDemo,4,alive
TimerQueue,4,alive,dameon
Done.
about to exec... (here it is hung)
It iseasy to set it up that way bu... jarred and signed applet are at
http://java.cycom.co.uk/bugdemo/
You can trust Cycom Limited.
(Review ID: 119068)
======================================================================
- duplicates
-
JDK-4376458 AWT Testsuites doesnt run in Ladybird - Linux - hotspot JVM
-
- Closed
-