Skip to main content
2-Explorer
Question

ProEngineerEnd() causes creo crash

Hello

 

I am using batch file to start Creo from command prompt. In user_initialize(); I am just opening model from path using proMdlLoad(). Update one parameter's value and save model. Till this time, it works fine. Post this, ProEngineerEnd() causes Creo to crash. 

 

Any idea would be of great help.

 

Regards

Ketan

13 replies

23-Emerald III

What has changed since the last time it successfully ran?

OS upgrade?

Creo version upgrade?

System patches?

Visual C/C++ runtime changes?

 

Start looking at those changes to determine what may have changed.

Translate
2-Explorer
Nothing... This is new development and just addition of this API into code either crashes or hangs Creo... I am having Creo 4.0 M030
Translate
2-Explorer

I just commented all code. From command prompt also, not passing any argument. Kept only one API into user_initialize and that API is ProEngineerEnd(). 

 

This also leads to crashing of creo randomly and traceback log suggest EXCEPTION_ACCESS_VIOLATION error.

 

Another line which could be helpful into traceback log is :

ERROR: Module information could not be found, GetLastError: 1114 (Address: 0000000000000000)

 

Any idea on how to proceed further? 

Translate