Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Java for Mac OS X 10.5 Update 4 broke my app ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Java for Mac OS X 10.5 Update 4 broke my app ...

... with a SIGSEGV in the AppKit daemon.  It is fully reproducible.

It seems to be something to do with native menus, because if set apple.laf.useScreenMenuBar to false the crash does not occur.

Some of the menu-handling code is old and maybe a bit crufty, so maybe it's something I'm doing, but I have no clue how to debug this. I guess I need to file a bug report, too.

(Hopefully relevant) bits of the crash log are below.

Thanks for any suggestions, Nick

Process: drive.web savvy [316]
Path: /Users/tcournow/Desktop/drive.web MacOS/drive.web savvy
Identifier: http___driveweb.com_tech_ap_v3_bardac.jnlp
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: launchd [114]

Interval Since Last Report:          3437 sec
Crashes Since Last Report:           1
Per-App Interval Since Last Report:  167 sec
Per-App Crashes Since Last Report:   1

Date/Time:       2009-06-16 08:49:43.859 -0400
OS Version:      Mac OS X 10.5.7 (9J61)
Report Version:  6
Anonymous UUID:  483F1388-F4EB-426B-B5CB-00A27FC87504

Exception Codes: KERN_INVALID_ADDRESS at 0x00000000f875897b
Crashed Thread:  0

Application Specific Information:

Java information:
Version: Java HotSpot(TM) Client VM (1.5.0_16-135 mixed mode, sharing)
Virtual Machine version: Java HotSpot(TM) Client VM (1.5.0_16-135) for macosx-x86, built on May 1 2009 09:56:47 by root with gcc 4.0.1 (Apple Inc. build 5465)
Exception type: Bus Error (0xa) at pc=0x90d63688

Current thread (0x0100bd20): JavaThread "AWT-AppKit" daemon [_thread_in_native, id=-1603168480]
Stack: [0xbf800000,0xc0000000)
Java Threads: ( => current thread )
0x0106c1f0 JavaThread "Slave poller" daemon [_thread_blocked, id=397692928]
0x0106aba0 JavaThread "Master poller" daemon [_thread_blocked, id=397707264]
0x01066020 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=373923840]
0x0104d600 JavaThread "Comms Daemon" daemon [_thread_in_native, id=373538304]
0x01034680 JavaThread "TimerQueue" daemon [_thread_blocked, id=10294272]
0x0101e260 JavaThread "Timer-0" daemon [_thread_blocked, id=9481216]
0x0101be50 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=9350144]
0x0100cfd0 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=9033216]
0x01016be0 JavaThread "AWT-EventQueue-1" [_thread_blocked, id=9318912]
0x01017020 JavaThread "AWT-Shutdown" [_thread_blocked, id=9315328]
0x0100dec0 JavaThread "CacheCleanUpThread" daemon [_thread_blocked, id=9007616]
0x0100dcd0 JavaThread "CacheMemoryCleanUpThread" daemon [_thread_blocked, id=9004032]
0x0100d780 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=9053184]
0x01001610 JavaThread "DestroyJavaVM" [_thread_blocked, id=-1333784576]
0x0100cd10 JavaThread "Javaws Secure Thread" daemon [_thread_blocked, id=9026048]
=>0x0100bd20 JavaThread "AWT-AppKit" daemon [_thread_in_native, id=-1603168480]
0x01009420 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=8491008]
0x01008a10 JavaThread "CompilerThread0" daemon [_thread_blocked, id=8487424]
0x01008520 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=8483840]
0x01007d80 JavaThread "Finalizer" daemon [_thread_blocked, id=8473600]
0x010079c0 JavaThread "Reference Handler" daemon [_thread_blocked, id=8467456]
Other Threads:
0x01007110 VMThread [id=8463872]
0x0100abb0 WatcherThread [id=8494592]

VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None

