• 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
Re: EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x00000000bbadbeef crash on UIWebview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x00000000bbadbeef crash on UIWebview


  • Subject: Re: EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x00000000bbadbeef crash on UIWebview
  • From: Conrad Shultz <email@hidden>
  • Date: Mon, 22 Jun 2015 17:26:13 -0700

From this backtrace it looks like you might be trying to perform UI operations someplace other than on the main queue, which would cause problems. I'd start by checking whether you have:

-Any dispatches to a background queue that might need a dispatch_async to the main queue.
-Any observer callbacks/notification handlers that might be called on a background queue, and which thus might need a dispatch_async to the main queue.

-Conrad


> On Jun 22, 2015, at 1:21 AM, Devarshi Kulshreshtha <email@hidden> wrote:
>
> For some reasons it is  at this line as reported by crashlytics:
>
> _webView = [[UIWebView alloc] initWithFrame:CGRectZero];
>
> Here is the stack-tace of crashed thread:
>
> Thread : Crashed: com.apple.root.utility-qos
>
> 0  JavaScriptCore                 0x000000018413c9e4 WTFCrash + 72
>
> 1  JavaScriptCore                 0x000000018413c9dc WTFCrash + 64
>
> 2  WebCore                        0x0000000190992504
> WebRunLoopUnlock(__CFRunLoopObserver*, unsigned long, void*)
>
> 3  WebCore                        0x0000000190992dac WebThreadLock + 104
>
> 4  UIKit                          0x0000000187449b2c -[UIWebView
> _webViewCommonInitWithWebView:scalesPageToFit:] + 140
>
> 5  UIKit                          0x000000018729dc38 -[UIWebView
> initWithFrame:] + 88
>
> 6  XYZ                           0x00000001002e0b60
> -[XYContentViewController viewDidLoad] (XYContentViewController.m:43)
>
> 7  UIKit                          0x0000000187074958 -[UIViewController
> loadViewIfRequired] + 692
>
> 8  UIKit                          0x0000000187074668 -[UIViewController
> view] + 32
>
> 9  XYZ                           0x0000000100032620 -[XYModalViewController
> setViewController:] (XYModalViewController.m:252)
>
> 10 XYZ                           0x000000010003279c -[XYModalViewController
> pushModalController:] (XYModalViewController.m:260)
>
> 11 XYZ                           0x0000000100038b14 -[XYViewController
> presentModalController:] (XYViewController.m:426)
>
> 12 XYZ                           0x00000001002fc3d4 __57-[AppDelegate
> application:didFinishLaunchingWithOptions:]_block_invoke451
> (AppDelegate.m:590)
>
> 13 XYZ                           0x00000001002fc6c0 __57-[AppDelegate
> application:didFinishLaunchingWithOptions:]_block_invoke499
> (AppDelegate.m:619)
>
> 14 Foundation                     0x0000000183672574 -[__NSObserver _doit:]
> + 320
>
> 15 CoreFoundation                 0x000000018280cddc
> __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
>
> 16 CoreFoundation                 0x000000018274b370 _CFXNotificationPost +
> 2060
>
> 17 Foundation                     0x000000018366f520 -[NSNotificationCenter
> postNotificationName:object:userInfo:] + 72
>
> 18 XYZ                           0x0000000100312a50
> __44-[XYListingPriceHistoryCell getPriceAlerts:]_block_invoke_2
> (XYListingPriceHistoryCell.m:77)
>
> 19 libdispatch.dylib              0x0000000193e75994
> _dispatch_call_block_and_release + 24
>
> 20 libdispatch.dylib              0x0000000193e75954
> _dispatch_client_callout + 16
>
> 21 libdispatch.dylib              0x0000000193e82780
> _dispatch_root_queue_drain + 1848
>
> 22 libdispatch.dylib              0x0000000193e83c4c
> _dispatch_worker_thread3 + 108
>
> 23 libsystem_pthread.dylib        0x000000019405522c _pthread_wqthread + 816


_______________________________________________

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


References: 
 >EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x00000000bbadbeef crash on UIWebview (From: Devarshi Kulshreshtha <email@hidden>)

  • Prev by Date: Re: Changing the color of an NSWindow’s titlebar text
  • Next by Date: Re: Changing the color of an NSWindow’s titlebar text
  • Previous by thread: Re: EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x00000000bbadbeef crash on UIWebview
  • Next by thread: Getting a server to trust the client. (iOS)
  • Index(es):
    • Date
    • Thread