Mac plugin crashing when System Integrity Protection is turned on

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Mac plugin crashing when System Integrity Protection is turned on

Jon Webb
My Firebreath plugin for Safari, which uses Qt 5.5.1, crashes when System Integrity Protection is turned on. It works in other browsers, and in Safari with System Integrity Protection turned off. This is running OS X El Capitan, v10.11.4.
I'm attaching the crash report. The top of the call stack is

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib         0x00007fff91594f06 __pthread_kill + 10
1   libsystem_pthread.dylib       0x00007fff9604a4ec pthread_kill + 90
2   libsystem_c.dylib             0x00007fff9211e6e7 abort + 129
3   org.qt-project.QtCore         0x000000010c6dbab9 qt_message_fatal(QtMsgType, QMessageLogContext const&, QString const&) + 9
4   org.qt-project.QtCore         0x000000010c6dd487 QMessageLogger::fatal(char const*, ...) const + 231
5   org.qt-project.QtGui           0x000000010c108527 QGuiApplicationPrivate::createPlatformIntegration() + 6359
6   org.qt-project.QtGui           0x000000010c10854b QGuiApplicationPrivate::createEventDispatcher() + 27
7   org.qt-project.QtCore         0x000000010c8984ec QCoreApplication::init() + 204
8   org.qt-project.QtCore         0x000000010c898407 QCoreApplication::QCoreApplication(QCoreApplicationPrivate&) + 39
9   org.qt-project.QtGui           0x000000010c1059ee QGuiApplication::QGuiApplication(QGuiApplicationPrivate&) + 14
10  org.qt-project.QtWidgets       0x000000010b869b6e QApplication::QApplication(int&, char**, int) + 206

I see this in Console:
com.apple.WebKit.Plugin.64: Failed to connect (colorGridView) outlet from (NSApplication) to (NSColorPickerGridView): missing setter or instance variable
com.apple.WebKit.Plugin.64: Failed to connect (view) outlet from (NSApplication) to (NSColorPickerGridView): missing setter or instance variable

Maybe there's an issue with Qt 5.5.1 & SIP with OS X El Capitan? Or I need to do something to initialize it before instantiating QApplication? (The call to QApplication is practically the first thing my plugin does.)

Any ideas, please let me know. Also, BTW, I'm not very familiar with the Mac so if someone could tell me how to get the debug version of the Qt libraries linked in there so I see line numbers in the Qt code that would help.


--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

