[Bug 235491] New: Regression in rev. 1115803, SIGSEGV or SIGABRT in image filters in editor.

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 235491] New: Regression in rev. 1115803, SIGSEGV or SIGABRT in image filters in editor.

Bugzilla from mbc@baekhoej.dk
https://bugs.kde.org/show_bug.cgi?id=235491

           Summary: Regression in rev. 1115803, SIGSEGV or SIGABRT in
                    image filters in editor.
           Product: digikam
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           SVN revision 1115803 (using Devel)
Compiler:          gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1
OS:                Linux
Installed from:    Compiled sources

In many image filters in the image editor, I now get crashes every time I open
them.

I have isolated the bug to between revision 1115803 and 1115800.
The comment for this commit was "Port threaded filters to be a DynamicThread.
Mostly simple find-and-replace work." by mwieswig.

1115803 crashes consistently, 1115800 works without problems. I think there is
a problem with some object being deleted too early. I have observed "d"
pointers becoming zero, but also other behavior.

I will attach a file with stack trace samples.

This is a blocking bug for me that stops me from using digikam SVN later than
1115803.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 235491] Regression in rev. 1115803, SIGSEGV or SIGABRT in image filters in editor.

Bugzilla from mbc@baekhoej.dk
https://bugs.kde.org/show_bug.cgi?id=235491





--- Comment #1 from Mikkel Christensen <mbc baekhoej dk>  2010-04-26 22:49:25 ---
Created an attachment (id=43052)
 --> (http://bugs.kde.org/attachment.cgi?id=43052)
Stack trace examples

Stack trace examples of crashes. See notes in file.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 235491] Regression in rev. 1115803, SIGSEGV or SIGABRT in image filters in editor.

Marcel Wiesweg
In reply to this post by Bugzilla from mbc@baekhoej.dk
https://bugs.kde.org/show_bug.cgi?id=235491





--- Comment #2 from Marcel Wiesweg <marcel wiesweg gmx de>  2010-04-27 18:19:39 ---
Please test at least revision 1118747. There was a relevant bug fixed. Please
report further problems.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 235491] Regression in rev. 1115803, SIGSEGV or SIGABRT in image filters in editor.

Bugzilla from mbc@baekhoej.dk
In reply to this post by Bugzilla from mbc@baekhoej.dk
https://bugs.kde.org/show_bug.cgi?id=235491





--- Comment #3 from Mikkel Christensen <mbc baekhoej dk>  2010-04-27 23:58:59 ---
Created an attachment (id=43069)
 --> (http://bugs.kde.org/attachment.cgi?id=43069)
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

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 235491] Regression in rev. 1115803, SIGSEGV or SIGABRT in image filters in editor.

Bugzilla from mbc@baekhoej.dk
In reply to this post by Bugzilla from mbc@baekhoej.dk
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.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 235491] Regression in rev. 1115803, SIGSEGV or SIGABRT in image filters in editor.

Bugzilla from mbc@baekhoej.dk
In reply to this post by Bugzilla from mbc@baekhoej.dk
https://bugs.kde.org/show_bug.cgi?id=235491





--- Comment #5 from Mikkel Christensen <mbc baekhoej dk>  2010-04-28 09:54:28 ---
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

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 235491] Regression in rev. 1115803, SIGSEGV or SIGABRT in image filters in editor.

Marcel Wiesweg
In reply to this post by Bugzilla from mbc@baekhoej.dk
https://bugs.kde.org/show_bug.cgi?id=235491





--- Comment #6 from Marcel Wiesweg <marcel wiesweg gmx de>  2010-04-29 22:08:39 ---
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.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 235491] Regression in rev. 1115803, SIGSEGV or SIGABRT in image filters in editor.

Bugzilla from mbc@baekhoej.dk
In reply to this post by Bugzilla from mbc@baekhoej.dk
https://bugs.kde.org/show_bug.cgi?id=235491


Mikkel Christensen <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID




--- Comment #7 from Mikkel Christensen <mbc baekhoej dk>  2010-04-30 09:42:20 ---
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

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 235491] Regression in rev. 1115803, SIGSEGV or SIGABRT in image filters in editor.

Gilles Caulier-4
In reply to this post by Bugzilla from mbc@baekhoej.dk
https://bugs.kde.org/show_bug.cgi?id=235491

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |1.3.0

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 235491] Regression in rev. 1115803, SIGSEGV or SIGABRT in image filters in editor.

bugzilla_noreply
In reply to this post by Bugzilla from mbc@baekhoej.dk
https://bugs.kde.org/show_bug.cgi?id=235491

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |ImageEditor

--
You are receiving this mail because:
You are the assignee for the bug.