[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2018-06-24 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=340389

caulier.gil...@gmail.com changed:

   What|Removed |Added

 CC||maco...@gmail.com

--- Comment #51 from caulier.gil...@gmail.com ---
*** Bug 395842 has been marked as a duplicate of this bug. ***

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

[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2018-05-19 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #50 from Maik Qualmann  ---
Right Gilles,

In contrast to the main thread, the threads under MacOS are assigned
significantly less stack memory.

Maik

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

[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2018-05-19 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=340389

caulier.gil...@gmail.com changed:

   What|Removed |Added

   Version Fixed In||6.0.0
 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED

--- Comment #49 from caulier.gil...@gmail.com ---
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

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

[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2018-05-18 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #48 from Maik Qualmann  ---
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   -5core/libs/dimg/filters/cb/cbfilter.cpp

https://commits.kde.org/digikam/1a50b7d623ddb3a75c7fed073310599956555bde

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

[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2018-05-18 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #47 from caulier.gil...@gmail.com ---
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

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

[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2018-05-18 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #46 from caulier.gil...@gmail.com ---
Created attachment 112729
  --> https://bugs.kde.org/attachment.cgi?id=112729=edit
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

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

[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2017-06-04 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=340389

caulier.gil...@gmail.com changed:

   What|Removed |Added

 CC||nikontrave...@aol.com

--- Comment #45 from caulier.gil...@gmail.com ---
*** Bug 380841 has been marked as a duplicate of this bug. ***

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

[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2017-04-19 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #44 from caulier.gil...@gmail.com ---
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

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

[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2017-04-19 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #43 from Maik Qualmann  ---
Created attachment 105104
  --> https://bugs.kde.org/attachment.cgi?id=105104=edit
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

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

[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2017-04-19 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=340389

Maik Qualmann  changed:

   What|Removed |Added

  Attachment #99834|0   |1
is obsolete||

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

[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2017-04-16 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #42 from caulier.gil...@gmail.com ---
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

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

[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2017-03-27 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=340389

caulier.gil...@gmail.com changed:

   What|Removed |Added

 CC||karl.ham...@gmail.com

--- Comment #41 from caulier.gil...@gmail.com ---
*** Bug 378176 has been marked as a duplicate of this bug. ***

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

[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2016-08-07 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #40 from caulier.gil...@gmail.com ---
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, 0x000100c9e294
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=0x70ca1bf8)
frame #0: 0x000100c9e294
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, 0x000100c9e294
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=0x70ca1bf8)
  * frame #0: 0x000100c9e294
libdigikamcore.5.1.0.dylib`Digikam::CBFilter::adjustRGB(double, double, double,
double, bool) + 36
frame #1: 0x000100c9dc01
libdigikamcore.5.1.0.dylib`Digikam::CBFilter::applyCBFilter(Digikam::DImg&,
double, double, double, double) + 193
frame #2: 0x000100c9d4f9
libdigikamcore.5.1.0.dylib`Digikam::CBFilter::filterImage() + 105
frame #3: 0x000100c36ec9
libdigikamcore.5.1.0.dylib`Digikam::DImgThreadedFilter::startFilterDirectly() +
137
frame #4: 0x000100c371b6
libdigikamcore.5.1.0.dylib`Digikam::DImgThreadedFilter::run() + 22
frame #5: 0x000100f23293
libdigikamcore.5.1.0.dylib`Digikam::DynamicThread::DynamicThreadPriv::run() +
99
frame #6: 0x000106bdf497 QtCore`QThreadPoolThread::run() + 103
frame #7: 0x000106be26ea QtCore`QThreadPrivate::start(void*) + 362
frame #8: 0x7fff89b0599d libsystem_pthread.dylib`_pthread_body + 131
frame #9: 0x7fff89b0591a libsystem_pthread.dylib`_pthread_start + 168
frame #10: 0x7fff89b03351 libsystem_pthread.dylib`thread_start + 13
(lldb) 

This is the current code from git/master. No patch applied.

Gilles

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


[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2016-07-25 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

caulier.gil...@gmail.com changed:

   What|Removed |Added

 Status|REOPENED|CONFIRMED
   Platform|MacPorts Packages   |Mac OS X Disk Images

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


[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2016-07-03 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #39 from caulier.gil...@gmail.com ---
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

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


[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2016-07-03 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #38 from caulier.gil...@gmail.com ---
Maik,

no, it do not work :

Thread 0:: Dispatch queue: com.apple.main-thread
0   libdigikamcore.5.0.0.dylib0x00010f1c1509
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.dylib0x00010f1b96a9
Digikam::DImg::smoothScaleClipped(int, int, int, int, int, int) const + 1033
(dimgscale.cpp:257)
2   libdigikamcore.5.0.0.dylib0x00010f4db5ce
Digikam::ImageRegionItem::paint(QPainter*, QStyleOptionGraphicsItem const*,
QWidget*) + 494 (imageregionitem.cpp:121)
3   org.qt-project.QtWidgets  0x0001149cdd29
QGraphicsScenePrivate::draw(QGraphicsItem*, QPainter*, QTransform const*,
QTransform const*, QRegion*, QWidget*, double, QTransform const*, bool, bool) +
1593
4   org.qt-project.QtWidgets  0x0001149cd59c
QGraphicsScenePrivate::drawSubtreeRecursive(QGraphicsItem*, QPainter*,
QTransform const*, QRegion*, QWidget*, double, QTransform const*) + 2108
5   org.qt-project.QtWidgets  0x0001149ccd03
QGraphicsScenePrivate::drawItems(QPainter*, QTransform const*, QRegion*,
QWidget*) + 403
6   org.qt-project.QtWidgets  0x0001149f084c
QGraphicsView::paintEvent(QPaintEvent*) + 1676
7   org.qt-project.QtWidgets  0x0001146be976
QWidget::event(QEvent*) + 2038
8   org.qt-project.QtWidgets  0x0001147b667d QFrame::event(QEvent*)
+ 45
9   org.qt-project.QtWidgets  0x000114848097
QAbstractScrollArea::viewportEvent(QEvent*) + 135
10  org.qt-project.QtWidgets  0x0001149ee3b5
QGraphicsView::viewportEvent(QEvent*) + 1541
11  org.qt-project.QtWidgets  0x000114848d34
QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) + 36
12  org.qt-project.QtCore 0x0001154f74ab
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 203
13  org.qt-project.QtWidgets  0x00011467d081
QApplicationPrivate::notify_helper(QObject*, QEvent*) + 273
14  org.qt-project.QtWidgets  0x00011467e5f8
QApplication::notify(QObject*, QEvent*) + 504
15  org.qt-project.QtCore 0x0001154f7214
QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
16  org.qt-project.QtWidgets  0x0001146b83e4
QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int,
QPainter*, QWidgetBackingStore*) + 3316
17  org.qt-project.QtWidgets  0x00011468b227
QWidgetBackingStore::doSync() + 5447
18  org.qt-project.QtWidgets  0x0001146bec02
QWidget::event(QEvent*) + 2690
19  org.qt-project.QtWidgets  0x0001147ce19a
QMainWindow::event(QEvent*) + 1546
20  libKF5XmlGui.5.dylib  0x0001131074eb
KMainWindow::event(QEvent*) + 1003
21  libKF5XmlGui.5.dylib  0x0001131505aa
KXmlGuiWindow::event(QEvent*) + 42
22  org.qt-project.QtWidgets  0x00011467d096
QApplicationPrivate::notify_helper(QObject*, QEvent*) + 294
23  org.qt-project.QtWidgets  0x00011467e5f8
QApplication::notify(QObject*, QEvent*) + 504
24  org.qt-project.QtCore 0x0001154f7214
QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
25  org.qt-project.QtCore 0x0001154f7f5b
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 875
26  libqcocoa.dylib   0x00011c6d7b7e
QCocoaEventDispatcherPrivate::processPostedEvents() + 190
27  libqcocoa.dylib   0x00011c6d8441
QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33
28  com.apple.CoreFoundation  0x7fff8658b881
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
29  com.apple.CoreFoundation  0x7fff8656afbc __CFRunLoopDoSources0
+ 556
30  com.apple.CoreFoundation  0x7fff8656a4df __CFRunLoopRun + 927
31  com.apple.CoreFoundation  0x7fff86569ed8 CFRunLoopRunSpecific +
296
32  com.apple.HIToolbox   0x7fff8bc85935
RunCurrentEventLoopInMode + 235
33  com.apple.HIToolbox   0x7fff8bc8576f ReceiveNextEventCommon
+ 432
34  com.apple.HIToolbox   0x7fff8bc855af
_BlockUntilNextEventMatchingListInModeWithFilter + 71
35  com.apple.AppKit  0x7fff8a15cdf6 _DPSNextEvent + 1067
36  com.apple.AppKit  0x7fff8a15c226 -[NSApplication
_nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
37  com.apple.AppKit  0x7fff8a150d80 -[NSApplication run] +
682
38  libqcocoa.dylib   0x00011c6d734f
QCocoaEventDispatcher::processEvents(QFlags) +
2191
39  org.qt-project.QtCore 0x0001154f33d1
QEventLoop::exec(QFlags) + 417
40  org.qt-project.QtCore 0x0001154f7885
QCoreApplication::exec() + 341
41  digikam   

[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2016-07-03 Thread Maik Qualmann via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #37 from Maik Qualmann  ---
Created attachment 99834
  --> https://bugs.kde.org/attachment.cgi?id=99834=edit
cbfilter4.patch

Next try...

Maik

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


[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2016-07-03 Thread Maik Qualmann via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

Maik Qualmann  changed:

   What|Removed |Added

  Attachment #99821|0   |1
is obsolete||

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


[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2016-07-03 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #36 from caulier.gil...@gmail.com ---
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  "\n\n\n\n\n\n   
\n\n   
\n\n\n\n\n
   \n\n\n\n\n\n   
\n\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 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) 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 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) 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 

[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2016-07-03 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #35 from caulier.gil...@gmail.com ---
Created attachment 99824
  --> https://bugs.kde.org/attachment.cgi?id=99824=edit
expected color balance result under OSX

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


[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2016-07-03 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #34 from caulier.gil...@gmail.com ---
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  "\n\n\n\n   
\n\n\n\n\n\n
   \n\n\n\n\n\n\n  
 \n   
\n\n\n\n   
\n\n\n   
\n\n   
\n\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

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


[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2016-07-03 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #33 from caulier.gil...@gmail.com ---
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   -0tests/dimg/CMakeLists.txt
C  +6-5tests/dimg/testcolorbalancefilter.cpp [from:
tests/dimg/testequalizefilter.cpp - 087% similarity]
M  +1-1tests/dimg/testequalizefilter.cpp

http://commits.kde.org/digikam/7d3fc12ad85e7192b7d52076d4837dfea6956ac6

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


[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2016-07-03 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #32 from caulier.gil...@gmail.com ---
Note the crash appear also when you touch another color balance settings, not
only B/Y

Gilles

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


[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2016-07-03 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #31 from caulier.gil...@gmail.com ---
No difference. Crash is always here...

Gilles

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


[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2016-07-03 Thread Maik Qualmann via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #30 from Maik Qualmann  ---
Created attachment 99821
  --> https://bugs.kde.org/attachment.cgi?id=99821=edit
cbfilter3.patch

Gilles,

please test this patch for fun.

Maik

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


[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2016-07-03 Thread Maik Qualmann via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

Maik Qualmann  changed:

   What|Removed |Added

  Attachment #99820|0   |1
is obsolete||

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


[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2016-07-03 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #29 from caulier.gil...@gmail.com ---
Maik,

Not better again :

Thread 0:: Dispatch queue: com.apple.main-thread
0   libdigikamcore.5.0.0.dylib0x0001106f858a
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.dylib0x0001106f06e9
Digikam::DImg::smoothScaleClipped(int, int, int, int, int, int) const + 1033
(dimgscale.cpp:257)
2   libdigikamcore.5.0.0.dylib0x000110a1260e
Digikam::ImageRegionItem::paint(QPainter*, QStyleOptionGraphicsItem const*,
QWidget*) + 494 (imageregionitem.cpp:121)
3   org.qt-project.QtWidgets  0x000115f24d29
QGraphicsScenePrivate::draw(QGraphicsItem*, QPainter*, QTransform const*,
QTransform const*, QRegion*, QWidget*, double, QTransform const*, bool, bool) +
1593
4   org.qt-project.QtWidgets  0x000115f2459c
QGraphicsScenePrivate::drawSubtreeRecursive(QGraphicsItem*, QPainter*,
QTransform const*, QRegion*, QWidget*, double, QTransform const*) + 2108
5   org.qt-project.QtWidgets  0x000115f23d03
QGraphicsScenePrivate::drawItems(QPainter*, QTransform const*, QRegion*,
QWidget*) + 403
6   org.qt-project.QtWidgets  0x000115f4784c
QGraphicsView::paintEvent(QPaintEvent*) + 1676
7   org.qt-project.QtWidgets  0x000115c15976
QWidget::event(QEvent*) + 2038
8   org.qt-project.QtWidgets  0x000115d0d67d QFrame::event(QEvent*)
+ 45
9   org.qt-project.QtWidgets  0x000115d9f097
QAbstractScrollArea::viewportEvent(QEvent*) + 135
10  org.qt-project.QtWidgets  0x000115f453b5
QGraphicsView::viewportEvent(QEvent*) + 1541
11  org.qt-project.QtWidgets  0x000115d9fd34
QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) + 36
12  org.qt-project.QtCore 0x000116a4b4ab
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 203
13  org.qt-project.QtWidgets  0x000115bd4081
QApplicationPrivate::notify_helper(QObject*, QEvent*) + 273
14  org.qt-project.QtWidgets  0x000115bd55f8
QApplication::notify(QObject*, QEvent*) + 504
15  org.qt-project.QtCore 0x000116a4b214
QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
16  org.qt-project.QtWidgets  0x000115c0f3e4
QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int,
QPainter*, QWidgetBackingStore*) + 3316
17  org.qt-project.QtWidgets  0x000115be2227
QWidgetBackingStore::doSync() + 5447
18  org.qt-project.QtWidgets  0x000115c15c02
QWidget::event(QEvent*) + 2690
19  org.qt-project.QtWidgets  0x000115d2519a
QMainWindow::event(QEvent*) + 1546
20  libKF5XmlGui.5.dylib  0x0001146614eb
KMainWindow::event(QEvent*) + 1003
21  libKF5XmlGui.5.dylib  0x0001146aa5aa
KXmlGuiWindow::event(QEvent*) + 42
22  org.qt-project.QtWidgets  0x000115bd4096
QApplicationPrivate::notify_helper(QObject*, QEvent*) + 294
23  org.qt-project.QtWidgets  0x000115bd55f8
QApplication::notify(QObject*, QEvent*) + 504
24  org.qt-project.QtCore 0x000116a4b214
QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
25  org.qt-project.QtCore 0x000116a4bf5b
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 875
26  libqcocoa.dylib   0x00011dce7b7e
QCocoaEventDispatcherPrivate::processPostedEvents() + 190
27  libqcocoa.dylib   0x00011dce8441
QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33
28  com.apple.CoreFoundation  0x7fff8658b881
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
29  com.apple.CoreFoundation  0x7fff8656afbc __CFRunLoopDoSources0
+ 556
30  com.apple.CoreFoundation  0x7fff8656a4df __CFRunLoopRun + 927
31  com.apple.CoreFoundation  0x7fff86569ed8 CFRunLoopRunSpecific +
296
32  com.apple.HIToolbox   0x7fff8bc85935
RunCurrentEventLoopInMode + 235
33  com.apple.HIToolbox   0x7fff8bc8576f ReceiveNextEventCommon
+ 432
34  com.apple.HIToolbox   0x7fff8bc855af
_BlockUntilNextEventMatchingListInModeWithFilter + 71
35  com.apple.AppKit  0x7fff8a15cdf6 _DPSNextEvent + 1067
36  com.apple.AppKit  0x7fff8a15c226 -[NSApplication
_nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
37  com.apple.AppKit  0x7fff8a150d80 -[NSApplication run] +
682
38  libqcocoa.dylib   0x00011dce734f
QCocoaEventDispatcher::processEvents(QFlags) +
2191
39  org.qt-project.QtCore 0x000116a473d1
QEventLoop::exec(QFlags) + 417
40  org.qt-project.QtCore 0x000116a4b885
QCoreApplication::exec() + 341
41  digikam   0x00010f68d04c 

[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2016-07-03 Thread Maik Qualmann via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #28 from Maik Qualmann  ---
Created attachment 99820
  --> https://bugs.kde.org/attachment.cgi?id=99820=edit
cbfilter2.patch

Please try this patch.

Maik

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


[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2016-07-03 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #27 from caulier.gil...@gmail.com ---
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

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


[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2016-07-03 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #26 from caulier.gil...@gmail.com ---
Crash appear also in 16 bits with a RAW file :

Thread 0:: Dispatch queue: com.apple.main-thread
0   libdigikamcore.5.0.0.dylib0x000106b09816
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.dylib0x000106b055cf
Digikam::DImg::smoothScaleClipped(int, int, int, int, int, int) const + 751
(dimgscale.cpp:242)
2   libdigikamcore.5.0.0.dylib0x000106e2760e
Digikam::ImageRegionItem::paint(QPainter*, QStyleOptionGraphicsItem const*,
QWidget*) + 494 (imageregionitem.cpp:121)
3   org.qt-project.QtWidgets  0x00010c319d29
QGraphicsScenePrivate::draw(QGraphicsItem*, QPainter*, QTransform const*,
QTransform const*, QRegion*, QWidget*, double, QTransform const*, bool, bool) +
1593
4   org.qt-project.QtWidgets  0x00010c31959c
QGraphicsScenePrivate::drawSubtreeRecursive(QGraphicsItem*, QPainter*,
QTransform const*, QRegion*, QWidget*, double, QTransform const*) + 2108
5   org.qt-project.QtWidgets  0x00010c318d03
QGraphicsScenePrivate::drawItems(QPainter*, QTransform const*, QRegion*,
QWidget*) + 403
6   org.qt-project.QtWidgets  0x00010c33c84c
QGraphicsView::paintEvent(QPaintEvent*) + 1676
7   org.qt-project.QtWidgets  0x00010c00a976
QWidget::event(QEvent*) + 2038
8   org.qt-project.QtWidgets  0x00010c10267d QFrame::event(QEvent*)
+ 45
9   org.qt-project.QtWidgets  0x00010c194097
QAbstractScrollArea::viewportEvent(QEvent*) + 135
10  org.qt-project.QtWidgets  0x00010c33a3b5
QGraphicsView::viewportEvent(QEvent*) + 1541
11  org.qt-project.QtWidgets  0x00010c194d34
QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) + 36
12  org.qt-project.QtCore 0x00010ce3d4ab
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 203
13  org.qt-project.QtWidgets  0x00010bfc9081
QApplicationPrivate::notify_helper(QObject*, QEvent*) + 273
14  org.qt-project.QtWidgets  0x00010bfca5f8
QApplication::notify(QObject*, QEvent*) + 504
15  org.qt-project.QtCore 0x00010ce3d214
QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
16  org.qt-project.QtWidgets  0x00010c0043e4
QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int,
QPainter*, QWidgetBackingStore*) + 3316
17  org.qt-project.QtWidgets  0x00010bfd7227
QWidgetBackingStore::doSync() + 5447
18  org.qt-project.QtWidgets  0x00010c00ac02
QWidget::event(QEvent*) + 2690
19  org.qt-project.QtWidgets  0x00010c11a19a
QMainWindow::event(QEvent*) + 1546
20  libKF5XmlGui.5.dylib  0x00010aa594eb
KMainWindow::event(QEvent*) + 1003
21  libKF5XmlGui.5.dylib  0x00010aaa25aa
KXmlGuiWindow::event(QEvent*) + 42
22  org.qt-project.QtWidgets  0x00010bfc9096
QApplicationPrivate::notify_helper(QObject*, QEvent*) + 294
23  org.qt-project.QtWidgets  0x00010bfca5f8
QApplication::notify(QObject*, QEvent*) + 504
24  org.qt-project.QtCore 0x00010ce3d214
QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
25  org.qt-project.QtCore 0x00010ce3df5b
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 875
26  libqcocoa.dylib   0x0001140e0b7e
QCocoaEventDispatcherPrivate::processPostedEvents() + 190
27  libqcocoa.dylib   0x0001140e1441
QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33
28  com.apple.CoreFoundation  0x7fff8658b881
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
29  com.apple.CoreFoundation  0x7fff8656afbc __CFRunLoopDoSources0
+ 556
30  com.apple.CoreFoundation  0x7fff8656a4df __CFRunLoopRun + 927
31  com.apple.CoreFoundation  0x7fff86569ed8 CFRunLoopRunSpecific +
296
32  com.apple.HIToolbox   0x7fff8bc85935
RunCurrentEventLoopInMode + 235
33  com.apple.HIToolbox   0x7fff8bc8576f ReceiveNextEventCommon
+ 432
34  com.apple.HIToolbox   0x7fff8bc855af
_BlockUntilNextEventMatchingListInModeWithFilter + 71
35  com.apple.AppKit  0x7fff8a15cdf6 _DPSNextEvent + 1067
36  com.apple.AppKit  0x7fff8a15c226 -[NSApplication
_nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
37  com.apple.AppKit  0x7fff8a150d80 -[NSApplication run] +
682
38  libqcocoa.dylib   0x0001140e034f
QCocoaEventDispatcher::processEvents(QFlags) +
2191
39  org.qt-project.QtCore 0x00010ce393d1
QEventLoop::exec(QFlags) + 417
40  org.qt-project.QtCore 0x00010ce3d885
QCoreApplication::exec() + 341
41  digikam  

[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2016-07-03 Thread Maik Qualmann via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

Maik Qualmann  changed:

   What|Removed |Added

  Attachment #99816|0   |1
is obsolete||

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


[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2016-07-03 Thread Maik Qualmann via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #25 from Maik Qualmann  ---
Gilles,

is there a difference between 8 bit or 16 bit images?
It works well under Windows.

Maik

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


[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2016-07-03 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #24 from caulier.gil...@gmail.com ---
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

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


[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2016-07-03 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #23 from caulier.gil...@gmail.com ---
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.dylib0x000103378743
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.dylib0x0001033706e9
Digikam::DImg::smoothScaleClipped(int, int, int, int, int, int) const + 1033
(dimgscale.cpp:257)
2   libdigikamcore.5.0.0.dylib0x00010369260e
Digikam::ImageRegionItem::paint(QPainter*, QStyleOptionGraphicsItem const*,
QWidget*) + 494 (imageregionitem.cpp:121)
3   org.qt-project.QtWidgets  0x000108b91d29
QGraphicsScenePrivate::draw(QGraphicsItem*, QPainter*, QTransform const*,
QTransform const*, QRegion*, QWidget*, double, QTransform const*, bool, bool) +
1593
4   org.qt-project.QtWidgets  0x000108b9159c
QGraphicsScenePrivate::drawSubtreeRecursive(QGraphicsItem*, QPainter*,
QTransform const*, QRegion*, QWidget*, double, QTransform const*) + 2108
5   org.qt-project.QtWidgets  0x000108b90d03
QGraphicsScenePrivate::drawItems(QPainter*, QTransform const*, QRegion*,
QWidget*) + 403
6   org.qt-project.QtWidgets  0x000108bb484c
QGraphicsView::paintEvent(QPaintEvent*) + 1676
7   org.qt-project.QtWidgets  0x000108882976
QWidget::event(QEvent*) + 2038
8   org.qt-project.QtWidgets  0x00010897a67d QFrame::event(QEvent*)
+ 45
9   org.qt-project.QtWidgets  0x000108a0c097
QAbstractScrollArea::viewportEvent(QEvent*) + 135
10  org.qt-project.QtWidgets  0x000108bb23b5
QGraphicsView::viewportEvent(QEvent*) + 1541
11  org.qt-project.QtWidgets  0x000108a0cd34
QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) + 36
12  org.qt-project.QtCore 0x0001096b54ab
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 203
13  org.qt-project.QtWidgets  0x000108841081
QApplicationPrivate::notify_helper(QObject*, QEvent*) + 273
14  org.qt-project.QtWidgets  0x0001088425f8
QApplication::notify(QObject*, QEvent*) + 504
15  org.qt-project.QtCore 0x0001096b5214
QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
16  org.qt-project.QtWidgets  0x00010887c3e4
QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int,
QPainter*, QWidgetBackingStore*) + 3316
17  org.qt-project.QtWidgets  0x00010884f227
QWidgetBackingStore::doSync() + 5447
18  org.qt-project.QtWidgets  0x000108882c02
QWidget::event(QEvent*) + 2690
19  org.qt-project.QtWidgets  0x00010899219a
QMainWindow::event(QEvent*) + 1546
20  libKF5XmlGui.5.dylib  0x0001072d34eb
KMainWindow::event(QEvent*) + 1003
21  libKF5XmlGui.5.dylib  0x00010731c5aa
KXmlGuiWindow::event(QEvent*) + 42
22  org.qt-project.QtWidgets  0x000108841096
QApplicationPrivate::notify_helper(QObject*, QEvent*) + 294
23  org.qt-project.QtWidgets  0x0001088425f8
QApplication::notify(QObject*, QEvent*) + 504
24  org.qt-project.QtCore 0x0001096b5214
QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
25  org.qt-project.QtCore 0x0001096b5f5b
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 875
26  libqcocoa.dylib   0x000113337b7e
QCocoaEventDispatcherPrivate::processPostedEvents() + 190
27  libqcocoa.dylib   0x000113338441
QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33
28  com.apple.CoreFoundation  0x7fff8658b881
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
29  com.apple.CoreFoundation  0x7fff8656afbc __CFRunLoopDoSources0
+ 556
30  com.apple.CoreFoundation  0x7fff8656a4df __CFRunLoopRun + 927
31  com.apple.CoreFoundation  0x7fff86569ed8 CFRunLoopRunSpecific +
296
32  com.apple.HIToolbox   0x7fff8bc85935
RunCurrentEventLoopInMode + 235
33  com.apple.HIToolbox   0x7fff8bc8576f ReceiveNextEventCommon
+ 432
34  com.apple.HIToolbox   0x7fff8bc855af
_BlockUntilNextEventMatchingListInModeWithFilter + 71
35  com.apple.AppKit  0x7fff8a15cdf6 _DPSNextEvent + 1067
36  com.apple.AppKit  0x7fff8a15c226 -[NSApplication
_nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
37  com.apple.AppKit  

[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX [patch]

2016-07-02 Thread Maik Qualmann via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

Maik Qualmann  changed:

   What|Removed |Added

Summary|digiKam crashes while   |digiKam crashes while
   |editing pictures for color  |editing pictures for color
   |balancing on OSX|balancing on OSX [patch]

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


[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX

2016-07-02 Thread Maik Qualmann via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

Maik Qualmann  changed:

   What|Removed |Added

 CC||metzping...@gmail.com

--- Comment #22 from Maik Qualmann  ---
Created attachment 99816
  --> https://bugs.kde.org/attachment.cgi?id=99816=edit
cbfilter.patch

Gilles,

Can you test this patch under OSX?

Maik

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


[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX

2016-07-02 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

caulier.gil...@gmail.com changed:

   What|Removed |Added

   Version Fixed In|5.0.0   |

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


[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX

2016-07-02 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

caulier.gil...@gmail.com changed:

   What|Removed |Added

  Component|ColorManagement |ImageEditor-Tool-Balance

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


[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX

2016-07-02 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

caulier.gil...@gmail.com changed:

   What|Removed |Added

  Attachment #89339|0   |1
is obsolete||
  Attachment #92890|0   |1
is obsolete||
  Attachment #92904|0   |1
is obsolete||
  Attachment #92911|0   |1
is obsolete||
  Attachment #92912|0   |1
is obsolete||
  Attachment #92913|0   |1
is obsolete||
  Attachment #99804|0   |1
is obsolete||

--- Comment #21 from caulier.gil...@gmail.com ---
Created attachment 99810
  --> https://bugs.kde.org/attachment.cgi?id=99810=edit
OSX crash trace

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


[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX

2016-07-02 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

caulier.gil...@gmail.com changed:

   What|Removed |Added

 Resolution|FIXED   |---
 Status|RESOLVED|REOPENED

--- Comment #20 from caulier.gil...@gmail.com ---
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

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


[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX

2016-07-02 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

caulier.gil...@gmail.com changed:

   What|Removed |Added

Version|4.12.0  |5.0.0

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


[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX

2016-07-02 Thread Detlef via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #19 from Detlef  ---
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.du...@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 :
> 
> https://bugs.kde.org/show_bug.cgi?id=340389
> 
> caulier.gil...@gmail.com changed:
> 
>   What|Removed |Added
> 
> Resolution|--- |FIXED
>   Version Fixed In|4.12.0  |5.0.0
> Status|REOPENED|RESOLVED
> 
> --- Comment #18 from caulier.gil...@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.

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

[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX

2016-07-02 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

caulier.gil...@gmail.com changed:

   What|Removed |Added

 Resolution|--- |FIXED
   Version Fixed In|4.12.0  |5.0.0
 Status|REOPENED|RESOLVED

--- Comment #18 from caulier.gil...@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 watching all bug changes.


[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX

2016-07-01 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #17 from caulier.gil...@gmail.com ---
Detlef,

Do you seen my previous comment ?

Gilles Caulier

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


[digikam] [Bug 340389] digiKam crashes while editing pictures for color balancing on OSX

2016-06-28 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340389

--- Comment #16 from caulier.gil...@gmail.com ---
digiKam 5.0.0-beta7 Installer for MacOSX is now available for testing...

https://drive.google.com/open?id=0B7yq-xFihT0_ZjlIazRPb1lRTEE

Gilles Caulier

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