运行环境
EasyAR SDK Basic Version 2.2.0
Unity 5.6.1f1(64bit)
win10
问题:第一次出现崩溃是将ImageTraker.SimultaneousNum 设置为20, 前后进行多次 ImageTarget Bind后崩溃;
将ImageTraker.SimultaneousNum 设置为1后不再出现,第二次将CameraDevice Close() 再 OpenAndStart(),进行多次绑定后 又出现了崩溃的情况。崩溃不固定出现在某一次绑定,并且重新 OpenAndStart CameraDevice后 同一个ImageTarget对象的 OnTargetLoad 被调用两次,OpenAndStart多少次,OnTargetLoad就会被回调多少次。 以下是和debug日志
debug error日志
Unity Editor [version: Unity 5.6.1f1_2860b30f0b54]
EasyARUnity.dll caused an Access Violation (0xc0000005)
in module EasyARUnity.dll at 0033:5977d261.
Error occurred at 2018-03-29_111644.
F:\ProgramFiles\Unity3D5.6.1f\Editor\Unity.exe, run by LQ.
55% memory in use.
8128 MB physical memory [3580 MB free].
11200 MB paging file [4629 MB free].
134217728 MB user address space [134214950 MB free].
Read from location ffffffff caused an access violation.
Module 1
F:\ProgramFiles\Unity3D5.6.1f\Editor\OpenRL.dll
Image Base: 0x80000000 Image Size: 0x00c28000
File Size: 12627992 File Time: 2017-05-08_195808
Version:
Company: Imagination Technologies, Inc.
Product: OpenRL?
FileDesc: OpenRL? Library
FileVer: 1.5.100.10
ProdVer: 1.5.100.10
Module 2
F:\ProgramFiles\Unity3D5.6.1f\Editor\OpenRL_pthread.dll
Image Base: 0x80000000 Image Size: 0x0000f000
File Size: 50200 File Time: 2017-05-08_195808
Version:
Company: Open Source Software community LGPL
Product: POSIX Threads for Windows LPGL
FileDesc: MS C 32 bit
FileVer: 2.9.0.0
ProdVer: 2.9.0.0
Module 3
C:\Windows\SYSTEM32\WINMMBASE.dll
Image Base: 0x01940000 Image Size: 0x0002c000
File Size: 166344 File Time: 2015-10-30_151758
Version:
Company: Microsoft Corporation
Product: Microsoft? Windows? Operating System
FileDesc: Base Multimedia Extension API DLL
FileVer: 10.0.10586.0
ProdVer: 10.0.10586.0
Module 4
C:\Program Files (x86)\kbasesrv\knbdefdll64.dll
Image Base: 0x80000000 Image Size: 0x00027000
File Size: 151128 File Time: 2018-02-05_092504
Version:
Company: Kingsoft Corporation
Product: Kingsoft Internet Security
FileDesc: KS 基础服务提供框架
FileVer: 2016.6.24.233
ProdVer: 9.3.21164.233
Module 5
C:\Windows\SYSTEM32\MSVCR100.dll
Image Base: 0x54f40000 Image Size: 0x000d2000
File Size: 829264 File Time: 2011-06-11_011538
Version:
Company: Microsoft Corporation
Product: Microsoft? Visual Studio? 2010
FileDesc: Microsoft? C Runtime Library
FileVer: 10.0.40219.325
ProdVer: 10.0.40219.325
Module 6
C:\Windows\SYSTEM32\MSVCP100.dll
Image Base: 0x553e0000 Image Size: 0x00098000
File Size: 608080 File Time: 2011-06-11_011538
Version:
Company: Microsoft Corporation
Product: Microsoft? Visual Studio? 2010
FileDesc: Microsoft? C Runtime Library
FileVer: 10.0.40219.325
ProdVer: 10.0.40219.325
== [end of error.log] ==