Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2002 12:18:22 -0700
From:      Stacy Millions <stacy@millions.ca>
To:        "FreeBSD Java mailing list (E-mail)" <freebsd-java@FreeBSD.ORG>
Subject:   Re: 1.3.1p6 dies sigbus with threads
Message-ID:  <3C7BDF7E.D8645D7@millions.ca>
References:  <59063B5B4D98D311BC0D0001FA7E452205FDA3A4@l04.research.kpn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------C0FBC2234DC01CBBA975584F
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


"Koster, K.J." wrote:
> 
> Dear All, and Bill Huey in particular, :)
> 
> I can make 1.3.1p6 fall onto it's face by creating threads 

Another data point, I have a simple test program that has the same
result (as my kids would say, "java goes 'trip, thud'") just by using
SecureRandom (who fires of a whole load of threads). You have to
run it about 50 times, but eventually it will dump core. I made
it a Swing app to get the additional AWT and friends threads to help
speed up the "trip, thud" process.

The problem existed in p5 as well (actually, I think it happens less
often in p6, but I don't have any hard data to back that up).
Unfortunately, I have not had time to debug it farther.

-stacy

-- 
You'll see it's all a show. Keep 'em laughing as you go. 
Just remember that the last laugh is on you. 
        - Monty Python _The Life Of Brian_

Stacy Millions                                       stacy@millions.ca
Millions Consulting Limited
--------------C0FBC2234DC01CBBA975584F
Content-Type: application/x-unknown-content-type-PFE32;
 name="SecureRandomTest.java"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename="SecureRandomTest.java"

CmltcG9ydCBqYXZhLmlvLio7CmltcG9ydCBqYXZhLnNlY3VyaXR5Lio7CmltcG9ydCBqYXZh
eC5zd2luZy4qOwoKcHVibGljIGNsYXNzIFNlY3VyZVJhbmRvbVRlc3QgZXh0ZW5kcyBKRnJh
bWUKCXsKCUpMYWJlbCBtZXNzYWdlID0gbnVsbDsKCglwdWJsaWMgU2VjdXJlUmFuZG9tVGVz
dCgpCgkJewoJCXN1cGVyKCJTZWN1cmUgUmFuZG9tIFRlc3QiKTsKCQltZXNzYWdlID0gbmV3
IEpMYWJlbCgpOwoJCWdldENvbnRlbnRQYW5lKCkuYWRkKG1lc3NhZ2UpOwoJCXNldEJvdW5k
cygxMDAsIDEwMCwgNTAwLCAyNTApOwoJCXNldFZpc2libGUodHJ1ZSk7CgkJfQoKCXB1Ymxp
YyB2b2lkIHVwZGF0ZU1lc3NhZ2UoU3RyaW5nIHMpCgkJewoJCW1lc3NhZ2Uuc2V0VGV4dChz
KTsKCQlTeXN0ZW0ub3V0LnByaW50bG4ocyk7CgkJfQoKCXB1YmxpYyBzdGF0aWMgdm9pZCBt
YWluKFN0cmluZyBbXSBhKQoJCXsKCQlTZWN1cmVSYW5kb21UZXN0IHNydCA9IG5ldyBTZWN1
cmVSYW5kb21UZXN0KCk7CgoJCXRyeSB7CgkJCXNydC51cGRhdGVNZXNzYWdlKCJnZXR0aW5n
IGtleSBwYWlyIGdlbmVyYXRvciIpOwoJCQlLZXlQYWlyR2VuZXJhdG9yIGtwZyA9IEtleVBh
aXJHZW5lcmF0b3IuZ2V0SW5zdGFuY2UoIkRTQSIpOwoJCQlzcnQudXBkYXRlTWVzc2FnZSgi
aW5pdGlhbGl6aW5nIGtleSBwYWlyIGdlbmVyYXRvciIpOwoJCQlrcGcuaW5pdGlhbGl6ZSgx
MDI0LCBuZXcgU2VjdXJlUmFuZG9tKCkpOwoKCQkJc3J0LnVwZGF0ZU1lc3NhZ2UoImdlbmVy
YXRpbmcga2V5IHBhaXIiKTsKCQkJS2V5UGFpciBrcCA9IGtwZy5nZW5lcmF0ZUtleVBhaXIo
KTsKCgkJCXNydC51cGRhdGVNZXNzYWdlKCJkb25lIik7CgkJCX0KCQljYXRjaChFeGNlcHRp
b24gZSkKCQkJewoJCQlTeXN0ZW0uZXJyLnByaW50bG4oIkNhdWdodCBleGNlcHRpb246ICIg
KyBlKTsKCQkJZS5wcmludFN0YWNrVHJhY2UoKTsKCQkJfQoJCVN5c3RlbS5leGl0KDApOwoJ
CX0KCX0K

--------------C0FBC2234DC01CBBA975584F
Content-Type: text/plain; charset=us-ascii;
 name="javacore.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="javacore.txt"

getting key pair generator
initializing key pair generator
generating key pair
SIGBUS    10*  bus error

Full thread dump Classic VM (1.3.1-p6-stacy-020214-09:37, green threads):
    "SeedGenerator Thread" (TID:0x28ea2f08, sys_thread_t:0x85c1880, state:R) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28ea2b30, sys_thread_t:0x85f6c80, state:R) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28ea0428, sys_thread_t:0x85c1080, state:CW) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28ea0148, sys_thread_t:0x8597a80, state:CW) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28e9ec18, sys_thread_t:0x8597e80, state:CW) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28e9e680, sys_thread_t:0x85f6a80, state:CW) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28e6cd90, sys_thread_t:0x85f6880, state:CW) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28e6cd78, sys_thread_t:0x85f6680, state:CW) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28e6cd60, sys_thread_t:0x85f6480, state:CW) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28e6cd40, sys_thread_t:0x85f6280, state:CW) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28e6cd28, sys_thread_t:0x85f6080, state:CW) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28e6cd10, sys_thread_t:0x85cae80, state:CW) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28e6e870, sys_thread_t:0x85cac80, state:CW) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28e6e858, sys_thread_t:0x85caa80, state:R) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28e6e840, sys_thread_t:0x85ca880, state:R) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28e6e828, sys_thread_t:0x85ca680, state:R) prio=1
	at java.lang.Runtime.gc(Native Method)
	at java.lang.System.gc(System.java:723)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:323)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28e70f38, sys_thread_t:0x8584a80, state:R) prio=1
	at sun.security.provider.SeedGenerator.run(SeedGenerator.java:117)
	at java.lang.Thread.run(Thread.java:484)
    "AWT-Motif" (TID:0x28eacfe8, sys_thread_t:0x8468680, state:CW) prio=6
	at sun.awt.motif.MToolkit.run(Native Method)
	at java.lang.Thread.run(Thread.java:484)
    "SunToolkit.PostEventQueue-0" (TID:0x28e70d48, sys_thread_t:0x841ce80, state:R) prio=6
	at sun.awt.PostEventQueue.run(SunToolkit.java:485)
    "AWT-EventQueue-0" (TID:0x28e70e38, sys_thread_t:0x841cc80, state:R) prio=6
	at sun.awt.motif.MComponentPeer.nativeHandleEvent(Native Method)
	at sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:361)
	at java.awt.Component.dispatchEventImpl(Component.java:2663)
	at java.awt.Container.dispatchEventImpl(Container.java:1213)
	at java.awt.Window.dispatchEventImpl(Window.java:914)
	at java.awt.Component.dispatchEvent(Component.java:2497)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
    "Finalizer" (TID:0x28e7a528, sys_thread_t:0x80d4080, state:CW) prio=8
	at java.lang.Object.wait(Native Method)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123)
	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162)
    "Reference Handler" (TID:0x28e7a300, sys_thread_t:0x8096480, state:CW) prio=10
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:420)
	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)
    "Signal dispatcher" (TID:0x28e7a330, sys_thread_t:0x8096280, state:CW) prio=5
    "main" (TID:0x28e7a1b0, sys_thread_t:0x8054080, state:CW) prio=5
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:420)
	at sun.security.provider.SeedGenerator._getByte(SeedGenerator.java:174)
	at sun.security.provider.SeedGenerator.getByte(SeedGenerator.java:164)
	at sun.security.provider.SecureRandom.engineGenerateSeed(SecureRandom.java:117)
	at sun.security.provider.SecureRandom.engineNextBytes(SecureRandom.java:175)
	at java.security.SecureRandom.nextBytes(SecureRandom.java:329)
	at java.security.SecureRandom.next(SecureRandom.java:351)
	at java.util.Random.nextInt(Random.java:181)
	at sun.security.provider.DSAKeyPairGenerator.generateX(DSAKeyPairGenerator.java:328)
	at sun.security.provider.DSAKeyPairGenerator.generateKeyPair(DSAKeyPairGenerator.java:294)
	at sun.security.provider.DSAKeyPairGenerator.generateKeyPair(DSAKeyPairGenerator.java:288)
	at SecureRandomTest.main(SecureRandomTest.java:36)
