[Bug 180570] New: Crasch when changing folder during rating

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

[Bug 180570] New: Crasch when changing folder during rating

Bugzilla from tre1121@gmail.com
http://bugs.kde.org/show_bug.cgi?id=180570

           Summary: Crasch when changing folder during rating
           Product: digikam
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           0.10.0-rc1 (rev.: 891281) (using KDE 4.1.3)
OS:                Linux
Installed from:    Ubuntu Packages

I have checked the option to write rating to file.
I select multiple files and set a rating, during the progress i press another
folder.
The application then crasches.


Application: digiKam (digikam), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0x7f42c90776f0 (LWP 27521)]
[New Thread 0x44194950 (LWP 27538)]
[New Thread 0x43993950 (LWP 27537)]
[New Thread 0x43192950 (LWP 27536)]
[New Thread 0x40cd9950 (LWP 27529)]
[New Thread 0x41785950 (LWP 27528)]
[New Thread 0x42991950 (LWP 27527)]
[New Thread 0x42190950 (LWP 27522)]
[KCrash handler]
#5  0x00007f42be1d90d6 in __dynamic_cast () from /usr/lib/libstdc++.so.6
#6  0x00000000005e2ebc in Digikam::AlbumIconView::slotAssignRating (
    this=0x2a64230, rating=3)
    at /home/martin/down/svn/graphics/digikam/digikam/albumiconview.cpp:2324
#7  0x000000000066a94e in Digikam::DigikamView::slotAssignRatingThreeStar (
    this=0x2b50310)
    at /home/martin/down/svn/graphics/digikam/digikam/digikamview.cpp:1544
#8  0x000000000067496d in Digikam::DigikamView::qt_metacall (this=0x2b50310,
    _c=QMetaObject::InvokeMetaMethod, _id=66, _a=0x7fffd10be7a0)
    at /home/martin/down/svn/graphics/build/digikam/digikam/digikamview.moc:288
#9  0x00007f42c8bcd134 in QMetaObject::activate ()
   from /usr/lib/libQtCore.so.4
#10 0x00007f42c2d88f57 in QAction::triggered () from /usr/lib/libQtGui.so.4
#11 0x00007f42c2d89720 in QAction::activate () from /usr/lib/libQtGui.so.4
#12 0x00007f42c2d8cd17 in QAction::event () from /usr/lib/libQtGui.so.4
#13 0x00007f42c2de5b63 in QWidgetAction::event () from /usr/lib/libQtGui.so.4
#14 0x00007f42c2d8ec3d in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#15 0x00007f42c2d969ba in QApplication::notify () from /usr/lib/libQtGui.so.4
#16 0x00007f42c8234fcb in KApplication::notify () from /usr/lib/libkdeui.so.5
#17 0x00007f42c8bb8d61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#18 0x00007f42c2dc420d in ?? () from /usr/lib/libQtGui.so.4
#19 0x00007f42c2dc5b3c in ?? () from /usr/lib/libQtGui.so.4
#20 0x00007f42c2d979e2 in QApplication::notify () from /usr/lib/libQtGui.so.4
#21 0x00007f42c8234fcb in KApplication::notify () from /usr/lib/libkdeui.so.5
#22 0x00007f42c8bb8d61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#23 0x00007f42c2e1d5c4 in ?? () from /usr/lib/libQtGui.so.4
#24 0x00007f42c2e1f8a7 in ?? () from /usr/lib/libQtGui.so.4
#25 0x00007f42c2df9390 in QApplication::x11ProcessEvent ()
   from /usr/lib/libQtGui.so.4
#26 0x00007f42c2e212c4 in ?? () from /usr/lib/libQtGui.so.4
#27 0x00007f42bd4efd3b in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#28 0x00007f42bd4f350d in ?? () from /usr/lib/libglib-2.0.so.0
#29 0x00007f42bd4f36cb in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#30 0x00007f42c8be115f in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#31 0x00007f42c2e20a6f in ?? () from /usr/lib/libQtGui.so.4
#32 0x00007f42c8bb7682 in QEventLoop::processEvents ()
   from /usr/lib/libQtCore.so.4
#33 0x00007f42c8bb780d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#34 0x00007f42c8bb9cbd in QCoreApplication::exec ()
   from /usr/lib/libQtCore.so.4
#35 0x00000000006d8ce3 in main (argc=4, argv=0x7fffd10c0a88)
    at /home/martin/down/svn/graphics/digikam/digikam/main.cpp:188
#0  0x00007f42bdc31621 in nanosleep () from /lib/libc.so.6


--
Configure bugmail: http://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 180570] Crash when changing folder during rating

Bugzilla from pino@kde.org
http://bugs.kde.org/show_bug.cgi?id=180570


Pino Toscano pino kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Crasch when changing folder |Crash when changing folder
                   |during rating               |during rating




