[Bug 221569] New: Crash when closing showfoto while a raw image is loading

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

[Bug 221569] New: Crash when closing showfoto while a raw image is loading

Johannes Wienke-3
https://bugs.kde.org/show_bug.cgi?id=221569

           Summary: Crash when closing showfoto while a raw image is
                    loading
           Product: showfoto
           Version: unspecified
          Platform: Archlinux Packages
        OS/Version: unspecified
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           trunk 1070690 (using KDE 4.3.4)
Installed from:    Archlinux Packages

Showfoto crashes when closing it while a raw file is opened (demosaiced etc.)

#0  0x00007ffff5360eb9 in QMutex::lock() () from /usr/lib/libQtCore.so.4
#1  0x00007ffff79784f4 in CacheLock (this=0x7fffe44eaa40, cache=0x84c7b0) at
/home/languitar/workspace/digiKam/libs/threadimageio/loadingcache.cpp:456
#2  0x00007ffff797f499 in Digikam::SharedLoadingTask::execute (this=0x95d850)
at /home/languitar/workspace/digiKam/libs/threadimageio/loadsavetask.cpp:198
#3  0x00007ffff796f456 in Digikam::LoadSaveThread::run (this=0x84cc20) at
/home/languitar/workspace/digiKam/libs/threadimageio/loadsavethread.cpp:134
#4  0x00007ffff5365ba5 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007ffff50f681a in start_thread () from /lib/libpthread.so.0
#6  0x00007ffff35cbc7d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

I suspect, that in line 198 of loadsavetask the static cache instance was
already deleted (cleanup method) from a destructor call or something like that
but I don't have an idea how to prevent this from happening.

--
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 221569] Crash when closing showfoto while a raw image is loading

Johannes Wienke-3
https://bugs.kde.org/show_bug.cgi?id=221569


Johannes Wienke <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |1.1.0




--
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 221569] Crash when closing showfoto while a raw image is loading

Marcel Wiesweg
In reply to this post by Johannes Wienke-3
https://bugs.kde.org/show_bug.cgi?id=221569





--- Comment #1 from Marcel Wiesweg <marcel wiesweg gmx de>  2010-01-07 18:54:22 ---
All loading must be stopped before LoadingCacheInterface::cleanUp() is called
in the ShowFoto destructor. Normally from EditorWindow's destructor, but
ShowFoto is an EditorWindow...what about delete m_canvas;m_canvas=0 before
cleaning up the cache?

--
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 221569] Crash when closing showfoto while a raw image is loading

Johannes Wienke-3
In reply to this post by Johannes Wienke-3
https://bugs.kde.org/show_bug.cgi?id=221569





--- Comment #2 from Johannes Wienke <languitar semipol de>  2010-01-07 20:54:15 ---
I don't know, I've never seen this part of digikam before. ;)

--
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 221569] Crash when closing showfoto while a raw image is loading

Marcel Wiesweg
In reply to this post by Johannes Wienke-3
https://bugs.kde.org/show_bug.cgi?id=221569


Marcel Wiesweg <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #3 from Marcel Wiesweg <marcel wiesweg gmx de>  2010-01-21 17:46:19 ---
SVN commit 1078146 by mwiesweg:

Delete canvas (normally done in EditorWindow destructor) before shutting down
loading cache.
Dont get a crash here now.

BUG: 221569

 M  +3 -0      showfoto.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1078146

--
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 221569] Crash when closing showfoto while a raw image is loading

Gilles Caulier-4
In reply to this post by Johannes Wienke-3
https://bugs.kde.org/show_bug.cgi?id=221569

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |1.1.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 221569] Crash when closing showfoto while a raw image is loading

bugzilla_noreply
In reply to this post by Johannes Wienke-3
https://bugs.kde.org/show_bug.cgi?id=221569

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Product|showfoto                    |digikam
          Component|general                     |showfoto

--
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