Monitor Cache Dump:
    java.security.SecureRandom@28EA0570/29001618: owner "main" (0x8054080) 1 entry
    sun.security.provider.SecureRandom@28E9DEC8/29001830: owner "main" (0x8054080) 1 entry
    java.lang.ref.ReferenceQueue$Lock@28E7A540/28EB0478: <unowned>
	Waiting to be notified:
	    "Finalizer" (0x80d4080)
    java.lang.ref.Reference$Lock@28E7A310/28EAFF98: <unowned>
	Waiting to be notified:
	    "Reference Handler" (0x8096480)
    sun.awt.PostEventQueue@28E70D48/28FAA618: owner "SunToolkit.PostEventQueue-0" (0x841ce80) 0 entries
    java.lang.Class@28EA5C58/28F86B40: owner "AWT-EventQueue-0" (0x841cc80) 0 entries
    sun.security.provider.SeedGenerator@28E9DBD8/29001DF8: <unowned>
	Waiting to be notified:
	    "main" (0x8054080)
Registered Monitor Dump:
    utf8 hash table: <unowned>
    JNI pinning lock: <unowned>
    JNI global reference lock: <unowned>
    BinClass lock: <unowned>
    Class linking lock: <unowned>
    System class loader lock: <unowned>
    Code rewrite lock: <unowned>
    Heap lock: <unowned>
    Monitor cache lock: owner <unknown thread> (0x8054280) 1 entry
    Dynamic loading lock: <unowned>
    Monitor IO lock: <unowned>
    User signal monitor: <unowned>
	Waiting to be notified:
	    "Signal dispatcher" (0x8096280)
    Child death monitor: <unowned>
    I/O monitor: <unowned>
	Waiting to be notified:
	    "AWT-Motif" (0x8468680)
    Alarm monitor: owner <unknown thread> (0x8054280) 1 entry
    Thread queue lock: owner <unknown thread> (0x8054280) 1 entry
    Monitor registry: owner <unknown thread> (0x8054280) 1 entry

