Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2004 07:20:28 +0800
From:      Huang wen hui <hwh@gddsn.org.cn>
Cc:        java@freebsd.org
Subject:   Re: java/61392: javaws from jdk-1.4.2p6 SEGV on startup
Message-ID:  <4007203C.9000808@gddsn.org.cn>
In-Reply-To: <200401152116.i0FLGahR049780@happy-idiot-talk.infracaninophile.co.uk>
References:  <200401152116.i0FLGahR049780@happy-idiot-talk.infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Seaman дµÀ:

>>Number:         61392
>>Category:       java
>>Synopsis:       javaws from jdk-1.4.2p6 SEGV on startup
>>Confidential:   no
>>Severity:       serious
>>Priority:       medium
>>Responsible:    freebsd-java
>>State:          open
>>Quarter:        
>>Keywords:       
>>Date-Required:
>>Class:          sw-bug
>>Submitter-Id:   current-users
>>Arrival-Date:   Thu Jan 15 13:20:16 PST 2004
>>Closed-Date:
>>Last-Modified:
>>Originator:     Matthew Seaman
>>Release:        FreeBSD 4.9-STABLE i386
>>Organization:
>>    
>>
>Infracaninophile
>  
>
>>Environment:
>>    
>>
>System: FreeBSD happy-idiot-talk.infracaninophile.co.uk 4.9-STABLE FreeBSD 4.9-STABLE #48: Sat Jan 10 11:20:34 GMT 2004 root@happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386
>
>
>
>  
>
>>Description:
>>    
>>
>
>The Java WebStart application javaws from JDK 1.4.2p6 dies repeatably
>almost immediately on startup with a segmentation violation:
>
>arbitrary:...j2sdk-image/jre/javaws:% ./javaws
>Segmentation fault (core dumped)
>arbitrary:...j2sdk-image/jre/javaws:% gdb javawsbin -c javawsbin.core 
>GNU gdb 4.18 (FreeBSD)
>Copyright 1998 Free Software Foundation, Inc.
>GDB is free software, covered by the GNU General Public License, and you are
>welcome to change it and/or distribute copies of it under certain conditions.
>Type "show copying" to see the conditions.
>There is absolutely no warranty for GDB.  Type "show warranty" for details.
>This GDB was configured as "i386-unknown-freebsd"...
>(no debugging symbols found)...
>Core was generated by `javawsbin'.
>Program terminated with signal 11, Segmentation fault.
>Reading symbols from /usr/X11R6/lib/libX11.so.6...
>(no debugging symbols found)...done.
>Reading symbols from /usr/lib/libc_r.so.4...(no debugging symbols found)...
>done.
>Reading symbols from /usr/X11R6/lib/libXThrStub.so.6...
>(no debugging symbols found)...done.
>Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...
>done.
>#0  0x281d5a21 in _thread_leave_cancellation_point () from /usr/lib/libc_r.so.4
>(gdb) bt
>#0  0x281d5a21 in _thread_leave_cancellation_point () from /usr/lib/libc_r.so.4
>#1  0x281d5d51 in _thread_leave_cancellation_point () from /usr/lib/libc_r.so.4
>#2  0x281d64a1 in malloc () from /usr/lib/libc_r.so.4
>#3  0x80519b8 in ReadFileToBuffer ()
>#4  0x804e511 in parsePropertyFile ()
>#5  0x804b20f in LoadCfgFile ()
>#6  0x804b16e in LoadConfigurationFile ()
>#7  0x80498de in main ()
>#8  0x804975a in _start ()
>(gdb) info frame
>Stack level 0, frame at 0xbfbff340:
> eip = 0x281d5a21 in _thread_leave_cancellation_point; saved eip 0x281d5d51
> called by frame at 0xbfbff370
> Arglist at 0xbfbff340, args: 
> Locals at 0xbfbff340, Previous frame's sp is 0x0
> Saved registers:
>  ebx at 0xbfbff328, ebp at 0xbfbff340, eip at 0xbfbff344
>
>That's from a JDK compiled -DWITH_DEBUG: exactly the same crash
>happens with or without -DWITH_DEBUG.
>
>  
>
>>How-To-Repeat:
>>    
>>
>
>  
>
>>Fix:
>>    
>>
>
>Not known.  Happy to provide core files etc. on request.
>  
>
create /etc/.java/.deployment/deployment.properties and
~user/.java/.deployment/deployment.properties manually
can fix this problem.

>
>  
>
>>Release-Note:
>>Audit-Trail:
>>Unformatted:
>>    
>>
>_______________________________________________
>freebsd-java@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-java
>To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"
>  
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4007203C.9000808>