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

            Bug ID: 392220
           Summary: Krita Segmentation fault at Splash screen
           Product: krita
           Version: 4.0
          Platform: Other
                OS: OS X
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: krita-bugs-n...@kde.org
          Reporter: ghe...@gmail.com
  Target Milestone: ---

This strangly only happens in krita/4.0 branch, master is not affected.

Git bisect pinpoints the faulty commit as
bd9e9f23b8a84d49c0bb58e0
Date:   Thu Feb 22 19:10:12 2018 +0100

    Make the new paintop icons work.

    This also cleans up some unused code. Hopefully everything works.

    Fixes T7984


Some more details. Debugging th ecode shows that KisPaintOpFactory list lenght
is always 16, but the contents get lost only the last added KisPaintOpFactory
item "all_options" remains. Also odd is that contents of the list are
fluctuating on each run.

I deleted my krita config folder and suspecting a faulty brush setup, but
things remain the same.


Backtrace
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
(code=1, address=0x1400000002)
  * frame #0: 0x000000010366bf8c QtGui`QIconEngine::isNull() const + 12
    frame #1: 0x0000000102cf4ed2 QtWidgets`QComboBox::insertItem(int, QIcon
const&, QString const&, QVariant const&) + 178
    frame #2: 0x00000001009debc9
libkritaui.16.0.0.dylib`KisPaintOpPresetsPopup::setPaintOpList(QList<KisPaintOpFactory*>
const&) [inlined] QComboBox::addItem(this=<unavailable>, aicon=<unavailable>,
atext=<unavailable>, auserData=0x000000011174d780) at qcombobox.h:275 [opt]
    frame #3: 0x00000001009debb6
libkritaui.16.0.0.dylib`KisPaintOpPresetsPopup::setPaintOpList(this=0x000000011d07dee0,
list=<unavailable>) at kis_paintop_presets_popup.cpp:637 [opt]
    frame #4: 0x00000001008b5d12
libkritaui.16.0.0.dylib`KisPaintopBox::KisPaintopBox(this=<unavailable>,
view=<unavailable>, parent=<unavailable>, name=<unavailable>) at
kis_paintop_box.cc:428 [opt]
    frame #5: 0x000000010083e50d
libkritaui.16.0.0.dylib`KisControlFrame::setup(this=0x000000011625b290,
parent=0x0000000119645f70) at kis_control_frame.cpp:130 [opt]
    frame #6: 0x0000000100b21791
libkritaui.16.0.0.dylib`KisViewManager::KisViewManager(this=0x0000000119f81ad0,
parent=0x0000000119645f70, _actionCollection=0x0000000119f80e40) at
KisViewManager.cpp:289 [opt]
    frame #7: 0x0000000100aea7fc
libkritaui.16.0.0.dylib`KisMainWindow::KisMainWindow(this=0x0000000119645f70)
at KisMainWindow.cpp:287 [opt]
    frame #8: 0x0000000100b054e5
libkritaui.16.0.0.dylib`KisPart::createMainWindow(this=0x000000011aa6b150) at
KisPart.cpp:206 [opt]
    frame #9: 0x0000000100ab6431
libkritaui.16.0.0.dylib`KisApplication::start(this=0x00007ffeefbff868,
args=0x00007ffeefbff908) at KisApplication.cpp:458 [opt]
    frame #10: 0x000000010000eb5b krita`main(argc=<unavailable>,
argv=<unavailable>) at main.cc:338 [opt]
    frame #11: 0x00007fff54340115 libdyld.dylib`start + 1
  thread #2
    frame #0: 0x00007fff54490562 libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff545cb26f libsystem_pthread.dylib`_pthread_wqthread +
1552
    frame #2: 0x00007fff545cac4d libsystem_pthread.dylib`start_wqthread + 13
  thread #3
    frame #0: 0x00007fff54490562 libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff545cb06a libsystem_pthread.dylib`_pthread_wqthread +
