[Bug 167561] New: Crash when moving albums

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

[Bug 167561] New: Crash when moving albums

Geoff King-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=167561         
           Summary: Crash when moving albums
           Product: digikam
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel kde org
        ReportedBy: gsking1 gmail com


Version:           0.10.0-beta2 (rev.: 838419) (using KDE 4.0.98)
Installed from:    Ubuntu Packages
Compiler:          gcc
OS:                Linux

Crashed several times when moving an album of images to another album. Used right click option to move album. When re-started digikam the album was moved.

A krash log is attached.  A part of the terminal output is also included below.

movecrash....  I was moving the album "2008-05-24" from /home/gsking/tmp to /home/gsking/Pictures.


digikam(18056): AlbumManager::slotDirty "/home/gsking/Pictures"
digikam(18056): Filtering out db-file-triggered dir watch signal
Style reset requested.
kio_digikamalbums(18074) kio_digikamalbums::special: kio_digikamalbums::special  KUrl("digikamalbums:/2008-05-24/?albumRoot=/home/gsking/tmp&albumRootId=2&databaseType=QSQLITE&databaseName=%2Fhome%2Fgsking%2FPictures%2Fdigikam4.db")
kdeinit4: Got EXEC_NEW 'kio_file' from launcher.
kdeinit4: preparing to launch
kio_digikamalbums(18074) kio_digikamalbums::rename: Src:  KUrl("digikamalbums:/2008-05-24/?albumRoot=/home/gsking/tmp&albumRootId=2&databaseType=QSQLITE&databaseName=%2Fhome%2Fgsking%2FPictures%2Fdigikam4.db") , Dst:  KUrl("digikamalbums:/2008-05-24?albumRoot=/home/gsking/Pictures&albumRootId=1&databaseType=QSQLITE&databaseName=%2Fhome%2Fgsking%2FPictures%2Fdigikam4.db")
Style reset requested.
Style reset requested.
Style reset requested.
digikam(18056): AlbumManager::slotDirty "/home/gsking/Pictures"
digikam(18056): AlbumManager::slotDirty "/home/gsking/tmp"
digikam(18056): AlbumManager::slotDirty "/home/gsking/tmp/gsking-kde4/ksocket-gsking"
digikam(18056): Adding item  "img-000001.JPG"
digikam(18056): "/home/gsking/Pictures/2008-05-24/img-000001.JPG"  : JPEG file identified
DateTime => Exif.Photo.DateTimeOriginal =>  QDateTime("Sat May 24 11:38:10 2008")

Orientation => Exif.Image.Orientation =>  1

KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = digikam path = <unknown> pid = 18056
sock_file=/home/gsking/.kde4/socket-server/kdeinit4__0
kdeinit4: Got EXEC_NEW '/usr/lib/kde4/lib/kde4/libexec/drkonqi' from socket.
kdeinit4: preparing to launch /usr/lib/kde4/lib/kde4/libexec/drkonqi
digikam(18056): Detected locked database file. There is an active transaction.
digikam(18056): Failure executing query:
digikam(18056): "REPLACE INTO ImageInformation ( imageid, rating, creationDate, digitizationDate, orientation, width, height, format, colorDepth, colorModel ) VALUES (?,?,?,?,?,?,?,?,?,?);"
digikam(18056): "database is locked Unable to fetch row" 5
digikam(18056): Bound values:  (QVariant(qlonglong, 2186) ,  QVariant(int, 0) ,  QVariant(QString, "2008-05-24T11:38:10") ,  QVariant(QString, "2008-05-24T11:38:10") ,  QVariant(int, 1) ,  QVariant(int, 2592) ,  QVariant(int, 1944) ,  QVariant(QString, "JPG") ,  QVariant(int, 8) ,  QVariant(int, 5) )
digikam(18056): Detected locked database file. There is an active transaction.
digikam(18056): Failure executing query:
digikam(18056): "REPLACE INTO ImageMetadata ( imageid, make, model, lens, aperture, focalLength, focalLength35, exposureTime, exposureProgram, exposureMode, sensitivity, flash, whiteBalance, whiteBalanceColorTemperature, meteringMode, subjectDistance, subjectDistanceCategory ) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);"
digikam(18056): "database is locked Unable to fetch row" 5
digikam(18056): Bound values:  (QVariant(qlonglong, 2186) ,  QVariant(, ) ,  QVariant(QString, "Canon") ,  QVariant(QString, "Canon PowerShot SD450") ,  QVariant(QString, "5.8 - 17.4 mm") ,  QVariant(double, 2.8) ,  QVariant(double, 5.8) ,  QVariant(, ) ,  QVariant(double, 0.0166667) ,  QVariant(, ) ,  QVariant(int, 0) ,  QVariant(, ) ,  QVariant(int, 89) ,  QVariant(int, 0) ,  QVariant(int, 0) ,  QVariant(int, 5) ,  QVariant(, ) )
digikam(18056): Detected locked database file. There is an active transaction.
digikam(18056): Failure executing query:
digikam(18056): "SELECT id, type, language, author, date, comment FROM ImageComments WHERE imageid=?;"
digikam(18056): "database is locked Unable to fetch row" 5
digikam(18056): Bound values:  (QVariant(qlonglong, 2186) )
digikam(18056): Detected locked database file. There is an active transaction.
digikam(18056): Failure executing query:
digikam(18056): "REPLACE INTO ImageComments ( imageid, type, language, author, date, comment )  VALUES (?,?,?,?,?,?);"
digikam(18056): "database is locked Unable to fetch row" 5
digikam(18056): Bound values:  (QVariant(qlonglong, 2186) ,  QVariant(int, 1) ,  QVariant(QString, "x-default") ,  QVariant(QString, "") ,  QVariant(QDateTime, QDateTime("") ) ,  QVariant(QString, "Walking behind") )
digikam(18056): Detected locked database file. There is an active transaction.
digikam(18056): Failure executing query:
digikam(18056): "SELECT id, pid, name FROM Tags;"
digikam(18056): "database is locked Unable to fetch row" 5
digikam(18056): Bound values:  ()
digikam(18056): Detected locked database file. There is an active transaction.
digikam(18056): Failure executing query:
digikam(18056): "INSERT INTO Tags (pid, name) VALUES( ?, ?);"
digikam(18056): "database is locked Unable to fetch row" 5
digikam(18056): Bound values:  (QVariant(int, 0) ,  QVariant(QString, "Family") )
QSqlDatabasePrivate::removeDatabase: connection 'digikamDatabase-134571952' is still in use, all queries will cease to work.
QSqlDatabasePrivate::removeDatabase: connection 'digikamDatabase-134571952' is still in use, all queries will cease to work.
kdeinit4: PID 18080 terminated.
kdeinit4: PID 18082 terminated.
kdeinit4: PID 18073 terminated.
kdeinit4: PID 18074 terminated.
kdeinit4: PID 18081 terminated.
digikam(18056): Failure executing batch query:
digikam(18056): "REPLACE INTO ImageTags (imageid, tagid) VALUES(?, ?);"
digikam(18056): "database is locked Unable to fetch row" 5
digikam(18056): Bound values:  (QVariant(qlonglong, 2186) ,  QVariant(int, -1) )
digikam(18056): Adding item  "img-000002.JPG"
digikam(18056): "/home/gsking/Pictures/2008-05-24/img-000002.JPG"  : JPEG file identified
digikam(18056): Detected locked database file. There is an active transaction.
digikam(18056): Failure executing query:
digikam(18056): "REPLACE INTO Images  ( album, name, status, category, modificationDate, fileSize, uniqueHash )  VALUES (?,?,?,?,?,?,?);"
digikam(18056): "database is locked Unable to fetch row" 5
digikam(18056): Bound values:  (QVariant(int, 63) ,  QVariant(QString, "img-000002.JPG") ,  QVariant(int, 1) ,  QVariant(int, 1) ,  QVariant(QString, "2008-05-26T17:35:36") ,  QVariant(int, 2474041) ,  QVariant(QString, "579017adb8a01cdbd070a2474d25fc68") )
DateTime => Exif.Photo.DateTimeOriginal =>  QDateTime("Sat May 24 17:13:55 2008")

Orientation => Exif.Image.Orientation =>  1

