http://bugs.winehq.org/show_bug.cgi?id=31092
Bug #: 31092 Summary: ctest crashes with null this in msvcp90.locale_dtor on exit? Product: Wine Version: 1.5.7 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: msvcp AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com Classification: Unclassified
To repeat: winetricks --no-isolate cmake cd ~/.wine/drive_c/Program Files/CMake 2.8/bin wine ctest
Output: No test configuration file found! Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x7e2105f3).
Backtrace: =>0 locale_dtor+0x23(this=(nil)) [dlls/msvcp90/locale.c:8052] 1 basic_streambuf_char_dtor+0x69(this=0x10af770) [dlls/msvcp90/ios.c:642] 2 basic_stringbuf_char_dtor+0x63(this=0x10af770) [dlls/msvcp90/ios.c:2744] 3 basic_ostringstream_char_dtor+0x5b(this=0x10af76c) [dlls/msvcp90/ios.c:8671] 0x7e2105f3 locale_dtor+0x23 [msvcp90/locale.c:8052] in msvcp90: movl 0x0(%esi),%eax 8052 if(this->ptr)
http://bugs.winehq.org/show_bug.cgi?id=31092
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source URL| |http://www.cmake.org/cmake/ | |resources/software.html
http://bugs.winehq.org/show_bug.cgi?id=31092
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|ctest crashes with null |ctest, cmake crash with |this in msvcp90.locale_dtor |null this in |on exit? |msvcp90.locale_dtor
--- Comment #1 from Dan Kegel dank@kegel.com 2012-06-30 18:54:43 CDT --- Also affects cmake. To reproduce: winetricks --no-isolate cmake cd ~/".wine/drive_c/Program Files/CMake 2.8/bin" wine cmake --help Output: fixme:msvcp90:_Locinfo__Locinfo_ctor_cat_cstr (0x103f248 1 C) semi-stub fixme:msvcp90:_Locinfo__Locinfo_ctor_cat_cstr (0x103f068 1 C) semi-stub err:seh:setup_exception_record stack overflow 1312 bytes in thread 0017 eip 7ef6c168 esp 006b0e10 stack 0x6b0000-0x6b1000-0x1040000
+msvcp90,+seh shows
trace:msvcp90:locale_dtor ((nil)) trace:seh:raise_exception code=c0000005 flags=0 addr=0x7e29a5f3 ip=7e29a5f3 tid=0024
and there's no nice backtrace, but that log is very suggestive.
http://bugs.winehq.org/show_bug.cgi?id=31092
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban@gmail.com
--- Comment #2 from Piotr Caban piotr.caban@gmail.com 2012-07-04 09:26:30 CDT --- I've sent a patch that fixes this bug: http://source.winehq.org/patches/data/87932
(tested on cmake --help command)
http://bugs.winehq.org/show_bug.cgi?id=31092
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |36f79a1c2dfccf1c0e019a8a697 | |bda2fefc62c1b Status|NEW |RESOLVED CC| |infyquest@gmail.com Resolution| |FIXED
--- Comment #3 from Vijay Kamuju infyquest@gmail.com 2012-07-09 18:54:17 CDT --- fixed
http://bugs.winehq.org/show_bug.cgi?id=31092
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2012-07-17 13:52:36 CDT --- Closing bugs fixed in 1.5.9.