Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
application "unexpectedly quits" loading library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

application "unexpectedly quits" loading library



My application has suddenly started 'unexpectedly quitting' on a call to System.loadLibrary() - on some machines.
(stack trace below)
Why would this happen on some machines not others - all updates / OS versions are the same?

Rebooting doesn't help.
The library in question is a jnilib that has been functioning beautifully since January on all machines, and none of the code has changed.
It's loaded in a static method in the appropriate class.
It only contains C fileIO functions - no Carbon or Cocoa or anything 'complicated'.
Any ideas? Workarounds?
Searching the list archives has drawn a blank.

mlw

**********


Exception: EXC_BREAKPOINT (0x0006)
Code[0]: 0x00000001Code[1]: 0x8fe01280

Thread 0:
#0 0x90073ba8 in mach_msg_trap
#1 0x90005ed0 in mach_msg
#2 0x9283ddf4 in JVM_NewInstance
#3 0x9285eb40 in JVM_FillInStackTrace
#4 0x92908b4c in JNI_GetCreatedJavaVMs_Impl
#5 0x9290860c in JNI_GetCreatedJavaVMs_Impl
#6 0x92b12d00 in launchJavaApplication
#7 0x000043f0 in 0x43f0
#8 0x00004270 in 0x4270

Thread 1:
#0 0x90073ba8 in mach_msg_trap
#1 0x90005ed0 in mach_msg
#2 0x928ec28c in JNI_CreateJavaVM_Impl
#3 0x928ec224 in JNI_CreateJavaVM_Impl
#4 0x928a51fc in JVM_GetClassMethodsCount
#5 0x90020c28 in _pthread_body

Thread 2:
#0 0x90073ba8 in mach_msg_trap
#1 0x90005ed0 in mach_msg
#2 0x9283ddf4 in JVM_NewInstance
#3 0x9285eae4 in JVM_FillInStackTrace
#4 0x9285a430 in JVM_GetCPMethodNameUTF
#5 0x9286482c in JVM_Send
#6 0x9290114c in JNI_CreateJavaVM_Impl
#7 0x928a51fc in JVM_GetClassMethodsCount
#8 0x90020c28 in _pthread_body

Thread 3:
#0 0x90073ba8 in mach_msg_trap
#1 0x90005ed0 in mach_msg
#2 0x9283ddf4 in JVM_NewInstance
#3 0x92845d80 in JVM_ArrayCopy
#4 0x9285d620 in JVM_MonitorNotify
#5 0x9285e2f8 in JVM_MonitorWait
#6 0x0225f03c in 0x225f03c
#7 0x02260940 in 0x2260940
#8 0x0210068c in 0x210068c
#9 0xa2843c38 in _ZTSSt13bad_exception
#10 0x92838bdc in JVM_CurrentTimeMillis
#11 0x92878c28 in JVM_FindClassFromClass
#12 0x92892c90 in JVM_IsSameClassPackage
#13 0x9288cf70 in JVM_GetMethodIxExceptionTableEntry
#14 0x928787a0 in JVM_FindClassFromClass
#15 0x928a51fc in JVM_GetClassMethodsCount
#16 0x90020c28 in _pthread_body

Thread 4:
#0 0x90073ba8 in mach_msg_trap
#1 0x90005ed0 in mach_msg
#2 0x9283ddf4 in JVM_NewInstance
#3 0x92845d80 in JVM_ArrayCopy
#4 0x9285d620 in JVM_MonitorNotify
#5 0x9285e2f8 in JVM_MonitorWait
#6 0x0225f03c in 0x225f03c
#7 0x02250688 in 0x2250688
#8 0x02250408 in 0x2250408
#9 0x021005cc in 0x21005cc
#10 0xa2843c38 in _ZTSSt13bad_exception
#11 0x92838bdc in JVM_CurrentTimeMillis
#12 0x92878c28 in JVM_FindClassFromClass
#13 0x92892c90 in JVM_IsSameClassPackage
#14 0x9288cf70 in JVM_GetMethodIxExceptionTableEntry
#15 0x928787a0 in JVM_FindClassFromClass
#16 0x928a51fc in JVM_GetClassMethodsCount
#17 0x90020c28 in _pthread_body

Thread 5:
#0 0x90073ba8 in mach_msg_trap
#1 0x90005ed0 in mach_msg
#2 0x9283de9c in JVM_NewInstance
#3 0x92844e18 in JVM_GetClassLoader
#4 0x92844ba4 in JVM_GetClassLoader
#5 0x928a51fc in JVM_GetClassMethodsCount
#6 0x90020c28 in _pthread_body

