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



站內搜尋



本站其他服務

本站其他軟體



  • 台灣匯率快算

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


  • 藝文快訊

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


  • 股海快訊 (iNews123)

    提供特定個股新聞更新推播、股價警示推播、新聞社群分享以及每日個股收盤價等功能的股票App/股市App.


  • 姓名筆畫吉凶查詢系統

    這是一個提供中文字康熙筆畫的小軟體,並根據農民曆計算每個名字或公司名的總筆畫以及最後的吉凶數,共有四種模式


  • 國道一路通(FreeWay)

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


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

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