heavy icon indicating copy to clipboard operation
heavy copied to clipboard

Print on win32 causing crash

Open thefuntastic opened this issue 8 years ago • 5 comments

Seems there is something the way print messages are cleaning up on 32bit (win 10) causing an allocation crash. Running the debugger I got this:

Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.

Debugger breaks on this line:

HvControlPrint.c line 23 :

hv_free(s) 

Remove print statements and it runs fine.

thefuntastic avatar Dec 06 '16 12:12 thefuntastic

Which platform/target are you testing on @thefuntastic ?

diplojocus avatar Dec 06 '16 12:12 diplojocus

Windows 10, x86 (32 bit). Unity 5.4.0

thefuntastic avatar Dec 06 '16 12:12 thefuntastic

@thefuntastic sorry for the delay I think we might have a fix for that, will keep you posted.

diplojocus avatar Feb 22 '17 17:02 diplojocus

@thefuntastic if you get a chance would be able to test again with the latest dev release?

diplojocus avatar Feb 24 '17 12:02 diplojocus

Leaving a reminder to myself to check this out

thefuntastic avatar Feb 27 '17 10:02 thefuntastic