-
Bug
-
Resolution: Duplicate
-
P1
-
None
-
1.0
-
sparc
-
solaris_2.4
Java SEGV's in InetAddress.getByName (probably in lookupHostAddr()).
System is Sparc 4 running Solaris 2.4 11/94 release.
My shell is ksh (this causes some problems where my $ENV contents turn
on things like noclobber - how about using the -p flag on the #! line to
disable $ENV parsing?)
Same error happens if I login as 'root' and run standard Openwin with
no special environment config.
rgds
Stephen
Script started on Fri Sep 29 16:47:08 1995
[sweh]/usr/local/java
mercury.pts/4% bin/appletviewer demo/GraphLayout/example1.html
Thread-5 find class Graph
Opening stream to: file:/usr/local/java/demo/GraphLayout/Graph.class to get Graph
Thread-5 find class GraphPanel
Opening stream to: file:/usr/local/java/demo/GraphLayout/GraphPanel.class to get GraphPanel
Thread-5 find class Node
Opening stream to: file:/usr/local/java/demo/GraphLayout/Node.class to get Node
Thread-5 find class Edge
Opening stream to: file:/usr/local/java/demo/GraphLayout/Edge.class to get Edge
[sweh]/usr/local/java
mercury.pts/4% # Hey, that worked!
[sweh]/usr/local/java
mercury.pts/4% bin/appletviewer http://java.sun.com/JDK-prebeta1/applets/NervousText/example1.html
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Error 0
si_code [1]: SEGV_ACCERR [addr: 0xc]
stackbase=EFFFF9D4, stackpointer=EFFFC3C8
Full thread dump:
"Finalizer thread" (TID:0xee300620, sys_thread_t:0xef490de8) prio=1
"Async Garbage Collector" (TID:0xee3005d0, sys_thread_t:0xef4c0de8) prio=1
"Idle thread" (TID:0xee300558, sys_thread_t:0xef4f0de8) prio=0
"clock handler" (TID:0xee300098, sys_thread_t:0xef5b0de8) prio=11
"main" (TID:0xee300048, sys_thread_t:0x60148) prio=5 *current thread*
java.net.InetAddress.getByName(InetAddress.java)
java.net.InetAddress.<clinit>(InetAddress.java)
java.net.PlainSocketImpl.connect(PlainSocketImpl.java)
java.net.Socket.<init>(Socket.java)
java.net.Socket.<init>(Socket.java)
sun.net.NetworkClient.openServer(NetworkClient.java:47)
sun.net.www.http.HttpClient.openServer(HttpClient.java:124)
sun.net.www.http.HttpClient.get(HttpClient.java:225)
sun.net.www.http.HttpClient.handleUrl(HttpClient.java:423)
sun.net.www.http.HttpClient.<init>(HttpClient.java:452)
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:56)
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:124)
java.net.URL.openStream(URL.java)
sun.applet.AppletViewer.parse(AppletViewer.java:496)
sun.applet.AppletViewer.main(AppletViewer.java:590)
Monitor Cache Dump:
unknown key (key=0x8f618): monitor owner: "main"
unknown key (key=0x8f318): monitor owner: "main"
unknown key (key=0xef4c0de8): unowned
Waiting to be notified:
"Async Garbage Collector"
java.lang.Class@EE301AF8/8F318 (key=0xee301af8): monitor owner: "main"
unknown key (key=0x92be0): monitor owner: "main"
www.http.HttpClient@EE301A50'>sun.net.www.http.HttpClient@EE301A50/EE339558 (key=0xee301a50): monitor owner: "main"
Registered Monitor Dump:
Finalize me queue lock: unowned
Waiting to be notified:
"Finalizer thread"
Thread queue lock: unowned
Class lock: unowned
Java stack lock: unowned
Code rewrite lock: unowned
Heap lock: unowned
Has finalization queue lock: unowned
Monitor IO lock: unowned
Child death monitor: unowned
Event monitor: unowned
I/O monitor: unowned
Alarm monitor: unowned
Waiting to be notified:
"clock handler"
Sbrk lock: unowned
Monitor cache lock: unowned
Monitor registry: monitor owner: "main"
Thread Alarm Q:
sys_thread_t 0xef4c0de8 [Timeout in 331 ms]
Segmentation Fault
[sweh]/usr/local/java
mercury.pts/4% # Oops!
[sweh]/usr/local/java
mercury.pts/4% cd demo/TicTacToe
[sweh]/usr/local/java/demo/TicTacToe
mercury.pts/4% ../../bin/appletviewer -debug example1.html
Loading jdb ...
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Error 0
si_code [1]: SEGV_ACCERR [addr: 0xc]
stackbase=EFFFF9B4, stackpointer=EFFFC3A0
Full thread dump:
"Finalizer thread" (TID:0xee300620, sys_thread_t:0xef490de8) prio=1
"Async Garbage Collector" (TID:0xee3005d0, sys_thread_t:0xef4c0de8) prio=1
"Idle thread" (TID:0xee300558, sys_thread_t:0xef4f0de8) prio=0
"clock handler" (TID:0xee300098, sys_thread_t:0xef5b0de8) prio=11
"main" (TID:0xee300048, sys_thread_t:0x60148) prio=5 *current thread*
java.net.InetAddress.getByName(InetAddress.java)
java.net.InetAddress.<clinit>(InetAddress.java)
java.tools.ttydebug.TTY.main(TTY.java:1145)
Monitor Cache Dump:
unknown key (key=0xef4c0de8): unowned
Waiting to be notified:
"Async Garbage Collector"
unknown key (key=0x6fc18): monitor owner: "main"
java.lang.Class@EE3007B0/6FC18 (key=0xee3007b0): monitor owner: "main"
unknown key (key=0x6ecc0): monitor owner: "main"
unknown key (key=0x71918): monitor owner: "main"
Registered Monitor Dump:
Finalize me queue lock: unowned
Waiting to be notified:
"Finalizer thread"
Thread queue lock: unowned
Class lock: unowned
Java stack lock: unowned
Code rewrite lock: unowned
Heap lock: unowned
Has finalization queue lock: unowned
Monitor IO lock: unowned
Child death monitor: unowned
Event monitor: unowned
I/O monitor: unowned
Alarm monitor: unowned
Waiting to be notified:
"clock handler"
Sbrk lock: unowned
Monitor cache lock: unowned
Monitor registry: monitor owner: "main"
Thread Alarm Q:
sys_thread_t 0xef4c0de8 [Timeout in 852 ms]
Segmentation Fault
[sweh]/usr/local/java/demo/TicTacToe
System is Sparc 4 running Solaris 2.4 11/94 release.
My shell is ksh (this causes some problems where my $ENV contents turn
on things like noclobber - how about using the -p flag on the #! line to
disable $ENV parsing?)
Same error happens if I login as 'root' and run standard Openwin with
no special environment config.
rgds
Stephen
Script started on Fri Sep 29 16:47:08 1995
[sweh]/usr/local/java
mercury.pts/4% bin/appletviewer demo/GraphLayout/example1.html
Thread-5 find class Graph
Opening stream to: file:/usr/local/java/demo/GraphLayout/Graph.class to get Graph
Thread-5 find class GraphPanel
Opening stream to: file:/usr/local/java/demo/GraphLayout/GraphPanel.class to get GraphPanel
Thread-5 find class Node
Opening stream to: file:/usr/local/java/demo/GraphLayout/Node.class to get Node
Thread-5 find class Edge
Opening stream to: file:/usr/local/java/demo/GraphLayout/Edge.class to get Edge
[sweh]/usr/local/java
mercury.pts/4% # Hey, that worked!
[sweh]/usr/local/java
mercury.pts/4% bin/appletviewer http://java.sun.com/JDK-prebeta1/applets/NervousText/example1.html
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Error 0
si_code [1]: SEGV_ACCERR [addr: 0xc]
stackbase=EFFFF9D4, stackpointer=EFFFC3C8
Full thread dump:
"Finalizer thread" (TID:0xee300620, sys_thread_t:0xef490de8) prio=1
"Async Garbage Collector" (TID:0xee3005d0, sys_thread_t:0xef4c0de8) prio=1
"Idle thread" (TID:0xee300558, sys_thread_t:0xef4f0de8) prio=0
"clock handler" (TID:0xee300098, sys_thread_t:0xef5b0de8) prio=11
"main" (TID:0xee300048, sys_thread_t:0x60148) prio=5 *current thread*
java.net.InetAddress.getByName(InetAddress.java)
java.net.InetAddress.<clinit>(InetAddress.java)
java.net.PlainSocketImpl.connect(PlainSocketImpl.java)
java.net.Socket.<init>(Socket.java)
java.net.Socket.<init>(Socket.java)
sun.net.NetworkClient.openServer(NetworkClient.java:47)
sun.net.www.http.HttpClient.openServer(HttpClient.java:124)
sun.net.www.http.HttpClient.get(HttpClient.java:225)
sun.net.www.http.HttpClient.handleUrl(HttpClient.java:423)
sun.net.www.http.HttpClient.<init>(HttpClient.java:452)
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:56)
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:124)
java.net.URL.openStream(URL.java)
sun.applet.AppletViewer.parse(AppletViewer.java:496)
sun.applet.AppletViewer.main(AppletViewer.java:590)
Monitor Cache Dump:
unknown key (key=0x8f618): monitor owner: "main"
unknown key (key=0x8f318): monitor owner: "main"
unknown key (key=0xef4c0de8): unowned
Waiting to be notified:
"Async Garbage Collector"
java.lang.Class@EE301AF8/8F318 (key=0xee301af8): monitor owner: "main"
unknown key (key=0x92be0): monitor owner: "main"
www.http.HttpClient@EE301A50'>sun.net.www.http.HttpClient@EE301A50/EE339558 (key=0xee301a50): monitor owner: "main"
Registered Monitor Dump:
Finalize me queue lock: unowned
Waiting to be notified:
"Finalizer thread"
Thread queue lock: unowned
Class lock: unowned
Java stack lock: unowned
Code rewrite lock: unowned
Heap lock: unowned
Has finalization queue lock: unowned
Monitor IO lock: unowned
Child death monitor: unowned
Event monitor: unowned
I/O monitor: unowned
Alarm monitor: unowned
Waiting to be notified:
"clock handler"
Sbrk lock: unowned
Monitor cache lock: unowned
Monitor registry: monitor owner: "main"
Thread Alarm Q:
sys_thread_t 0xef4c0de8 [Timeout in 331 ms]
Segmentation Fault
[sweh]/usr/local/java
mercury.pts/4% # Oops!
[sweh]/usr/local/java
mercury.pts/4% cd demo/TicTacToe
[sweh]/usr/local/java/demo/TicTacToe
mercury.pts/4% ../../bin/appletviewer -debug example1.html
Loading jdb ...
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Error 0
si_code [1]: SEGV_ACCERR [addr: 0xc]
stackbase=EFFFF9B4, stackpointer=EFFFC3A0
Full thread dump:
"Finalizer thread" (TID:0xee300620, sys_thread_t:0xef490de8) prio=1
"Async Garbage Collector" (TID:0xee3005d0, sys_thread_t:0xef4c0de8) prio=1
"Idle thread" (TID:0xee300558, sys_thread_t:0xef4f0de8) prio=0
"clock handler" (TID:0xee300098, sys_thread_t:0xef5b0de8) prio=11
"main" (TID:0xee300048, sys_thread_t:0x60148) prio=5 *current thread*
java.net.InetAddress.getByName(InetAddress.java)
java.net.InetAddress.<clinit>(InetAddress.java)
java.tools.ttydebug.TTY.main(TTY.java:1145)
Monitor Cache Dump:
unknown key (key=0xef4c0de8): unowned
Waiting to be notified:
"Async Garbage Collector"
unknown key (key=0x6fc18): monitor owner: "main"
java.lang.Class@EE3007B0/6FC18 (key=0xee3007b0): monitor owner: "main"
unknown key (key=0x6ecc0): monitor owner: "main"
unknown key (key=0x71918): monitor owner: "main"
Registered Monitor Dump:
Finalize me queue lock: unowned
Waiting to be notified:
"Finalizer thread"
Thread queue lock: unowned
Class lock: unowned
Java stack lock: unowned
Code rewrite lock: unowned
Heap lock: unowned
Has finalization queue lock: unowned
Monitor IO lock: unowned
Child death monitor: unowned
Event monitor: unowned
I/O monitor: unowned
Alarm monitor: unowned
Waiting to be notified:
"clock handler"
Sbrk lock: unowned
Monitor cache lock: unowned
Monitor registry: monitor owner: "main"
Thread Alarm Q:
sys_thread_t 0xef4c0de8 [Timeout in 852 ms]
Segmentation Fault
[sweh]/usr/local/java/demo/TicTacToe
- duplicates
-
JDK-1222935 (fp.bugs 1931) putmsg assert failed at iomgr.c line 628
- Closed