Ticket #14780 (closed defect: fixed)
Crash during startup C++ locale setting wxOSX Cocoa
| Reported by: | arondobos | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | 2.9.5 |
| Component: | wxOSX-Cocoa | Version: | 2.9-svn |
| Keywords: | Cc: | memelink.akker@… | |
| Blocked By: | Patch: | no | |
| Blocking: |
Description
The current SVN version of wxWidgets crashes on startup with the following trace:
This was running the webview sample (unchanged) after compiling the library.
0 libSystem.B.dylib 0x00007fff8667a5d6 kill + 10
1 libSystem.B.dylib 0x00007fff8671acde abort + 83
2 libstdc++.6.dylib 0x00007fff825be5d2 tcf_0 + 0
3 libobjc.A.dylib 0x00007fff80e4cd3d _objc_terminate + 120
4 libstdc++.6.dylib 0x00007fff825bcae1 cxxabiv1::terminate(void (*)()) + 11
5 libstdc++.6.dylib 0x00007fff825bcb16 cxxabiv1::unexpected(void (*)()) + 0
6 libstdc++.6.dylib 0x00007fff825bcbfc gxx_exception_cleanup(_Unwind_Reason_Code, _Unwind_Exception*) + 0
7 libstdc++.6.dylib 0x00007fff82578bd8 std::throw_runtime_error(char const*) + 127
8 libstdc++.6.dylib 0x00007fff825b6c6b std::locale::facet::_S_create_c_locale(int*&, char const*, int*) + 45
9 libstdc++.6.dylib 0x00007fff8257bb10 std::locale::_Impl::_Impl(char const*, unsigned long) + 86
10 libstdc++.6.dylib 0x00007fff8257c832 std::locale::locale(char const*) + 1112
11 org.wxwindows.. 0x000000010021c7b1 wxAppTraitsBase::SetLocale() + 49
12 org.wxwindows.. 0x000000010021d322 wxAppConsoleBase::Initialize(int&, wchar_t**) + 18
13 org.wxwindows.. 0x00000001003085f1 wxAppConsole::Initialize(int&, wchar_t**) + 17
14 org.wxwindows.. 0x0000000100125181 wxAppBase::Initialize(int&, wchar_t**) + 17
15 org.wxwindows.. 0x00000001000bbba2 wxApp::Initialize(int&, wchar_t**) + 226
16 org.wxwindows.. 0x000000010028baf2 wxEntryStart(int&, wchar_t**) + 130
17 org.wxwindows.. 0x000000010028c03c wxInitialize(int, wchar_t**) + 108
18 org.wxwindows.. 0x000000010028c09b wxEntry(int&, wchar_t**) + 27
19 org.wxwindows.. 0x0000000100038ae4 main + 20
20 org.wxwindows.. 0x0000000100038604 start + 52
I think this is related to #72719.
I compiled SVN 72780 using
./configure --prefix=/Users/adobos/local/wx3-svn --disable-shared --enable-stl --with-cocoa --with-libjpeg=builtin --with-libpng=builtin --with-regex=builtin --with-libtiff=builtin --with-zlib=builtin --with-expat=builtin
