Page MenuHome

Fullscreen crashes on OSX
Closed, ResolvedPublic

Description

open blender default file and Alt+F11 (or space, and type fullscreen).
Sometimes I have to press it twice (toggle and back).

The backtrace:

Thread 1, Queue : com.apple.main-thread
#0 0x00007fff96682f5e in objc_release ()
#1 0x00007fff96682230 in (anonymous namespace)::AutoreleasePoolPage::pop(void*) ()
#2 0x00007fff8be7e342 in _CFAutoreleasePoolPop ()
#3 0x00007fff9552b4fa in -[NSAutoreleasePool drain] ()
#4 0x0000000100d1e14f in GHOST_WindowCocoa::setState at /Users/dfelinto/blender/bf/intern/ghost/intern/GHOST_WindowCocoa.mm:1010
#5 0x0000000100d01caa in GHOST_SetWindowState ()
#6 0x00000001000ff592 in wm_window_fullscreen_toggle_exec ()
#7 0x00000001000e5c73 in wm_operator_invoke ()
#8 0x00000001000df2ff in wm_operator_call_internal ()
#9 0x00000001000dfd03 in WM_operator_name_call ()
#10 0x00000001004504da in operator_call_cb ()
#11 0x0000000100412f04 in ui_apply_but_funcs_after ()
#12 0x0000000100412c29 in ui_handler_popup ()
#13 0x00000001000e4d3b in wm_handler_ui_call ()
#14 0x00000001000e4091 in wm_handlers_do_intern ()
#15 0x00000001000e0f35 in wm_handlers_do ()
#16 0x00000001000e0810 in wm_event_do_handlers ()
#17 0x00000001000d749e in WM_main ()
#18 0x00000001000d3343 in main at /Users/dfelinto/blender/bf/source/creator/creator.c:1582



Tested on two different Mac Book Pros, one with NVidia and the other with ATI.
Blender trunk ( >2.65)

Note, I can only reproduce it in release mode with cmake+make, or debug with xcode. debug +cmake + make doesn't have this problem

Event Timeline

I only have cmake debug build, and it's doing fine :/

Brecht and Jens have been editing some of this NS Pool stuff, to prevent the "White flash" issue on closing blender...

Oh yes it goes white before it crashes. But does cmake release crashes on you too?

Didn't try, I need the debug build all the time...

I can't redo the problem with a cmake release build, OS X 10.8.2. Which OS X version are you testing this on?

It might be the deployment target you set?

I found now it crashes when building for 10.5, fix committed for that case, but I'm not sure if it fixes your problem.

The build from builder.blender.org would work in my system, not my own build.
But the recent commits fixed the problem for me. I'm closing the report.
Thanks Brecht.

Dalai Felinto (dfelinto) changed the task status from Unknown Status to Resolved.Feb 4 2013, 9:28 PM