malloc_error_break with Facebook Native Ad

2016/11/28
~ 阿亮 ~

I try to implement the Native Ad on Xcode8. I met crash issue. “NativeAdSample(10831,0x1b6871c40) malloc: *** error for object 0x1740b1100: pointer being freed was not allocated”.

Even, I use the “NativeAdSample” example project from Official Facebook iOS SDK. And I get the same issue. After I assign the “PlacementID” and “addTestDevice”, and I click the “Load Native Ad” button. And then it crash.

It’s weird, it crash on iOS10. It show “No fill” on iOS8, and not crash. Verbose log show that crash after “Saved local configuration.”, and “malloc_error_break” break point show it crash on “JavaScriptCore”.

1128_02

 

Finally, I found out that “Safari Setting >> Advanced >> Web Inspector” will cause this issue. Turn it off, and will not malloc error.
1128_03

FBAudienceNetwork (4.17.0) via Cocoapods.
Xcode8.1 on OSX EI Capitan



站內搜尋



本站其他服務

本站其他軟體



  • 臉書粉絲專頁搜尋 (FPSearch)

    不用登入臉書即可搜尋臉書粉絲專頁(臉書粉絲團)所公開的文章。您可以指定特定日期範圍之前的文章,也可設定搜尋粉絲專頁內包含特定關鍵詞的文章。


  • 照片去背(PhotoEraser)

    一款方便移除背景的工具,產生透明背景圖可以存回原本相簿,也可分享到其他 App 使用.


  • 國道一路通(FreeWay)

    打開定位即實際地圖上繪製所在地中心附近的車況圖,可縮放地圖,不再是小小的縮小圖,快速了解高速公路的路況。


  • 台灣匯率快算

    提供全球 150 種以上貨幣即時換算,以及各種匯率歷史變化圖。


  • 標案快訊

    讓你可以輕鬆追蹤含有您想要關注關鍵詞的任何採購標案,只要有最新的資訊,「標案快訊」即會推播通知給你.


  • 下一班高鐵 (nextTHSR)

    這個 app 只要開啟後,就根據定位幫你過濾出最近高鐵站的時刻表,不用再按任何按鈕了,方便您在很快時間內確定要坐的哪一班高鐵