Thread 6:
#0 0x90073ba8 in mach_msg_trap
#1 0x90005ed0 in mach_msg
#2 0x9283ddf4 in JVM_NewInstance
#3 0x9285eb40 in JVM_FillInStackTrace
#4 0x92903300 in JVM_InitProperties
#5 0x92903138 in JVM_InitProperties
#6 0x928787a0 in JVM_FindClassFromClass
#7 0x928a51fc in JVM_GetClassMethodsCount
#8 0x90020c28 in _pthread_body

Thread 7:
#0 0x90073ba8 in mach_msg_trap
#1 0x90005ed0 in mach_msg
#2 0x9283ddf4 in JVM_NewInstance
#3 0x9285eb40 in JVM_FillInStackTrace
#4 0x9288890c in JVM_StartThread
#5 0x92876c10 in JVM_FindLoadedClass
#6 0x928787a0 in JVM_FindClassFromClass
#7 0x928a51fc in JVM_GetClassMethodsCount
#8 0x90020c28 in _pthread_body

Thread 8:
#0 0x90073ba8 in mach_msg_trap
#1 0x90005ed0 in mach_msg
#2 0x9283ddf4 in JVM_NewInstance
#3 0x9284ee30 in JVM_GetCPMethodClassNameUTF
#4 0x92861b2c in JVM_Send
#5 0x9289190c in JVM_MonitorNotifyAll
#6 0x940b17fc in LockRelease
#7 0x940b0f04 in _Z22ReleaseRunLoopObserverP19__CFRunLoopObserver17CFRunLoopActivityPv
#8 0x90148464 in __CFRunLoopDoObservers
#9 0x9014881c in __CFRunLoopRun
#10 0x90180f58 in CFRunLoopRunSpecific
#11 0x969a3b70 in RunCurrentEventLoopInMode
#12 0x969b3b00 in ReceiveNextEventCommon
#13 0x969f2b5c in _AcquireNextEvent
#14 0x96ab4cf8 in RunApplicationEventLoop
#15 0x940b1444 in _Z26initializeStandaloneThreadi
#16 0x90020c28 in _pthread_body

Thread 9:
#0 0x90073ba8 in mach_msg_trap
#1 0x90005ed0 in mach_msg
#2 0x9283ddf4 in JVM_NewInstance
#3 0x92842284 in JVM_GetClassName
#4 0x928a2bcc in JVM_Close
#5 0x928a4888 in JVM_GetClassContext
#6 0x940b17a8 in LockAcquire
#7 0x02246118 in 0x2246118
#8 0x02245f10 in 0x2245f10
#9 0x0210068c in 0x210068c
#10 0x0210068c in 0x210068c
#11 0x0210086c in 0x210086c
#12 0x0210086c in 0x210086c
#13 0x0210068c in 0x210068c
#14 0x0210068c in 0x210068c
#15 0x0210068c in 0x210068c
#16 0x0210086c in 0x210086c
#17 0x0210086c in 0x210086c
#18 0x0210086c in 0x210086c
#19 0x0210086c in 0x210086c
#20 0x0210068c in 0x210068c
#21 0x0210068c in 0x210068c
#22 0x022618d4 in 0x22618d4
#23 0x0225cda8 in 0x225cda8
#24 0x0210068c in 0x210068c
#25 0x0225f448 in 0x225f448
#26 0x02258d80 in 0x2258d80
#27 0x02258728 in 0x2258728
#28 0x021005cc in 0x21005cc
#29 0x0210068c in 0x210068c
#30 0x0210068c in 0x210068c
#31 0xa2843c38 in _ZTSSt13bad_exception
#32 0x92838bdc in JVM_CurrentTimeMillis
#33 0x92878c28 in JVM_FindClassFromClass
#34 0x92892c90 in JVM_IsSameClassPackage
#35 0x9288cf70 in JVM_GetMethodIxExceptionTableEntry
#36 0x928787a0 in JVM_FindClassFromClass
#37 0x928a51fc in JVM_GetClassMethodsCount
#38 0x90020c28 in _pthread_body

Thread 10:
#0 0x90073ba8 in mach_msg_trap
#1 0x90005ed0 in mach_msg
#2 0x9283ddf4 in JVM_NewInstance
#3 0x92845d80 in JVM_ArrayCopy
#4 0x9285d620 in JVM_MonitorNotify
#5 0x9285e2f8 in JVM_MonitorWait
#6 0x0225f03c in 0x225f03c
#7 0x02260940 in 0x2260940
#8 0x0210068c in 0x210068c
#9 0xa2843c38 in _ZTSSt13bad_exception
#10 0x92838bdc in JVM_CurrentTimeMillis
#11 0x92878c28 in JVM_FindClassFromClass
#12 0x92892c90 in JVM_IsSameClassPackage
#13 0x9288cf70 in JVM_GetMethodIxExceptionTableEntry
#14 0x928787a0 in JVM_FindClassFromClass
#15 0x928a51fc in JVM_GetClassMethodsCount
#16 0x90020c28 in _pthread_body

