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



站內搜尋



本站其他服務

本站其他軟體



  • 台灣空污警報(AirInfo)

    設定特定站點為推播通知關注點後,當該站點空氣品質變糟時,即時推播通知給您。另外提供站點附近基本天氣預測資料。


  • 下一班火車 (nextRail)

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


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

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


  • 藝文快訊

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


  • 下一班公車(nextBus)

    這個 app 只要開啟後,就根據定位幫你過濾出附近站牌的時刻表,以及提供相關公車預計到站的時間,方便您在很快時間內確定要坐的哪一班公車


  • 姓名筆畫吉凶查詢系統

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