Oxygen crashes on Mac OS X

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Wolfhart
Posts: 37
Joined: Tue Mar 27, 2007 5:46 am

Oxygen crashes on Mac OS X

Post by Wolfhart »

Hi,

I am running Oxygen 8.2 on Mac OS 10.4 and J2SE 5.0. Sometimes, Oxygen crashes (it quits) for no apparent reason, for example when opening a file that opened without problems earlier on and that opens again without problems after relaunching Oxygen. In the last days, these crashes have become so frequent that I can no longer ignore the problem. Does anyone know what may cause the crashes and how I may solve the problem? Also, is there a way to find out which files were opened when Oxygen crashed? (When relaunching Oxygen after a crash, it does not reopen the files but starts as a blank slate.)

Thanks,
Wolfhart
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Oxygen crashes on Mac OS X

Post by sorin_ristache »

Hello,

Can you remember what updates or applications you installed before the crashes started to be more frequent?

Do you have the latest Java update and the latest security updates installed on your Mac OS 10.4 machine? If not please install them.

Do you have the accessibility features of OS X enabled (in System Preferences -> Universal Access, specially Voice Over)? Please disable the accessibility features when you run Java applications on your Mac machine.

If these tips do not stop the crashes please post a fragment of the crash log where we can see the thread that crashed and the stack trace of the thread that crashed.


Regards,
Sorin
Wolfhart
Posts: 37
Joined: Tue Mar 27, 2007 5:46 am

Re: Oxygen crashes on Mac OS X

Post by Wolfhart »

Sorin,

Thanks for the reply!

> Can you remember what updates or applications you installed before the crashes started to be more frequent?

I have not installed any updates or applications recently, and I cannot remember when Oxygen crashed for the first time.

> Do you have the latest Java update and the latest security updates installed on your Mac OS 10.4 machine?

The Software Update feature of Mac OS does not offer any new updates (apart from iTunes and Safari, which I refuse to install).

All accessibility features are disabled.

Please find below the relevant fragment of the crash log:

-------------------------------
Date/Time: 2008-07-19 00:47:48.332 +0200
OS Version: 10.4.11 (Build 8S2167)
Report Version: 4

Command: JavaApplicationStub
Path: /Applications/oxygen/Oxygen.app/Contents/MacOS/JavaApplicationStub
Parent: WindowServer [59]

Version: 8.2 (10.2)

PID: 262
Thread: 0

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Thread 0 Crashed:
0 libobjc.A.dylib 0x90a594c7 objc_msgSend + 23
1 com.apple.AppKit 0x932f276e -[NSView displayIfNeeded] + 439
2 com.apple.AppKit 0x932f2512 -[NSWindow displayIfNeeded] + 168
3 com.apple.AppKit 0x93342798 _handleWindowNeedsDisplay + 206
4 com.apple.CoreFoundation 0x9082dce2 __CFRunLoopDoObservers + 342
5 com.apple.CoreFoundation 0x9082cd84 CFRunLoopRunSpecific + 827
6 com.apple.CoreFoundation 0x9082ca42 CFRunLoopRunInMode + 61
7 com.apple.HIToolbox 0x92df1878 RunCurrentEventLoopInMode + 285
8 com.apple.HIToolbox 0x92df0eb9 ReceiveNextEventCommon + 184
9 com.apple.HIToolbox 0x92df0dd9 BlockUntilNextEventMatchingListInMode + 81
10 com.apple.AppKit 0x93276f45 _DPSNextEvent + 572
11 com.apple.AppKit 0x93276b37 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 137
12 com.apple.AppKit 0x932708c4 -[NSApplication run] + 512
13 libawt.jnilib 0x9b5e9360 +[AWTStarter startAWT:] + 1967
14 com.apple.Foundation 0x92812431 __NSFireMainThreadPerform + 352
15 com.apple.CoreFoundation 0x90860375 __CFRunLoopPerformPerform + 82
16 com.apple.CoreFoundation 0x9082cf06 CFRunLoopRunSpecific + 1213
17 com.apple.CoreFoundation 0x9082ca42 CFRunLoopRunInMode + 61
18 ...ple.JavaApplicationLauncher 0x97b5fbc3 startupJava(int, int, char const* const*, __CFDictionary const*, BuilderVersion, char const*, char const**) + 373
19 ...ple.JavaApplicationLauncher 0x97b5da96 launchJavaApplication + 264
20 ro.sync.exml.Oxygen 0x00002c11 0x1000 + 7185
21 ro.sync.exml.Oxygen 0x000028d6 0x1000 + 6358
22 ro.sync.exml.Oxygen 0x000027f1 0x1000 + 6129