SIGABRT   6*   abort (generated by abort(3) routine)

Full thread dump Classic VM (1.3.1-p6-stacy-020214-09:37, green threads):
    "SeedGenerator Thread" (TID:0x28ea2f08, sys_thread_t:0x85c1880, state:R) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28ea2b30, sys_thread_t:0x85f6c80, state:R) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28ea0428, sys_thread_t:0x85c1080, state:CW) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28ea0148, sys_thread_t:0x8597a80, state:CW) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28e9ec18, sys_thread_t:0x8597e80, state:CW) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28e9e680, sys_thread_t:0x85f6a80, state:CW) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28e6cd90, sys_thread_t:0x85f6880, state:CW) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28e6cd78, sys_thread_t:0x85f6680, state:CW) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28e6cd60, sys_thread_t:0x85f6480, state:CW) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28e6cd40, sys_thread_t:0x85f6280, state:CW) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28e6cd28, sys_thread_t:0x85f6080, state:CW) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28e6cd10, sys_thread_t:0x85cae80, state:CW) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28e6e870, sys_thread_t:0x85cac80, state:CW) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28e6e858, sys_thread_t:0x85caa80, state:R) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28e6e840, sys_thread_t:0x85ca880, state:R) prio=1
	at java.lang.Thread.sleep(Native Method)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:322)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28e6e828, sys_thread_t:0x85ca680, state:R) prio=1
	at java.lang.Runtime.gc(Native Method)
	at java.lang.System.gc(System.java:723)
	at sun.security.provider.SeedGenerator$BogusThread.run(SeedGenerator.java:323)
	at java.lang.Thread.run(Thread.java:484)
    "SeedGenerator Thread" (TID:0x28e70f38, sys_thread_t:0x8584a80, state:R) prio=1
	at sun.security.provider.SeedGenerator.run(SeedGenerator.java:117)
	at java.lang.Thread.run(Thread.java:484)
    "AWT-Motif" (TID:0x28eacfe8, sys_thread_t:0x8468680, state:CW) prio=6
	at sun.awt.motif.MToolkit.run(Native Method)
	at java.lang.Thread.run(Thread.java:484)
    "SunToolkit.PostEventQueue-0" (TID:0x28e70d48, sys_thread_t:0x841ce80, state:R) prio=6
	at sun.awt.PostEventQueue.run(SunToolkit.java:485)
    "AWT-EventQueue-0" (TID:0x28e70e38, sys_thread_t:0x841cc80, state:R) prio=6
	at sun.awt.motif.MComponentPeer.nativeHandleEvent(Native Method)
	at sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:361)
	at java.awt.Component.dispatchEventImpl(Component.java:2663)
	at java.awt.Container.dispatchEventImpl(Container.java:1213)
	at java.awt.Window.dispatchEventImpl(Window.java:914)
	at java.awt.Component.dispatchEvent(Component.java:2497)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
    "Finalizer" (TID:0x28e7a528, sys_thread_t:0x80d4080, state:CW) prio=8
	at java.lang.Object.wait(Native Method)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123)
	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162)
    "Reference Handler" (TID:0x28e7a300, sys_thread_t:0x8096480, state:CW) prio=10
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:420)
	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)
    "Signal dispatcher" (TID:0x28e7a330, sys_thread_t:0x8096280, state:CW) prio=5
    "main" (TID:0x28e7a1b0, sys_thread_t:0x8054080, state:CW) prio=5
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:420)
	at sun.security.provider.SeedGenerator._getByte(SeedGenerator.java:174)
	at sun.security.provider.SeedGenerator.getByte(SeedGenerator.java:164)
	at sun.security.provider.SecureRandom.engineGenerateSeed(SecureRandom.java:117)
	at sun.security.provider.SecureRandom.engineNextBytes(SecureRandom.java:175)
	at java.security.SecureRandom.nextBytes(SecureRandom.java:329)
	at java.security.SecureRandom.next(SecureRandom.java:351)
	at java.util.Random.nextInt(Random.java:181)
	at sun.security.provider.DSAKeyPairGenerator.generateX(DSAKeyPairGenerator.java:328)
	at sun.security.provider.DSAKeyPairGenerator.generateKeyPair(DSAKeyPairGenerator.java:294)
	at sun.security.provider.DSAKeyPairGenerator.generateKeyPair(DSAKeyPairGenerator.java:288)
	at SecureRandomTest.main(SecureRandomTest.java:36)
