Moderators: Sascha Willems, walaber
Unity Editor [version: Unity 2017.3.1f1_fc1d3344e6ea]
NewtonWrapper.dll caused an Access Violation (0xc0000005)
in module NewtonWrapper.dll at 0033:dc0da845.
Error occurred at 2018-10-11_162116.
C:\Program Files\Unity\Editor\Unity.exe, run by
69% memory in use.
8137 MB physical memory [2459 MB free].
16271 MB paging file [9815 MB free].
8388608 MB user address space [8386598 MB free].
Read from location 00000030 caused an access violation.
Context:
RDI: 0x3d99d300 RSI: 0x00000030 RAX: 0x00000001
RBX: 0x00000000 RCX: 0x3d999780 RDX: 0x3d956e40
RIP: 0xdc0da845 RBP: 0x00000000 SegCs: 0x00000033
EFlags: 0x00010293 RSP: 0x394dfc60 SegSs: 0x0000002b
R8: 0x3d99e2c0 R9: 0x37039c28 R10: 0x00000175
R11: 0x394dfc20 R12: 0x00000000 R13: 0x3700d3c0
R14: 0x00000000 R15: 0x394dfd80
Bytes at CS:EIP:
4c 39 36 0f 84 88 00 00 00 44 8b bc 24 b0 00 00
Stack:
0x394dfc60: beeffd14 3e858627 bfce9b2b 3f800000 ....'..>+......?
0x394dfc70: 3d99e2c0 00000000 00000000 00000000 ...=............
0x394dfc80: 00000000 00000000 00000000 00000000 ................
0x394dfc90: 00000006 00000000 3d956e40 00000000 ........@n.=....
0x394dfca0: 3d99d300 00000000 00000001 00000000 ...=............
0x394dfcb0: 3c888889 00000000 00000000 00000000 ...<............
0x394dfcc0: 3d9a1700 00000000 371755a0 00000000 ...=.....U.7....
0x394dfcd0: dc164fb8 000007fe 00000000 00000000 .O..............
0x394dfce0: 00000001 00000000 3700d3c0 00000000 ...........7....
0x394dfcf0: 00000001 00000000 dc13b592 000007fe ................
0x394dfd00: 37175c38 00000000 394dfd80 00000000 8\.7......M9....
0x394dfd10: 00000001 00000000 dc0db402 000007fe ................
0x394dfd20: 3700d3c0 00000000 3f74c802 3f800000 ...7......t?...?
0x394dfd30: 3700d4a8 00000000 0043b8f0 00000000 ...7......C.....
0x394dfd40: 3da75dc0 00000000 dc0c07a5 000007fe .].=............
0x394dfd50: 00000000 00000000 37175be0 00000000 .........[.7....
0x394dfd60: 00000000 00000000 37175be0 00000000 .........[.7....
0x394dfd70: dc164fb8 000007fe dc0f688c 000007fe .O.......h......
0x394dfd80: 371754c0 00000000 3c888889 00000002 .T.7.......<....
0x394dfd90: 00000010 00000006 00000000 00000000 ................
0x394dfda0: 3c888889 00000000 00000000 00000000 ...<............
0x394dfdb0: 00000000 00000000 00000000 00000000 ................
0x394dfdc0: 00000000 00000000 0043f9bd 00000000 ..........C.....
0x394dfdd0: 00000000 00000000 dc0a3615 000007fe .........6......
0x394dfde0: cea584be 000013de 371754c0 00000000 .........T.7....
0x394dfdf0: 00000001 00000000 00000000 00000000 ................
0x394dfe00: 37175b98 00000000 dc13d0be 000007fe .[.7............
0x394dfe10: 00000000 00000000 00000000 00000000 ................
0x394dfe20: 00000000 00000000 00000000 00000000 ................
0x394dfe30: 00000000 00000000 00000000 00000000 ................
0x394dfe40: 37175b48 00000000 dc13d485 000007fe H[.7............
0x394dfe50: 00000000 00000000 00000000 00000000 ................
0x394dfe60: 00000000 00000000 392de6b8 00000000 ..........-9....
0x394dfe70: 17379b00 00000000 dc13d2e9 000007fe ..7.............
0x394dfe80: 00000000 00000000 37175b48 00000000 ........H[.7....
0x394dfe90: 00000000 00000000 00000000 00000000 ................
0x394dfea0: fffffffe ffffffff 00000000 00000000 ................
0x394dfeb0: 392de838 00000000 dc13d289 000007fe 8.-9............
0x394dfec0: 392de838 00000000 00000000 000007fe 8.-9............
0x394dfed0: 392de838 00000000 00000000 00000000 8.-9............
0x394dfee0: fffffffe ffffffff 00000000 00000000 ................
0x394dfef0: 00000000 00000000 dc13d219 000007fe ................
0x394dff00: 3d6de280 00000000 00000000 00000000 ..m=............
0x394dff10: 00000000 00000000 00000000 00000000 ................
0x394dff20: 3d6de280 00000000 dc11f468 000007fe ..m=....h.......
0x394dff30: 3d6de280 00000000 00000000 00000000 ..m=............
0x394dff40: 00000000 00000000 00000000 00000000 ................
0x394dff50: 00000000 00000000 76ec59cd 00000000 .........Y.v....
0x394dff60: 00000000 00000000 00000000 00000000 ................
0x394dff70: 00000000 00000000 00000000 00000000 ................
0x394dff80: 00000000 00000000 7712383d 00000000 ........=8.w....
0x394dff90: 00000000 00000000 00000000 00000000 ................
0x394dffa0: 00000000 00000000 00000000 00000000 ................
0x394dffb0: 76f4bac0 00000000 76f4bac0 00000000 ...v.......v....
0x394dffc0: 394dedf0 00000000 00000000 00000000 ..M9............
0x394dffd0: 00000000 00000000 00000000 00000000 ................
0x394dffe0: 00000000 00000000 00000000 00000000 ................
0x394dfff0: 00000000 00000000 00000000 00000000 ................
Module 1
C:\Program Files\Unity\Editor\OpenRL_pthread.dll
Image Base: 0x80000000 Image Size: 0x0000f000
File Size: 42496 File Time: 2018-01-26_224424
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 2
C:\Program Files\Unity\Editor\OpenRL.dll
Image Base: 0x80000000 Image Size: 0x00c30000
File Size: 12654592 File Time: 2018-01-26_224424
Version:
Company: Imagination Technologies, Inc.
Product: OpenRL™
FileDesc: OpenRL™ Library
FileVer: 1.5.100.0
ProdVer: 1.5.100.0
Module 3
C:\Windows\system32\xinput1_3.dll
Image Base: 0x00400000 Image Size: 0x0001e000
File Size: 107368 File Time: 2007-04-04_195422
Version:
Company: Microsoft Corporation
Product: Microsoft® DirectX for Windows®
FileDesc: Microsoft Common Controller API
FileVer: 9.18.944.0
ProdVer: 9.18.944.0
Module 4
C:\Windows\system32\MSVCR100.dll
Image Base: 0x743a0000 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 5
C:\Windows\system32\MSVCP100.dll
Image Base: 0x74480000 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
Module 6
C:\Program Files\Bonjour\mdnsNSP.dll
Image Base: 0x745d0000 Image Size: 0x00026000
File Size: 133392 File Time: 2015-08-12_170342
Version:
Company: Apple Inc.
Product: Bonjour
FileDesc: Bonjour Namespace Provider
FileVer: 3.1.0.1
ProdVer: 3.1.0.1
Module 7
C:\Windows\system32\ksuser.dll
Image Base: 0x74950000 Image Size: 0x00006000
File Size: 5120 File Time: 2015-12-08_210732
Version:
Company: Microsoft Corporation
Product: Microsoft® Windows® Operating System
FileDesc: User CSA Library
FileVer: 6.1.7601.19091
ProdVer: 6.1.7601.19091
Module 8
C:\Windows\system32\kernel32.dll
Image Base: 0x76eb0000 Image Size: 0x0011f000
File Size: 1163264 File Time: 2018-04-23_020042
Version:
Company: Microsoft Corporation
Product: Système d’exploitation Microsoft® Windows®
FileDesc: DLL du client API BASE Windows NT
FileVer: 6.1.7601.24117
ProdVer: 6.1.7601.24117
Module 9
C:\Windows\system32\USER32.dll
Image Base: 0x76fd0000 Image Size: 0x000fa000
File Size: 1009152 File Time: 2016-11-10_183242
Version:
Company: Microsoft Corporation
Product: Système d’exploitation Microsoft® Windows®
FileDesc: DLL client de l’API uilisateur de Windows multi-utilisateurs
FileVer: 6.1.7601.23594
ProdVer: 6.1.7601.23594
Module 10
C:\Windows\SYSTEM32\ntdll.dll
Image Base: 0x770d0000 Image Size: 0x0019f000
File Size: 1665336 File Time: 2018-04-23_020714
Version:
Company: Microsoft Corporation
Product: Système d’exploitation Microsoft® Windows®
FileDesc: DLL Couche NT
FileVer: 6.1.7601.24117
ProdVer: 6.1.7601.24117
Module 11
C:\Windows\system32\normaliz.DLL
Image Base: 0x77270000 Image Size: 0x00003000
File Size: 2560 File Time: 2009-07-14_033142
Version:
Company: Microsoft Corporation
Product: Microsoft® Windows® Operating System
FileDesc: Unicode Normalization DLL
FileVer: 6.1.7600.16385
ProdVer: 6.1.7600.16385
Module 12
C:\Windows\system32\PSAPI.DLL
Image Base: 0x77280000 Image Size: 0x00007000
File Size: 9216 File Time: 2009-07-14_034154
Version:
Company: Microsoft Corporation
Product: Microsoft® Windows® Operating System
FileDesc: Process Status Helper
FileVer: 6.1.7600.16385
ProdVer: 6.1.7600.16385
== [end of error.log] ==
I don't know how to use NewtonWorld with my Unity Project using multiple scenes.
Currently, I'm loading it at the beginning and never destroy it. Each time a NewtonBody is created, I added him to NewtonWorld using InitRigidbody.
But when I try to unload every NewtonBody (by calling Destroy for each GameObject or Destroy only for the component), I frequently received a crash with this :
Code: Select all
0x00007FFFA1D415BC (NewtonWrapper) SWIGRegisterExceptionCallbacks_NewtonWrapper
ERROR: SymGetSymFromAddr64, GetLastError: 'Tentative d’accès à une adresse non valide.' (Address: 00007FFFA1C62AF4)
0x00007FFFA1C62AF4 (NewtonWrapper)
0x000000005F47BC24 (Mono JIT Code) (wrapper managed-to-native) NewtonWrapperPINVOKE:delete_dNewtonCollisionBox (System.Runtime.InteropServices.HandleRef)
0x000000005F47B8B3 (Mono JIT Code) dNewtonCollisionBox:Dispose ()
0x000000005F52EEFA (Mono JIT Code) NewtonBodyCollision:Destroy ()
0x000000005F52E863 (Mono JIT Code) NewtonBody:DestroyRigidBody ()
0x000000005F52E32C (Mono JIT Code) NewtonBody:OnDestroy ()
I supposed that a collider is destroyed before the NewtonBody but I tried a lot of things and never succeed to have no crash.
Please can you help me ?
Users browsing this forum: No registered users and 6 guests