• 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
WebView Crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WebView Crash


  • Subject: WebView Crash
  • From: Rui Li <email@hidden>
  • Date: Mon, 6 Oct 2008 00:15:09 -0700
  • Acceptlanguage: zh-CN, en-US
  • Thread-topic: WebView Crash

Hi all,

    I have my own WebView window, and I need to make the Choose File button work on a "<input type=file>" item on a web page.

    I have implemented the WebUIDelegate method   - (void)webView:(WebView *)sender runOpenPanelForFileButtonWithResultListener:(id<WebOpenPanelResultListener>)resultListener.

    Besides, I have registered it as the delegate by sending [myWebView setUIDelegate:self].

    However, I'm having a crash that doesn't seem to involve any of my code. I get a EXC_BAD_ACCESS with the following stack trace:

#0  0x94e8a77b in CFWriteStreamClose ()
#1  0x952968ec in spoolingClose ()
#2  0x94e8a57d in _CFStreamClose ()
#3  0x93d6447f in closeRequestResources ()
#4  0x93d5fb0f in httpConnectionStateChanged ()
#5  0x93d7b1e4 in sendStateChanged ()
#6  0x93d7b16e in _CFNetConnectionErrorOccurred ()
#7  0x93d6c45f in httpRequestPayloadCallBack ()
#8  0x94e88629 in _CFStreamSignalEventSynch ()
#9  0x94e76698 in CFRunLoopRunSpecific ()
#10 0x94e76d38 in CFRunLoopRunInMode ()
#11 0x9512f560 in +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] ()
#12 0x950cc04d in -[NSThread main] ()
#13 0x950cbbf4 in __NSThread__main__ ()
#14 0x93336075 in _pthread_start ()
#15 0x93335f32 in thread_start ()

Ring any bells for anyone? Any thoughts at all would be appreciated.

Thanks,
Rui
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: About Launch Other Program
  • Next by Date: Re: expanding core data model sheet
  • Previous by thread: About Launch Other Program
  • Next by thread: Downloading with NSData and NSFileManager
  • Index(es):
    • Date
    • Thread