Crash in OSXAPP_SetApplicationDelegate
Anthony Petrov
anthony.petrov at oracle.com
Tue May 22 06:50:17 PDT 2012
Hi Marco,
Thanks for the heads-up. This actually looks like a bug in AWT code.
We'll look into it.
--
best regards,
Anthony
On 5/22/2012 5:22 PM, Marco Dinacci wrote:
> Hi,
>
> I've a Swing application that I packaged as a Mac bundle (.app). If I
> open the .app the application by dbl-clicking on its icon it works
> perfectly fine but if I open it by clicking on a registered file or
> from a terminal by writing:
>
> $ open -a myapp file
>
> the jvm crash in OSXAPP_SetApplicationDelegate.
>
> I just submitted a bug, which will be found here:
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7170716
> The problem is not in my app as I can reproduce it with a simple test
> case with just one line of AWT code.
>
> I paste here some debug informations from the log:
>
> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> 0 libsystem_kernel.dylib 0x00007fff8d05ece2 __pthread_kill + 10
> 1 libsystem_c.dylib 0x00007fff86daf7d2 pthread_kill + 95
> 2 libsystem_c.dylib 0x00007fff86da0a7a abort + 143
> 3 libjvm.dylib 0x000000010c795439 os::abort(bool) + 25
> 4 libjvm.dylib 0x000000010c881690
> VMError::report_and_die() + 2306
> 5 libjvm.dylib 0x000000010c796b15
> JVM_handle_bsd_signal + 1047
> 6 libsystem_c.dylib 0x00007fff86e01cfa _sigtramp + 26
> 7 ??? 0x000000010c11de00 0 + 4497464832
> 8 libosxapp.dylib 0x0000000115ca25fc
> OSXAPP_SetApplicationDelegate + 153
> 9 liblwawt.dylib 0x0000000115bff02b __+[AWTStarter
> start:swtMode:swtModeForWebStart:]_block_invoke_1 + 111
> 10 JavaNativeFoundation 0x00000001153c1545 +[JNFRunLoop
> _performDirectBlock:] + 12
>
>
> Any informations on how to fix this problem are very welcome.
>
> Thanks,
> Marco
More information about the macosx-port-dev
mailing list