[Digikam-devel] [Bug 235491] Regression in rev. 1115803, SIGSEGV or SIGABRT in image filters in editor.
Mikkel Christensen
mbc at baekhoej.dk
Tue Apr 27 23:32:21 BST 2010
https://bugs.kde.org/show_bug.cgi?id=235491
--- Comment #4 from Mikkel Christensen <mbc baekhoej dk> 2010-04-28 00:32:20 ---
Created an attachment (id=43072)
--> (http://bugs.kde.org/attachment.cgi?id=43072)
Another stack trace from HEAD (1119860)
I think I fixed the bug in HEAD and was able to test this bug again.
In the code below, d is NULL after the setPreviewImage call. d is ok before the
call.
void AdjustLevelsTool::putPreviewData()
{
DImg preview = filter()->getTargetImage();
d->previewWidget->setPreviewImage(preview);
// Update histogram.
if (d &&(d->destinationPreviewData))
delete [] d->destinationPreviewData;
d->destinationPreviewData = preview.copyBits();
d->gboxSettings->histogramBox()->histogram()->updateData(d->destinationPreviewData,
preview.width(),
preview.height(), preview.sixteenBit(),
0, 0, 0, false);
}
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Digikam-devel
mailing list