--
Configure bugmail: http://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 180570] Crash when changing folder during rating

Gilles Caulier-4
In reply to this post by Bugzilla from tre1121@gmail.com
http://bugs.kde.org/show_bug.cgi?id=180570


Gilles Caulier caulier gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Metadata
            Version|unspecified                 |0.10.0-rc1




--- Comment #1 from Gilles Caulier <caulier gilles gmail com>  2009-01-13 21:27:20 ---
I think than crash appears in libexiv2. Which version you use (see
Help/component info for details).

Which image file crash digiKam in this case : JPEG, RAW, PNG ?

Gilles Caulier


--
Configure bugmail: http://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 180570] Crash when changing folder during rating

Bugzilla from tre1121@gmail.com
In reply to this post by Bugzilla from tre1121@gmail.com
http://bugs.kde.org/show_bug.cgi?id=180570





--- Comment #2 from Martin Eriksson <tre1121 gmail com>  2009-01-13 21:38:06 ---
(In reply to comment #1)
> I think than crash appears in libexiv2. Which version you use (see
> Help/component info for details).
>
> Which image file crash digiKam in this case : JPEG, RAW, PNG ?
>
> Gilles Caulier
>

exiv2 -V
exiv2 0.18

I have tried with JPEG and NEF, crash in both cases.


--
Configure bugmail: http://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 180570] Crash when changing folder during rating

Gilles Caulier-4
In reply to this post by Bugzilla from tre1121@gmail.com
http://bugs.kde.org/show_bug.cgi?id=180570


Gilles Caulier caulier gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #3 from Gilles Caulier <caulier gilles gmail com>  2009-01-14 06:14:50 ---
Ok,

Can you try to change rating using Exiv command line tool on JPEG image ?

Also, can you attach a jpeg image to this file to be able to reproduce the
problem here...

Gilles Caulier

Note: Andreas, i CC you for info.


--
Configure bugmail: http://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 180570] Crash when changing folder during rating

Marcel Wiesweg
In reply to this post by Bugzilla from tre1121@gmail.com
http://bugs.kde.org/show_bug.cgi?id=180570


Marcel Wiesweg marcel wiesweg gmx de changed:

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




--- Comment #4 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-01-14 09:45:51 ---
SVN commit 910771 by mwiesweg:

Store list of ImageInfos, do not keep accessing the current icon items while
calling kapp->processEvents.
(Interestingly we had the same crash for assigning tags and fixed it already
;-) )

BUG: 180570

 M  +19 -17    albumiconview.cpp  


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


--
Configure bugmail: http://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 180570] Crash when changing folder during rating

Marcel Wiesweg
In reply to this post by Bugzilla from tre1121@gmail.com
http://bugs.kde.org/show_bug.cgi?id=180570





--- Comment #5 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-01-14 09:47:42 ---
Gilles, I think this crash is not in exiv2, but happens when the folder is
changed from within kapp->processEvents (replacing icon items) and the rating
loop continues to access the old, deleted items.


--
Configure bugmail: http://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 180570] Crash when changing folder during rating

Gilles Caulier-4
In reply to this post by Bugzilla from tre1121@gmail.com
http://bugs.kde.org/show_bug.cgi?id=180570


Gilles Caulier caulier gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #6 from Gilles Caulier <caulier gilles gmail com>  2009-01-14 09:50:15 ---
Ok,

I didn't have see this case...

Gilles


--
Configure bugmail: http://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 180570] Crash when changing folder during rating

Gilles Caulier-4
In reply to this post by Bugzilla from tre1121@gmail.com
http://bugs.kde.org/show_bug.cgi?id=180570





--- Comment #7 from Gilles Caulier <caulier gilles gmail com>  2009-01-14 09:53:36 ---
Marcel,

User can change rating from thumbbar now (preview, editor, and light table).
This patch must be apply in these part too (imagepreviewbar and lighttablebar)?

Gilles


--
Configure bugmail: http://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 180570] Crash when changing folder during rating

Marcel Wiesweg
In reply to this post by Bugzilla from tre1121@gmail.com
http://bugs.kde.org/show_bug.cgi?id=180570


Marcel Wiesweg marcel wiesweg gmx de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #8 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-01-14 14:37:56 ---
This is about ImagePreviewBar::slotEditRatingFromItem and
LighttableBar::slotAssignRating?
This code is fine, there is only one image edited at a time. Here there was a
loop, in from inside this loop processEvents was called, where anything can
happen, including removal of all current icon items.


--
Configure bugmail: http://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 180570] Crash when changing folder during rating

Gilles Caulier-4
In reply to this post by Bugzilla from tre1121@gmail.com
https://bugs.kde.org/show_bug.cgi?id=180570


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|0.10.0-rc1                  |0.10.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