Summary: | digiKam crashes while editing pictures for color balancing on OSX [patch] | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Detlef Duerr <detlef.duerr> |
Component: | Plugin-Editor-Balance | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | caulier.gilles, Detlef.Duerr, karl.hamson, macoafi, metzpinguin, Nikontraveler |
Priority: | NOR | ||
Version: | 5.0.0 | ||
Target Milestone: | --- | ||
Platform: | macOS (DMG) | ||
OS: | macOS | ||
Latest Commit: | http://commits.kde.org/digikam/a8b7a0713609fc752bbd71830f72ae01bd8dbb67 | Version Fixed In: | 6.0.0 |
Sentry Crash Report: | |||
Attachments: |
Picture where digikam perspectiv-correction crashes
signature.asc signature.asc signature.asc signature.asc signature.asc signature.asc signature.asc OSX crash trace cbfilter.patch cbfilter2.patch cbfilter3.patch expected color balance result under OSX cbfilter4.patch cbfilter6.patch new MacOS backtrace with 6.0.0 |
We need a GDB backtrace to hack. Run digiKam into GDB as explained here : https://www.digikam.org/contrib Gilles Caulier Created attachment 89339 [details] signature.asc It's impossible to get a backtrace because after generating "qt4-mac +debug" and "digikam @4.0.0_0 + debug" the digikam crashes directly by calling the program. By reactivating "digikam @4.0.0_0" the program starts with "qt-mac + debug". If the system will not better working, i think I must change my program for image-handling only using "gimp" Sincerely Detlef Dürr Am 27.10.14 11:25, schrieb Gilles Caulier: > https://bugs.kde.org/show_bug.cgi?id=340389 > > Gilles Caulier <caulier.gilles@gmail.com> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |caulier.gilles@gmail.com > Status|UNCONFIRMED |RESOLVED > Resolution|--- |BACKTRACE > > --- Comment #1 from Gilles Caulier <caulier.gilles@gmail.com> --- > We need a GDB backtrace to hack. Run digiKam into GDB as explained here : > > https://www.digikam.org/contrib > > Gilles Caulier > digiKam 4.10.0 PKG installer for MAC OSX Yosemite is available for download : http://download.kde.org/stable/digikam/digikam-4.10.0.pkg.mirrorlist Please try with this version and give us a feedback... Thanks in advance. Gilles Caulier Created attachment 92890 [details] signature.asc With the new Version, I have got as a complete Package you announced me, I have three times no problem with correcting the perspective but always the program crashes by correcting the color. Here is the crash information: Application: digiKam (digikam), signal: Bus error: 10 (lldb) process attach --pid 73678 Process 73678 stopped * thread #1: tid = 0xdf765, 0x00007fff9382c4de libsystem_kernel.dylib`mach_msg_trap + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP frame #0: 0x00007fff9382c4de libsystem_kernel.dylib`mach_msg_trap + 10 libsystem_kernel.dylib`mach_msg_trap: -> 0x7fff9382c4de <+10>: retq 0x7fff9382c4df <+11>: nop libsystem_kernel.dylib`mach_msg_overwrite_trap: 0x7fff9382c4e0 <+0>: movq %rcx, %r10 0x7fff9382c4e3 <+3>: movl $0x1000020, %eax Executable module set to "/opt/digikam/Applications/KDE4/digikam.app/Contents/MacOS/digikam". Architecture set to: x86_64-apple-macosx. (lldb) set set term-width 200 (lldb) thread info thread #1: tid = 0xdf765, 0x00007fff9382c4de libsystem_kernel.dylib`mach_msg_trap + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP (lldb) bt all * thread #1: tid = 0xdf765, 0x00007fff9382c4de libsystem_kernel.dylib`mach_msg_trap + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP * frame #0: 0x00007fff9382c4de libsystem_kernel.dylib`mach_msg_trap + 10 frame #1: 0x00007fff9382b64f libsystem_kernel.dylib`mach_msg + 55 frame #2: 0x00007fff92893eb4 CoreFoundation`__CFRunLoopServiceMachPort + 212 frame #3: 0x00007fff9289337b CoreFoundation`__CFRunLoopRun + 1371 frame #4: 0x00007fff92892bd8 CoreFoundation`CFRunLoopRunSpecific + 296 frame #5: 0x00007fff8e9da56f HIToolbox`RunCurrentEventLoopInMode + 235 frame #6: 0x00007fff8e9da2ea HIToolbox`ReceiveNextEventCommon + 431 frame #7: 0x00007fff8e9da12b HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 71 frame #8: 0x00007fff995019bb AppKit`_DPSNextEvent + 978 frame #9: 0x00007fff99500f68 AppKit`-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346 frame #10: 0x00007fff994f6bf3 AppKit`-[NSApplication run] + 594 frame #11: 0x000000010904421b QtGui`QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2027 frame #12: 0x000000010a0d061f QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 495 frame #13: 0x000000010a0d3857 QtCore`QCoreApplication::exec() + 199 frame #14: 0x000000010503eb87 digikam`main + 9559 frame #15: 0x00007fff955125c9 libdyld.dylib`start + 1 thread #2: tid = 0xdf7bf, 0x00007fff93832232 libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager' frame #0: 0x00007fff93832232 libsystem_kernel.dylib`kevent64 + 10 frame #1: 0x00007fff9054fd91 libdispatch.dylib`_dispatch_mgr_invoke + 247 frame #2: 0x00007fff9054fa6a libdispatch.dylib`_dispatch_mgr_thread + 52 thread #3: tid = 0xdf851, 0x00007fff938313fa libsystem_kernel.dylib`__select + 10, name = 'com.apple.CFSocket.private' frame #0: 0x00007fff938313fa libsystem_kernel.dylib`__select + 10 frame #1: 0x00007fff928dfb7a CoreFoundation`__CFSocketManager + 730 frame #2: 0x00007fff9198c268 libsystem_pthread.dylib`_pthread_body + 131 frame #3: 0x00007fff9198c1e5 libsystem_pthread.dylib`_pthread_start + 176 frame #4: 0x00007fff9198a41d libsystem_pthread.dylib`thread_start + 13 thread #4: tid = 0xdf852, 0x00007fff93831136 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'Digikam::ScanController' frame #0: 0x00007fff93831136 libsystem_kernel.dylib`__psynch_cvwait + 10 frame #1: 0x00007fff9198ce0c libsystem_pthread.dylib`_pthread_cond_wait + 693 frame #2: 0x0000000109fc445b QtCore`QWaitConditionPrivate::wait(unsigned long) + 203 frame #3: 0x0000000109fc42bf QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 111 frame #4: 0x0000000104ec8cb1 digikam`Digikam::ScanController::run() + 641 frame #5: 0x0000000109fc2db2 QtCore`QThreadPrivate::start(void*) + 418 frame #6: 0x00007fff9198c268 libsystem_pthread.dylib`_pthread_body + 131 frame #7: 0x00007fff9198c1e5 libsystem_pthread.dylib`_pthread_start + 176 frame #8: 0x00007fff9198a41d libsystem_pthread.dylib`thread_start + 13 thread #5: tid = 0xdf854, 0x00007fff9382c4de libsystem_kernel.dylib`mach_msg_trap + 10 frame #0: 0x00007fff9382c4de libsystem_kernel.dylib`mach_msg_trap + 10 frame #1: 0x00007fff9382b64f libsystem_kernel.dylib`mach_msg + 55 frame #2: 0x00007fff92893eb4 CoreFoundation`__CFRunLoopServiceMachPort + 212 frame #3: 0x00007fff9289337b CoreFoundation`__CFRunLoopRun + 1371 frame #4: 0x00007fff92892bd8 CoreFoundation`CFRunLoopRunSpecific + 296 frame #5: 0x00007fff995c966b AppKit`_NSEventThread + 137 frame #6: 0x00007fff9198c268 libsystem_pthread.dylib`_pthread_body + 131 frame #7: 0x00007fff9198c1e5 libsystem_pthread.dylib`_pthread_start + 176 frame #8: 0x00007fff9198a41d libsystem_pthread.dylib`thread_start + 13 thread #6: tid = 0xdf8d0, 0x00007fff93831136 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'QThread' frame #0: 0x00007fff93831136 libsystem_kernel.dylib`__psynch_cvwait + 10 frame #1: 0x00007fff9198ce0c libsystem_pthread.dylib`_pthread_cond_wait + 693 frame #2: 0x0000000109fc445b QtCore`QWaitConditionPrivate::wait(unsigned long) + 203 frame #3: 0x0000000109fc42bf QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 111 frame #4: 0x000000010636a160 libdigikamcore.4.10.0.dylib`Digikam::ParkingThread::run() + 176 frame #5: 0x0000000109fc2db2 QtCore`QThreadPrivate::start(void*) + 418 frame #6: 0x00007fff9198c268 libsystem_pthread.dylib`_pthread_body + 131 frame #7: 0x00007fff9198c1e5 libsystem_pthread.dylib`_pthread_start + 176 frame #8: 0x00007fff9198a41d libsystem_pthread.dylib`thread_start + 13 thread #7: tid = 0xdf960, 0x00007fff93831902 libsystem_kernel.dylib`__wait4 + 10, name = 'Thread (pooled)' frame #0: 0x00007fff93831902 libsystem_kernel.dylib`__wait4 + 10 thread #8: tid = 0xdf9eb, 0x00007fff9383221a libsystem_kernel.dylib`kevent + 10, name = 'QKqueueFileSystemWatcherEngine' frame #0: 0x00007fff9383221a libsystem_kernel.dylib`kevent + 10 frame #1: 0x000000010a0b577a QtCore`QKqueueFileSystemWatcherEngine::run() + 106 frame #2: 0x0000000109fc2db2 QtCore`QThreadPrivate::start(void*) + 418 frame #3: 0x00007fff9198c268 libsystem_pthread.dylib`_pthread_body + 131 frame #4: 0x00007fff9198c1e5 libsystem_pthread.dylib`_pthread_start + 176 frame #5: 0x00007fff9198a41d libsystem_pthread.dylib`thread_start + 13 thread #9: tid = 0xe0e7b, 0x00007fff9383194a libsystem_kernel.dylib`__workq_kernreturn + 10 frame #0: 0x00007fff9383194a libsystem_kernel.dylib`__workq_kernreturn + 10 frame #1: 0x00007fff9198c6c3 libsystem_pthread.dylib`_pthread_wqthread + 869 frame #2: 0x00007fff9198a40d libsystem_pthread.dylib`start_wqthread + 13 (lldb) detach Process 73678 detached (lldb) (lldb) quit With best regards, Detlef Dürr Detlef Dürr Ringstr. 87 78465 Konstanz Tel.: +49 (0)7533.2097 Mobil: +49 (0)170 313 8670 EMail: Detlef.Duerr@gmx.de Fingerprint: 971D BE20 D168 F253 8C77 DB09 5CCD 6F47 8312 E7DF > Am 28.05.2015 um 15:11 schrieb Gilles Caulier <caulier.gilles@gmail.com>: > > https://bugs.kde.org/show_bug.cgi?id=340389 > > --- Comment #3 from Gilles Caulier <caulier.gilles@gmail.com> --- > digiKam 4.10.0 PKG installer for MAC OSX Yosemite is available for download : > > http://download.kde.org/stable/digikam/digikam-4.10.0.pkg.mirrorlist > > Please try with this version and give us a feedback... > > Thanks in advance. > > Gilles Caulier > > -- > You are receiving this mail because: > You reported the bug. Ok, i need to know your color management settings and your ICC profiles files. For these one, please attach .icc files to this report Gilles Caulier When you said "but always the program crashes by correcting the color", what do you mean by "correcting the color" ? Did you use color management settings ? Did you use a specific tool from editor to change color tonality/brightness/contrast/etc... ? What do you do exactly in digiKam to crash application ? Note your backtrace do not give any information about digiKam source code... Gilles Caulier Created attachment 92904 [details] signature.asc »Color correction« means the menupoint in German »Farbabgleich«. I worked in the following steps: 1. Starting digikam 2. click on 1 picture in the actual album 3. click menupoint »Bildbearbeitung« 4. Choose the menu point »Farbabgelich« 5. if the program not crashes exactly now, test of lowering blue => crash 6. program crash report… Sometimes the system also crashes by choosing the menupoint »Anpassung der Perspektive«. With best regards, Detlef Dürr Ringstr. 87 78465 Konstanz Tel.: +49 (0)7533.2097 Mobil: +49 (0)170 313 8670 EMail: Detlef.Duerr@gmx.de Fingerprint: 971D BE20 D168 F253 8C77 DB09 5CCD 6F47 8312 E7DF > Am 29.05.2015 um 09:56 schrieb Gilles Caulier <caulier.gilles@gmail.com>: > > https://bugs.kde.org/show_bug.cgi?id=340389 > > Gilles Caulier <caulier.gilles@gmail.com> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|REOPENED |RESOLVED > Resolution|--- |WAITINGFORINFO > > --- Comment #6 from Gilles Caulier <caulier.gilles@gmail.com> --- > When you said "but always the program crashes by correcting the color", what do > you mean by "correcting the color" ? > > Did you use color management settings ? > > Did you use a specific tool from editor to change color > tonality/brightness/contrast/etc... ? > > What do you do exactly in digiKam to crash application ? > > Note your backtrace do not give any information about digiKam source code... > > Gilles Caulier > > -- > You are receiving this mail because: > You reported the bug. Ok, it's color balance tool. Go to digiKam/setup dialog, into MICS section and choose QtCurves widget styles. Try again to check if it's improve stability. Gilles Caulier Created attachment 92911 [details] signature.asc Setting QtCurves doesn’t change the stability. By choosing »color balance« und choosing for »blue« -1 stops the program because of crash with best regards Detlef Dürr Ringstr. 87 78465 Konstanz Tel.: +49 (0)7533.2097 Mobil: +49 (0)170 313 8670 EMail: Detlef.Duerr@gmx.de Fingerprint: 971D BE20 D168 F253 8C77 DB09 5CCD 6F47 8312 E7DF > Am 29.05.2015 um 15:35 schrieb Gilles Caulier <caulier.gilles@gmail.com>: > > https://bugs.kde.org/show_bug.cgi?id=340389 > > Gilles Caulier <caulier.gilles@gmail.com> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Resolution|WAITINGFORINFO |--- > Status|RESOLVED |REOPENED > Summary|Digikam crashes while |digiKam crashes while > |editing pictures for color |editing pictures for color > |balancing on OSX |balancing on OSX > > --- Comment #8 from Gilles Caulier <caulier.gilles@gmail.com> --- > Ok, it's color balance tool. > > Go to digiKam/setup dialog, into MICS section and choose QtCurves widget > styles. > > Try again to check if it's improve stability. > > Gilles Caulier > > -- > You are receiving this mail because: > You reported the bug. I think that problem is similar than bug #320382, excepted that you crash in this condition. Can you try to reproduce the problem from this file ? Gilles Caulier Created attachment 92912 [details] signature.asc Thats my reproduction of the file #320382 with one of my pictures. The picture itself will not be corrupted (see the right picture in the appendix (I have the picture scaled to a small version and copied into the screenshot of digikam after selecting "Aspect Ratio Crop«, so I can send it to you) of my answer. The left small picture shows an undiscernible rightangle an there is no information for the cropping. With best regards Detlef Dürr Ringstr. 87 78465 Konstanz Tel.: +49 (0)7533.2097 Mobil: +49 (0)170 313 8670 EMail: Detlef.Duerr@gmx.de Fingerprint: 971D BE20 D168 F253 8C77 DB09 5CCD 6F47 8312 E7DF > Am 29.05.2015 um 21:42 schrieb Gilles Caulier <caulier.gilles@gmail.com>: > > #320382 Created attachment 92913 [details] signature.asc Thats my reproduction of the file #320382 with one of my pictures. The picture itself will not be corrupted (see the right picture in the appendix (I have the picture scaled to a small version and copied into the screenshot of digikam after selecting "Aspect Ratio Crop«, so I can send it to you) of my answer. The left small picture shows an undiscernible rightangle an there is no information for the cropping. With best regards Detlef Dürr Ringstr. 87 78465 Konstanz Tel.: +49 (0)7533.2097 Mobil: +49 (0)170 313 8670 EMail: Detlef.Duerr@gmx.de Fingerprint: 971D BE20 D168 F253 8C77 DB09 5CCD 6F47 8312 E7DF > Am 29.05.2015 um 21:42 schrieb Gilles Caulier <caulier.gilles@gmail.com>: > > #320382 Git commit a8b7a0713609fc752bbd71830f72ae01bd8dbb67 by Maik Qualmann. Committed on 22/06/2015 at 17:23. Pushed by mqualmann into branch 'master'. corrects the values for width and height of the preview image from the image data interface Related: bug 269682, bug 317689, bug 320382 FIXED-IN: 4.12.0 M +5 -1 NEWS M +2 -1 utilities/imageeditor/plugin/imageiface.cpp http://commits.kde.org/digikam/a8b7a0713609fc752bbd71830f72ae01bd8dbb67 Git commit 9f4b909f94f7e4623ad8b434637b2c3d6c09934d by Gilles Caulier. Committed on 22/06/2015 at 19:12. Pushed by cgilles into branch 'frameworks'. backport commit #a8b7a0713609fc752bbd71830f72ae01bd8dbb67 from git/master to frameworks branch Related: bug 269682, bug 317689, bug 320382 M +4 -1 utilities/imageeditor/plugin/imageiface.cpp http://commits.kde.org/digikam/9f4b909f94f7e4623ad8b434637b2c3d6c09934d Today I have installed digikam 4.13.0 and it runs but not in all possibilities. If i click in picture editing the menue-option "color-management", then then color-management opens, but by clicking on 1 color to change, by example the color "blue" gving a "-1" in direction "yellow" digikam crashes. The procedure is reproducible. See the crash-backtracking. Application: digiKam (digikam), signal: Bus error: 10 (lldb) process attach --pid 39039 Process 39039 stopped * thread #1: tid = 0x5e1d9, 0x00007fff8ffdc4de libsystem_kernel.dylib`mach_msg_trap + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP frame #0: 0x00007fff8ffdc4de libsystem_kernel.dylib`mach_msg_trap + 10 libsystem_kernel.dylib`mach_msg_trap: -> 0x7fff8ffdc4de <+10>: retq 0x7fff8ffdc4df <+11>: nop libsystem_kernel.dylib`mach_msg_overwrite_trap: 0x7fff8ffdc4e0 <+0>: movq %rcx, %r10 0x7fff8ffdc4e3 <+3>: movl $0x1000020, %eax Executable module set to "/opt/digikam/Applications/KDE4/digikam.app/Contents/MacOS/digikam". Architecture set to: x86_64-apple-macosx. (lldb) set set term-width 200 (lldb) thread info thread #1: tid = 0x5e1d9, 0x00007fff8ffdc4de libsystem_kernel.dylib`mach_msg_trap + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP (lldb) bt all * thread #1: tid = 0x5e1d9, 0x00007fff8ffdc4de libsystem_kernel.dylib`mach_msg_trap + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP * frame #0: 0x00007fff8ffdc4de libsystem_kernel.dylib`mach_msg_trap + 10 frame #1: 0x00007fff8ffdb64f libsystem_kernel.dylib`mach_msg + 55 frame #2: 0x00007fff83670eb4 CoreFoundation`__CFRunLoopServiceMachPort + 212 frame #3: 0x00007fff8367037b CoreFoundation`__CFRunLoopRun + 1371 frame #4: 0x00007fff8366fbd8 CoreFoundation`CFRunLoopRunSpecific + 296 frame #5: 0x00007fff90e8f56f HIToolbox`RunCurrentEventLoopInMode + 235 frame #6: 0x00007fff90e8f2ea HIToolbox`ReceiveNextEventCommon + 431 frame #7: 0x00007fff90e8f12b HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 71 frame #8: 0x00007fff888858ab AppKit`_DPSNextEvent + 978 frame #9: 0x00007fff88884e58 AppKit`-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346 frame #10: 0x00007fff8887aaf3 AppKit`-[NSApplication run] + 594 frame #11: 0x000000010b78af1e QtGui`QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1966 frame #12: 0x000000010b559de2 QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 498 frame #13: 0x000000010b55cfa7 QtCore`QCoreApplication::exec() + 199 frame #14: 0x0000000106c1cfd7 digikam`main + 9127 frame #15: 0x00007fff86b615c9 libdyld.dylib`start + 1 thread #2: tid = 0x5e1f8, 0x00007fff8ffe2232 libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager' frame #0: 0x00007fff8ffe2232 libsystem_kernel.dylib`kevent64 + 10 frame #1: 0x00007fff90b8dd91 libdispatch.dylib`_dispatch_mgr_invoke + 247 frame #2: 0x00007fff90b8da6a libdispatch.dylib`_dispatch_mgr_thread + 52 thread #3: tid = 0x5e218, 0x00007fff8ffe13fa libsystem_kernel.dylib`__select + 10, name = 'com.apple.CFSocket.private' frame #0: 0x00007fff8ffe13fa libsystem_kernel.dylib`__select + 10 frame #1: 0x00007fff836bcb7a CoreFoundation`__CFSocketManager + 730 frame #2: 0x00007fff9135d05a libsystem_pthread.dylib`_pthread_body + 131 frame #3: 0x00007fff9135cfd7 libsystem_pthread.dylib`_pthread_start + 176 frame #4: 0x00007fff9135a3ed libsystem_pthread.dylib`thread_start + 13 thread #4: tid = 0x5e219, 0x00007fff8ffe1136 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'Digikam::ScanController' frame #0: 0x00007fff8ffe1136 libsystem_kernel.dylib`__psynch_cvwait + 10 frame #1: 0x00007fff9135d560 libsystem_pthread.dylib`_pthread_cond_wait + 693 frame #2: 0x000000010b44731b QtCore`QWaitConditionPrivate::wait(unsigned long) + 203 frame #3: 0x000000010b44717f QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 111 frame #4: 0x0000000106aa5a41 digikam`Digikam::ScanController::run() + 641 frame #5: 0x000000010b445c62 QtCore`QThreadPrivate::start(void*) + 386 frame #6: 0x00007fff9135d05a libsystem_pthread.dylib`_pthread_body + 131 frame #7: 0x00007fff9135cfd7 libsystem_pthread.dylib`_pthread_start + 176 frame #8: 0x00007fff9135a3ed libsystem_pthread.dylib`thread_start + 13 thread #5: tid = 0x5e224, 0x00007fff8ffdc4de libsystem_kernel.dylib`mach_msg_trap + 10 frame #0: 0x00007fff8ffdc4de libsystem_kernel.dylib`mach_msg_trap + 10 frame #1: 0x00007fff8ffdb64f libsystem_kernel.dylib`mach_msg + 55 frame #2: 0x00007fff83670eb4 CoreFoundation`__CFRunLoopServiceMachPort + 212 frame #3: 0x00007fff8367037b CoreFoundation`__CFRunLoopRun + 1371 frame #4: 0x00007fff8366fbd8 CoreFoundation`CFRunLoopRunSpecific + 296 frame #5: 0x00007fff8894d56b AppKit`_NSEventThread + 137 frame #6: 0x00007fff9135d05a libsystem_pthread.dylib`_pthread_body + 131 frame #7: 0x00007fff9135cfd7 libsystem_pthread.dylib`_pthread_start + 176 frame #8: 0x00007fff9135a3ed libsystem_pthread.dylib`thread_start + 13 thread #6: tid = 0x5e23f, 0x00007fff8ffe1136 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'QThread' frame #0: 0x00007fff8ffe1136 libsystem_kernel.dylib`__psynch_cvwait + 10 frame #1: 0x00007fff9135d560 libsystem_pthread.dylib`_pthread_cond_wait + 693 frame #2: 0x000000010b44731b QtCore`QWaitConditionPrivate::wait(unsigned long) + 203 frame #3: 0x000000010b44717f QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 111 frame #4: 0x0000000107f58980 libdigikamcore.4.13.0.dylib`Digikam::ParkingThread::run() + 176 frame #5: 0x000000010b445c62 QtCore`QThreadPrivate::start(void*) + 386 frame #6: 0x00007fff9135d05a libsystem_pthread.dylib`_pthread_body + 131 frame #7: 0x00007fff9135cfd7 libsystem_pthread.dylib`_pthread_start + 176 frame #8: 0x00007fff9135a3ed libsystem_pthread.dylib`thread_start + 13 thread #7: tid = 0x5e252, 0x00007fff8ffe1902 libsystem_kernel.dylib`__wait4 + 10, name = 'Thread (pooled)' frame #0: 0x00007fff8ffe1902 libsystem_kernel.dylib`__wait4 + 10 thread #8: tid = 0x5e263, 0x00007fff8ffe221a libsystem_kernel.dylib`kevent + 10, name = 'QKqueueFileSystemWatcherEngine' frame #0: 0x00007fff8ffe221a libsystem_kernel.dylib`kevent + 10 frame #1: 0x000000010b53e64a QtCore`QKqueueFileSystemWatcherEngine::run() + 106 frame #2: 0x000000010b445c62 QtCore`QThreadPrivate::start(void*) + 386 frame #3: 0x00007fff9135d05a libsystem_pthread.dylib`_pthread_body + 131 frame #4: 0x00007fff9135cfd7 libsystem_pthread.dylib`_pthread_start + 176 frame #5: 0x00007fff9135a3ed libsystem_pthread.dylib`thread_start + 13 thread #9: tid = 0x5f961, 0x00007fff8ffe194a libsystem_kernel.dylib`__workq_kernreturn + 10 frame #0: 0x00007fff8ffe194a libsystem_kernel.dylib`__workq_kernreturn + 10 frame #1: 0x00007fff9135cb29 libsystem_pthread.dylib`_pthread_wqthread + 869 frame #2: 0x00007fff9135a3dd libsystem_pthread.dylib`start_wqthread + 13 (lldb) detach Process 39039 detached (lldb) (lldb) quit digiKam 5.0.0-beta7 Installer for MacOSX is now available for testing... https://drive.google.com/open?id=0B7yq-xFihT0_ZjlIazRPb1lRTEE Gilles Caulier Detlef, Do you seen my previous comment ? Gilles Caulier I tried to reproduce the dysfunction using digiKam 5.0.0 PKG installer with CM enabled in image editor. No crash... I close this file now. Re-open if necessary. Gilles Caulier Created attachment 99804 [details] signature.asc Hallo, I also load the 5.0.0 Package und opened the Image editor - and all is well done. But when I opened the Color Management and tried to use the botton the change the Color blue to yellow the Programm crashes. This must be corrected. Sincerely Detlef Dürr Ringstr. 87 78465 Konstanz Tel.: +49 (0)7533 2097 Mobil: +49 (0)170 313 8670 EMail: Detlef.Duerr@t-online.de Fingerprint: 971D BE20 D168 F253 8C77 DB09 5CCD 6F47 8312 E7DF > Am 02.07.2016 um 11:53 schrieb via KDE Bugzilla <bugzilla_noreply@kde.org>: > > https://bugs.kde.org/show_bug.cgi?id=340389 > > caulier.gilles@gmail.com changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Resolution|--- |FIXED > Version Fixed In|4.12.0 |5.0.0 > Status|REOPENED |RESOLVED > > --- Comment #18 from caulier.gilles@gmail.com --- > I tried to reproduce the dysfunction using digiKam 5.0.0 PKG installer with CM > enabled in image editor. No crash... > > I close this file now. Re-open if necessary. > > Gilles Caulier > > -- > You are receiving this mail because: > You are on the CC list for the bug. Yes, now it's reproducible with 5.0.0, and a simple JPEG image. Color Management is not enable. Editor is open without no thumbbar. Only Color balance tool is open and cursor is just moved from Blue to Yellow. digiKam crash inside the Chanels Mixer algorithm. Gilles Caulier Created attachment 99810 [details]
OSX crash trace
Created attachment 99816 [details]
cbfilter.patch
Gilles,
Can you test this patch under OSX?
Maik
Maik, Not better. this is the full backtrace reported by OSX crash handler : Process: digikam [1076] Path: /opt/digikam/*/digikam.app/Contents/MacOS/./digikam Identifier: digikam Version: 5.0.0 (5.0.0) Code Type: X86-64 (Native) Parent Process: bash [1058] Responsible: Terminal [964] User ID: 501 Thread 0:: Dispatch queue: com.apple.main-thread 0 libdigikamcore.5.0.0.dylib 0x0000000103378743 Digikam::DImgScale::dimgScaleAARGB(Digikam::DImgScale::DImgScaleInfo*, unsigned int*, int, int, int, int, int, int, int, int, int, int) + 6595 (dimgscale.cpp:1524) 1 libdigikamcore.5.0.0.dylib 0x00000001033706e9 Digikam::DImg::smoothScaleClipped(int, int, int, int, int, int) const + 1033 (dimgscale.cpp:257) 2 libdigikamcore.5.0.0.dylib 0x000000010369260e Digikam::ImageRegionItem::paint(QPainter*, QStyleOptionGraphicsItem const*, QWidget*) + 494 (imageregionitem.cpp:121) 3 org.qt-project.QtWidgets 0x0000000108b91d29 QGraphicsScenePrivate::draw(QGraphicsItem*, QPainter*, QTransform const*, QTransform const*, QRegion*, QWidget*, double, QTransform const*, bool, bool) + 1593 4 org.qt-project.QtWidgets 0x0000000108b9159c QGraphicsScenePrivate::drawSubtreeRecursive(QGraphicsItem*, QPainter*, QTransform const*, QRegion*, QWidget*, double, QTransform const*) + 2108 5 org.qt-project.QtWidgets 0x0000000108b90d03 QGraphicsScenePrivate::drawItems(QPainter*, QTransform const*, QRegion*, QWidget*) + 403 6 org.qt-project.QtWidgets 0x0000000108bb484c QGraphicsView::paintEvent(QPaintEvent*) + 1676 7 org.qt-project.QtWidgets 0x0000000108882976 QWidget::event(QEvent*) + 2038 8 org.qt-project.QtWidgets 0x000000010897a67d QFrame::event(QEvent*) + 45 9 org.qt-project.QtWidgets 0x0000000108a0c097 QAbstractScrollArea::viewportEvent(QEvent*) + 135 10 org.qt-project.QtWidgets 0x0000000108bb23b5 QGraphicsView::viewportEvent(QEvent*) + 1541 11 org.qt-project.QtWidgets 0x0000000108a0cd34 QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) + 36 12 org.qt-project.QtCore 0x00000001096b54ab QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 203 13 org.qt-project.QtWidgets 0x0000000108841081 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 273 14 org.qt-project.QtWidgets 0x00000001088425f8 QApplication::notify(QObject*, QEvent*) + 504 15 org.qt-project.QtCore 0x00000001096b5214 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164 16 org.qt-project.QtWidgets 0x000000010887c3e4 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 3316 17 org.qt-project.QtWidgets 0x000000010884f227 QWidgetBackingStore::doSync() + 5447 18 org.qt-project.QtWidgets 0x0000000108882c02 QWidget::event(QEvent*) + 2690 19 org.qt-project.QtWidgets 0x000000010899219a QMainWindow::event(QEvent*) + 1546 20 libKF5XmlGui.5.dylib 0x00000001072d34eb KMainWindow::event(QEvent*) + 1003 21 libKF5XmlGui.5.dylib 0x000000010731c5aa KXmlGuiWindow::event(QEvent*) + 42 22 org.qt-project.QtWidgets 0x0000000108841096 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 294 23 org.qt-project.QtWidgets 0x00000001088425f8 QApplication::notify(QObject*, QEvent*) + 504 24 org.qt-project.QtCore 0x00000001096b5214 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164 25 org.qt-project.QtCore 0x00000001096b5f5b QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 875 26 libqcocoa.dylib 0x0000000113337b7e QCocoaEventDispatcherPrivate::processPostedEvents() + 190 27 libqcocoa.dylib 0x0000000113338441 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33 28 com.apple.CoreFoundation 0x00007fff8658b881 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 29 com.apple.CoreFoundation 0x00007fff8656afbc __CFRunLoopDoSources0 + 556 30 com.apple.CoreFoundation 0x00007fff8656a4df __CFRunLoopRun + 927 31 com.apple.CoreFoundation 0x00007fff86569ed8 CFRunLoopRunSpecific + 296 32 com.apple.HIToolbox 0x00007fff8bc85935 RunCurrentEventLoopInMode + 235 33 com.apple.HIToolbox 0x00007fff8bc8576f ReceiveNextEventCommon + 432 34 com.apple.HIToolbox 0x00007fff8bc855af _BlockUntilNextEventMatchingListInModeWithFilter + 71 35 com.apple.AppKit 0x00007fff8a15cdf6 _DPSNextEvent + 1067 36 com.apple.AppKit 0x00007fff8a15c226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454 37 com.apple.AppKit 0x00007fff8a150d80 -[NSApplication run] + 682 38 libqcocoa.dylib 0x000000011333734f QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2191 39 org.qt-project.QtCore 0x00000001096b13d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417 40 org.qt-project.QtCore 0x00000001096b5885 QCoreApplication::exec() + 341 41 digikam 0x000000010231204c main + 9180 (main.cpp:239) 42 libdyld.dylib 0x00007fff8d2f15ad start + 1 Thread 1:: Dispatch queue: com.apple.libdispatch-manager 0 libsystem_kernel.dylib 0x00007fff96b01efa kevent_qos + 10 1 libdispatch.dylib 0x00007fff8ce35165 _dispatch_mgr_invoke + 216 2 libdispatch.dylib 0x00007fff8ce34dcd _dispatch_mgr_thread + 52 Thread 2:: Digikam::ScanController 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x00000001094edd0b QWaitConditionPrivate::wait(unsigned long) + 75 3 org.qt-project.QtCore 0x00000001094edbc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 4 libdigikamgui.5.0.0.dylib 0x000000010234a562 Digikam::ScanController::run() + 562 (scancontroller.cpp:684) 5 org.qt-project.QtCore 0x00000001094ec6ea QThreadPrivate::start(void*) + 362 6 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 7 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 8 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 3:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x00007fff96afaf72 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff96afa3b3 mach_msg + 55 2 com.apple.CoreFoundation 0x00007fff8656b1c4 __CFRunLoopServiceMachPort + 212 3 com.apple.CoreFoundation 0x00007fff8656a68c __CFRunLoopRun + 1356 4 com.apple.CoreFoundation 0x00007fff86569ed8 CFRunLoopRunSpecific + 296 5 com.apple.AppKit 0x00007fff8a2b2d95 _NSEventThread + 149 6 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 7 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 8 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 4:: QDBusConnectionManager 0 libsystem_kernel.dylib 0x00007fff96b0107a __select + 10 1 org.qt-project.QtCore 0x000000010970c3a3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547 2 org.qt-project.QtCore 0x000000010970d2d5 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 709 3 org.qt-project.QtCore 0x000000010970e717 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 231 4 org.qt-project.QtCore 0x00000001096b13d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417 5 org.qt-project.QtCore 0x00000001094e8c43 QThread::exec() + 115 6 org.qt-project.QtDBus 0x0000000107884e33 QDBusConnectionManager::run() + 19 7 org.qt-project.QtCore 0x00000001094ec6ea QThreadPrivate::start(void*) + 362 8 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 9 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 10 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 5:: QThread 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x00000001094edd0b QWaitConditionPrivate::wait(unsigned long) + 75 3 org.qt-project.QtCore 0x00000001094edbc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 4 libdigikamcore.5.0.0.dylib 0x0000000103491a45 Digikam::ParkingThread::run() + 165 (threadmanager.cpp:115) 5 org.qt-project.QtCore 0x00000001094ec6ea QThreadPrivate::start(void*) + 362 6 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 7 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 8 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 6:: Qt bearer thread 0 libsystem_kernel.dylib 0x00007fff96b0107a __select + 10 1 org.qt-project.QtCore 0x000000010970c3a3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547 2 org.qt-project.QtCore 0x000000010970d2d5 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 709 3 org.qt-project.QtCore 0x000000010970e717 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 231 4 org.qt-project.QtCore 0x00000001096b13d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417 5 org.qt-project.QtCore 0x00000001094e8c43 QThread::exec() + 115 6 org.qt-project.QtCore 0x00000001094ec6ea QThreadPrivate::start(void*) + 362 7 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 8 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 9 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 7:: JavaScriptCore::BlockFree 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x0000000105bbfa08 JSC::BlockAllocator::blockFreeingThreadMain() + 280 3 org.qt-project.QtWebKit 0x0000000105ebf6ef WTF::wtfThreadEntryPoint(void*) + 15 4 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 5 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 6 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 8:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x0000000105bc0887 JSC::GCThread::waitForNextPhase() + 119 3 org.qt-project.QtWebKit 0x0000000105bc0913 JSC::GCThread::gcThreadMain() + 83 4 org.qt-project.QtWebKit 0x0000000105ebf6ef WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 6 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 7 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 9:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x0000000105bc0887 JSC::GCThread::waitForNextPhase() + 119 3 org.qt-project.QtWebKit 0x0000000105bc0913 JSC::GCThread::gcThreadMain() + 83 4 org.qt-project.QtWebKit 0x0000000105ebf6ef WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 6 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 7 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 10:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x0000000105bc0887 JSC::GCThread::waitForNextPhase() + 119 3 org.qt-project.QtWebKit 0x0000000105bc0913 JSC::GCThread::gcThreadMain() + 83 4 org.qt-project.QtWebKit 0x0000000105ebf6ef WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 6 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 7 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 11:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x0000000105bc0887 JSC::GCThread::waitForNextPhase() + 119 3 org.qt-project.QtWebKit 0x0000000105bc0913 JSC::GCThread::gcThreadMain() + 83 4 org.qt-project.QtWebKit 0x0000000105ebf6ef WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 6 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 7 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 12:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x0000000105bc0887 JSC::GCThread::waitForNextPhase() + 119 3 org.qt-project.QtWebKit 0x0000000105bc0913 JSC::GCThread::gcThreadMain() + 83 4 org.qt-project.QtWebKit 0x0000000105ebf6ef WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 6 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 7 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 13:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x0000000105bc0887 JSC::GCThread::waitForNextPhase() + 119 3 org.qt-project.QtWebKit 0x0000000105bc0913 JSC::GCThread::gcThreadMain() + 83 4 org.qt-project.QtWebKit 0x0000000105ebf6ef WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 6 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 7 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 14:: Thread (pooled) 0 libsystem_kernel.dylib 0x00007fff96b01fd2 madvise + 10 1 libsystem_malloc.dylib 0x00007fff8bc31d7b free_large + 461 2 libdigikamcore.5.0.0.dylib 0x00000001033647ff Digikam::DImg::Private::~Private() + 47 (dimg_p.h:88) 3 libdigikamcore.5.0.0.dylib 0x00000001033647c5 Digikam::DImg::Private::~Private() + 21 (dimg_p.h:89) 4 libdigikamcore.5.0.0.dylib 0x0000000103364793 Digikam::DSharedDataPointer<Digikam::DImg::Private>::~DSharedDataPointer() + 83 (dshareddata.h:182) 5 libdigikamcore.5.0.0.dylib 0x00000001033626f5 Digikam::DSharedDataPointer<Digikam::DImg::Private>::~DSharedDataPointer() + 21 (dshareddata.h:184) 6 libdigikamcore.5.0.0.dylib 0x00000001033531c5 Digikam::DImg::~DImg() + 21 (dimg.cpp:174) 7 libdigikamcore.5.0.0.dylib 0x00000001033531e5 Digikam::DImg::~DImg() + 21 (dimg.cpp:174) 8 libdigikamcore.5.0.0.dylib 0x000000010346118c Digikam::ThumbnailCreator::loadWithDImg(QString const&, Digikam::IccProfile*) const + 332 (thumbnailcreator.cpp:606) 9 libdigikamcore.5.0.0.dylib 0x000000010345d548 Digikam::ThumbnailCreator::createThumbnail(Digikam::ThumbnailInfo const&, QRect const&) const + 1496 (thumbnailcreator.cpp:518) 10 libdigikamcore.5.0.0.dylib 0x000000010345b545 Digikam::ThumbnailCreator::load(Digikam::ThumbnailIdentifier const&, QRect const&, bool) const + 933 (thumbnailcreator.cpp:264) 11 libdigikamcore.5.0.0.dylib 0x000000010345b18f Digikam::ThumbnailCreator::load(Digikam::ThumbnailIdentifier const&) const + 79 (thumbnailcreator.cpp:181) 12 libdigikamcore.5.0.0.dylib 0x000000010346d270 Digikam::ThumbnailLoadingTask::execute() + 1664 (thumbnailtask.cpp:166) 13 libdigikamcore.5.0.0.dylib 0x000000010343fd63 Digikam::LoadSaveThread::run() + 387 (loadsavethread.cpp:103) 14 libdigikamcore.5.0.0.dylib 0x0000000103493a43 Digikam::DynamicThread::DynamicThreadPriv::run() + 99 (dynamicthread.cpp:184) 15 org.qt-project.QtCore 0x00000001094e9497 QThreadPoolThread::run() + 103 16 org.qt-project.QtCore 0x00000001094ec6ea QThreadPrivate::start(void*) + 362 17 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 18 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 19 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 15:: Digikam::VideoThumbnailerJob 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x00000001094edd0b QWaitConditionPrivate::wait(unsigned long) + 75 3 org.qt-project.QtCore 0x00000001094edbc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 4 libdigikamcore.5.0.0.dylib 0x0000000103473130 Digikam::VideoThumbnailerJob::run() + 640 (videothumbnailerjob.cpp:166) 5 org.qt-project.QtCore 0x00000001094ec6ea QThreadPrivate::start(void*) + 362 6 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 7 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 8 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 16:: Thread (pooled) 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x00000001094edec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288 3 org.qt-project.QtCore 0x00000001094edceb QWaitConditionPrivate::wait(unsigned long) + 43 4 org.qt-project.QtCore 0x00000001094edbc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 5 org.qt-project.QtCore 0x00000001094e966d QThreadPoolThread::run() + 573 6 org.qt-project.QtCore 0x00000001094ec6ea QThreadPrivate::start(void*) + 362 7 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 8 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 9 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 17: 0 libsystem_kernel.dylib 0x00007fff96b015e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9322a578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff93228341 start_wqthread + 13 Thread 18: 0 libsystem_kernel.dylib 0x00007fff96b015e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9322a578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff93228341 start_wqthread + 13 Thread 19: 0 libsystem_kernel.dylib 0x00007fff96b015e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9322a578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff93228341 start_wqthread + 13 Thread 20: 0 libsystem_kernel.dylib 0x00007fff96b015e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9322a578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff93228341 start_wqthread + 13 Thread 21: 0 libsystem_kernel.dylib 0x00007fff96b015e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9322a578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff93228341 start_wqthread + 13 Thread 22: 0 libsystem_kernel.dylib 0x00007fff96b015e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9322a578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff93228341 start_wqthread + 13 Thread 23:: Thread (pooled) 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x00000001094edec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288 3 org.qt-project.QtCore 0x00000001094edceb QWaitConditionPrivate::wait(unsigned long) + 43 4 org.qt-project.QtCore 0x00000001094edbc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 5 org.qt-project.QtCore 0x00000001094e966d QThreadPoolThread::run() + 573 6 org.qt-project.QtCore 0x00000001094ec6ea QThreadPrivate::start(void*) + 362 7 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 8 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 9 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 24 Crashed:: Thread (pooled) 0 libsystem_platform.dylib 0x00007fff844145ea _platform_memmove$VARIANT$Nehalem + 138 1 libdigikamcore.5.0.0.dylib 0x000000010320ef12 Digikam::CBFilter::getTables(int*, int*, int*, int*, bool) + 162 (cbfilter.cpp:198) 2 libdigikamcore.5.0.0.dylib 0x000000010320f1ff Digikam::CBFilter::adjustRGB(double, double, double, double, bool) + 383 (cbfilter.cpp:343) 3 libdigikamcore.5.0.0.dylib 0x000000010320e9f1 Digikam::CBFilter::applyCBFilter(Digikam::DImg&, double, double, double, double) + 193 (cbfilter.cpp:244) 4 libdigikamcore.5.0.0.dylib 0x000000010320e2e9 Digikam::CBFilter::filterImage() + 105 (cbfilter.cpp:106) 5 libdigikamcore.5.0.0.dylib 0x00000001031a7ce9 Digikam::DImgThreadedFilter::startFilterDirectly() + 137 (dimgthreadedfilter.cpp:197) 6 libdigikamcore.5.0.0.dylib 0x00000001031a7fd6 Digikam::DImgThreadedFilter::run() + 22 (dimgthreadedfilter.cpp:220) 7 libdigikamcore.5.0.0.dylib 0x0000000103493a43 Digikam::DynamicThread::DynamicThreadPriv::run() + 99 (dynamicthread.cpp:184) 8 org.qt-project.QtCore 0x00000001094e9497 QThreadPoolThread::run() + 103 9 org.qt-project.QtCore 0x00000001094ec6ea QThreadPrivate::start(void*) + 362 10 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 11 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 12 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 25:: Thread (pooled) 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x00000001094edec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288 3 org.qt-project.QtCore 0x00000001094edceb QWaitConditionPrivate::wait(unsigned long) + 43 4 org.qt-project.QtCore 0x00000001094edbc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 5 org.qt-project.QtCore 0x00000001094e966d QThreadPoolThread::run() + 573 6 org.qt-project.QtCore 0x00000001094ec6ea QThreadPrivate::start(void*) + 362 7 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 8 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 9 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 26:: Digikam::VideoThumbnailerJob 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x00000001094edd0b QWaitConditionPrivate::wait(unsigned long) + 75 3 org.qt-project.QtCore 0x00000001094edbc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 4 libdigikamcore.5.0.0.dylib 0x0000000103473130 Digikam::VideoThumbnailerJob::run() + 640 (videothumbnailerjob.cpp:166) 5 org.qt-project.QtCore 0x00000001094ec6ea QThreadPrivate::start(void*) + 362 6 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 7 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 8 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 27: 0 libsystem_kernel.dylib 0x00007fff96b015e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9322a578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff93228341 start_wqthread + 13 Thread 28:: Thread (pooled) 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x00000001094edec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288 3 org.qt-project.QtCore 0x00000001094edceb QWaitConditionPrivate::wait(unsigned long) + 43 4 org.qt-project.QtCore 0x00000001094edbc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 5 org.qt-project.QtCore 0x00000001094e966d QThreadPoolThread::run() + 573 6 org.qt-project.QtCore 0x00000001094ec6ea QThreadPrivate::start(void*) + 362 7 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 8 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 9 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 29:: Thread (pooled) 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x00000001094edec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288 3 org.qt-project.QtCore 0x00000001094edceb QWaitConditionPrivate::wait(unsigned long) + 43 4 org.qt-project.QtCore 0x00000001094edbc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 5 org.qt-project.QtCore 0x00000001094e966d QThreadPoolThread::run() + 573 6 org.qt-project.QtCore 0x00000001094ec6ea QThreadPrivate::start(void*) + 362 7 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 8 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 9 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 30:: Thread (pooled) 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x00000001094edec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288 3 org.qt-project.QtCore 0x00000001094edceb QWaitConditionPrivate::wait(unsigned long) + 43 4 org.qt-project.QtCore 0x00000001094edbc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 5 org.qt-project.QtCore 0x00000001094e966d QThreadPoolThread::run() + 573 6 org.qt-project.QtCore 0x00000001094ec6ea QThreadPrivate::start(void*) + 362 7 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 8 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 9 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 31:: Thread (pooled) 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x00000001094edec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288 3 org.qt-project.QtCore 0x00000001094edceb QWaitConditionPrivate::wait(unsigned long) + 43 4 org.qt-project.QtCore 0x00000001094edbc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 5 org.qt-project.QtCore 0x00000001094e966d QThreadPoolThread::run() + 573 6 org.qt-project.QtCore 0x00000001094ec6ea QThreadPrivate::start(void*) + 362 7 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 8 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 9 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 32:: Thread (pooled) 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x00000001094edec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288 3 org.qt-project.QtCore 0x00000001094edceb QWaitConditionPrivate::wait(unsigned long) + 43 4 org.qt-project.QtCore 0x00000001094edbc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 5 org.qt-project.QtCore 0x00000001094e966d QThreadPoolThread::run() + 573 6 org.qt-project.QtCore 0x00000001094ec6ea QThreadPrivate::start(void*) + 362 7 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 8 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 9 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 33: 0 libsystem_kernel.dylib 0x00007fff96b015e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9322a578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff93228341 start_wqthread + 13 Thread 24 crashed with X86 Thread State (64-bit): rax: 0x0000700000843c00 rbx: 0x00000000ffffffff rcx: 0x0000000000000010 rdx: 0x00000000000003f0 rdi: 0x0000700000843c10 rsi: 0x0000000163723410 rbp: 0x0000700000783b00 rsp: 0x0000700000783b00 r8: 0x00007000007c3c00 r9: 0x0000000000000000 r10: 0x000000000000007d r11: 0x00006ffe9d120800 r12: 0x00007faa44d8fbb0 r13: 0x00007faa33851250 r14: 0x00007faa47550aa0 r15: 0x00007faa47550ab0 rip: 0x00007fff844145ea rfl: 0x0000000000010206 cr2: 0x0000700000843c00 Maik, As i can see, Color Balance is the only editor which crash quickly like this. Very strange. What's is too much different in this tool to see this behavior... Perhaps a race condition with signal/slots. Also, why we don't see any problem under Linux (I don't checked Windows) Gilles Gilles, is there a difference between 8 bit or 16 bit images? It works well under Windows. Maik Crash appear also in 16 bits with a RAW file : Thread 0:: Dispatch queue: com.apple.main-thread 0 libdigikamcore.5.0.0.dylib 0x0000000106b09816 Digikam::DImgScale::dimgScaleAARGB16(Digikam::DImgScale::DImgScaleInfo*, unsigned long long*, int, int, int, int, int, int, int, int, int, int) + 6518 (dimgscale.cpp:1916) 1 libdigikamcore.5.0.0.dylib 0x0000000106b055cf Digikam::DImg::smoothScaleClipped(int, int, int, int, int, int) const + 751 (dimgscale.cpp:242) 2 libdigikamcore.5.0.0.dylib 0x0000000106e2760e Digikam::ImageRegionItem::paint(QPainter*, QStyleOptionGraphicsItem const*, QWidget*) + 494 (imageregionitem.cpp:121) 3 org.qt-project.QtWidgets 0x000000010c319d29 QGraphicsScenePrivate::draw(QGraphicsItem*, QPainter*, QTransform const*, QTransform const*, QRegion*, QWidget*, double, QTransform const*, bool, bool) + 1593 4 org.qt-project.QtWidgets 0x000000010c31959c QGraphicsScenePrivate::drawSubtreeRecursive(QGraphicsItem*, QPainter*, QTransform const*, QRegion*, QWidget*, double, QTransform const*) + 2108 5 org.qt-project.QtWidgets 0x000000010c318d03 QGraphicsScenePrivate::drawItems(QPainter*, QTransform const*, QRegion*, QWidget*) + 403 6 org.qt-project.QtWidgets 0x000000010c33c84c QGraphicsView::paintEvent(QPaintEvent*) + 1676 7 org.qt-project.QtWidgets 0x000000010c00a976 QWidget::event(QEvent*) + 2038 8 org.qt-project.QtWidgets 0x000000010c10267d QFrame::event(QEvent*) + 45 9 org.qt-project.QtWidgets 0x000000010c194097 QAbstractScrollArea::viewportEvent(QEvent*) + 135 10 org.qt-project.QtWidgets 0x000000010c33a3b5 QGraphicsView::viewportEvent(QEvent*) + 1541 11 org.qt-project.QtWidgets 0x000000010c194d34 QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) + 36 12 org.qt-project.QtCore 0x000000010ce3d4ab QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 203 13 org.qt-project.QtWidgets 0x000000010bfc9081 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 273 14 org.qt-project.QtWidgets 0x000000010bfca5f8 QApplication::notify(QObject*, QEvent*) + 504 15 org.qt-project.QtCore 0x000000010ce3d214 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164 16 org.qt-project.QtWidgets 0x000000010c0043e4 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 3316 17 org.qt-project.QtWidgets 0x000000010bfd7227 QWidgetBackingStore::doSync() + 5447 18 org.qt-project.QtWidgets 0x000000010c00ac02 QWidget::event(QEvent*) + 2690 19 org.qt-project.QtWidgets 0x000000010c11a19a QMainWindow::event(QEvent*) + 1546 20 libKF5XmlGui.5.dylib 0x000000010aa594eb KMainWindow::event(QEvent*) + 1003 21 libKF5XmlGui.5.dylib 0x000000010aaa25aa KXmlGuiWindow::event(QEvent*) + 42 22 org.qt-project.QtWidgets 0x000000010bfc9096 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 294 23 org.qt-project.QtWidgets 0x000000010bfca5f8 QApplication::notify(QObject*, QEvent*) + 504 24 org.qt-project.QtCore 0x000000010ce3d214 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164 25 org.qt-project.QtCore 0x000000010ce3df5b QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 875 26 libqcocoa.dylib 0x00000001140e0b7e QCocoaEventDispatcherPrivate::processPostedEvents() + 190 27 libqcocoa.dylib 0x00000001140e1441 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33 28 com.apple.CoreFoundation 0x00007fff8658b881 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 29 com.apple.CoreFoundation 0x00007fff8656afbc __CFRunLoopDoSources0 + 556 30 com.apple.CoreFoundation 0x00007fff8656a4df __CFRunLoopRun + 927 31 com.apple.CoreFoundation 0x00007fff86569ed8 CFRunLoopRunSpecific + 296 32 com.apple.HIToolbox 0x00007fff8bc85935 RunCurrentEventLoopInMode + 235 33 com.apple.HIToolbox 0x00007fff8bc8576f ReceiveNextEventCommon + 432 34 com.apple.HIToolbox 0x00007fff8bc855af _BlockUntilNextEventMatchingListInModeWithFilter + 71 35 com.apple.AppKit 0x00007fff8a15cdf6 _DPSNextEvent + 1067 36 com.apple.AppKit 0x00007fff8a15c226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454 37 com.apple.AppKit 0x00007fff8a150d80 -[NSApplication run] + 682 38 libqcocoa.dylib 0x00000001140e034f QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2191 39 org.qt-project.QtCore 0x000000010ce393d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417 40 org.qt-project.QtCore 0x000000010ce3d885 QCoreApplication::exec() + 341 41 digikam 0x0000000105a9b04c main + 9180 (main.cpp:239) 42 libdyld.dylib 0x00007fff8d2f15ad start + 1 Thread 1:: Dispatch queue: com.apple.libdispatch-manager 0 libsystem_kernel.dylib 0x00007fff96b01efa kevent_qos + 10 1 libdispatch.dylib 0x00007fff8ce35165 _dispatch_mgr_invoke + 216 2 libdispatch.dylib 0x00007fff8ce34dcd _dispatch_mgr_thread + 52 Thread 2:: Digikam::ScanController 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x000000010cc75d0b QWaitConditionPrivate::wait(unsigned long) + 75 3 org.qt-project.QtCore 0x000000010cc75bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 4 libdigikamgui.5.0.0.dylib 0x0000000105ada562 Digikam::ScanController::run() + 562 (scancontroller.cpp:684) 5 org.qt-project.QtCore 0x000000010cc746ea QThreadPrivate::start(void*) + 362 6 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 7 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 8 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 3:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x00007fff96afaf72 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff96afa3b3 mach_msg + 55 2 com.apple.CoreFoundation 0x00007fff8656b1c4 __CFRunLoopServiceMachPort + 212 3 com.apple.CoreFoundation 0x00007fff8656a68c __CFRunLoopRun + 1356 4 com.apple.CoreFoundation 0x00007fff86569ed8 CFRunLoopRunSpecific + 296 5 com.apple.AppKit 0x00007fff8a2b2d95 _NSEventThread + 149 6 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 7 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 8 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 4:: QDBusConnectionManager 0 libsystem_kernel.dylib 0x00007fff96b0107a __select + 10 1 org.qt-project.QtCore 0x000000010ce943a3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547 2 org.qt-project.QtCore 0x000000010ce952d5 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 709 3 org.qt-project.QtCore 0x000000010ce96717 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 231 4 org.qt-project.QtCore 0x000000010ce393d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417 5 org.qt-project.QtCore 0x000000010cc70c43 QThread::exec() + 115 6 org.qt-project.QtDBus 0x000000010b003e33 QDBusConnectionManager::run() + 19 7 org.qt-project.QtCore 0x000000010cc746ea QThreadPrivate::start(void*) + 362 8 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 9 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 10 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 5:: QThread 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x000000010cc75d0b QWaitConditionPrivate::wait(unsigned long) + 75 3 org.qt-project.QtCore 0x000000010cc75bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 4 libdigikamcore.5.0.0.dylib 0x0000000106c26a45 Digikam::ParkingThread::run() + 165 (threadmanager.cpp:115) 5 org.qt-project.QtCore 0x000000010cc746ea QThreadPrivate::start(void*) + 362 6 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 7 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 8 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 6:: Qt bearer thread 0 libsystem_kernel.dylib 0x00007fff96b0107a __select + 10 1 org.qt-project.QtCore 0x000000010ce943a3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547 2 org.qt-project.QtCore 0x000000010ce952d5 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 709 3 org.qt-project.QtCore 0x000000010ce96717 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 231 4 org.qt-project.QtCore 0x000000010ce393d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417 5 org.qt-project.QtCore 0x000000010cc70c43 QThread::exec() + 115 6 org.qt-project.QtCore 0x000000010cc746ea QThreadPrivate::start(void*) + 362 7 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 8 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 9 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 7:: JavaScriptCore::BlockFree 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x0000000109347a08 JSC::BlockAllocator::blockFreeingThreadMain() + 280 3 org.qt-project.QtWebKit 0x00000001096476ef WTF::wtfThreadEntryPoint(void*) + 15 4 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 5 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 6 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 8:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x0000000109348887 JSC::GCThread::waitForNextPhase() + 119 3 org.qt-project.QtWebKit 0x0000000109348913 JSC::GCThread::gcThreadMain() + 83 4 org.qt-project.QtWebKit 0x00000001096476ef WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 6 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 7 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 9:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x0000000109348887 JSC::GCThread::waitForNextPhase() + 119 3 org.qt-project.QtWebKit 0x0000000109348913 JSC::GCThread::gcThreadMain() + 83 4 org.qt-project.QtWebKit 0x00000001096476ef WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 6 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 7 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 10:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x0000000109348887 JSC::GCThread::waitForNextPhase() + 119 3 org.qt-project.QtWebKit 0x0000000109348913 JSC::GCThread::gcThreadMain() + 83 4 org.qt-project.QtWebKit 0x00000001096476ef WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 6 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 7 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 11:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x0000000109348887 JSC::GCThread::waitForNextPhase() + 119 3 org.qt-project.QtWebKit 0x0000000109348913 JSC::GCThread::gcThreadMain() + 83 4 org.qt-project.QtWebKit 0x00000001096476ef WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 6 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 7 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 12:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x0000000109348887 JSC::GCThread::waitForNextPhase() + 119 3 org.qt-project.QtWebKit 0x0000000109348913 JSC::GCThread::gcThreadMain() + 83 4 org.qt-project.QtWebKit 0x00000001096476ef WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 6 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 7 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 13:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x0000000109348887 JSC::GCThread::waitForNextPhase() + 119 3 org.qt-project.QtWebKit 0x0000000109348913 JSC::GCThread::gcThreadMain() + 83 4 org.qt-project.QtWebKit 0x00000001096476ef WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 6 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 7 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 14:: Digikam::VideoThumbnailerJob 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x000000010cc75d0b QWaitConditionPrivate::wait(unsigned long) + 75 3 org.qt-project.QtCore 0x000000010cc75bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 4 libdigikamcore.5.0.0.dylib 0x0000000106c08130 Digikam::VideoThumbnailerJob::run() + 640 (videothumbnailerjob.cpp:166) 5 org.qt-project.QtCore 0x000000010cc746ea QThreadPrivate::start(void*) + 362 6 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 7 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 8 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 15: 0 libsystem_kernel.dylib 0x00007fff96b015e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9322a578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff93228341 start_wqthread + 13 Thread 16: 0 libsystem_kernel.dylib 0x00007fff96b015e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9322a578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff93228341 start_wqthread + 13 Thread 17: 0 libsystem_kernel.dylib 0x00007fff96b015e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9322a578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff93228341 start_wqthread + 13 Thread 18:: com.apple.CFSocket.private 0 libsystem_kernel.dylib 0x00007fff96b0107a __select + 10 1 com.apple.CoreFoundation 0x00007fff865a84fa __CFSocketManager + 762 2 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 3 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 4 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 19:: Thread (pooled) 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x000000010cc75ec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288 3 org.qt-project.QtCore 0x000000010cc75ceb QWaitConditionPrivate::wait(unsigned long) + 43 4 org.qt-project.QtCore 0x000000010cc75bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 5 org.qt-project.QtCore 0x000000010cc7166d QThreadPoolThread::run() + 573 6 org.qt-project.QtCore 0x000000010cc746ea QThreadPrivate::start(void*) + 362 7 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 8 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 9 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 20:: Thread (pooled) 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x000000010cc75ec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288 3 org.qt-project.QtCore 0x000000010cc75ceb QWaitConditionPrivate::wait(unsigned long) + 43 4 org.qt-project.QtCore 0x000000010cc75bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 5 org.qt-project.QtCore 0x000000010cc7166d QThreadPoolThread::run() + 573 6 org.qt-project.QtCore 0x000000010cc746ea QThreadPrivate::start(void*) + 362 7 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 8 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 9 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 21 Crashed:: Thread (pooled) 0 libsystem_platform.dylib 0x00007fff84414551 _platform_memmove$VARIANT$Ivybridge + 49 1 libdigikamcore.5.0.0.dylib 0x00000001069a3ff7 Digikam::CBFilter::getTables(int*, int*, int*, int*, bool) + 391 (cbfilter.cpp:220) 2 libdigikamcore.5.0.0.dylib 0x00000001069a41ff Digikam::CBFilter::adjustRGB(double, double, double, double, bool) + 383 (cbfilter.cpp:343) 3 libdigikamcore.5.0.0.dylib 0x00000001069a39f1 Digikam::CBFilter::applyCBFilter(Digikam::DImg&, double, double, double, double) + 193 (cbfilter.cpp:244) 4 libdigikamcore.5.0.0.dylib 0x00000001069a32e9 Digikam::CBFilter::filterImage() + 105 (cbfilter.cpp:106) 5 libdigikamcore.5.0.0.dylib 0x000000010693cce9 Digikam::DImgThreadedFilter::startFilterDirectly() + 137 (dimgthreadedfilter.cpp:197) 6 libdigikamcore.5.0.0.dylib 0x000000010693cfd6 Digikam::DImgThreadedFilter::run() + 22 (dimgthreadedfilter.cpp:220) 7 libdigikamcore.5.0.0.dylib 0x0000000106c28a43 Digikam::DynamicThread::DynamicThreadPriv::run() + 99 (dynamicthread.cpp:184) 8 org.qt-project.QtCore 0x000000010cc71497 QThreadPoolThread::run() + 103 9 org.qt-project.QtCore 0x000000010cc746ea QThreadPrivate::start(void*) + 362 10 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 11 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 12 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 22:: Thread (pooled) 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x000000010cc75ec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288 3 org.qt-project.QtCore 0x000000010cc75ceb QWaitConditionPrivate::wait(unsigned long) + 43 4 org.qt-project.QtCore 0x000000010cc75bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 5 org.qt-project.QtCore 0x000000010cc7166d QThreadPoolThread::run() + 573 6 org.qt-project.QtCore 0x000000010cc746ea QThreadPrivate::start(void*) + 362 7 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 8 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 9 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 23: 0 libsystem_kernel.dylib 0x00007fff96b015e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9322a578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff93228341 start_wqthread + 13 Thread 21 crashed with X86 Thread State (64-bit): rax: 0x00007000002a2c00 rbx: 0x00000000ffffffff rcx: 0x0000000000040000 rdx: 0x0000000000040000 rdi: 0x00007000002a2c00 rsi: 0x0000000167cbe000 rbp: 0x00007000001e2b00 rsp: 0x00007000001e2b00 r8: 0x0000700000222c00 r9: 0x0000000000000001 r10: 0x000000000000007d r11: 0x00006ffe985e4c00 r12: 0x00007fe0bdc9c0a0 r13: 0x00007fe0c359e340 r14: 0x00007fe0bd8006a0 r15: 0x00007fe0bd8006b0 rip: 0x00007fff84414551 rfl: 0x0000000000010206 cr2: 0x00007000002a2c00 As i can see, Color Balance with all setings to 0 is processed well when tool is open in Image Editor. Only when settings is changed, a new processing is done and it crash imediatly. Gilles Created attachment 99820 [details]
cbfilter2.patch
Please try this patch.
Maik
Maik, Not better again : Thread 0:: Dispatch queue: com.apple.main-thread 0 libdigikamcore.5.0.0.dylib 0x00000001106f858a Digikam::DImgScale::dimgScaleAARGB(Digikam::DImgScale::DImgScaleInfo*, unsigned int*, int, int, int, int, int, int, int, int, int, int) + 6154 (dimgscale.cpp:1498) 1 libdigikamcore.5.0.0.dylib 0x00000001106f06e9 Digikam::DImg::smoothScaleClipped(int, int, int, int, int, int) const + 1033 (dimgscale.cpp:257) 2 libdigikamcore.5.0.0.dylib 0x0000000110a1260e Digikam::ImageRegionItem::paint(QPainter*, QStyleOptionGraphicsItem const*, QWidget*) + 494 (imageregionitem.cpp:121) 3 org.qt-project.QtWidgets 0x0000000115f24d29 QGraphicsScenePrivate::draw(QGraphicsItem*, QPainter*, QTransform const*, QTransform const*, QRegion*, QWidget*, double, QTransform const*, bool, bool) + 1593 4 org.qt-project.QtWidgets 0x0000000115f2459c QGraphicsScenePrivate::drawSubtreeRecursive(QGraphicsItem*, QPainter*, QTransform const*, QRegion*, QWidget*, double, QTransform const*) + 2108 5 org.qt-project.QtWidgets 0x0000000115f23d03 QGraphicsScenePrivate::drawItems(QPainter*, QTransform const*, QRegion*, QWidget*) + 403 6 org.qt-project.QtWidgets 0x0000000115f4784c QGraphicsView::paintEvent(QPaintEvent*) + 1676 7 org.qt-project.QtWidgets 0x0000000115c15976 QWidget::event(QEvent*) + 2038 8 org.qt-project.QtWidgets 0x0000000115d0d67d QFrame::event(QEvent*) + 45 9 org.qt-project.QtWidgets 0x0000000115d9f097 QAbstractScrollArea::viewportEvent(QEvent*) + 135 10 org.qt-project.QtWidgets 0x0000000115f453b5 QGraphicsView::viewportEvent(QEvent*) + 1541 11 org.qt-project.QtWidgets 0x0000000115d9fd34 QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) + 36 12 org.qt-project.QtCore 0x0000000116a4b4ab QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 203 13 org.qt-project.QtWidgets 0x0000000115bd4081 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 273 14 org.qt-project.QtWidgets 0x0000000115bd55f8 QApplication::notify(QObject*, QEvent*) + 504 15 org.qt-project.QtCore 0x0000000116a4b214 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164 16 org.qt-project.QtWidgets 0x0000000115c0f3e4 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 3316 17 org.qt-project.QtWidgets 0x0000000115be2227 QWidgetBackingStore::doSync() + 5447 18 org.qt-project.QtWidgets 0x0000000115c15c02 QWidget::event(QEvent*) + 2690 19 org.qt-project.QtWidgets 0x0000000115d2519a QMainWindow::event(QEvent*) + 1546 20 libKF5XmlGui.5.dylib 0x00000001146614eb KMainWindow::event(QEvent*) + 1003 21 libKF5XmlGui.5.dylib 0x00000001146aa5aa KXmlGuiWindow::event(QEvent*) + 42 22 org.qt-project.QtWidgets 0x0000000115bd4096 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 294 23 org.qt-project.QtWidgets 0x0000000115bd55f8 QApplication::notify(QObject*, QEvent*) + 504 24 org.qt-project.QtCore 0x0000000116a4b214 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164 25 org.qt-project.QtCore 0x0000000116a4bf5b QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 875 26 libqcocoa.dylib 0x000000011dce7b7e QCocoaEventDispatcherPrivate::processPostedEvents() + 190 27 libqcocoa.dylib 0x000000011dce8441 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33 28 com.apple.CoreFoundation 0x00007fff8658b881 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 29 com.apple.CoreFoundation 0x00007fff8656afbc __CFRunLoopDoSources0 + 556 30 com.apple.CoreFoundation 0x00007fff8656a4df __CFRunLoopRun + 927 31 com.apple.CoreFoundation 0x00007fff86569ed8 CFRunLoopRunSpecific + 296 32 com.apple.HIToolbox 0x00007fff8bc85935 RunCurrentEventLoopInMode + 235 33 com.apple.HIToolbox 0x00007fff8bc8576f ReceiveNextEventCommon + 432 34 com.apple.HIToolbox 0x00007fff8bc855af _BlockUntilNextEventMatchingListInModeWithFilter + 71 35 com.apple.AppKit 0x00007fff8a15cdf6 _DPSNextEvent + 1067 36 com.apple.AppKit 0x00007fff8a15c226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454 37 com.apple.AppKit 0x00007fff8a150d80 -[NSApplication run] + 682 38 libqcocoa.dylib 0x000000011dce734f QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2191 39 org.qt-project.QtCore 0x0000000116a473d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417 40 org.qt-project.QtCore 0x0000000116a4b885 QCoreApplication::exec() + 341 41 digikam 0x000000010f68d04c main + 9180 (main.cpp:239) 42 libdyld.dylib 0x00007fff8d2f15ad start + 1 Thread 1:: Dispatch queue: com.apple.libdispatch-manager 0 libsystem_kernel.dylib 0x00007fff96b01efa kevent_qos + 10 1 libdispatch.dylib 0x00007fff8ce35165 _dispatch_mgr_invoke + 216 2 libdispatch.dylib 0x00007fff8ce34dcd _dispatch_mgr_thread + 52 Thread 2:: Digikam::ScanController 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x0000000116883d0b QWaitConditionPrivate::wait(unsigned long) + 75 3 org.qt-project.QtCore 0x0000000116883bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 4 libdigikamgui.5.0.0.dylib 0x000000010f6c6562 Digikam::ScanController::run() + 562 (scancontroller.cpp:684) 5 org.qt-project.QtCore 0x00000001168826ea QThreadPrivate::start(void*) + 362 6 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 7 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 8 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 3:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x00007fff96afaf72 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff96afa3b3 mach_msg + 55 2 com.apple.CoreFoundation 0x00007fff8656b1c4 __CFRunLoopServiceMachPort + 212 3 com.apple.CoreFoundation 0x00007fff8656a68c __CFRunLoopRun + 1356 4 com.apple.CoreFoundation 0x00007fff86569ed8 CFRunLoopRunSpecific + 296 5 com.apple.AppKit 0x00007fff8a2b2d95 _NSEventThread + 149 6 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 7 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 8 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 4:: QDBusConnectionManager 0 libsystem_kernel.dylib 0x00007fff96b0107a __select + 10 1 org.qt-project.QtCore 0x0000000116aa23a3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547 2 org.qt-project.QtCore 0x0000000116aa32d5 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 709 3 org.qt-project.QtCore 0x0000000116aa4717 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 231 4 org.qt-project.QtCore 0x0000000116a473d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417 5 org.qt-project.QtCore 0x000000011687ec43 QThread::exec() + 115 6 org.qt-project.QtDBus 0x0000000114c0ee33 QDBusConnectionManager::run() + 19 7 org.qt-project.QtCore 0x00000001168826ea QThreadPrivate::start(void*) + 362 8 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 9 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 10 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 5:: QThread 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x0000000116883d0b QWaitConditionPrivate::wait(unsigned long) + 75 3 org.qt-project.QtCore 0x0000000116883bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 4 libdigikamcore.5.0.0.dylib 0x0000000110811a45 Digikam::ParkingThread::run() + 165 (threadmanager.cpp:115) 5 org.qt-project.QtCore 0x00000001168826ea QThreadPrivate::start(void*) + 362 6 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 7 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 8 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 6:: Qt bearer thread 0 libsystem_kernel.dylib 0x00007fff96b0107a __select + 10 1 org.qt-project.QtCore 0x0000000116aa23a3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547 2 org.qt-project.QtCore 0x0000000116aa32d5 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 709 3 org.qt-project.QtCore 0x0000000116aa4717 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 231 4 org.qt-project.QtCore 0x0000000116a473d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417 5 org.qt-project.QtCore 0x000000011687ec43 QThread::exec() + 115 6 org.qt-project.QtCore 0x00000001168826ea QThreadPrivate::start(void*) + 362 7 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 8 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 9 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 7:: JavaScriptCore::BlockFree 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x0000000112f47a08 JSC::BlockAllocator::blockFreeingThreadMain() + 280 3 org.qt-project.QtWebKit 0x00000001132476ef WTF::wtfThreadEntryPoint(void*) + 15 4 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 5 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 6 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 8:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x0000000112f48887 JSC::GCThread::waitForNextPhase() + 119 3 org.qt-project.QtWebKit 0x0000000112f48913 JSC::GCThread::gcThreadMain() + 83 4 org.qt-project.QtWebKit 0x00000001132476ef WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 6 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 7 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 9:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x0000000112f48887 JSC::GCThread::waitForNextPhase() + 119 3 org.qt-project.QtWebKit 0x0000000112f48913 JSC::GCThread::gcThreadMain() + 83 4 org.qt-project.QtWebKit 0x00000001132476ef WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 6 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 7 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 10:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x0000000112f48887 JSC::GCThread::waitForNextPhase() + 119 3 org.qt-project.QtWebKit 0x0000000112f48913 JSC::GCThread::gcThreadMain() + 83 4 org.qt-project.QtWebKit 0x00000001132476ef WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 6 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 7 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 11:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x0000000112f48887 JSC::GCThread::waitForNextPhase() + 119 3 org.qt-project.QtWebKit 0x0000000112f48913 JSC::GCThread::gcThreadMain() + 83 4 org.qt-project.QtWebKit 0x00000001132476ef WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 6 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 7 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 12:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x0000000112f48887 JSC::GCThread::waitForNextPhase() + 119 3 org.qt-project.QtWebKit 0x0000000112f48913 JSC::GCThread::gcThreadMain() + 83 4 org.qt-project.QtWebKit 0x00000001132476ef WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 6 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 7 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 13:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x0000000112f48887 JSC::GCThread::waitForNextPhase() + 119 3 org.qt-project.QtWebKit 0x0000000112f48913 JSC::GCThread::gcThreadMain() + 83 4 org.qt-project.QtWebKit 0x00000001132476ef WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 6 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 7 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 14: 0 libsystem_kernel.dylib 0x00007fff96b015e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9322a578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff93228341 start_wqthread + 13 Thread 15:: Thread (pooled) 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x0000000116883ec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288 3 org.qt-project.QtCore 0x0000000116883ceb QWaitConditionPrivate::wait(unsigned long) + 43 4 org.qt-project.QtCore 0x0000000116883bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 5 org.qt-project.QtCore 0x000000011687f66d QThreadPoolThread::run() + 573 6 org.qt-project.QtCore 0x00000001168826ea QThreadPrivate::start(void*) + 362 7 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 8 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 9 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 16: 0 libsystem_kernel.dylib 0x00007fff96b015e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9322a578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff93228341 start_wqthread + 13 Thread 17: 0 libsystem_kernel.dylib 0x00007fff96b015e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9322a578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff93228341 start_wqthread + 13 Thread 18:: Thread (pooled) 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x0000000116883ec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288 3 org.qt-project.QtCore 0x0000000116883ceb QWaitConditionPrivate::wait(unsigned long) + 43 4 org.qt-project.QtCore 0x0000000116883bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 5 org.qt-project.QtCore 0x000000011687f66d QThreadPoolThread::run() + 573 6 org.qt-project.QtCore 0x00000001168826ea QThreadPrivate::start(void*) + 362 7 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 8 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 9 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 19:: Thread (pooled) 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x0000000116883ec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288 3 org.qt-project.QtCore 0x0000000116883ceb QWaitConditionPrivate::wait(unsigned long) + 43 4 org.qt-project.QtCore 0x0000000116883bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 5 org.qt-project.QtCore 0x000000011687f66d QThreadPoolThread::run() + 573 6 org.qt-project.QtCore 0x00000001168826ea QThreadPrivate::start(void*) + 362 7 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 8 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 9 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 20: 0 libsystem_kernel.dylib 0x00007fff96b015e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9322a578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff93228341 start_wqthread + 13 Thread 21: 0 libsystem_kernel.dylib 0x00007fff96b015e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9322a578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff93228341 start_wqthread + 13 Thread 22: 0 libsystem_kernel.dylib 0x00007fff96b015e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9322a578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff93228341 start_wqthread + 13 Thread 23:: Thread (pooled) 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x0000000116883ec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288 3 org.qt-project.QtCore 0x0000000116883ceb QWaitConditionPrivate::wait(unsigned long) + 43 4 org.qt-project.QtCore 0x0000000116883bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 5 org.qt-project.QtCore 0x000000011687f66d QThreadPoolThread::run() + 573 6 org.qt-project.QtCore 0x00000001168826ea QThreadPrivate::start(void*) + 362 7 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 8 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 9 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 24: 0 libsystem_kernel.dylib 0x00007fff96b015e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9322a578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff93228341 start_wqthread + 13 Thread 25:: Thread (pooled) 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x0000000116883ec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288 3 org.qt-project.QtCore 0x0000000116883ceb QWaitConditionPrivate::wait(unsigned long) + 43 4 org.qt-project.QtCore 0x0000000116883bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 5 org.qt-project.QtCore 0x000000011687f66d QThreadPoolThread::run() + 573 6 org.qt-project.QtCore 0x00000001168826ea QThreadPrivate::start(void*) + 362 7 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 8 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 9 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 26 Crashed:: Thread (pooled) 0 libsystem_platform.dylib 0x00007fff844145ea _platform_memmove$VARIANT$Nehalem + 138 1 libdigikamcore.5.0.0.dylib 0x000000011058ef2c Digikam::CBFilter::getTables(int*, int*, int*, int*, bool) + 156 (cbfilter.cpp:198) 2 libdigikamcore.5.0.0.dylib 0x000000011058f1ff Digikam::CBFilter::adjustRGB(double, double, double, double, bool) + 383 (cbfilter.cpp:343) 3 libdigikamcore.5.0.0.dylib 0x000000011058ea11 Digikam::CBFilter::applyCBFilter(Digikam::DImg&, double, double, double, double) + 193 (cbfilter.cpp:244) 4 libdigikamcore.5.0.0.dylib 0x000000011058e309 Digikam::CBFilter::filterImage() + 105 (cbfilter.cpp:106) 5 libdigikamcore.5.0.0.dylib 0x0000000110527d09 Digikam::DImgThreadedFilter::startFilterDirectly() + 137 (dimgthreadedfilter.cpp:197) 6 libdigikamcore.5.0.0.dylib 0x0000000110527ff6 Digikam::DImgThreadedFilter::run() + 22 (dimgthreadedfilter.cpp:220) 7 libdigikamcore.5.0.0.dylib 0x0000000110813a43 Digikam::DynamicThread::DynamicThreadPriv::run() + 99 (dynamicthread.cpp:184) 8 org.qt-project.QtCore 0x000000011687f497 QThreadPoolThread::run() + 103 9 org.qt-project.QtCore 0x00000001168826ea QThreadPrivate::start(void*) + 362 10 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 11 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 12 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 27:: Thread (pooled) 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x0000000116883ec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288 3 org.qt-project.QtCore 0x0000000116883ceb QWaitConditionPrivate::wait(unsigned long) + 43 4 org.qt-project.QtCore 0x0000000116883bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 5 org.qt-project.QtCore 0x000000011687f66d QThreadPoolThread::run() + 573 6 org.qt-project.QtCore 0x00000001168826ea QThreadPrivate::start(void*) + 362 7 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 8 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 9 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 28:: Thread (pooled) 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x0000000116883ec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288 3 org.qt-project.QtCore 0x0000000116883ceb QWaitConditionPrivate::wait(unsigned long) + 43 4 org.qt-project.QtCore 0x0000000116883bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 5 org.qt-project.QtCore 0x000000011687f66d QThreadPoolThread::run() + 573 6 org.qt-project.QtCore 0x00000001168826ea QThreadPrivate::start(void*) + 362 7 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 8 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 9 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 29: 0 libsystem_kernel.dylib 0x00007fff96b015e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9322a578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff93228341 start_wqthread + 13 Thread 26 crashed with X86 Thread State (64-bit): rax: 0x00007000008c6c00 rbx: 0x00000000ffffffff rcx: 0x0000000000000010 rdx: 0x00000000000003f0 rdi: 0x00007000008c6c10 rsi: 0x00000001709e9410 rbp: 0x0000700000806b00 rsp: 0x0000700000806b00 r8: 0x0000700000846c00 r9: 0x0000000000000000 r10: 0x000000000000007d r11: 0x00006ffe8fedd800 r12: 0x00007fb028f3f3c0 r13: 0x00007fb030891b60 r14: 0x00007fb02dd05c50 r15: 0x00007fb02dd05c60 rip: 0x00007fff844145ea rfl: 0x0000000000010206 cr2: 0x00007000008c6c00 Created attachment 99821 [details]
cbfilter3.patch
Gilles,
please test this patch for fun.
Maik
No difference. Crash is always here... Gilles Note the crash appear also when you touch another color balance settings, not only B/Y Gilles Git commit 7d3fc12ad85e7192b7d52076d4837dfea6956ac6 by Gilles Caulier. Committed on 03/07/2016 at 12:14. Pushed by cgilles into branch 'master'. add new test CLI tool for color balance algoritm M +20 -0 tests/dimg/CMakeLists.txt C +6 -5 tests/dimg/testcolorbalancefilter.cpp [from: tests/dimg/testequalizefilter.cpp - 087% similarity] M +1 -1 tests/dimg/testequalizefilter.cpp http://commits.kde.org/digikam/7d3fc12ad85e7192b7d52076d4837dfea6956ac6 MAik, The crash do not appear to be in algorithm itself. With my CLI color balance test tool, it do not crash and color changes are well applied : bash-3.2$ uname -a Darwin MacBook-Pro-de-Gilles.local 15.5.0 Darwin Kernel Version 15.5.0: Tue Apr 19 18:36:36 PDT 2016; root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64 bash-3.2$ pwd /Users/gilles/Devel/GIT/5.x/core/tests/dimg bash-3.2$ ./testcolorbalancefilter DSC02442.JPG digikam.dimg: "DSC02442.JPG" : JPEG file identified QCoreApplication::arguments: Please instantiate the QApplication object first digikam.metaengine: Loading image history "<?xml version=\"1.0\"?>\n<history version=\"1\">\n <filter filterName=\"digikam:LocalContrastFilter\" filterDisplayName=\"Local Contrast Filter\" filterVersion=\"2\" filterCategory=\"reproducible\" branch=\"true\">\n <params>\n <param name=\"functionId\" value=\"0\"/>\n <param name=\"highSaturation\" value=\"100\"/>\n <param name=\"lowSaturation\" value=\"95\"/>\n <param name=\"randomSeed\" value=\"1657671516\"/>\n <param name=\"stage[0]:blur\" value=\"76\"/>\n <param name=\"stage[0]:enabled\" value=\"true\"/>\n <param name=\"stage[0]:power\" value=\"29.6\"/>\n <param name=\"stage[1]:enabled\" value=\"false\"/>\n <param name=\"stage[2]:enabled\" value=\"false\"/>\n <param name=\"stage[3]:enabled\" value=\"false\"/>\n <param name=\"stretchContrast\" value=\"true\"/>\n </params>\n </filter>\n <file uuid=\"7174ee148022418aa609b3eee909b8497ee276a2418bb8df86bffe28714adbbc\">\n <fileParams fileHash=\"8323daada84da3cebe83fcc08230e5db\" fileSize=\"3734050\"/>\n </file>\n <filter filterName=\"digikam:RatioCrop\" filterDisplayName=\"Aspect Ratio Crop\" filterVersion=\"1\" filterCategory=\"reproducible\">\n <params>\n <param name=\"height\" value=\"3867\"/>\n <param name=\"width\" value=\"5800\"/>\n <param name=\"x\" value=\"199\"/>\n <param name=\"y\" value=\"133\"/>\n </params>\n </filter>\n</history>\n" digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal => QDateTime(2014-05-01 16:49:11.000 CEST Qt::TimeSpec(LocalTime)) digikam.dimg: Saving to "DSC02442.out.png" with format: "PNG" digikam.metaengine: MetaEngine::metadataWritingMode 0 digikam.metaengine: Will write Metadata to file "/Users/gilles/Devel/GIT/5.x/build/core/tests/dimg/DSC02442.out.png" digikam.metaengine: wroteComment: true digikam.metaengine: wroteEXIF: true digikam.metaengine: wroteIPTC: true digikam.metaengine: wroteXMP: true digikam.metaengine: Metadata for file "DSC02442.out.png" written to file. The only difference is that filter is forked in a dedicated thread. Perhaps it's the problem. Gilles Created attachment 99824 [details]
expected color balance result under OSX
Maik, Under Linux valgrind do not detect something wrong in algorithm : [gilles@localhost dimg]$ valgrind ./testcolorbalancefilter DSC03947.JPG ==15283== Memcheck, a memory error detector ==15283== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==15283== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info ==15283== Command: ./testcolorbalancefilter DSC03947.JPG ==15283== digikam.dimg: "DSC03947.JPG" : JPEG file identified QCoreApplication::arguments: Please instantiate the QApplication object first digikam.metaengine: Loading image history "<?xml version=\"1.0\"?>\n<history version=\"1\">\n <file uuid=\"21bf3c32a9a87b759fa52c43037812bfa4e40316b3cb6438b4e635231572e70d\" type=\"original\">\n <fileParams fileHash=\"a4e40316b3cb6438b4e635231572e70d\" fileSize=\"19267584\" creationDate=\"2014-07-22T11:59:49\"/>\n </file>\n <filter filterName=\"digikam:LocalContrastFilter\" filterDisplayName=\"Local Contrast Filter\" filterVersion=\"2\" filterCategory=\"reproducible\">\n <params>\n <param name=\"functionId\" value=\"0\"/>\n <param name=\"highSaturation\" value=\"100\"/>\n <param name=\"lowSaturation\" value=\"100\"/>\n <param name=\"randomSeed\" value=\"2828613627\"/>\n <param name=\"stage[0]:blur\" value=\"11\"/>\n <param name=\"stage[0]:enabled\" value=\"true\"/>\n <param name=\"stage[0]:power\" value=\"30\"/>\n <param name=\"stage[1]:enabled\" value=\"false\"/>\n <param name=\"stage[2]:enabled\" value=\"false\"/>\n <param name=\"stage[3]:enabled\" value=\"false\"/>\n <param name=\"stretchContrast\" value=\"true\"/>\n </params>\n </filter>\n</history>\n" digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal => QDateTime(2014-07-22 11:59:49.000 EDT Qt::TimeSpec(LocalTime)) digikam.dimg: Saving to "DSC03947.out.png" with format: "PNG" digikam.metaengine: MetaEngine::metadataWritingMode 0 digikam.metaengine: Will write Metadata to file "/home/gilles/Devel/5.x/build/core/tests/dimg/DSC03947.out.png" digikam.metaengine: wroteComment: true digikam.metaengine: wroteEXIF: true digikam.metaengine: wroteIPTC: true digikam.metaengine: wroteXMP: true ==15283== Syscall param msync(start) points to uninitialised byte(s) ==15283== at 0x8C8938D: ??? (in /usr/lib64/libpthread-2.22.so) ==15283== by 0xBBF5C08: Exiv2::MemIo::~MemIo() (basicio.cpp:1177) ==15283== by 0xBC3A3E3: Exiv2::ExifParser::encode(std::vector<unsigned char, std::allocator<unsigned char> >&, unsigned char const*, unsigned int, Exiv2::ByteOrder, Exiv2::ExifData const&) (exif.cpp:708) ==15283== by 0xBC71D62: encode (exif.hpp:624) ==15283== by 0xBC71D62: Exiv2::PngImage::doWriteMetadata(Exiv2::BasicIo&) (pngimage.cpp:376) ==15283== by 0xBC72B78: Exiv2::PngImage::writeMetadata() (pngimage.cpp:295) ==15283== by 0x5267F8B: Digikam::MetaEngine::Private::saveOperations(QFileInfo const&, std::auto_ptr<Exiv2::Image>) const (metaengine_p.cpp:348) ==15283== by 0x5266987: Digikam::MetaEngine::Private::saveToFile(QFileInfo const&) const (metaengine_p.cpp:191) ==15283== by 0x52616EC: Digikam::MetaEngine::save(QString const&) const (metaengine.cpp:419) ==15283== by 0x5261C9C: Digikam::MetaEngine::applyChanges() const (metaengine.cpp:449) ==15283== by 0x529BC96: Digikam::DMetadata::applyChanges() const (dmetadata.cpp:120) ==15283== by 0x50AE161: Digikam::DImgLoader::saveMetadata(QString const&) (dimgloader.cpp:285) ==15283== by 0x50B3670: Digikam::PNGLoader::save(QString const&, Digikam::DImgLoaderObserver*) (pngloader.cpp:949) ==15283== Address 0x36781ab2 is 34 bytes inside a block of size 40 alloc'd ==15283== at 0x4C28586: operator new(unsigned long) (vg_replace_malloc.c:334) ==15283== by 0xBBF5ACE: Exiv2::MemIo::MemIo() (basicio.cpp:1165) ==15283== by 0xBC39054: Exiv2::ExifParser::encode(std::vector<unsigned char, std::allocator<unsigned char> >&, unsigned char const*, unsigned int, Exiv2::ByteOrder, Exiv2::ExifData const&) (exif.cpp:708) ==15283== by 0xBC71D62: encode (exif.hpp:624) ==15283== by 0xBC71D62: Exiv2::PngImage::doWriteMetadata(Exiv2::BasicIo&) (pngimage.cpp:376) ==15283== by 0xBC72B78: Exiv2::PngImage::writeMetadata() (pngimage.cpp:295) ==15283== by 0x5267F8B: Digikam::MetaEngine::Private::saveOperations(QFileInfo const&, std::auto_ptr<Exiv2::Image>) const (metaengine_p.cpp:348) ==15283== by 0x5266987: Digikam::MetaEngine::Private::saveToFile(QFileInfo const&) const (metaengine_p.cpp:191) ==15283== by 0x52616EC: Digikam::MetaEngine::save(QString const&) const (metaengine.cpp:419) ==15283== by 0x5261C9C: Digikam::MetaEngine::applyChanges() const (metaengine.cpp:449) ==15283== by 0x529BC96: Digikam::DMetadata::applyChanges() const (dmetadata.cpp:120) ==15283== by 0x50AE161: Digikam::DImgLoader::saveMetadata(QString const&) (dimgloader.cpp:285) ==15283== by 0x50B3670: Digikam::PNGLoader::save(QString const&, Digikam::DImgLoaderObserver*) (pngloader.cpp:949) ==15283== digikam.metaengine: Metadata for file "DSC03947.out.png" written to file. ==15283== ==15283== HEAP SUMMARY: ==15283== in use at exit: 248,891 bytes in 1,952 blocks ==15283== total heap usage: 32,538 allocs, 30,586 frees, 367,609,624 bytes allocated ==15283== ==15283== LEAK SUMMARY: ==15283== definitely lost: 5,696 bytes in 701 blocks ==15283== indirectly lost: 496 bytes in 11 blocks ==15283== possibly lost: 1,352 bytes in 18 blocks ==15283== still reachable: 241,347 bytes in 1,222 blocks ==15283== of which reachable via heuristic: ==15283== newarray : 1,536 bytes in 16 blocks ==15283== suppressed: 0 bytes in 0 blocks ==15283== Rerun with --leak-check=full to see details of leaked memory ==15283== ==15283== For counts of detected and suppressed errors, rerun with: -v ==15283== Use --track-origins=yes to see where uninitialised values come from ==15283== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) [gilles@localhost dimg]$ Created attachment 99834 [details]
cbfilter4.patch
Next try...
Maik
Maik, no, it do not work : Thread 0:: Dispatch queue: com.apple.main-thread 0 libdigikamcore.5.0.0.dylib 0x000000010f1c1509 Digikam::DImgScale::dimgScaleAARGB(Digikam::DImgScale::DImgScaleInfo*, unsigned int*, int, int, int, int, int, int, int, int, int, int) + 6089 (dimgscale.cpp:1496) 1 libdigikamcore.5.0.0.dylib 0x000000010f1b96a9 Digikam::DImg::smoothScaleClipped(int, int, int, int, int, int) const + 1033 (dimgscale.cpp:257) 2 libdigikamcore.5.0.0.dylib 0x000000010f4db5ce Digikam::ImageRegionItem::paint(QPainter*, QStyleOptionGraphicsItem const*, QWidget*) + 494 (imageregionitem.cpp:121) 3 org.qt-project.QtWidgets 0x00000001149cdd29 QGraphicsScenePrivate::draw(QGraphicsItem*, QPainter*, QTransform const*, QTransform const*, QRegion*, QWidget*, double, QTransform const*, bool, bool) + 1593 4 org.qt-project.QtWidgets 0x00000001149cd59c QGraphicsScenePrivate::drawSubtreeRecursive(QGraphicsItem*, QPainter*, QTransform const*, QRegion*, QWidget*, double, QTransform const*) + 2108 5 org.qt-project.QtWidgets 0x00000001149ccd03 QGraphicsScenePrivate::drawItems(QPainter*, QTransform const*, QRegion*, QWidget*) + 403 6 org.qt-project.QtWidgets 0x00000001149f084c QGraphicsView::paintEvent(QPaintEvent*) + 1676 7 org.qt-project.QtWidgets 0x00000001146be976 QWidget::event(QEvent*) + 2038 8 org.qt-project.QtWidgets 0x00000001147b667d QFrame::event(QEvent*) + 45 9 org.qt-project.QtWidgets 0x0000000114848097 QAbstractScrollArea::viewportEvent(QEvent*) + 135 10 org.qt-project.QtWidgets 0x00000001149ee3b5 QGraphicsView::viewportEvent(QEvent*) + 1541 11 org.qt-project.QtWidgets 0x0000000114848d34 QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) + 36 12 org.qt-project.QtCore 0x00000001154f74ab QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 203 13 org.qt-project.QtWidgets 0x000000011467d081 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 273 14 org.qt-project.QtWidgets 0x000000011467e5f8 QApplication::notify(QObject*, QEvent*) + 504 15 org.qt-project.QtCore 0x00000001154f7214 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164 16 org.qt-project.QtWidgets 0x00000001146b83e4 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 3316 17 org.qt-project.QtWidgets 0x000000011468b227 QWidgetBackingStore::doSync() + 5447 18 org.qt-project.QtWidgets 0x00000001146bec02 QWidget::event(QEvent*) + 2690 19 org.qt-project.QtWidgets 0x00000001147ce19a QMainWindow::event(QEvent*) + 1546 20 libKF5XmlGui.5.dylib 0x00000001131074eb KMainWindow::event(QEvent*) + 1003 21 libKF5XmlGui.5.dylib 0x00000001131505aa KXmlGuiWindow::event(QEvent*) + 42 22 org.qt-project.QtWidgets 0x000000011467d096 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 294 23 org.qt-project.QtWidgets 0x000000011467e5f8 QApplication::notify(QObject*, QEvent*) + 504 24 org.qt-project.QtCore 0x00000001154f7214 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164 25 org.qt-project.QtCore 0x00000001154f7f5b QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 875 26 libqcocoa.dylib 0x000000011c6d7b7e QCocoaEventDispatcherPrivate::processPostedEvents() + 190 27 libqcocoa.dylib 0x000000011c6d8441 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33 28 com.apple.CoreFoundation 0x00007fff8658b881 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 29 com.apple.CoreFoundation 0x00007fff8656afbc __CFRunLoopDoSources0 + 556 30 com.apple.CoreFoundation 0x00007fff8656a4df __CFRunLoopRun + 927 31 com.apple.CoreFoundation 0x00007fff86569ed8 CFRunLoopRunSpecific + 296 32 com.apple.HIToolbox 0x00007fff8bc85935 RunCurrentEventLoopInMode + 235 33 com.apple.HIToolbox 0x00007fff8bc8576f ReceiveNextEventCommon + 432 34 com.apple.HIToolbox 0x00007fff8bc855af _BlockUntilNextEventMatchingListInModeWithFilter + 71 35 com.apple.AppKit 0x00007fff8a15cdf6 _DPSNextEvent + 1067 36 com.apple.AppKit 0x00007fff8a15c226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454 37 com.apple.AppKit 0x00007fff8a150d80 -[NSApplication run] + 682 38 libqcocoa.dylib 0x000000011c6d734f QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2191 39 org.qt-project.QtCore 0x00000001154f33d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417 40 org.qt-project.QtCore 0x00000001154f7885 QCoreApplication::exec() + 341 41 digikam 0x000000010e16504c main + 9180 (main.cpp:239) 42 libdyld.dylib 0x00007fff8d2f15ad start + 1 Thread 1:: Dispatch queue: com.apple.libdispatch-manager 0 libsystem_kernel.dylib 0x00007fff96b01efa kevent_qos + 10 1 libdispatch.dylib 0x00007fff8ce35165 _dispatch_mgr_invoke + 216 2 libdispatch.dylib 0x00007fff8ce34dcd _dispatch_mgr_thread + 52 Thread 2: 0 libsystem_kernel.dylib 0x00007fff96b015e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9322a578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff93228341 start_wqthread + 13 Thread 3: 0 libsystem_kernel.dylib 0x00007fff96b015e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9322a578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff93228341 start_wqthread + 13 Thread 4:: com.apple.CFSocket.private 0 libsystem_kernel.dylib 0x00007fff96b0107a __select + 10 1 com.apple.CoreFoundation 0x00007fff865a84fa __CFSocketManager + 762 2 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 3 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 4 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 5:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x00007fff96afaf72 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff96afa3b3 mach_msg + 55 2 com.apple.CoreFoundation 0x00007fff8656b1c4 __CFRunLoopServiceMachPort + 212 3 com.apple.CoreFoundation 0x00007fff8656a68c __CFRunLoopRun + 1356 4 com.apple.CoreFoundation 0x00007fff86569ed8 CFRunLoopRunSpecific + 296 5 com.apple.AppKit 0x00007fff8a2b2d95 _NSEventThread + 149 6 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 7 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 8 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 6:: Digikam::ScanController 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x000000011532fd0b QWaitConditionPrivate::wait(unsigned long) + 75 3 org.qt-project.QtCore 0x000000011532fbc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 4 libdigikamgui.5.0.0.dylib 0x000000010e19f992 Digikam::ScanController::run() + 562 (scancontroller.cpp:684) 5 org.qt-project.QtCore 0x000000011532e6ea QThreadPrivate::start(void*) + 362 6 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 7 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 8 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 7:: QDBusConnectionManager 0 libsystem_kernel.dylib 0x00007fff96b0107a __select + 10 1 org.qt-project.QtCore 0x000000011554e3a3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547 2 org.qt-project.QtCore 0x000000011554f2d5 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 709 3 org.qt-project.QtCore 0x0000000115550717 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 231 4 org.qt-project.QtCore 0x00000001154f33d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417 5 org.qt-project.QtCore 0x000000011532ac43 QThread::exec() + 115 6 org.qt-project.QtDBus 0x00000001136b4e33 QDBusConnectionManager::run() + 19 7 org.qt-project.QtCore 0x000000011532e6ea QThreadPrivate::start(void*) + 362 8 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 9 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 10 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 8: 0 libsystem_kernel.dylib 0x00007fff96b015e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9322a578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff93228341 start_wqthread + 13 Thread 9:: QThread 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x000000011532fd0b QWaitConditionPrivate::wait(unsigned long) + 75 3 org.qt-project.QtCore 0x000000011532fbc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 4 libdigikamcore.5.0.0.dylib 0x000000010f2daa05 Digikam::ParkingThread::run() + 165 (threadmanager.cpp:115) 5 org.qt-project.QtCore 0x000000011532e6ea QThreadPrivate::start(void*) + 362 6 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 7 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 8 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 10 Crashed:: Thread (pooled) 0 libsystem_platform.dylib 0x00007fff844145ea _platform_memmove$VARIANT$Nehalem + 138 1 libdigikamcore.5.0.0.dylib 0x000000010f057ddc Digikam::CBFilter::getTables(int*, int*, int*, int*, bool) + 156 (cbfilter.cpp:198) 2 libdigikamcore.5.0.0.dylib 0x000000010f0580af Digikam::CBFilter::adjustRGB(double, double, double, double, bool) + 383 (cbfilter.cpp:343) 3 libdigikamcore.5.0.0.dylib 0x000000010f0578c1 Digikam::CBFilter::applyCBFilter(Digikam::DImg&, double, double, double, double) + 193 (cbfilter.cpp:244) 4 libdigikamcore.5.0.0.dylib 0x000000010f0571b9 Digikam::CBFilter::filterImage() + 105 (cbfilter.cpp:106) 5 libdigikamcore.5.0.0.dylib 0x000000010eff0bb9 Digikam::DImgThreadedFilter::startFilterDirectly() + 137 (dimgthreadedfilter.cpp:197) 6 libdigikamcore.5.0.0.dylib 0x000000010eff0ea6 Digikam::DImgThreadedFilter::run() + 22 (dimgthreadedfilter.cpp:220) 7 libdigikamcore.5.0.0.dylib 0x000000010f2dca03 Digikam::DynamicThread::DynamicThreadPriv::run() + 99 (dynamicthread.cpp:184) 8 org.qt-project.QtCore 0x000000011532b497 QThreadPoolThread::run() + 103 9 org.qt-project.QtCore 0x000000011532e6ea QThreadPrivate::start(void*) + 362 10 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 11 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 12 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 11:: Qt bearer thread 0 libsystem_kernel.dylib 0x00007fff96b0107a __select + 10 1 org.qt-project.QtCore 0x000000011554e3a3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547 2 org.qt-project.QtCore 0x000000011554f2d5 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 709 3 org.qt-project.QtCore 0x0000000115550717 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 231 4 org.qt-project.QtCore 0x00000001154f33d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417 5 org.qt-project.QtCore 0x000000011532ac43 QThread::exec() + 115 6 org.qt-project.QtCore 0x000000011532e6ea QThreadPrivate::start(void*) + 362 7 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 8 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 9 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 12:: JavaScriptCore::BlockFree 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x00000001119f9a08 JSC::BlockAllocator::blockFreeingThreadMain() + 280 3 org.qt-project.QtWebKit 0x0000000111cf96ef WTF::wtfThreadEntryPoint(void*) + 15 4 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 5 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 6 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 13:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x00000001119fa887 JSC::GCThread::waitForNextPhase() + 119 3 org.qt-project.QtWebKit 0x00000001119fa913 JSC::GCThread::gcThreadMain() + 83 4 org.qt-project.QtWebKit 0x0000000111cf96ef WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 6 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 7 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 14:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x00000001119fa887 JSC::GCThread::waitForNextPhase() + 119 3 org.qt-project.QtWebKit 0x00000001119fa913 JSC::GCThread::gcThreadMain() + 83 4 org.qt-project.QtWebKit 0x0000000111cf96ef WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 6 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 7 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 15:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x00000001119fa887 JSC::GCThread::waitForNextPhase() + 119 3 org.qt-project.QtWebKit 0x00000001119fa913 JSC::GCThread::gcThreadMain() + 83 4 org.qt-project.QtWebKit 0x0000000111cf96ef WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 6 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 7 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 16:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x00000001119fa887 JSC::GCThread::waitForNextPhase() + 119 3 org.qt-project.QtWebKit 0x00000001119fa913 JSC::GCThread::gcThreadMain() + 83 4 org.qt-project.QtWebKit 0x0000000111cf96ef WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 6 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 7 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 17:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x00000001119fa887 JSC::GCThread::waitForNextPhase() + 119 3 org.qt-project.QtWebKit 0x00000001119fa913 JSC::GCThread::gcThreadMain() + 83 4 org.qt-project.QtWebKit 0x0000000111cf96ef WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 6 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 7 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 18:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtWebKit 0x00000001119fa887 JSC::GCThread::waitForNextPhase() + 119 3 org.qt-project.QtWebKit 0x00000001119fa913 JSC::GCThread::gcThreadMain() + 83 4 org.qt-project.QtWebKit 0x0000000111cf96ef WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 6 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 7 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 19: 0 libsystem_kernel.dylib 0x00007fff96b015e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9322a578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff93228341 start_wqthread + 13 Thread 20:: Thread (pooled) 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x000000011532fec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288 3 org.qt-project.QtCore 0x000000011532fceb QWaitConditionPrivate::wait(unsigned long) + 43 4 org.qt-project.QtCore 0x000000011532fbc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 5 org.qt-project.QtCore 0x000000011532b66d QThreadPoolThread::run() + 573 6 org.qt-project.QtCore 0x000000011532e6ea QThreadPrivate::start(void*) + 362 7 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 8 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 9 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 21:: Thread (pooled) 0 libsystem_kernel.dylib 0x00007fff96b00db6 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff9322b728 _pthread_cond_wait + 767 2 org.qt-project.QtCore 0x000000011532fec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288 3 org.qt-project.QtCore 0x000000011532fceb QWaitConditionPrivate::wait(unsigned long) + 43 4 org.qt-project.QtCore 0x000000011532fbc2 QWaitCondition::wait(QMutex*, unsigned long) + 162 5 org.qt-project.QtCore 0x000000011532b66d QThreadPoolThread::run() + 573 6 org.qt-project.QtCore 0x000000011532e6ea QThreadPrivate::start(void*) + 362 7 libsystem_pthread.dylib 0x00007fff9322a99d _pthread_body + 131 8 libsystem_pthread.dylib 0x00007fff9322a91a _pthread_start + 168 9 libsystem_pthread.dylib 0x00007fff93228351 thread_start + 13 Thread 22: 0 libsystem_kernel.dylib 0x00007fff96b015e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9322a578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff93228341 start_wqthread + 13 Thread 23: 0 libsystem_kernel.dylib 0x00007fff96b015e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9322a578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff93228341 start_wqthread + 13 Thread 24: 0 libsystem_kernel.dylib 0x00007fff96b015e2 __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9322a578 _pthread_wqthread + 1283 2 libsystem_pthread.dylib 0x00007fff93228341 start_wqthread + 13 Thread 25: Thread 10 crashed with X86 Thread State (64-bit): rax: 0x00007000008c6c00 rbx: 0x00000000ffffffff rcx: 0x0000000000000010 rdx: 0x00000000000003f0 rdi: 0x00007000008c6c10 rsi: 0x0000000163cf4410 rbp: 0x0000700000806b00 rsp: 0x0000700000806b00 r8: 0x0000700000846c00 r9: 0x0000000000000000 r10: 0x000000000000007d r11: 0x00006ffe9cbd2800 r12: 0x00007fa27bcb1900 r13: 0x00007fa280a64340 r14: 0x00007fa27bd51070 r15: 0x00007fa27bd51080 rip: 0x00007fff844145ea rfl: 0x0000000000010206 cr2: 0x00007000008c6c00 In case of the problem will be relevant of widget style (as size of preview to render image is not calculated properly), i use Fusion style. Gilles Maik, I go back with this problem under OSX. This time, i used llldb CLI debuguer from XCode which is very similar than GDB for GCC but here for Clang compiler. The backtrace while running Color Balance tool when yellow settings is changed is below : digikam.general: Preview "Balance des couleurs" started... Process 65243 stopped * thread #30: tid = 0xe12f6, 0x0000000100c9e294 libdigikamcore.5.1.0.dylib`Digikam::CBFilter::adjustRGB(double, double, double, double, bool) + 36, name = 'Thread (pooled)', stop reason = EXC_BAD_ACCESS (code=1, address=0x700000ca1bf8) frame #0: 0x0000000100c9e294 libdigikamcore.5.1.0.dylib`Digikam::CBFilter::adjustRGB(double, double, double, double, bool) + 36 libdigikamcore.5.1.0.dylib`Digikam::CBFilter::adjustRGB: -> 0x100c9e294 <+36>: movq %rdi, -0x140018(%rbp) 0x100c9e29b <+43>: movsd %xmm0, -0x140020(%rbp) 0x100c9e2a3 <+51>: movsd %xmm1, -0x140028(%rbp) 0x100c9e2ab <+59>: movsd %xmm2, -0x140030(%rbp) (lldb) bt * thread #30: tid = 0xe12f6, 0x0000000100c9e294 libdigikamcore.5.1.0.dylib`Digikam::CBFilter::adjustRGB(double, double, double, double, bool) + 36, name = 'Thread (pooled)', stop reason = EXC_BAD_ACCESS (code=1, address=0x700000ca1bf8) * frame #0: 0x0000000100c9e294 libdigikamcore.5.1.0.dylib`Digikam::CBFilter::adjustRGB(double, double, double, double, bool) + 36 frame #1: 0x0000000100c9dc01 libdigikamcore.5.1.0.dylib`Digikam::CBFilter::applyCBFilter(Digikam::DImg&, double, double, double, double) + 193 frame #2: 0x0000000100c9d4f9 libdigikamcore.5.1.0.dylib`Digikam::CBFilter::filterImage() + 105 frame #3: 0x0000000100c36ec9 libdigikamcore.5.1.0.dylib`Digikam::DImgThreadedFilter::startFilterDirectly() + 137 frame #4: 0x0000000100c371b6 libdigikamcore.5.1.0.dylib`Digikam::DImgThreadedFilter::run() + 22 frame #5: 0x0000000100f23293 libdigikamcore.5.1.0.dylib`Digikam::DynamicThread::DynamicThreadPriv::run() + 99 frame #6: 0x0000000106bdf497 QtCore`QThreadPoolThread::run() + 103 frame #7: 0x0000000106be26ea QtCore`QThreadPrivate::start(void*) + 362 frame #8: 0x00007fff89b0599d libsystem_pthread.dylib`_pthread_body + 131 frame #9: 0x00007fff89b0591a libsystem_pthread.dylib`_pthread_start + 168 frame #10: 0x00007fff89b03351 libsystem_pthread.dylib`thread_start + 13 (lldb) This is the current code from git/master. No patch applied. Gilles *** Bug 378176 has been marked as a duplicate of this bug. *** Maik, I'm back to this problem under OSX which still valid and always not resolved. When i triaging bug, i discovered one similar entry under Linux : https://bugs.kde.org/show_bug.cgi?id=377517 Look well. It's not exactly Color Balance tool, but ChanelMixer used in BW converter. Sound like there is a problem with Data alignment in memory. This is what's you suspected in this file in the past. Right ? Gilles Created attachment 105104 [details]
cbfilter6.patch
Gilles,
can you test this patch when you have time? There is only one technical test, the patch is not intended to definitively solve the problem.
Maik
Ok, i will test it while this week end. I need to re-install whole Macports on my lead MacBook Pro to test after compiling. Gilles *** Bug 380841 has been marked as a duplicate of this bug. *** Created attachment 112729 [details]
new MacOS backtrace with 6.0.0
I still unable to understand the reason of the crash. It happen imediately when Balance tool appears in editor
Another interresting info : the emory info under MacOS cannot be discovered for Dimg allocation : digikam.geoiface: ---- digikam.dimg: "/Users/gilles/Pictures/M104.jpg" : JPEG file identified digikam.metaengine: Loading image history "" digikam.metaengine: DateTime => create date => QDateTime(2003-09-25 17:30:51.000 CEST Qt::TimeSpec(LocalTime)) KMemoryInfo: Platform identified : "Unknown" digikam.dimg: Not a recognized platform to get memory information QWidgetWindow(0x151611620, name="mainToolBarWindow") ( QScreen(0x11ac6d9e0, name="Color LCD") ): Attempt to set a screen on a child window. KMemoryInfo: Platform identified : "Unknown" digikam.dimg: Not a recognized platform to get memory information digikam.metaengine: Orientation => Exif.Image.Orientation => 1 KMemoryInfo: Platform identified : "Unknown" digikam.dimg: Not a recognized platform to get memory information KMemoryInfo: Platform identified : "Unknown" digikam.dimg: Not a recognized platform to get memory information digikam.general: Preview "Color Balance" started... KMemoryInfo: Platform identified : "Unknown" digikam.dimg: Not a recognized platform to get memory information Segmentation fault: 11 In fact, it miss code for MacOS in this implementation : https://cgit.kde.org/digikam.git/tree/core/libs/kmemoryinfo/libstatgrab/kmemoryinfo_backend.cpp Perhaps this is the origin of the problem under MacOS, and certainly other one outside Balance tool. Gilles Git commit 1a50b7d623ddb3a75c7fed073310599956555bde by Maik Qualmann. Committed on 18/05/2018 at 21:24. Pushed by mqualmann into branch 'master'. I think this fix the crash under OSX M +11 -5 core/libs/dimg/filters/cb/cbfilter.cpp https://commits.kde.org/digikam/1a50b7d623ddb3a75c7fed073310599956555bde Great. Confirmed. This fix the problem... Do you have any idea why this fix is mandatory under MacOS. Sound like the stack used to allocate channel buffers is limited. Right ? Gilles Right Gilles, In contrast to the main thread, the threads under MacOS are assigned significantly less stack memory. Maik *** Bug 395842 has been marked as a duplicate of this bug. *** |
Created attachment 89335 [details] Picture where digikam perspectiv-correction crashes Every time I will change the color-balancing of a picture digikam crashes. There is no crash-information though gdb is installed. Digikam also crashes but not allways, only with special pictures (s. attachment). I am working long with digikam under Linux and it works very well. But now, i am working with Mac it often crashes. Shall I use digikam no more? Sincerly Detlef Dürr