Thread 11:
#0 0x90000d6c in read
#1 0x0439fe34 in DeviceIoControl
#2 0x043a7830 in _ZN6CIOCtl9IoControlER13_IoctlRequestRm
#3 0x0439da14 in _Z14GetPointerDataPiP12_PointerData
#4 0x0439dd5c in _Z22_ReadPointerDataThreadPv
#5 0x9025e364 in PrivateMPEntryPoint
#6 0x90020c28 in _pthread_body

Thread 12:
#0 0x90073ba8 in mach_msg_trap
#1 0x90005ed0 in mach_msg
#2 0x9283ddf4 in JVM_NewInstance
#3 0x92845d80 in JVM_ArrayCopy
#4 0x9285d620 in JVM_MonitorNotify
#5 0x9285e2f8 in JVM_MonitorWait
#6 0x0225f03c in 0x225f03c
#7 0x02260940 in 0x2260940
#8 0x0210068c in 0x210068c
#9 0xa2843c38 in _ZTSSt13bad_exception
#10 0x92838bdc in JVM_CurrentTimeMillis
#11 0x92878c28 in JVM_FindClassFromClass
#12 0x92892c90 in JVM_IsSameClassPackage
#13 0x9288cf70 in JVM_GetMethodIxExceptionTableEntry
#14 0x928787a0 in JVM_FindClassFromClass
#15 0x928a51fc in JVM_GetClassMethodsCount
#16 0x90020c28 in _pthread_body

Thread 13:
#0 0x90073ba8 in mach_msg_trap
#1 0x90005ed0 in mach_msg
#2 0x9283ddf4 in JVM_NewInstance
#3 0x92845d80 in JVM_ArrayCopy
#4 0x9285d620 in JVM_MonitorNotify
#5 0x9285e2f8 in JVM_MonitorWait
#6 0x0225f03c in 0x225f03c
#7 0x02260940 in 0x2260940
#8 0x0210068c in 0x210068c
#9 0x021005cc in 0x21005cc
#10 0xa2843c38 in _ZTSSt13bad_exception
#11 0x92838bdc in JVM_CurrentTimeMillis
#12 0x92878c28 in JVM_FindClassFromClass
#13 0x92892c90 in JVM_IsSameClassPackage
#14 0x9288cf70 in JVM_GetMethodIxExceptionTableEntry
#15 0x928787a0 in JVM_FindClassFromClass
#16 0x928a51fc in JVM_GetClassMethodsCount
#17 0x90020c28 in _pthread_body

Thread 14:
#0 0x90073ba8 in mach_msg_trap
#1 0x90005ed0 in mach_msg
#2 0x9283ddf4 in JVM_NewInstance
#3 0x92845d80 in JVM_ArrayCopy
#4 0x9285d620 in JVM_MonitorNotify
#5 0x9285e2f8 in JVM_MonitorWait
#6 0x0225f03c in 0x225f03c
#7 0x02260940 in 0x2260940
#8 0x0210068c in 0x210068c
#9 0x021005cc in 0x21005cc
#10 0xa2843c38 in _ZTSSt13bad_exception
#11 0x92838bdc in JVM_CurrentTimeMillis
#12 0x92878c28 in JVM_FindClassFromClass
#13 0x92892c90 in JVM_IsSameClassPackage
#14 0x9288cf70 in JVM_GetMethodIxExceptionTableEntry
#15 0x928787a0 in JVM_FindClassFromClass
#16 0x928a51fc in JVM_GetClassMethodsCount
#17 0x90020c28 in _pthread_body

Thread 15:
#0 0x90073ba8 in mach_msg_trap
#1 0x90005ed0 in mach_msg
#2 0x9283ddf4 in JVM_NewInstance
#3 0x92845d80 in JVM_ArrayCopy
#4 0x9285d620 in JVM_MonitorNotify
#5 0x9285e2f8 in JVM_MonitorWait
#6 0x02102668 in 0x2102668
#7 0x0210068c in 0x210068c
#8 0x0210086c in 0x210086c
#9 0xa2843c38 in _ZTSSt13bad_exception
#10 0x92838bdc in JVM_CurrentTimeMillis
#11 0x92878c28 in JVM_FindClassFromClass
#12 0x92892c90 in JVM_IsSameClassPackage
#13 0x9288cf70 in JVM_GetMethodIxExceptionTableEntry
#14 0x928787a0 in JVM_FindClassFromClass
#15 0x928a51fc in JVM_GetClassMethodsCount
#16 0x90020c28 in _pthread_body