1035
    frame #2: 0x00007fff545cac4d libsystem_pthread.dylib`start_wqthread + 13
  thread #5
    frame #0: 0x00007fff54490562 libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff545cb26f libsystem_pthread.dylib`_pthread_wqthread +
1552
    frame #2: 0x00007fff545cac4d libsystem_pthread.dylib`start_wqthread + 13
  thread #6
    frame #0: 0x00007fff54490562 libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff545cb26f libsystem_pthread.dylib`_pthread_wqthread +
1552
    frame #2: 0x00007fff545cac4d libsystem_pthread.dylib`start_wqthread + 13
  thread #7
    frame #0: 0x00007fff54490562 libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff545cb26f libsystem_pthread.dylib`_pthread_wqthread +
1552
    frame #2: 0x00007fff545cac4d libsystem_pthread.dylib`start_wqthread + 13
  thread #8, name = 'com.apple.CFSocket.private'
    frame #0: 0x00007fff5448ffca libsystem_kernel.dylib`__select + 10
    frame #1: 0x00007fff2ca6459b CoreFoundation`__CFSocketManager + 635
    frame #2: 0x00007fff545cb6c1 libsystem_pthread.dylib`_pthread_body + 340
    frame #3: 0x00007fff545cb56d libsystem_pthread.dylib`_pthread_start + 377
    frame #4: 0x00007fff545cac5d libsystem_pthread.dylib`thread_start + 13
  thread #9, name = 'com.apple.NSEventThread'
    frame #0: 0x00007fff544867c2 libsystem_kernel.dylib`mach_msg_trap + 10
    frame #1: 0x00007fff54485cdc libsystem_kernel.dylib`mach_msg + 60
    frame #2: 0x00007fff2ca2a575 CoreFoundation`__CFRunLoopServiceMachPort +
341
    frame #3: 0x00007fff2ca298c7 CoreFoundation`__CFRunLoopRun + 1783
    frame #4: 0x00007fff2ca28f43 CoreFoundation`CFRunLoopRunSpecific + 483
    frame #5: 0x00007fff2a1493c8 AppKit`_NSEventThread + 184
    frame #6: 0x00007fff545cb6c1 libsystem_pthread.dylib`_pthread_body + 340
    frame #7: 0x00007fff545cb56d libsystem_pthread.dylib`_pthread_start + 377
    frame #8: 0x00007fff545cac5d libsystem_pthread.dylib`thread_start + 13
  thread #10, name = 'KisTileDataSwapper'
    frame #0: 0x00007fff5448fcee libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff545cc662 libsystem_pthread.dylib`_pthread_cond_wait +
732
    frame #2: 0x0000000103c5397b QtCore`___lldb_unnamed_symbol319$$QtCore + 75
    frame #3: 0x0000000103c5390c QtCore`QWaitCondition::wait(QMutex*, unsigned
long) + 156
    frame #4: 0x0000000103c4d6ef QtCore`QSemaphore::tryAcquire(int, int) + 143
    frame #5: 0x000000010145d575
libkritaimage.16.0.0.dylib`KisTileDataSwapper::run() [inlined]
KisTileDataSwapper::waitForWork(this=<unavailable>) at
kis_tile_data_swapper.cpp:86 [opt]
    frame #6: 0x000000010145d562
libkritaimage.16.0.0.dylib`KisTileDataSwapper::run(this=<unavailable>) at
kis_tile_data_swapper.cpp:92 [opt]
    frame #7: 0x0000000103c523cc QtCore`___lldb_unnamed_symbol310$$QtCore + 364
    frame #8: 0x00007fff545cb6c1 libsystem_pthread.dylib`_pthread_body + 340
    frame #9: 0x00007fff545cb56d libsystem_pthread.dylib`_pthread_start + 377
    frame #10: 0x00007fff545cac5d libsystem_pthread.dylib`thread_start + 13

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

Reply via email to