Monitor Cache Dump:
    java.security.SecureRandom@28EA0570/29001618: owner "main" (0x8054080) 1 entry
    sun.security.provider.SecureRandom@28E9DEC8/29001830: owner "main" (0x8054080) 1 entry
    java.lang.ref.ReferenceQueue$Lock@28E7A540/28EB0478: <unowned>
	Waiting to be notified:
	    "Finalizer" (0x80d4080)
    java.lang.ref.Reference$Lock@28E7A310/28EAFF98: <unowned>
	Waiting to be notified:
	    "Reference Handler" (0x8096480)
    sun.awt.PostEventQueue@28E70D48/28FAA618: owner "SunToolkit.PostEventQueue-0" (0x841ce80) 0 entries
    java.lang.Class@28EA5C58/28F86B40: owner "AWT-EventQueue-0" (0x841cc80) 0 entries
    sun.security.provider.SeedGenerator@28E9DBD8/29001DF8: <unowned>
	Waiting to be notified:
	    "main" (0x8054080)
Registered Monitor Dump:
    utf8 hash table: <unowned>
    JNI pinning lock: <unowned>
    JNI global reference lock: <unowned>
    BinClass lock: <unowned>
    Class linking lock: <unowned>
    System class loader lock: <unowned>
    Code rewrite lock: <unowned>
    Heap lock: <unowned>
    Monitor cache lock: owner <unknown thread> (0x8054280) 1 entry
    Dynamic loading lock: <unowned>
    Monitor IO lock: <unowned>
    User signal monitor: <unowned>
	Waiting to be notified:
	    "Signal dispatcher" (0x8096280)
    Child death monitor: <unowned>
    I/O monitor: <unowned>
	Waiting to be notified:
	    "AWT-Motif" (0x8468680)
    Alarm monitor: owner <unknown thread> (0x8054280) 1 entry
    Thread queue lock: owner <unknown thread> (0x8054280) 1 entry
    Monitor registry: owner <unknown thread> (0x8054280) 1 entry

