AutoCAD Map 3D crashes due to ucrtbase.dll

AutoCAD Map 3D crashes due to ucrtbase.dll

vucic_tamara
Enthusiast Enthusiast
1,131 Views
2 Replies
Message 1 of 3

AutoCAD Map 3D crashes due to ucrtbase.dll

vucic_tamara
Enthusiast
Enthusiast

Hello,

recently i made a plugin for AutoCAD Map 3D  that works with parcels (represented by closed polylines) and saves their geometry along with some properties to an SDF file. It is written in C#, on .NET Framework 4.5.2, and I am using AutoCAD Map 3D 2017 on Windows 10. The problem is that my plugin randomly crashes AutoCad Map. The cause always seems to be the ucrtbase.dll. I couldn't find any solution to this on the web. I ran Windows 10 Creators update hoping that might solve the problem but nothing changed. Does anybody have a possible solution for this? 

 

Info on this error from Event Viewer:

Faulting application name: acad.exe, version: 27.0.52.0, time stamp: 0x56b6cb23
Faulting module name: ucrtbase.dll, version: 10.0.15063.0, time stamp: 0xaf2e320b
Exception code: 0xc0000409
Fault offset: 0x00000000000734be
Faulting process id: 0x356c
Faulting application start time: 0x01d2d60a095cd8fc
Faulting application path: C:\Program Files\Autodesk\AutoCAD 2017\acad.exe
Faulting module path: C:\WINDOWS\System32\ucrtbase.dll
Report Id: 1ae6c379-d552-49c6-9e2d-5a68cb32d3b4
Faulting package full name:
Faulting package-relative application ID:

 

Thanks in advance, 

 

Tamara Popović.

0 Likes
1,132 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable

Hi,

 

do you make use of Try{} & Catch{}?

 

If your app crashes then the details in a catch block will tell you more about the cause of it,

 

https://docs.microsoft.com/en-us/dotnet/articles/csharp/language-reference/keywords/try-catch

 

 

Rob

0 Likes
Message 3 of 3

vucic_tamara
Enthusiast
Enthusiast

Yes i did, but that doesn't report anything. It is like the error is happening somewhere outside my code. 

 

Tamara

0 Likes