Author Topic: Random crash on MacOS version  (Read 965 times)

Offline thutchison

  • Newcomer
  • Posts: 13
Random crash on MacOS version
« on: 2019 November 23 06:26:16 »
I had been getting random segmentation violations on my Mac Pro running v 1.8.7 (see my previous post).  Your reply was that you suspected a hardware issue with the machine.  I have executed every test I can think of on the computer and was unable to locate any issues with the hardware.  I decided to attempt to process an image on my MacBook Pro (brand new).  I have v1.8.8-1 installed on the MacBook and I am experiencing the same issue.  Random segmentation violations. I cannot pin it down to a specific function as it occurs at different times using different functions.  However, I suspect that using preview windows and undo/redo-ing changes has some impact as that seems to trigger the behavior more frequently.  Here is an example from a recent session. 

I am convinced that this is not a hardware failure as I have now reproduced it on 2 different computers using 2 different versions of PI.

I am committed to helping you in any way to resolve this issue.  Please let me know how we can proceed.

Best.
Tim.

*** PCL Unix Signal Handler: Critical signal caught (11): Segmentation violation
PixInsight 1.8.8-1494 - Critical Signal Backtrace
Received signal 11 (SIGSEGV)
Module: 0   PixInsight                          0x0000000105cdc702 InitializePixInsightModule + 1849362
================================================================================
 46: 1   libsystem_platform.dylib            0x00007fff64301b5d _sigtramp + 29
 45: 2   ???                                 0x0000000000000005 0x0 + 5
 44: 3   PixInsight                          0x0000000105a9e932 PixInsight + 14514482
 43: 4   QtWidgets                           0x000000010e974979 _ZN7QWidget5eventEP6QEvent + 1161
 42: 5   QtWidgets                           0x000000010e939c20 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 272
 41: 6   QtWidgets                           0x000000010e93afd5 _ZN12QApplication6notifyEP7QObjectP6QEvent + 581
 40: 7   PixInsight                          0x0000000104dfcc84 PixInsight + 1268868
 39: 8   QtCore                              0x000000010fda6094 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 212
 38: 9   QtWidgets                           0x000000010e97371d _ZN14QWidgetPrivate11show_helperEv + 413
 37: 10  QtWidgets                           0x000000010e97432c _ZN14QWidgetPrivate10setVisibleEb + 828
 36: 11  PixInsight                          0x00000001050e09e1 PixInsight + 4299233
 35: 12  PixInsight                          0x00000001050e0c6f PixInsight + 4299887
 34: 13  QtWidgets                           0x000000010e9746d1 _ZN7QWidget5eventEP6QEvent + 481
 33: 14  QtWidgets                           0x000000010ea3b4e2 _ZN9QComboBox5eventEP6QEvent + 370
 32: 15  QtWidgets                           0x000000010e939c20 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 272
 31: 16  QtWidgets                           0x000000010e93cb86 _ZN12QApplication6notifyEP7QObjectP6QEvent + 7670
 30: 17  PixInsight                          0x0000000104dfcc84 PixInsight + 1268868
 29: 18  QtCore                              0x000000010fda6094 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 212
 28: 19  QtWidgets                           0x000000010e93a547 _ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Ebb + 903
 27: 20  QtWidgets                           0x000000010e99391f _ZN14QDesktopWidget11qt_metacallEN11QMetaObject4CallEiPPv + 9087
 26: 21  QtWidgets                           0x000000010e99266a _ZN14QDesktopWidget11qt_metacallEN11QMetaObject4CallEiPPv + 4298
 25: 22  QtWidgets                           0x000000010e939c20 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 272
 24: 23  QtWidgets                           0x000000010e93afd5 _ZN12QApplication6notifyEP7QObjectP6QEvent + 581
 23: 24  PixInsight                          0x0000000104dfcc84 PixInsight + 1268868
 22: 25  QtCore                              0x000000010fda6094 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 212
 21: 26  QtGui                               0x000000010ef37e61 _ZN22QGuiApplicationPrivate17processMouseEventEPN29QWindowSystemInterfacePrivate10MouseEventE + 3441
 20: 27  QtGui                               0x000000010ef3814d _ZN22QGuiApplicationPrivate17processMouseEventEPN29QWindowSystemInterfacePrivate10MouseEventE + 4189
 19: 28  QtGui                               0x000000010ef3c3e9 _ZN22QGuiApplicationPrivate18processTabletEventEPN29QWindowSystemInterfacePrivate11TabletEventE + 1689
 18: 29  QtGui                               0x000000010ef1f4bb _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 219
 17: 30  libqcocoa.dylib                     0x000000011350a3e8 qt_plugin_instance + 180424
 16: 31  CoreFoundation                      0x00007fff381cce33 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
 15: 32  CoreFoundation                      0x00007fff381ccdd9 __CFRunLoopDoSource0 + 108
 14: 33  CoreFoundation                      0x00007fff381b079b __CFRunLoopDoSources0 + 195
 13: 34  CoreFoundation                      0x00007fff381afd65 __CFRunLoopRun + 1189
 12: 35  CoreFoundation                      0x00007fff381af66e CFRunLoopRunSpecific + 455
 11: 36  HIToolbox                           0x00007fff3740e1ab RunCurrentEventLoopInMode + 292
 10: 37  HIToolbox                           0x00007fff3740dded ReceiveNextEventCommon + 355
  9: 38  HIToolbox                           0x00007fff3740dc76 _BlockUntilNextEventMatchingListInModeWithFilter + 64
  8: 39  AppKit                              0x00007fff357a677d _DPSNextEvent + 1135
  7: 40  AppKit                              0x00007fff357a546b -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361(+1361)
  6: 41  AppKit                              0x00007fff3579f588 -[NSApplication run] + 699
  5: 42  libqcocoa.dylib                     0x0000000113509258 qt_plugin_instance + 175928
  4: 43  QtCore                              0x000000010fda163f _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE + 431
  3: 44  QtCore                              0x000000010fda66e2 _ZN16QCoreApplication4execEv + 130
  2: 45  PixInsight                          0x0000000104e150bc PixInsight + 1368252
  1: 46  libdyld.dylib                       0x00007fff641163d5 start + 1