com.apple.WebKit.Plugin.64_2016-08-16-144810_Jons-Mac-mini-2.crash (49K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Mac plugin crashing when System Integrity Protection is turned on

Mondain
Sorry, but what does this have to do with Red5?

On Tue, Aug 16, 2016 at 3:11 PM Jon Webb <[hidden email]> wrote:
My Firebreath plugin for Safari, which uses Qt 5.5.1, crashes when System Integrity Protection is turned on. It works in other browsers, and in Safari with System Integrity Protection turned off. This is running OS X El Capitan, v10.11.4.
I'm attaching the crash report. The top of the call stack is

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib         0x00007fff91594f06 __pthread_kill + 10
1   libsystem_pthread.dylib       0x00007fff9604a4ec pthread_kill + 90
2   libsystem_c.dylib             0x00007fff9211e6e7 abort + 129
3   org.qt-project.QtCore         0x000000010c6dbab9 qt_message_fatal(QtMsgType, QMessageLogContext const&, QString const&) + 9
4   org.qt-project.QtCore         0x000000010c6dd487 QMessageLogger::fatal(char const*, ...) const + 231
5   org.qt-project.QtGui           0x000000010c108527 QGuiApplicationPrivate::createPlatformIntegration() + 6359
6   org.qt-project.QtGui           0x000000010c10854b QGuiApplicationPrivate::createEventDispatcher() + 27
7   org.qt-project.QtCore         0x000000010c8984ec QCoreApplication::init() + 204
8   org.qt-project.QtCore         0x000000010c898407 QCoreApplication::QCoreApplication(QCoreApplicationPrivate&) + 39
9   org.qt-project.QtGui           0x000000010c1059ee QGuiApplication::QGuiApplication(QGuiApplicationPrivate&) + 14
10  org.qt-project.QtWidgets       0x000000010b869b6e QApplication::QApplication(int&, char**, int) + 206

I see this in Console:
com.apple.WebKit.Plugin.64: Failed to connect (colorGridView) outlet from (NSApplication) to (NSColorPickerGridView): missing setter or instance variable
com.apple.WebKit.Plugin.64: Failed to connect (view) outlet from (NSApplication) to (NSColorPickerGridView): missing setter or instance variable

Maybe there's an issue with Qt 5.5.1 & SIP with OS X El Capitan? Or I need to do something to initialize it before instantiating QApplication? (The call to QApplication is practically the first thing my plugin does.)

Any ideas, please let me know. Also, BTW, I'm not very familiar with the Mac so if someone could tell me how to get the debug version of the Qt libraries linked in there so I see line numbers in the Qt code that would help.


--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Mac plugin crashing when System Integrity Protection is turned on

Jon Webb
Sorry, I got the wrong group. Please ignore. 

On Tuesday, August 16, 2016 at 3:16:17 PM UTC-4, Mondain wrote:
Sorry, but what does this have to do with Red5?

On Tue, Aug 16, 2016 at 3:11 PM Jon Webb <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="xpgYBIqZCwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jona...@...> wrote:
My Firebreath plugin for Safari, which uses Qt 5.5.1, crashes when System Integrity Protection is turned on. It works in other browsers, and in Safari with System Integrity Protection turned off. This is running OS X El Capitan, v10.11.4.
I'm attaching the crash report. The top of the call stack is

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib         0x00007fff91594f06 __pthread_kill + 10
1   libsystem_pthread.dylib       0x00007fff9604a4ec pthread_kill + 90
2   libsystem_c.dylib             0x00007fff9211e6e7 abort + 129
3   org.qt-project.QtCore         0x000000010c6dbab9 qt_message_fatal(QtMsgType, QMessageLogContext const&, QString const&) + 9
4   org.qt-project.QtCore         0x000000010c6dd487 QMessageLogger::fatal(char const*, ...) const + 231
5   org.qt-project.QtGui           0x000000010c108527 QGuiApplicationPrivate::createPlatformIntegration() + 6359
6   org.qt-project.QtGui           0x000000010c10854b QGuiApplicationPrivate::createEventDispatcher() + 27
7   org.qt-project.QtCore         0x000000010c8984ec QCoreApplication::init() + 204
8   org.qt-project.QtCore         0x000000010c898407 QCoreApplication::QCoreApplication(QCoreApplicationPrivate&) + 39
9   org.qt-project.QtGui           0x000000010c1059ee QGuiApplication::QGuiApplication(QGuiApplicationPrivate&) + 14
10  org.qt-project.QtWidgets       0x000000010b869b6e QApplication::QApplication(int&, char**, int) + 206

I see this in Console:
com.apple.WebKit.Plugin.64: Failed to connect (colorGridView) outlet from (NSApplication) to (NSColorPickerGridView): missing setter or instance variable
com.apple.WebKit.Plugin.64: Failed to connect (view) outlet from (NSApplication) to (NSColorPickerGridView): missing setter or instance variable

Maybe there's an issue with Qt 5.5.1 & SIP with OS X El Capitan? Or I need to do something to initialize it before instantiating QApplication? (The call to QApplication is practically the first thing my plugin does.)

Any ideas, please let me know. Also, BTW, I'm not very familiar with the Mac so if someone could tell me how to get the debug version of the Qt libraries linked in there so I see line numbers in the Qt code that would help.


--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="xpgYBIqZCwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">red5interest...@googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.