def new generation total 6848K, used 4104K [0x1d5a0000, 0x1dd00000, 0x1e950000)
eden space 6144K, 55% used [0x1d5a0000, 0x1d8f2050, 0x1dba0000)
from space 704K, 100% used [0x1dba0000, 0x1dc50000, 0x1dc50000)
to space 704K, 0% used [0x1dc50000, 0x1dc50000, 0x1dd00000)
tenured generation total 90752K, used 88637K [0x1e950000, 0x241f0000, 0x2d5a0000)
the space 90752K, 97% used [0x1e950000, 0x23fdf470, 0x23fdf600, 0x241f0000)
compacting perm gen total 10240K, used 10235K [0x2d5a0000, 0x2dfa0000, 0x315a0000)
the space 10240K, 99% used [0x2d5a0000, 0x2df9ecb8, 0x2df9ee00, 0x2dfa0000)
ro space 8192K, 63% used [0x315a0000, 0x31ab9018, 0x31ab9200, 0x31da0000)
rw space 12288K, 43% used [0x31da0000, 0x322d1160, 0x322d1200, 0x329a0000)

Virtual Machine arguments:
JVM args: -Xbootclasspath/a:/System/Library/PrivateFrameworks/ JavaApplicationLauncher.framework/Resources/LauncherSupport.jar - Xbootclasspath/a:/System/Library/Frameworks/JavaVM.framework/Versions/ 1.6.0/Home/lib/deploy.jar:/System/Library/Frameworks/JavaVM.framework/ Versions/1.6.0/Home/lib/javaws.jar -Xverify:remote -DtrustProxy=true - Djnlpx.remove=false -Djnlpx.jvm=/System/Library/Frameworks/ JavaVM.framework/Versions/1.5.0/Home/bin/java -Djnlpx.home=/System/ Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin - Versions/1.6.0/Home/lib/security/javaws.policy -Xms100663296 -Xmx268435456 -Djnlpx.offline=false - Djnlpx.heapsize=100663296,268435456 -Dapple.laf.useScreenMenuBar=true - Djnlpx.relaunch=true
Java command: <unknown>
launcher type: generic

Thread 0 Crashed:
0 libobjc.A.dylib 0x90d63688 objc_msgSend + 24
1 0x919221b0 menuRefHasParentMenu + 45
2 0x912e196d AddCarbonMenu + 149
3 0x912e4c7c _NSUpdateMenuRefWithAddedMenuItem + 75
4 0x912da7ed -[NSMenu insertItem:atIndex:] + 678
5 0x912db72c -[NSMenu addItem:] + 67
6 libawt.jnilib 0x060f05e8 -[CMenuBar _nativeAddMenuAtIndex:] + 416
7 libawt.jnilib 0x060e1d06 -[CPerformer perform] + 281
8 0x926b89bc __NSThreadPerformPerform + 476
9 0x948b7595 CFRunLoopRunSpecific + 3141
10 0x948b7c78 CFRunLoopRunInMode + 88
11 0x93f6428c RunCurrentEventLoopInMode + 283
12 0x93f640a5 ReceiveNextEventCommon + 374
13 0x93f63f19 BlockUntilNextEventMatchingListInMode + 106
14 0x912e5d0d _DPSNextEvent + 657
15 0x912e55c0 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
16 0x912de5fb -[NSApplication run] + 795
17 libawt.jnilib 0x060e24e9 +[AWTStarter startAWT:] + 1941
18 libawt.jnilib 0x060e1d06 -[CPerformer perform] + 281
19 0x926b89bc __NSThreadPerformPerform + 476
20 0x948b7595 CFRunLoopRunSpecific + 3141
21 0x948b7c78 CFRunLoopRunInMode + 88
22 ...ple.JavaApplicationLauncher 0x00013e42 startupJava(LauncherArgsStruct*) + 308
23 ...ple.JavaApplicationLauncher 0x000135e8 launchJavaApplication + 1396
24 ....com_tech_ap_v3_bardac.jnlp 0x00001e8a 0x1000 + 3722
25 ....com_tech_ap_v3_bardac.jnlp 0x00001cec 0x1000 + 3308
26 ....com_tech_ap_v3_bardac.jnlp 0x00001c19 0x1000 + 3097

_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden

Visit the Apple Store online or at retail locations.

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.