Mandarancio / OpenGOO

A free clone of World Of Goo
mandarancio.github.com/OpenGOO
Other
151 stars 20 forks source link

Visual C++ exception #48

Closed batarov closed 11 years ago

batarov commented 11 years ago

I build project in Qt Creator and was constantly popping up this message

http://dl.dropbox.com/u/5326231/OpenGOO/ScreenHunter_01%20Oct.%2023%2017.58.jpg

My solution:

diff --git "a/E:\TEMP\bac9F88.tmp\backtracer_win32-b0e8c3d-left.cpp" "b/E:\Projects\OpenGOO\src\opengoo\src\backtracer_win32.cpp" index b360c91..3ebc969 100644 --- "a/E:\TEMP\bac9F88.tmp\backtracer_win32-b0e8c3d-left.cpp" +++ "b/E:\Projects\OpenGOO\src\opengoo\src\backtracer_win32.cpp" @@ -288,6 +288,10 @@ void HandleCommonException(LPEXCEPTION_POINTERS info)

LONG WINAPI UnhandledException2(LPEXCEPTION_POINTERS exceptionInfo) {

Mandarancio commented 11 years ago

Thanks for the advise, some one with windows can try to fix it?

slyshykO commented 11 years ago

Oh it is intresting. but what about saved files Stack*.txt ?

2012/10/24 Martino Ferrari notifications@github.com

Thanks for the advise, some one with windows can try to fix it?

— Reply to this email directly or view it on GitHubhttps://github.com/Mandarancio/OpenGOO/issues/48#issuecomment-9733437.

batarov commented 11 years ago

It's must work on Win XP and Win 2003 Server

diff --git "a/E:\TEMP\bacADBA.tmp\backtracer_win32-035e550-left.cpp" "b/E:\src\GitHub\OpenGOO\src\opengoo\src\backtracer_win32.cpp" index b360c91..56828b0 100644 --- "a/E:\TEMP\bacADBA.tmp\backtracer_win32-035e550-left.cpp" +++ "b/E:\src\GitHub\OpenGOO\src\opengoo\src\backtracer_win32.cpp" @@ -102,7 +102,7 @@ void printStack( void )

  SymInitialize( process, NULL, TRUE );
slyshykO commented 11 years ago

Patch from Dmitry applyed - https://github.com/Mandarancio/OpenGOO/commit/b7276e88cd200bc5514d0e72ff0480041b1ddb80 . Think that is all.