• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Help fixing crash on Mac OS 10.3.9

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I hope I'm posting this under the right category.

I develop an java application for my company each year for its meeting, and this is the third year I'll have to do this. A few weeks ago I noticed that the applications I developed for the last two years can not start anymore on the Mac (version 10.3.9). They all just crashed, even though they have worked very well before. No one else but me uses this Mac and I just perform the standard software updates that are released by Apple. The crash message starts with "An unexpected exception has been detected in native code outside the VM". Does this mean something wrong with my java application (then how could it work before then?) or the Mac's JRE (Java HotSpot Client VM: 1.4.2-56 mixed mode) had some problems? Is there anyway I can fix this? I even did a manual update for the Java on Mac (JavaSecurityUpdate4.dmg) but that did not make any difference.

A little background info on the java application installation: I used InstallAnywhere Standard Edition 7.0 to build the installation program and it works without any bugs on the Mac. You can NOT bundle your own JRE with your java appliaction during the installation for the Mac, the java app has to use the system's default JRE from Apple. So there is no custom JRE involved for my java application in this case.

Thank you in advance for ANY help/hints,
Chen

The following is the crash report:
The following error report describes the Java stack information at the crash.
The native stack information can be found in the crash log generated by CrashReporter.

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : Bus Error occurred at PC=0x908311EC
Function=[Unknown.]
Library=/usr/lib/libobjc.A.dylib

NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.


Current Java thread:
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
- locked <0x5f40270> (a java.util.Vector)
- locked <0x5f402c0> (a java.util.Vector)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1503)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
- locked <0x5f52ab8> (a java.lang.Runtime)
at java.lang.System.loadLibrary(System.java:834)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
at java.awt.Component.<clinit>(Component.java:506)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at com.zerog.lax.LAX.launch(DashoA8113)
at com.zerog.lax.LAX.main(DashoA8113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)