Thread 16:
#0 0x90073ba8 in mach_msg_trap
#1 0x90005ed0 in mach_msg
#2 0x9283de9c in JVM_NewInstance
#3 0x92845d80 in JVM_ArrayCopy
#4 0x9285d620 in JVM_MonitorNotify
#5 0x9285e2f8 in JVM_MonitorWait
#6 0x02102668 in 0x2102668
#7 0x0210068c in 0x210068c
#8 0x021005cc in 0x21005cc
#9 0x0210068c in 0x210068c
#10 0xa2843c38 in _ZTSSt13bad_exception
#11 0x92838bdc in JVM_CurrentTimeMillis
#12 0x92878c28 in JVM_FindClassFromClass
#13 0x92892c90 in JVM_IsSameClassPackage
#14 0x9288cf70 in JVM_GetMethodIxExceptionTableEntry
#15 0x928787a0 in JVM_FindClassFromClass
#16 0x928a51fc in JVM_GetClassMethodsCount
#17 0x90020c28 in _pthread_body

Thread 17:
#0 0x90073ba8 in mach_msg_trap
#1 0x90005ed0 in mach_msg
#2 0x9283ddf4 in JVM_NewInstance
#3 0x9284ee30 in JVM_GetCPMethodClassNameUTF
#4 0x92861b2c in JVM_Send
#5 0x92844df4 in JVM_GetClassLoader
#6 0x9290a3a4 in JVM_Sleep
#7 0x02102668 in 0x2102668
#8 0x0210068c in 0x210068c
#9 0xa2843c38 in _ZTSSt13bad_exception
#10 0x92838bdc in JVM_CurrentTimeMillis
#11 0x92878c28 in JVM_FindClassFromClass
#12 0x92892c90 in JVM_IsSameClassPackage
#13 0x9288cf70 in JVM_GetMethodIxExceptionTableEntry
#14 0x928787a0 in JVM_FindClassFromClass
#15 0x928a51fc in JVM_GetClassMethodsCount
#16 0x90020c28 in _pthread_body

Thread 18 Crashed:
#0 0x8fe01280 in halt
#1 0x8fe0329c in load_library_image
#2 0x8fe06134 in load_images_libraries
#3 0x8fe04478 in map_bundle_image
#4 0x8fe1209c in _dyld_link_module
#5 0x900169c8 in NSLinkModule
#6 0x928d54d4 in JVM_GetSockName
#7 0x92903c68 in JVM_LoadLibrary
#8 0x93dc7268 in Java_java_lang_ClassLoader_00024NativeLibrary_load
#9 0x02102668 in 0x2102668
#10 0x0210068c in 0x210068c
#11 0x021005cc in 0x21005cc
#12 0x0210068c in 0x210068c
#13 0x0210068c in 0x210068c
#14 0x0210068c in 0x210068c
#15 0x0210068c in 0x210068c
#16 0xa2843c38 in _ZTSSt13bad_exception
#17 0x92838bdc in JVM_CurrentTimeMillis
#18 0x92872ed4 in JVM_GetCPClassNameUTF
#19 0x9288f144 in JVM_MonitorNotifyAll
#20 0x9285fd68 in JVM_GetCPFieldSignatureUTF
#21 0x92844a98 in JVM_GetClassLoader
#22 0x928386e8 in JVM_CurrentTimeMillis
#23 0x02108f08 in 0x2108f08
#24 0xa2843c38 in _ZTSSt13bad_exception
#25 0x92838bdc in JVM_CurrentTimeMillis
#26 0x92878c28 in JVM_FindClassFromClass
#27 0x92892c90 in JVM_IsSameClassPackage
#28 0x9288cf70 in JVM_GetMethodIxExceptionTableEntry
#29 0x928787a0 in JVM_FindClassFromClass
#30 0x928a51fc in JVM_GetClassMethodsCount
#31 0x90020c28 in _pthread_body

PPC Thread State:
srr0: 0x8fe01280 srr1: 0x0002f030 vrsave: 0x00000000
xer: 0x20000000 lr: 0x8fe0a064 ctr: 0x8fe28f78 mq: 0x00000000
r0: 0x00000004 r1: 0xf0a12540 r2: 0x24004284 r3: 0x000000c1
r4: 0x00000000 r5: 0x000000c1 r6: 0x0000290a r7: 0x726e6f20
r8: 0x66696c65 r9: 0x00000000 r10: 0xf0a122bb r11: 0x00000026
r12: 0x8fe71ae9 r13: 0x04722410 r14: 0x00107490 r15: 0x93dc721c
r16: 0xf0a13380 r17: 0x6e546770 r18: 0xf0a133c4 r19: 0xf0a13368
r20: 0x6e01d5c8 r21: 0x00000000 r22: 0x00000000 r23: 0x00000000
r24: 0x000101f0 r25: 0x00000002 r26: 0x00000002 r27: 0x00000000
r28: 0x052984d8 r29: 0x00000000 r30: 0x8fe484d8 r31: 0x8fe09ecc
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.