[...]

Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x932f2c45 ecx: 0x938ca3e8 edx: 0x3339f5a0
edi: 0x00000008 esi: 0x00000001 ebp: 0xbfffdd98 esp: 0xbfffdd24
ss: 0x0000001f efl: 0x00010206 eip: 0x90a594c7 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037

[...]
-----------------------------------

Does this help?
Wolfhart
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Oxygen crashes on Mac OS X

Post by sorin_ristache »

Do you get a crash if you start Oxygen with a command

Code: Select all

sh oxygenMac.sh
executed from a command line in the Oxygen install folder? Is an error displayed in the command line console in case you get a crash? Is the crash log similar (the same crashed thread, a similar same stack trace of the crashed thread)?


Regards,
Sorin
Wolfhart
Posts: 37
Joined: Tue Mar 27, 2007 5:46 am

Re: Oxygen crashes on Mac OS X

Post by Wolfhart »

[quote="sorin"]Do you get a crash if you start Oxygen with a command

[code]sh oxygenMac.sh[/code]

executed from a command line in the Oxygen install folder?[/quote]


No, Oxygen starts normally and seems to function normally.


Wolfhart
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Oxygen crashes on Mac OS X

Post by sorin_ristache »

In that case replace the file Oxygen.app/Contents/MacOS/JavaApplicationStub with the file /System/Library/Frameworks/JavaVM.framework/Versions/Current/Resources/MacOS/JavaApplicationStub and start Oxygen again by double clicking on the Oxygen icon. You can open Oxygen.app/Contents by Cmd+clicking on the Oxygen icon and selecting Show Package Contents. Does Oxygen start up normally now?


Regards,
Sorin
Wolfhart
Posts: 37
Joined: Tue Mar 27, 2007 5:46 am

Re: Oxygen crashes on Mac OS X

Post by Wolfhart »

Yes, Oxygen starts up normally after replacing the said file and seems to function normally.

Thanks,
Wolfhart
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Oxygen crashes on Mac OS X

Post by sorin_ristache »

I don't understand how the JavaApplicationStub was corrupted somehow but replacing it with a local version available on the computer where Oxygen runs is a solution in such cases.


Regards,
Sorin
Wolfhart
Posts: 37
Joined: Tue Mar 27, 2007 5:46 am

Re: Oxygen crashes on Mac OS X

Post by Wolfhart »

Alright. Thanks, Sorin!
One more thing: Do you know the answer to the other question I asked in the original post: Is there a way to find out which files were opened when Oxygen crashes?
Wolfhart
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Oxygen crashes on Mac OS X

Post by sorin_ristache »

No, it is not possible to know the files that were opened at the crash. You can know only the files that are opened when the application is closed normally.

What is your Java version? You can find it in the java.vm.version property in the Help -> About dialog of Oxygen, the System properties tab. Can you send us your JavaApplicationStub file in order to compare it with our file to see the differences?


Thank you,
Sorin
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Oxygen crashes on Mac OS X

Post by sorin_ristache »

Thank you for the file. We may include the latest JavaApplicationStub (from Java 1.5.0_13) in future distributions of Oxygen. It is handled better by the new versions of Apple's Java virtual machine.


Thank you,
Sorin
Post Reply