Dynamic libraries and executable:
[0x00002568-0x00002a24] /Applications/ASHG 2005 Meeting Resources/ASHG 2005 Meeting Resources.app/Contents/MacOS/ASHG 2005 Meeting Resources
[0x901c1630-0x9025b524] /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
[0x900008e0-0x90121d30] /usr/lib/libSystem.B.dylib
[0x968d14ac-0x969a3b7c] /usr/lib/libicucore.A.dylib
[0x939d0eb4-0x939d257c] /usr/lib/system/libmathCommon.A.dylib
[0x80ea30ec-0x80eb1894] /System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Versions/A/JavaApplicationLauncher
[0x953aff2c-0x953b26c4] /System/Library/Frameworks/JavaVM.framework/Versions/A/JavaVM
[0x90810ea8-0x90810f58] /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
[0x947243a0-0x94951c40] /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
[0x90a215f0-0x90b47720] /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
[0x985573a8-0x98987008] /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
[0x92728168-0x927581cc] /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
[0x96b51448-0x96bd2564] /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
[0x913a0b64-0x913f7444] /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
[0x9646db70-0x966ee6f0] /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
[0x90700eb4-0x90700f64] /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
[0x916e1504-0x9174eca8] /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
[0x915e1740-0x9167c258] /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
[0x912e16b8-0x912f4fd4] /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
[0x908c6148-0x909099a4] /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
[0x96e12e28-0x96e214e8] /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
[0x92071308-0x9209007c] /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent
[0x924310d0-0x92461ee0] /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
[0x90d40ec0-0x90d40f70] /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
[0x90702964-0x9074eaa4] /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
[0x94efe680-0x94f86d80] /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
[0x953a85dc-0x953a8f90] /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
[0x8fc90f1c-0x8fc90fd0] /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
[0x920c0e54-0x922324e0] /System/Library/Frameworks/Security.framework/Versions/A/Security
[0x90585040-0x905e1144] /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
[0x90d008f4-0x90d166f0] /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
[0x80a51464-0x80abae74] /usr/lib/libstdc++.6.dylib
[0x80c80bb4-0x80c882c0] /usr/lib/libgcc_s.1.dylib
[0x73230b54-0x732339c8] /usr/lib/libmx.A.dylib
[0x80831330-0x808eeaf8] /usr/lib/libxml2.2.dylib
[0x908311e0-0x9083de7c] /usr/lib/libobjc.A.dylib
[0x9805be4c-0x982f5128] /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
[0x945b0834-0x945b857c] /usr/lib/libz.1.dylib
[0x917e0e40-0x917ece8c] /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
[0x909415e4-0x90995918] /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
[0x907cc7c4-0x907d42bc] /usr/lib/libbsm.dylib
[0x902b0d0c-0x90371000] /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
[0x90611af0-0x9067a5d8] /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
[0x927f1124-0x92822148] /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
[0x946ee3b8-0x94701d28] /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore
[0x94651134-0x9469e0b8] /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
[0x939a0940-0x939b1198] /usr/lib/libcups.2.dylib
[0x91281458-0x912c7e20] /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
[0x95e0ae9c-0x95e16ed8] /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
[0x91990b68-0x91999808] /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
[0x96c008f0-0x96c7c490] /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
[0x92782740-0x9278b86c] /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
[0x95ec3410-0x95ed6794] /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
[0x94b8e3c0-0x94bc9110] /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
[0x91303df4-0x9135b7fc] /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
[0x952eea48-0x953448b8] /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
[0x91ada244-0x91af0fb8] /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
[0x917fd328-0x91806db8] /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
[0x96e80b78-0x96e80ca8] /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
[0x8c3e5510-0x8c516b64] /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
[0x76c02b50-0x76c02c80] /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
[0x96cb0780-0x96cc4aa8] /usr/lib/libiconv.2.dylib
[0x907f1260-0x907f8ac4] /System/Library/PrivateFrameworks/DiskArbitration.framework/Versions/A/DiskArbitration
[0x90c335cc-0x90c437f4] /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
[0x91967830-0x919712e0] /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
[0x91b10ba8-0x91b25890] /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libPDFRIP.A.dylib
[0x91b512ac-0x91b5bb5c] /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libPSRIP.A.dylib
[0x91b814f8-0x91b91854] /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
[0x94610d18-0x94627514] /usr/lib/libresolv.9.dylib
[0x96aa0718-0x96ac7628] /usr/lib/libssl.0.9.7.dylib
[0x976054c4-0x976a957c] /usr/lib/libcrypto.0.9.7.dylib
[0x95f005e8-0x95f1e0f4] /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
[0x95e4062c-0x95e98034] /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
[0x954c0d00-0x95ac1cb4] /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
[0x95b2100c-0x95debd7c] /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
[0x96f215d0-0x9713a390] /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Libraries/libjvm.dylib
[0x971d0b6c-0x971d9214] /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Libraries/libverify.dylib
[0x971a1560-0x971b77a4] /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Libraries/libjava.jnilib
[0x80d40754-0x80d4a2c8] /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Libraries/libzip.jnilib
[0x78023e8c-0x78024888] /System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Versions/A/Resources/liblauncher.jnilib
[0x8107191c-0x81137170] /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Libraries/libawt.jnilib
[0x90ec0ec8-0x90ec0f78] /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
[0x93b3de0c-0x93bb3370] /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
[0x80fd0c6c-0x80fd31c8] /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Libraries/libfontmanager.jnilib
[0x919a40f4-0x91a0590c] /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
[0x97be94ec-0x97e29fcc] /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/WebCore
[0x806c07d0-0x806e2360] /usr/lib/libxslt.1.dylib

Local Time = Fri Aug 11 23:14:24 2006
Elapsed Time = 845
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2-56 mixed mode)
#
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It looks to me like it had problems loading this library:

/usr/lib/libobjc.A.dylib

I think that's a core library for OS X, so if it was corrupt there'd be other problems; but make sure it's readable by your process.
[ August 16, 2006: Message edited by: Ulf Dittmer ]
 
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just for your info.

You can have this problem of you try to access variables in two diffrent threads and use commons library or some other libraries and trying to update JTree, JTable, menus or other GUI's.

Check your code again or post some code where the exception happens. In a thread, click or some other input action
 
Yi Chen
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,

Thank you all for the wonderful help and hints. I was able to solve the problem after googling for several hours. Apparently QuickTime player 7.0.1 above (not include 7.0.1) has created problems for java applications on Mac 10.3.9. I think the official solution is to upgrade OS to 10.4.X. The unoffical way is to downgrade QT player all the way to 7.0.1. I chose the downgrade and it worked for me. Both current java app and previous two years' java apps are working again. Instruction on downgrade QT player is at http://www.bannister.org/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=26;t=004540;p=0
The link will take a while to load.

Thanks,
Chen
[ August 18, 2006: Message edited by: Yi Chen ]
 
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Glad you found a solution.

For future reference, note that we have a special forum for Mac OS topics.
 
Won't you be my neighbor? - Fred Rogers. tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic