User forums > Using Code::Blocks

Changing font size causes crash on Mac Yosemite

<< < (2/2)

rafael.zemog:
I can test CB on MAC OS Yosemite

afb:

--- Quote from: rafael.zemog on July 12, 2015, 06:46:51 pm ---I can test CB on MAC OS Yosemite

--- End quote ---
You will probably also need a debug build (with symbols) of both wxWidgets and Code::Blocks...

Anyway here is the stacktrace:

--- Code: ---Performing @selector(_chooseSizeFromList:) from sender NSFontPanelTableView 0x132a1ff0

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        0x900ce69a __pthread_kill + 10
1   libsystem_pthread.dylib        0x9105ff19 pthread_kill + 101
2   libsystem_c.dylib              0x921a6eee abort + 156
3   libwx_macu-2.8.dylib          0x003a7ff5 wxFatalSignalHandler + 37
4   libsystem_platform.dylib      0x976ee03b _sigtramp + 43
5   ???                            0xffffffff 0 + 4294967295
6   libwx_macu-2.8.dylib          0x003a7fd0 wxHandleFatalExceptions(bool) + 400
7   libwx_macu-2.8.dylib          0x003de982 wxFont::Unshare() + 66
8   libwx_macu-2.8.dylib          0x003ddf93 wxFont::SetFaceName(wxString const&) + 19
9   libwx_macu-2.8.dylib          0x003df3f0 wxMacCarbonFontPanelHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 352
10  com.apple.HIToolbox            0x915895a4 _InvokeEventHandlerUPP(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*, long (*)(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)) + 36

--- End code ---

https://github.com/wxWidgets/wxWidgets/blob/WX_2_8_BRANCH/src/mac/carbon/font.cpp

afb:
Note that you cannot use Xcode 4 or later to build the 32-bit target (wxMac).
So you need access to Xcode 3.2.6 and the old MacOSX10.6.sdk to build this...

All new OS X development needs to target wxWidgets 3 instead, for 64-bit support.
Then you will have new interesting issues with wxOSX, instead of these old ones.

Navigation

[0] Message Index

[*] Previous page

Go to full version