Abort (core dumped) 


--------------C0FBC2234DC01CBBA975584F
Content-Type: text/plain; charset=us-ascii;
 name="javagdb.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="javagdb.txt"

: bonsai$; gdb /usr/local/jdk1.3.1/jre/bin/i386/green_threads/java java.core 
GNU gdb 4.18
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 `java'.
Program terminated with signal 6, Abort trap.
Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libc.so.4...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libm.so.2...(no debugging symbols found)...done.
Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/libverify.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/libjava.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/libzip.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/libawt.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/libmlib_image.so...(no debugging symbols found)...done.
Reading symbols from /usr/X11R6/lib/libXm.so.2...(no debugging symbols found)...done.
Reading symbols from /usr/X11R6/lib/libXp.so.6...(no debugging symbols found)...done.
Reading symbols from /usr/X11R6/lib/libXt.so.6...(no debugging symbols found)...done.
Reading symbols from /usr/X11R6/lib/libXext.so.6...(no debugging symbols found)...done.
Reading symbols from /usr/X11R6/lib/libSM.so.6...(no debugging symbols found)...done.
Reading symbols from /usr/X11R6/lib/libICE.so.6...(no debugging symbols found)...done.
Reading symbols from /usr/X11R6/lib/libXtst.so.6...(no debugging symbols found)...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6...(no debugging symbols found)...done.
Reading symbols from /usr/X11R6/lib/libXThrStub.so.6...(no debugging symbols found)...done.
Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/libfontmanager.so...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libstdc++.so.3...(no debugging symbols found)...done.
Reading symbols from /usr/X11R6/lib/X11/locale/common/xlcDef.so.2...(no debugging symbols found)...done.
Reading symbols from /usr/X11R6/lib/X11/locale/common/ximcp.so.2...(no debugging symbols found)...done.
Reading symbols from /usr/local/jdk1.3.1/jre/lib/i386/libnet.so...(no debugging symbols found)...done.
Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...done.
#0  0x280b6994 in kill () from /usr/lib/libc.so.4
(gdb) bt
#0  0x280b6994 in kill () from /usr/lib/libc.so.4
#1  0x280f2b35 in abort () from /usr/lib/libc.so.4
#2  0x28160ad9 in Abort () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so
#3  0x28189a9f in panicHandler () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so
#4  0x28076647 in userSignalHandler () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so
#5  0x28076600 in intrDispatch () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so
#6  0x2806f917 in intrDispatchMD () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so
#7  0xbfbfffac in ?? ()
#8  0x28073c5d in reschedule () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so
#9  0x28073500 in queueWait () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so
#10 0x28073ac9 in sysMonitorWait () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so
#11 0x28071f3b in poll () from /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi.so
#12 0x2dff6879 in performPoll () from /usr/local/jdk1.3.1/jre/lib/i386/libawt.so
#13 0x2dff677f in waitForEvents () from /usr/local/jdk1.3.1/jre/lib/i386/libawt.so
#14 0x2dff6482 in awt_MToolkit_loop () from /usr/local/jdk1.3.1/jre/lib/i386/libawt.so
#15 0x2dff7339 in Java_sun_awt_motif_MToolkit_run () from /usr/local/jdk1.3.1/jre/lib/i386/libawt.so
#16 0x28160bd0 in invoke_V_V () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so
#17 0x281586c0 in invokeLazyNativeMethod () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so
#18 0x28191766 in found_it6 () from /usr/local/jdk1.3.1/jre/lib/i386/classic/libjvm.so
#19 0x0 in ?? ()
(gdb) 


--------------C0FBC2234DC01CBBA975584F--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C7BDF7E.D8645D7>