Hi everyone,
I have the following problem: I have developed an AddIn, in c #, for Microstation Connect version 12,
the problem is that, in a completely random way, Microstation crashes and shows the message "Microstation has stopped working".
Attached is the exception.log file and the screenshot of the error
Thanks for your help,
Salvio
7103.exception.log
Hi Salvio,
You likely will need to crash again setting MS_MINIDUMPTYPE=7.Can you provide the current memory dump until a full memory dump can be zipped and posted? Line 863: Wrote a mini-dump type 0x4 to "C:\TEMP\Bentley\MicroStation\10.0.0\MiniDump.dmp".Thank you,Bob
Hi Robert, the minidump is in attachment
Thank you,
SalvioMiniDump.rar
Hi Salvatore,
based on the file size, I guess it's not "type 7" minidump (but maybe I am wrong ;-).
It think when MS_MINIDUMPTYPE=7 is set, the full dump should be created, which I assume will produce much bigger file. Also, because NET application is involved, you should also configure to include Page Heap also. See this wiki article how to do it.
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
In attachments other minidump
ExceptionHistory.zip
salvatore montella said:In attachments other minidump
I am afraid that until better memory dump is provided, nothing investigated.
In my earlier answer I provided link to wiki with description how to create full memory dump, including managed heap.
Because you mentioned you developed C# addin, so I assume you are developer. Based on that I think it's clear it's not possible to analyze C# addin crash, when the provided data is only minidump without MicroStation page heap.
It's written clearly in the wiki:
To trouble shoot Managed Exception from .NET and Heap corruptions, we would require a Type 7 (Full Dump) with Page Heap.
Regards,