经过日志的跟踪,发现 当程序执行到LuaStack::executeFunction函数的error = lua_pcall(_state, numArgs, 1, traceback); 这一步时就会直接闪退
日志
2019-08-16 19:42:32.667 1420-2273/? D/SettingsInterface: from settings cache , name = encrypt_notice_hide_mode , value = null
2019-08-16 19:42:32.667 2354-2434/? W/GooglePlayServicesUtil: Google Play Store is missing.
2019-08-16 19:42:32.668 1420-2459/? D/SettingsInterface: from settings cache , name = encrypt_notice_hide_mode , value = null
2019-08-16 19:42:32.671 1420-2462/? D/SettingsInterface: from settings cache , name = encrypt_notice_hide_mode , value = null
2019-08-16 19:42:32.679 1420-3829/? D/EncryptAppUtils_Framework: isThirdAppCall() return true
2019-08-16 19:42:32.679 1420-3829/? D/EncryptAppUtils_Framework: filterNormalApplicationInfo() filter encryptspace
2019-08-16 19:42:32.697 2354-2401/? D/cocos2d: android SDK version:25
2019-08-16 19:42:32.710 1420-2274/? D/WifiService: WifiService:getConnectionInfo.
2019-08-16 19:42:32.712 2283-2498/? D/SettingsInterface: from settings cache , name = multi_sim_voice_call , value = 1
2019-08-16 19:42:32.714 2283-2295/? D/SettingsInterface: from settings cache , name = multi_sim_voice_call , value = 1
2019-08-16 19:42:32.716 2283-2774/? D/SettingsInterface: from settings cache , name = multi_sim_voice_call , value = 1
2019-08-16 19:42:32.723 1420-2435/? D/SettingsInterface: from settings cache , name = encrypt_notice_hide_mode , value = null
2019-08-16 19:42:32.723 2354-2434/? W/GooglePlayServicesUtil: Google Play Store is missing.
2019-08-16 19:42:32.724 1420-2460/? D/SettingsInterface: from settings cache , name = encrypt_notice_hide_mode , value = null
2019-08-16 19:42:32.727 1420-2273/? D/SettingsInterface: from settings cache , name = encrypt_notice_hide_mode , value = null
--------- beginning of crash
2019-08-16 19:42:32.738 2354-2401/? A/libc: Fatal signal 11 (SIGSEGV), code 2, fault addr 0x7f62b36ba8 in tid 2401 (GLThread 1284)
2019-08-16 19:42:32.738 1420-2461/? D/SettingsInterface: from settings cache , name = sys_storage_threshold_percentage , value = null
2019-08-16 19:42:32.738 1420-2461/? D/SettingsInterface: from settings cache , name = sys_storage_threshold_max_bytes , value = null
2019-08-16 19:42:32.744 2475-3435/? W/SettingsInterface: Setting auto_time has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value.
2019-08-16 19:42:32.744 2475-3435/? D/SettingsInterface: from settings cache , name = auto_time , value = 1
2019-08-16 19:42:32.745 1420-1474/? D/WifiService: WifiService:getConnectionInfo.
2019-08-16 19:42:32.813 2453-2453/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2019-08-16 19:42:32.813 2453-2453/? A/DEBUG: Build fingerprint: ‘GIONEE/F6/GIONEE_SW17G15:7.1.1/NMF26F/1955:user/release-keys’
2019-08-16 19:42:32.813 2453-2453/? A/DEBUG: Revision: ‘0’
2019-08-16 19:42:32.813 2453-2453/? A/DEBUG: ABI: ‘arm64’
2019-08-16 19:42:32.813 2453-2453/? A/DEBUG: pid: 2354, tid: 2401, name: GLThread 1284 >>> com.gameone.cbmj <<<
2019-08-16 19:42:32.813 2453-2453/? A/DEBUG: signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7f62b36ba8
2019-08-16 19:42:32.813 2453-2453/? A/DEBUG: x0 0000007f62a430a8 x1 fffd807f635c70b8 x2 0000000000000004 x3 0000000000000001
2019-08-16 19:42:32.813 2453-2453/? A/DEBUG: x4 fffd807f635c72f8 x5 fffd807f635c6ee8 x6 0000007f62a40000 x7 00000000fff90000
2019-08-16 19:42:32.813 2453-2453/? A/DEBUG: x8 fffd807f635c36c0 x9 0000007f62a42804 x10 0000007f62a15360 x11 0000000000000020
2019-08-16 19:42:32.813 2453-2453/? A/DEBUG: x12 0000007f635c0060 x13 0000000000000001 x14 00000000ffffffff x15 0000000000000001
2019-08-16 19:42:32.813 2453-2453/? A/DEBUG: x16 fffffffffffffffb x17 0000007f635c72c0 x18 00000000f84003e0 x19 0000007f62a1c2a8
2019-08-16 19:42:32.813 2453-2453/? A/DEBUG: x20 0000007f62a438d8 x21 0000007f635c7080 x22 0000007f635c03d8 x23 0000007f635c3688
2019-08-16 19:42:32.813 2453-2453/? A/DEBUG: x24 0000007f627f0f08 x25 0000007f635c6f90 x26 0000007f62a00ce8 x27 0000007f635c3688
2019-08-16 19:42:32.813 2453-2453/? A/DEBUG: x28 0000000000002f3a x29 0000007f78395070 x30 0000000000000001
2019-08-16 19:42:32.813 2453-2453/? A/DEBUG: sp 0000007f78395060 pc 0000007f62b36ba8 pstate 0000000020000000
2019-08-16 19:42:32.814 2453-2453/? A/DEBUG: backtrace:
2019-08-16 19:42:32.815 2453-2453/? A/DEBUG: #00 pc 00000000000e0ba8 anon_inode:dmabuf
2019-08-16 19:42:32.815 2453-2453/? A/DEBUG: #01 pc 0000000000000001