• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
low level webview/drawer crash, need help to find a fix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

low level webview/drawer crash, need help to find a fix


  • Subject: low level webview/drawer crash, need help to find a fix
  • From: Aurélien Hugelé <email@hidden>
  • Date: Tue, 15 Jun 2004 11:10:55 +0200

hi list !

i'm facing a low level (window server ?) crash in my application when
using webview in a drawer.
The clearly is an Apple NSAppKit/WebKit crash and i'm going to file a
bug report. But since it will be pretty long for apple to fix the
problem, i hope the genious here may find a temporary fix, any idea to
avoid the crash... i've spend days on this problem and i can not find
any solution

The problem arise when the webview *in a drawer* has the focus and
reload.

I have made a very simple ( 15 loc ;) ) test program (please download
the XCode project at http://www.carrafix.com/webviewCrash/Essai.zip) to
expose and explain how to reproduce the crash :

OS Version: 10.3.4 (Build 7H63)
Report Version: 2

Command: Essai
Path: /Users/aure/Essai/build/Essai.app/Contents/MacOS/Essai
Version: 0.1 (0.1)
PID: 8067
Thread: 0

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0xffffffff

Thread 0 Crashed:
0 libobjc.A.dylib 0x908311f4 objc_msgSend + 0x14
1 com.apple.AppKit 0x92dfb4a4 +[NSInputContext
currentInputContext] + 0x8c
2 com.apple.AppKit 0x92e18648 +[NSInputContext
updateInputContexts] + 0x2c
3 com.apple.AppKit 0x92dfb3c4 -[NSApplication updateWindows]
+ 0x78
4 com.apple.AppKit 0x92df7fbc _handleWindowsNeedUpdateNote +
0x60
5 com.apple.CoreFoundation 0x90191d30 __CFRunLoopDoObservers + 0x194
6 com.apple.CoreFoundation 0x901915cc __CFRunLoopRun + 0x18c
7 com.apple.CoreFoundation 0x90195f1c CFRunLoopRunSpecific + 0x148
8 com.apple.HIToolbox 0x927d62d8 RunCurrentEventLoopInMode +
0xac
9 com.apple.HIToolbox 0x927dca40 ReceiveNextEventCommon + 0x17c
10 com.apple.HIToolbox 0x927feb18
BlockUntilNextEventMatchingListInMode + 0x60
11 com.apple.AppKit 0x92dd2a34 _DPSNextEvent + 0x180
12 com.apple.AppKit 0x92de93b0 -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 0x74
13 com.apple.AppKit 0x92dfd718 -[NSApplication run] + 0x21c
14 com.apple.AppKit 0x92eb9b80 NSApplicationMain + 0x1d0
15 main.ob 0x0009ef74 main + 0x38 (main.m:13)
16 com.apple.myCocoaApp 0x00001adc start + 0x1c8
17 dyld 0x8fe1a558 _dyld_start + 0x64


The problem does not arise when using a simple webview in a "normal"
window, but this can not be a solution for me to remove the drawer and
move the webview to the mainwindow...
Can anybody help ?

thanks
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: low level webview/drawer crash, need help to find a fix
      • From: Izidor Jerebic <email@hidden>
  • Prev by Date: Re: Sheets inside panels
  • Next by Date: Re: Sheets inside panels
  • Previous by thread: Re: Sheets inside panels
  • Next by thread: Re: low level webview/drawer crash, need help to find a fix
  • Index(es):
    • Date
    • Thread