0.84 MacOS: Draw function generates unexpected crash & quits

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: XnTriq, helmut, xnview, Dreamer

Post Reply
beijder
Posts: 1
Joined: Fri Mar 03, 2017 2:33 am

0.84 MacOS: Draw function generates unexpected crash & quits

Post by beijder »

Subject: 0.84: Draw function generates unexpected quit

XnView: MP 0.84
OS: Mac OSX 10.12.3 64bit

When I select the "Draw" option on any image, XNViewMP crashes.

Effect:

To reproduce:
1. Open an image
2. Choose "Draw" option
3. ...
Actual behaviour (bug): Instead of opening the Draw function the program crashes and quits.

Expected behaviour: Opening the image with the Draw options.

Crash report:

Code: Select all

Process:               XnViewMP [98060]
Path:                  /Applications/XnViewMP.app/Contents/MacOS/XnViewMP
Identifier:            com.xnview.XnView
Version:               0.84 (0.84)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           XnViewMP [98060]
User ID:               501

Date/Time:             2017-03-03 03:37:56.821 +0100
OS Version:            Mac OS X 10.12.3 (16D32)
Report Version:        12
Anonymous UUID:        544D413C-CD36-2A91-A5CC-5CA0AE5C04A9

Sleep/Wake UUID:       84055432-31C6-40EC-A38D-AF5B998232FC

Time Awake Since Boot: 32000 seconds
Time Since Wake:       1600 seconds

System Integrity Protection: disabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]

VM Regions Near 0:
--> 
    __TEXT                 0000000100e2c000-0000000101b43000 [ 13.1M] r-x/rwx SM=COW  /Applications/XnViewMP.app/Contents/MacOS/XnViewMP

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libc++abi.dylib               	0x00007fffbac1fa55 __dynamic_cast + 34
1   com.xnview.XnView             	0x0000000101035675 PaintWidget::onTextEffectChanged() + 149
2   org.qt-project.QtCore         	0x00000001048b1ebc QMetaObject::activate(QObject*, int, int, void**) + 876
3   com.xnview.XnView             	0x00000001013525f5 MyColorButton::colorChanged(QColor const&) + 53
4   com.xnview.XnView             	0x00000001010290c6 PaintWidget::PaintWidget(QWidget*) + 2694
5   com.xnview.XnView             	0x000000010102363d PaintDialog::PaintDialog(QWidget*) + 125
6   com.xnview.XnView             	0x00000001011c8620 AbstractViewWindow::onDraw() + 32
7   org.qt-project.QtCore         	0x00000001048b1ebc QMetaObject::activate(QObject*, int, int, void**) + 876
8   org.qt-project.QtWidgets      	0x0000000104c7f6cf QAction::activate(QAction::ActionEvent) + 303
9   org.qt-project.QtWidgets      	0x0000000104d75248 0x104c77000 + 1040968
10  org.qt-project.QtWidgets      	0x0000000104d7636e QAbstractButton::mouseReleaseEvent(QMouseEvent*) + 270
11  org.qt-project.QtWidgets      	0x0000000104e4ea3f QToolButton::mouseReleaseEvent(QMouseEvent*) + 15
12  org.qt-project.QtWidgets      	0x0000000104cc9cb1 QWidget::event(QEvent*) + 1681
13  org.qt-project.QtWidgets      	0x0000000104d760bf QAbstractButton::event(QEvent*) + 175
14  org.qt-project.QtWidgets      	0x0000000104e4f043 QToolButton::event(QEvent*) + 323
15  org.qt-project.QtWidgets      	0x0000000104c88956 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 294
16  org.qt-project.QtWidgets      	0x0000000104c8c22d QApplication::notify(QObject*, QEvent*) + 9549
17  com.xnview.XnView             	0x00000001010de892 MyApplication::notify(QObject*, QEvent*) + 578
18  org.qt-project.QtCore         	0x000000010487ec84 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
19  org.qt-project.QtWidgets      	0x0000000104c89328 QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) + 968
20  org.qt-project.QtWidgets      	0x0000000104ceb577 0x104c77000 + 476535
21  org.qt-project.QtWidgets      	0x0000000104cea561 0x104c77000 + 472417
22  org.qt-project.QtWidgets      	0x0000000104c88956 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 294
23  org.qt-project.QtWidgets      	0x0000000104c8b415 QApplication::notify(QObject*, QEvent*) + 5941
24  com.xnview.XnView             	0x00000001010de892 MyApplication::notify(QObject*, QEvent*) + 578
25  org.qt-project.QtCore         	0x000000010487ec84 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
26  org.qt-project.QtGui          	0x00000001040e2f4a QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 2794
27  org.qt-project.QtGui          	0x00000001040cc15b QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 155
28  libqcocoa.dylib               	0x00000001074e2461 0x1074bf000 + 144481
29  com.apple.CoreFoundation      	0x00007fffa6ad4981 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
30  com.apple.CoreFoundation      	0x00007fffa6ab5a7d __CFRunLoopDoSources0 + 557
31  com.apple.CoreFoundation      	0x00007fffa6ab4f76 __CFRunLoopRun + 934
32  com.apple.CoreFoundation      	0x00007fffa6ab4974 CFRunLoopRunSpecific + 420
33  com.apple.HIToolbox           	0x00007fffa6040a5c RunCurrentEventLoopInMode + 240
34  com.apple.HIToolbox           	0x00007fffa6040799 ReceiveNextEventCommon + 184
35  com.apple.HIToolbox           	0x00007fffa60406c6 _BlockUntilNextEventMatchingListInModeWithFilter + 71
36  com.apple.AppKit              	0x00007fffa45e65b4 _DPSNextEvent + 1120
37  com.apple.AppKit              	0x00007fffa4d60d6b -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2789
38  com.apple.AppKit              	0x00007fffa45daf35 -[NSApplication run] + 926
39  libqcocoa.dylib               	0x00000001074e135f 0x1074bf000 + 140127
40  org.qt-project.QtCore         	0x000000010487b051 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 401
41  org.qt-project.QtCore         	0x000000010487f2f5 QCoreApplication::exec() + 341
42  com.xnview.XnView             	0x00000001010d6b5b main + 1083
43  com.xnview.XnView             	0x0000000100e325f4 start + 52
User avatar
xnview
Author of XnView
Posts: 43441
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.84 MacOS: Draw function generates unexpected crash & q

Post by xnview »

O.k., thank you, I can also reproduce the problem. Issue 1153 is fixed in next version.
Pierre.
User avatar
xnview
Author of XnView
Posts: 43441
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.84 MacOS: Draw function generates unexpected crash & q

Post by xnview »

This problem is supposed to be fixed in XnView MP 0.85 beta 1. Please check and confirm the bug fix here.
Pierre.
Post Reply