Pitivi crashes in AppKit on Mac OS X 10.9
@brion
Submitted by Brion Vibber Assigned to Alex Băluț @aleb
Description
With various patches from bug T3237 and bug T3238 I can get pitivi built with cerbero on Mac OS X 10.9 w/ Xcode 6.0.1, but something goes awry when running:
[cerbero-darwin-x86_64]:~/cerbero/sources/darwin_x86_64/pitivi-0.93$ pitivi
Missing soft dependency:
- pycanberra not found on the system
-> enables sound notifications when rendering is complete
ERROR:root:Could not find any typelib for GnomeDesktop
Missing soft dependency:
- GnomeDesktop not found on the system
-> file thumbnails provided by GNOME's thumbnailers
ERROR:root:Could not find any typelib for Notify
Missing soft dependency:
- Notify not found on the system
-> enables visual notifications when rendering is complete
2014-10-18 09:36:42.807 python3[51928:d0f] _createMenuRef called with existing principal MenuRef already associated with menu
2014-10-18 09:36:42.810 python3[51928:d0f] (
0 CoreFoundation 0x00007fff946dc25c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff93fd1e75 objc_exception_throw + 43
2 CoreFoundation 0x00007fff946dc10c +[NSException raise:format:] + 204
3 AppKit 0x00007fff8fe28cf4 -[NSCarbonMenuImpl _createMenuRef] + 62
4 AppKit 0x00007fff8fe286ca -[NSCarbonMenuImpl _instantiateCarbonMenu] + 143
5 AppKit 0x00007fff8fe26e92 -[NSApplication finishLaunching] + 876
6 libgobject-2.0.0.dylib 0x0000000101338b62 g_closure_invoke + 306
7 libgobject-2.0.0.dylib 0x000000010134fcb1 signal_emit_unlocked_R + 1329
8 libgobject-2.0.0.dylib 0x0000000101350cfe g_signal_emit_valist + 2270
9 libgobject-2.0.0.dylib 0x00000001013513c6 g_signal_emit + 134
10 libgio-2.0.0.dylib 0x00000001011634f7 g_application_register + 215
11 libgio-2.0.0.dylib 0x0000000101164f13 g_application_real_local_command_line + 963
12 libgio-2.0.0.dylib 0x0000000101163b23 g_application_run + 307
13 libffi.6.dylib 0x00000001013a2314 ffi_call_unix64 + 76
14 ??? 0x00007fff5fbfe100 0x0 + 140734799798528
)
/Users/brion/cerbero/dist/darwin_x86_64/bin/pitivi:127: Warning: Source ID 27 was not found when attempting to remove it
app.run(sys.argv)
Segmentation fault: 11
Not sure yet if this is a bug in pitivi proper or the Gtk+3 backend. Kinda looks like something's double-initializing the Mac application runtime?
Imported from https://bugzilla.gnome.org/show_bug.cgi?id=738771