WebView problems
WebView problems
- Subject: WebView problems
- From: Chris Swain <email@hidden>
- Date: Sat, 07 Jan 2012 20:13:52 +0000
I have an application that has a webview into which I load a local file. The file contains a java applet used to display a molecular structure. This works fine under Mac OS X 10.6.x but since I upgraded to 10.7.2 but has become unreliable. It will load OK a couple of times and then it crashes.
I'm not sure if the problem is the webview or the java applet,
Any pointers appreciated.
Chris
The error message in the console is:-
Process: WebKitPluginHost [23745]
Path: /System/Library/Frameworks/WebKit.framework/WebKitPluginHost.app/Contents/MacOS/WebKitPluginHost
Identifier: com.apple.WebKit.PluginHost
Version: 7534 (7534.51.13)
Build Info: WebKitPluginHost-7534051013000000~17
Code Type: X86-64 (Native)
Parent Process: WebKitPluginAgent [23744]
Date/Time: 2012-01-07 20:05:47.307 +0000
OS Version: Mac OS X 10.7.2 (11C74)
Report Version: 9
Crashed Thread: 0 Java: AWT-AppKit Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000000000000e
VM Regions Near 0xe:
-->
__TEXT 000000010e26b000-000000010e292000 [ 156K] r-x/rwx SM=COW /System/Library/Frameworks/WebKit.framework/WebKitPluginHost.app/Contents/MacOS/WebKitPluginHost
Application Specific Information:
objc_msgSend() selector name: bounds
objc[23745]: garbage collection is OFF
Java information:
Exception type: Bus Error (0xa) at pc=7fff8f3c16cc
Java VM: Java HotSpot(TM) 64-Bit Server VM (20.4-b02-402 mixed mode macosx-amd64)
Current thread (7f827c001800): JavaThread "AWT-AppKit" [_thread_in_native, id=2080393568, stack(7fff6d66b000,7fff6de6b000)]
Stack: [7fff6d66b000,7fff6de6b000]
Java Threads: ( => current thread )
7f827c8a5000 JavaThread "AWT-Shutdown" [_thread_blocked, id=355303424, stack(1151d8000,1152d8000)]
7f827c0ca800 JavaThread "JVM[id=2]-Heartbeat" [_thread_blocked, id=360026112, stack(115659000,115759000)]
7f827c0c9800 JavaThread "JRE 1.6.0.29 Worker Thread" [_thread_blocked, id=372379648, stack(116221000,116321000)]
7f827c29a000 JavaThread "JRE 1.6.0.29 Output Reader Thread" [_thread_in_native, id=371318784, stack(11611e000,11621e000)]
7f827c93c800 JavaThread "JRE 1.6.0.29 Output Reader Thread" [_thread_in_native, id=370257920, stack(11601b000,11611b000)]
7f827c82f000 JavaThread "Thread-5" [_thread_blocked, id=369197056, stack(115f18000,116018000)]
7f827c299000 JavaThread "process reaper" daemon [_thread_in_native, id=368136192, stack(115e15000,115f15000)]
7f827c8a4000 JavaThread "Java Plug-In Pipe Worker Thread (Server-Side)" daemon [_thread_in_native, id=366014464, stack(115c0f000,115d0f000)]
7f827c2b0800 JavaThread "Poller SunPKCS11-Darwin" daemon [_thread_blocked, id=358588416, stack(1154fa000,1155fa000)]
7f827c1cc800 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=350912512, stack(114da8000,114ea8000)]
7f827c057000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=348278784, stack(114b25000,114c25000)]
7f827c056000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=347217920, stack(114a22000,114b22000)]
7f827c055800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=346157056, stack(11491f000,114a1f000)]
7f827c054800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=345096192, stack(11481c000,11491c000)]
7f827c03f000 JavaThread "Finalizer" daemon [_thread_blocked, id=344035328, stack(114719000,114819000)]
7f827c03e000 JavaThread "Reference Handler" daemon [_thread_blocked, id=342974464, stack(114616000,114716000)]
=>7f827c001800 JavaThread "AWT-AppKit" [_thread_in_native, id=2080393568, stack(7fff6d66b000,7fff6de6b000)]
Other Threads:
7f827c039800 VMThread [stack: 114513000,114613000] [id=341913600]
7f827c068800 WatcherThread [stack: 114c28000,114d28000] [id=349339648]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 19648K, used 10177K [7f6e00000, 7f8350000, 7f8350000)
eden space 17472K, 58% used [7f6e00000, 7f77f0680, 7f7f10000)
from space 2176K, 0% used [7f7f10000, 7f7f10000, 7f8130000)
to space 2176K, 0% used [7f8130000, 7f8130000, 7f8350000)
tenured generation total 43712K, used 0K [7f8350000, 7fae00000, 7fae00000)
the space 43712K, 0% used [7f8350000, 7f8350000, 7f8350200, 7fae00000)
compacting perm gen total 21248K, used 7954K [7fae00000, 7fc2c0000, 800000000)
the space 21248K, 37% used [7fae00000, 7fb5c4880, 7fb5c4a00, 7fc2c0000)
No shared spaces configured.
Code Cache [111171000, 1113e2000, 114171000)
total_blobs=303 nmethods=29 adapters=237 free_code_cache=49827264 largest_free_block=11328
Virtual Machine Arguments:
JVM Args: -Xbootclasspath/a:/System/Library/Frameworks/JavaVM.framework/Resources/Deploy.bundle/Contents/Resources/Java/deploy.jar:/System/Library/Frameworks/JavaVM.framework/Resources/Deploy.bundle/Contents/Resources/Java/javaws.jar:/System/Library/Frameworks/JavaVM.framework/Resources/Deploy.bundle/Contents/Resources/Java/plugin.jar -Xmx64m -Djava.awt.headless=true -XX:+UseSerialGC -XX:MaxDirectMemorySize=64m
Java Command: <unknown>
Launcher Type: generic
Physical Memory: Page Size = 4k, Total = 4096M, Free = 954M
Thread 0 Crashed:: Java: AWT-AppKit Dispatch queue: com.apple.main-thread
0 libobjc.A.dylib 0x00007fff8f3c16cc objc_msgSend_stret + 12
1 com.apple.WebKit.PluginHost 0x000000010e2773a7 0x10e26b000 + 50087
2 JavaNativeFoundation 0x00000001108c75fd +[JNFRunLoop _performCopiedBlock:] + 20
3 com.apple.CoreFoundation 0x00007fff945fb0cd +[NSObject performSelector:withObject:] + 61
4 com.apple.Foundation 0x00007fff8fa02e44 __NSThreadPerformPerform + 214
5 com.apple.CoreFoundation 0x00007fff9453fb51 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
6 com.apple.CoreFoundation 0x00007fff9453f3bd __CFRunLoopDoSources0 + 253
7 com.apple.CoreFoundation 0x00007fff945661a9 __CFRunLoopRun + 905
8 com.apple.CoreFoundation 0x00007fff94565ae6 CFRunLoopRunSpecific + 230
9 com.apple.HIToolbox 0x00007fff92c6b3d3 RunCurrentEventLoopInMode + 277
10 com.apple.HIToolbox 0x00007fff92c7263d ReceiveNextEventCommon + 355
11 com.apple.HIToolbox 0x00007fff92c724ca BlockUntilNextEventMatchingListInMode + 62
12 com.apple.AppKit 0x00007fff8e1a93f1 _DPSNextEvent + 659
13 com.apple.AppKit 0x00007fff8e1a8cf5 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
14 com.apple.AppKit 0x00007fff8e1a562d -[NSApplication run] + 470
15 com.apple.WebKit.PluginHost 0x000000010e26d302 0x10e26b000 + 8962
16 com.apple.WebKit.PluginHost 0x000000010e26cb60 0x10e26b000 + 7008
There is more which I can post if it would be useful.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden