https://bugs.kde.org/show_bug.cgi?id=411612

--- Comment #25 from caulier.gil...@gmail.com ---
I regenerate the MAcOS package without to drop any debug symbols. I compared
digikam + libdigikam* binaries, and the file sizes grow considerably.

Now inside lldb it crash or not when i open close Tag manager ! is this one :

2019-09-21 10:07:20.936275+0200 digikam[7118:2175480] [digikam.database] items
to tag ()
2019-09-21 10:07:20.937713+0200 digikam[7118:2175480] [digikam.database]
Complete scan took: 3249 msecs.
2019-09-21 10:07:20.939097+0200 digikam[7118:2175429] [digikam.general] Event
is dispatched to OSX desktop notifier
2019-09-21 10:07:39.436817+0200 digikam[7118:2175485] [digikam.databaseserver]
Running 30 seconds...
2019-09-21 10:07:55.315336+0200 digikam[7118:2175429] QFSFileEngine::open: No
file name specified
2019-09-21 10:08:09.517339+0200 digikam[7118:2175485] [digikam.databaseserver]
Running 60 seconds...
Process 7118 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
(code=EXC_I386_GPFLT)
    frame #0: 0x00000001058b9ea5 QtCore`QObject::metaObject() const + 21
QtCore`QObject::metaObject:
->  0x1058b9ea5 <+21>: movq   (%rdi), %rax
    0x1058b9ea8 <+24>: callq  *0x18(%rax)
    0x1058b9eab <+27>: movq   %rax, %rcx
    0x1058b9eae <+30>: leaq   0x8(%rax), %rax
Target 0: (digikam) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
(code=EXC_I386_GPFLT)
  * frame #0: 0x00000001058b9ea5 QtCore`QObject::metaObject() const + 21
    frame #1: 0x0000000105896622 QtCore`QMetaObject::cast(QObject*) const + 26
    frame #2: 0x0000000104a53765 QtWidgets`QWidget::isActiveWindow() const +
267
    frame #3: 0x0000000104a4cd63 QtWidgets`QWidget::palette() const + 33
    frame #4: 0x0000000104a61184 QtWidgets`QWidget::initPainter(QPainter*)
const + 26
    frame #5: 0x00000001050c6eb7 QtGui`QPainter::initFrom(QPaintDevice const*)
+ 37
    frame #6: 0x00000001050ca0a8 QtGui`QPainter::begin(QPaintDevice*) + 714
    frame #7: 0x00000001050c9dd2 QtGui`QPainter::QPainter(QPaintDevice*) + 78
    frame #8: 0x0000000100791392
libdigikamcore.6.4.0.dylib`Digikam::DMultiTabBarTab::paintEvent(QPaintEvent*) +
66
    frame #9: 0x0000000104a5cc15 QtWidgets`QWidget::event(QEvent*) + 1949
    frame #10: 0x0000000104a2cfd3
QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 271
    frame #11: 0x0000000104a2e369 QtWidgets`QApplication::notify(QObject*,
QEvent*) + 733
    frame #12: 0x0000000105891f40
QtCore`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 154
    frame #13: 0x0000000104a56857
QtWidgets`QWidgetPrivate::sendPaintEvent(QRegion const&) + 43
    frame #14: 0x0000000104a564ca
QtWidgets`QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint
const&, int, QPainter*, QWidgetBackingStore*) + 2366
    frame #15: 0x0000000104a56cca
QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*>
const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) + 1100
    frame #16: 0x0000000104a56b73
QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*>
const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) + 757
    frame #17: 0x0000000104a56b73
QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*>
const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) + 757
    frame #18: 0x0000000104a56b73
QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*>
const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) + 757
    frame #19: 0x0000000104a56b73
QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*>
const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) + 757
    frame #20: 0x0000000104a56b73
QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*>
const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) + 757
    frame #21: 0x0000000104a56b73
QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*>
const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) + 757
    frame #22: 0x0000000104a56783
QtWidgets`QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint
const&, int, QPainter*, QWidgetBackingStore*) + 3063
    frame #23: 0x0000000104a56cca
QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*>
const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) + 1100
    frame #24: 0x0000000104a56783
