[Bug 152092] New: showfoto crashes ( signal 11 ) on exit

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

[Bug 152092] showfoto crashes ( signal 11 ) on exit

Gilles Caulier-4
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=152092         




------- Additional Comments From caulier.gilles gmail com  2008-05-16 08:11 -------
Arnd,

I can always reproduce the problem using loading this file :

http://digikam3rdparty.free.fr/TEST_IMAGES/METADATA/digiKam/photo-000048.png

Like this : showfoto ./photo-000048.png

The image is displayed imediatly on screen. I toogle to Fit on screen mode, and i quit showfoto using File/Quit (it's important)

I don't perform anything in showfoto (plugins, transformation, etc)

Thumbbar is displayed on the bottom. right sidebar is open with histogram view.

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 152092] showfoto crashes ( signal 11 ) on exit

Gilles Caulier-4
In reply to this post by Bugzilla from ian@pulsar.uklinux.net
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=152092         




------- Additional Comments From caulier.gilles gmail com  2008-05-16 08:15 -------
Arnd,

With valgrind, showfoto do not crash, but it report this trace :

==31266== Invalid read of size 4
==31266==    at 0x5260CE0: QImage::~QImage() (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8)
==31266==    by 0x5FC06C3: exit (in /lib/i686/libc-2.7.so)
==31266==    by 0x5FAA397: (below main) (in /lib/i686/libc-2.7.so)
==31266==  Address 0x8ef9f08 is 0 bytes inside a block of size 64 free'd
==31266==    at 0x402105C: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==31266==    by 0x5260D08: QImage::~QImage() (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8)
==31266==    by 0x5FC06C3: exit (in /lib/i686/libc-2.7.so)
==31266==    by 0x5FAA397: (below main) (in /lib/i686/libc-2.7.so)
==31266==
==31266== Invalid write of size 4
==31266==    at 0x5260CE7: QImage::~QImage() (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8)
==31266==    by 0x5FC06C3: exit (in /lib/i686/libc-2.7.so)
==31266==    by 0x5FAA397: (below main) (in /lib/i686/libc-2.7.so)
==31266==  Address 0x8ef9f08 is 0 bytes inside a block of size 64 free'd
==31266==    at 0x402105C: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==31266==    by 0x5260D08: QImage::~QImage() (in /usr/lib/qt3/lib/libqt-mt.so.3.3.8)
==31266==    by 0x5FC06C3: exit (in /lib/i686/libc-2.7.so)
==31266==    by 0x5FAA397: (below main) (in /lib/i686/libc-2.7.so)

Look like the gdb backtrace reported before ask than a delete operator crash showfoto. This valgrind report appears just after to quit. Sound like it's the problem...

...but my valgrind backtrace is not really suitable here. Can you make a better one, with the source code relevant where the delete operator is processed ?

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 152092] showfoto crashes ( signal 11 ) on exit

Arnd Baecker
In reply to this post by Bugzilla from ian@pulsar.uklinux.net
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=152092         




------- Additional Comments From arnd.baecker web de  2008-05-16 09:34 -------
no crash for this image as well...
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 152092] showfoto crashes ( signal 11 ) on exit

Gilles Caulier-4
In reply to this post by Bugzilla from ian@pulsar.uklinux.net
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=152092         




------- Additional Comments From caulier.gilles gmail com  2008-05-16 11:17 -------
With my commit #808273, i have fixed the invalid memory manipulation witch is reported by valgrind in #21.

I suspect that it's the problem and crash showfoto sometime.

If somebody can checkout svn and try...

Gilles Caulier
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 152092] showfoto crashes ( signal 11 ) on exit

Gilles Caulier-4
In reply to this post by Bugzilla from ian@pulsar.uklinux.net
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=152092         
caulier.gilles gmail com changed:

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



------- Additional Comments From caulier.gilles gmail com  2008-05-16 11:29 -------
For me the crash is not reproductible now.

I close this file as WORKSFORME

Gilles
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
12