================================================================================
*** PCL Unix Signal Handler: Critical signal caught (11): Segmentation violation
PixInsight 1.8.8-1494 - Critical Signal Backtrace
Received signal 11 (SIGSEGV)
Module: 0   PixInsight                          0x0000000105cdc702 InitializePixInsightModule + 1849362
================================================================================
 40: 1   libsystem_platform.dylib            0x00007fff64301b5d _sigtramp + 29
 39: 2   ???                                 0x0000000000000030 0x0 + 48
 38: 3   QtWidgets                           0x000000010e973725 _ZN14QWidgetPrivate11show_helperEv + 421
 37: 4   QtWidgets                           0x000000010e97432c _ZN14QWidgetPrivate10setVisibleEb + 828
 36: 5   PixInsight                          0x00000001050e09e1 PixInsight + 4299233
 35: 6   PixInsight                          0x00000001050e0c6f PixInsight + 4299887
 34: 7   QtWidgets                           0x000000010e9746d1 _ZN7QWidget5eventEP6QEvent + 481
 33: 8   QtWidgets                           0x000000010ea3b4e2 _ZN9QComboBox5eventEP6QEvent + 370
 32: 9   QtWidgets                           0x000000010e939c20 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 272
 31: 10  QtWidgets                           0x000000010e93cb86 _ZN12QApplication6notifyEP7QObjectP6QEvent + 7670
 30: 11  PixInsight                          0x0000000104dfcc84 PixInsight + 1268868
 29: 12  QtCore                              0x000000010fda6094 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 212
 28: 13  QtWidgets                           0x000000010e93a547 _ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Ebb + 903
 27: 14  QtWidgets                           0x000000010e99391f _ZN14QDesktopWidget11qt_metacallEN11QMetaObject4CallEiPPv + 9087
 26: 15  QtWidgets                           0x000000010e99266a _ZN14QDesktopWidget11qt_metacallEN11QMetaObject4CallEiPPv + 4298
 25: 16  QtWidgets                           0x000000010e939c20 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 272
 24: 17  QtWidgets                           0x000000010e93afd5 _ZN12QApplication6notifyEP7QObjectP6QEvent + 581
 23: 18  PixInsight                          0x0000000104dfcc84 PixInsight + 1268868
 22: 19  QtCore                              0x000000010fda6094 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 212
 21: 20  QtGui                               0x000000010ef37e61 _ZN22QGuiApplicationPrivate17processMouseEventEPN29QWindowSystemInterfacePrivate10MouseEventE + 3441
 20: 21  QtGui                               0x000000010ef3814d _ZN22QGuiApplicationPrivate17processMouseEventEPN29QWindowSystemInterfacePrivate10MouseEventE + 4189
 19: 22  QtGui                               0x000000010ef3c3e9 _ZN22QGuiApplicationPrivate18processTabletEventEPN29QWindowSystemInterfacePrivate11TabletEventE + 1689
 18: 23  QtGui                               0x000000010ef1f4bb _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 219
 17: 24  libqcocoa.dylib                     0x000000011350a3e8 qt_plugin_instance + 180424
 16: 25  CoreFoundation                      0x00007fff381cce33 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
 15: 26  CoreFoundation                      0x00007fff381ccdd9 __CFRunLoopDoSource0 + 108
 14: 27  CoreFoundation                      0x00007fff381b079b __CFRunLoopDoSources0 + 195
 13: 28  CoreFoundation                      0x00007fff381afd65 __CFRunLoopRun + 1189
 12: 29  CoreFoundation                      0x00007fff381af66e CFRunLoopRunSpecific + 455
 11: 30  HIToolbox                           0x00007fff3740e1ab RunCurrentEventLoopInMode + 292
 10: 31  HIToolbox                           0x00007fff3740dded ReceiveNextEventCommon + 355
  9: 32  HIToolbox                           0x00007fff3740dc76 _BlockUntilNextEventMatchingListInModeWithFilter + 64
  8: 33  AppKit                              0x00007fff357a677d _DPSNextEvent + 1135
  7: 34  AppKit                              0x00007fff357a546b -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361(+1361)
  6: 35  AppKit                              0x00007fff3579f588 -[NSApplication run] + 699
  5: 36  libqcocoa.dylib                     0x0000000113509258 qt_plugin_instance + 175928
  4: 37  QtCore                              0x000000010fda163f _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE + 431
  3: 38  QtCore                              0x000000010fda66e2 _ZN16QCoreApplication4execEv + 130
  2: 39  PixInsight                          0x0000000104e150bc PixInsight + 1368252
  1: 40  libdyld.dylib                       0x00007fff641163d5 start + 1
================================================================================

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Random crash on MacOS version
« Reply #1 on: 2019 November 23 13:43:15 »
We cannot reproduce this problem on several iMac and MacBook Pro machines with macOS 10.14 and 10.15. PixInsight 1.8.8-1 is stable on all of our macOS installations. We regularly run stress tests on all platforms, including macOS.

Can you show a sequence of operations or a pattern that allows us to reproduce these issues?

Are you running some nonstandard modules or scripts?

Do you have some third-party applications that could conflict with PixInsight, such as virus protection software or file management utilities?
Juan Conejero
PixInsight Development Team
http://pixinsight.com/