QtWidgets`QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint
const&, int, QPainter*, QWidgetBackingStore*) + 3063
    frame #25: 0x0000000104a56cca
QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*>
const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) + 1100
    frame #26: 0x0000000104a56b73
QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*>
const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) + 757
    frame #27: 0x0000000104a56b73
QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*>
const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) + 757
    frame #28: 0x0000000104a56783
QtWidgets`QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint
const&, int, QPainter*, QWidgetBackingStore*) + 3063
    frame #29: 0x0000000104a56cca
QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*>
const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) + 1100
    frame #30: 0x0000000104a56b73
QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*>
const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) + 757
    frame #31: 0x0000000104a56b73
QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*>
const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) + 757
    frame #32: 0x0000000104a56783
QtWidgets`QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint
const&, int, QPainter*, QWidgetBackingStore*) + 3063
    frame #33: 0x0000000104a38d13
QtWidgets`___lldb_unnamed_symbol145$$QtWidgets + 4121
    frame #34: 0x0000000104a5ce3b QtWidgets`QWidget::event(QEvent*) + 2499
    frame #35: 0x0000000103db28fd
libKF5XmlGui.5.dylib`KMainWindow::event(QEvent*) + 1261
    frame #36: 0x0000000103e0bb3a
libKF5XmlGui.5.dylib`KXmlGuiWindow::event(QEvent*) + 42
    frame #37: 0x0000000104a2cfd3
QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 271
    frame #38: 0x0000000104a2e369 QtWidgets`QApplication::notify(QObject*,
QEvent*) + 733
    frame #39: 0x0000000105891f40
QtCore`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 154
    frame #40: 0x0000000105892bcd
QtCore`QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) +
495
    frame #41: 0x0000000112b2e85d
libqcocoa.dylib`___lldb_unnamed_symbol715$$libqcocoa.dylib + 183
    frame #42: 0x0000000112b2eeb7
libqcocoa.dylib`___lldb_unnamed_symbol727$$libqcocoa.dylib + 33
    frame #43: 0x00007fff40e543bb
CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    frame #44: 0x00007fff40e54361 CoreFoundation`__CFRunLoopDoSource0 + 108
    frame #45: 0x00007fff40e3826b CoreFoundation`__CFRunLoopDoSources0 + 195
    frame #46: 0x00007fff40e37833 CoreFoundation`__CFRunLoopRun + 1196
    frame #47: 0x00007fff40e37135 CoreFoundation`CFRunLoopRunSpecific + 459
    frame #48: 0x00007fff400881ab HIToolbox`RunCurrentEventLoopInMode + 292
    frame #49: 0x00007fff40087ded HIToolbox`ReceiveNextEventCommon + 355
    frame #50: 0x00007fff40087c76
HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 64
    frame #51: 0x00007fff3e42079d AppKit`_DPSNextEvent + 1135
    frame #52: 0x00007fff3e41f48b AppKit`-[NSApplication(NSEvent)
_nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361
    frame #53: 0x00007fff3e4195a8 AppKit`-[NSApplication run] + 699
    frame #54: 0x0000000112b2e05e
libqcocoa.dylib`___lldb_unnamed_symbol707$$libqcocoa.dylib + 2246
    frame #55: 0x000000010588ea1c
QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 318
    frame #56: 0x00000001058923b8 QtCore`QCoreApplication::exec() + 116
    frame #57: 0x000000010000aac1 digikam`main + 11681
    frame #58: 0x00007fff6ce2a3d5 libdyld.dylib`start + 1
(lldb) 

Look well this line : 

libdigikamcore.6.4.0.dylib`Digikam::DMultiTabBarTab::paintEvent(QPaintEvent*) +
66

I think it relevant of the right sidebar of Tag manager, perhaps something
badly initialized.

Here i tested with no tag in tree view and it crash. Same if there are plenty
of tags.

It crash also if right side bar is open or not when Tag Manager is started.

Note : USing a sidebar on the right side is a non sense in Tag Manager, as
there is only just one tab, and by default tab is hidden. So it can be not very
intuitive to check the side bar tab content for new user. Making this tab alway
visible as the left side of Tag Manager sound like more logic.

Another point : Tag Manager is not based on DXmlGuiWindow. It's not necessary
but not homogeneous with the rest of digiKam.

Gilles

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to