[613/906] window_cocoa: fix segfault with gst-launch-1.0 -e ... and sending SIGINT...
authorMatthew Waters <ystreet00@gmail.com>
Sat, 17 Nov 2012 14:16:44 +0000 (01:16 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:26 +0000 (19:31 +0000)
commitfc4619f8a9475227e4655a01bc395c6b429c121e
treefeaf615bd3c65aba66c5979d02b5761c176a12c8
parent517db226fef72233bf9406429bba5e62e8bb14d7
[613/906] window_cocoa: fix segfault with gst-launch-1.0 -e ... and sending SIGINT (Ctrl-C)

GNUstep has a signal handler for SIGINT which runs in the main thread.
However that thread has never been 'registered' with GNUstep so
the autorelease magic of objective-c causes a segfault from accessing
a null NSThread object somewhere deep in GNUstep.
gst-libs/gst/gl/gstglwindow_cocoa.m