digikam(18056): Detected locked database file. There is an active transaction.
digikam(18056): Failure executing query:
digikam(18056): "REPLACE INTO ImageInformation ( imageid, rating, creationDate, digitizationDate, orientation, width, height, format, colorDepth, colorModel ) VALUES (?,?,?,?,?,?,?,?,?,?);"
digikam(18056): "database is locked Unable to fetch row" 5
digikam(18056): Bound values:  (QVariant(qlonglong, -1) ,  QVariant(int, 0) ,  QVariant(QString, "2008-05-24T17:13:55") ,  QVariant(QString, "2008-05-24T17:13:55") ,  QVariant(int, 1) ,  QVariant(int, 2592) ,  QVariant(int, 1944) ,  QVariant(QString, "JPG") ,  QVariant(int, 8) ,  QVariant(int, 5) )
digikam(18056): Detected locked database file. There is an active transaction.
digikam(18056): Failure executing query:
digikam(18056): "REPLACE INTO ImageMetadata ( imageid, make, model, lens, aperture, focalLength, focalLength35, exposureTime, exposureProgram, exposureMode, sensitivity, flash, whiteBalance, whiteBalanceColorTemperature, meteringMode, subjectDistance, subjectDistanceCategory ) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);"
digikam(18056): "database is locked Unable to fetch row" 5
digikam(18056): Bound values:  (QVariant(qlonglong, -1) ,  QVariant(, ) ,  QVariant(QString, "Canon") ,  QVariant(QString, "Canon PowerShot SD450") ,  QVariant(QString, "5.8 - 17.4 mm") ,  QVariant(double, 4.5) ,  QVariant(double, 14.421) ,  QVariant(, ) ,  QVariant(double, 0.002) ,  QVariant(, ) ,  QVariant(int, 0) ,  QVariant(, ) ,  QVariant(int, 88) ,  QVariant(int, 0) ,  QVariant(int, 0) ,  QVariant(int, 5) ,  QVariant(, ) )
drkonqi(18098) KMimeTypeFactory::parseMagic: Now parsing  "/usr/share/mime/magic"
drkonqi(18098) KMimeTypeFactory::parseMagic: Now parsing  "/usr/local/share/mime/magic"
drkonqi(18098) KMimeTypeFactory::parseMagic: Now parsing  "/home/gsking/.local/share/mime/magic"
drkonqi(18098) KFileDialog::getSaveFileName: KFileDialog::getSaveFileName called with non-local start dir  KUrl("digikam.kcrash")
digikam(18056): Detected locked database file. There is an active transaction.
digikam(18056): Failure executing query:
digikam(18056): "SELECT id, type, language, author, date, comment FROM ImageComments WHERE imageid=?;"
digikam(18056): "database is locked Unable to fetch row" 5
digikam(18056): Bound values:  (QVariant(qlonglong, -1) )
kdeinit4: Got EXEC_NEW 'kio_trash' from launcher.
kdeinit4: preparing to launch
drkonqi(18098) KFileItem::isDir: can't say -> false
kio_trash(18127) TrashImpl::init: initialization OK, home trash dir:  "/home/gsking/.local/share/Trash"
kio_trash(18127) TrashProtocol::listDir: listdir:  KUrl("trash:/")
digikam(18056): Detected locked database file. There is an active transaction.
digikam(18056): Failure executing query:
digikam(18056): "REPLACE INTO ImageComments ( imageid, type, language, author, date, comment )  VALUES (?,?,?,?,?,?);"
digikam(18056): "database is locked Unable to fetch row" 5
digikam(18056): Bound values:  (QVariant(qlonglong, -1) ,  QVariant(int, 1) ,  QVariant(QString, "x-default") ,  QVariant(QString, "") ,  QVariant(QDateTime, QDateTime("") ) ,  QVariant(QString, "Columbus yacht club") )
digikam(18056): Detected locked database file. There is an active transaction.
digikam(18056): Failure executing query:
digikam(18056): "SELECT id, pid, name FROM Tags;"
digikam(18056): "database is locked Unable to fetch row" 5
digikam(18056): Bound values:  ()
digikam(18056): Detected locked database file. There is an active transaction.
digikam(18056): Failure executing query:
digikam(18056): "INSERT INTO Tags (pid, name) VALUES( ?, ?);"
digikam(18056): "database is locked Unable to fetch row" 5
digikam(18056): Bound values:  (QVariant(int, 0) ,  QVariant(QString, "Family") )
digikam(18056): Failure executing batch query:
digikam(18056): "REPLACE INTO ImageTags (imageid, tagid) VALUES(?, ?);"
digikam(18056): "database is locked Unable to fetch row" 5
digikam(18056): Bound values:  (QVariant(qlonglong, -1) ,  QVariant(int, -1) )
digikam(18056): Adding item  "img-000003.JPG"
digikam(18056): "/home/gsking/Pictures/2008-05-24/img-000003.JPG"  : JPEG file identified
kdeinit4: PID 18098 terminated.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 167561] Crash when moving albums

Geoff King-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=167561         




------- Additional Comments From gsking1 gmail com  2008-07-28 03:14 -------
Created an attachment (id=26449)
 --> (http://bugs.kde.org/attachment.cgi?id=26449&action=view)
crash log
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 167561] Crash when moving albums

Gilles Caulier-4
In reply to this post by Geoff King-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=167561         
caulier.gilles gmail com changed:

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

[Bug 167561] Crash when moving albums

Marcel Wiesweg
In reply to this post by Geoff King-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=167561         




------- Additional Comments From marcel.wiesweg gmx de  2008-07-28 19:25 -------
SVN commit 838754 by mwiesweg:

Check for null pointer

CCBUG: 167561


 M  +3 -0      albumlister.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=838754
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 167561] Crash when moving albums

Gilles Caulier-4
In reply to this post by Geoff King-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=167561         




------- Additional Comments From caulier.gilles gmail com  2008-07-29 10:55 -------
Geoff,

Please checkout svn and try again to check if last fix from Marcel solve your problem.

Thanks in advance

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 167561] Crash when moving albums

Geoff King-4
In reply to this post by Geoff King-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=167561         




------- Additional Comments From gsking1 gmail com  2008-07-29 14:35 -------
Yes it did fix the crash.  
I'm still having some problems with the album listing though, which I can report as a separate bug when I am back in town early next week.  Basically, it is slow (>30 seconds) to show the moved directory and sometimes the directory it was moved from disappears for awhile or until next restart of digikam.  
Thanks, Geoff
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 167561] Crash when moving albums

Gilles Caulier-4
In reply to this post by Geoff King-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=167561         
caulier.gilles gmail com changed:

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



------- Additional Comments From caulier.gilles gmail com  2008-07-29 14:43 -------
Thanks Geoff for the feedback.

Feel free to open new file if necessary.

I close this one.

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