Summary: | Regression in rev. 1115803, SIGSEGV or SIGABRT in image filters in editor. | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Mikkel Christensen <mbc> |
Component: | Plugin-Editor-Levels | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED NOT A BUG | ||
Severity: | crash | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 1.3.0 | |
Attachments: |
Stack trace examples
Another set of stack traces from revision 1118747 Another stack trace from HEAD (1119860) |
Description
Mikkel Christensen
2010-04-26 22:47:50 UTC
Created attachment 43052 [details]
Stack trace examples
Stack trace examples of crashes. See notes in file.
Please test at least revision 1118747. There was a relevant bug fixed. Please report further problems. Created attachment 43069 [details]
Another set of stack traces from revision 1118747
I finally managed to get revision 1118747 to run after working around the database bug! The problem is still there. Stack traces attached.
Don't ask me to try againg with HEAD (1119860 at the moment). I already did, and I can't build it (something about i18n arguments in a template).
Right now digikam SVN is so unstable that I can't get down to actually coding anything. I spend what little time I have on just making it build and run.
Best regards,
Mikkel
Created attachment 43072 [details]
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);
}
Sorry, I think my previous comment might have been unclear. This image editor bug is still present in HEAD. (the one I said I fixed was the one preventing me from building). Best regards, Mikkel I dont get these crashes here, valgrind check is also clean. Note that most of your crashes occur in the filter constructors, when no thread has been run yet. Have you double checked no old binaries are lying around and are loaded? A binary compatibility problem would very well fit your problem. It appears there is something I don't understand about setting up my development environment. After making a full "make install" of digikam, the problem disappeared. When debugging in Eclipse, the problem was there. I thought I had set everything up right with environment variables etc. Apparently not. Sorry to make all this trouble for nothing. Setting bug to FIXED,INVALID. Best regards, Mikkel |