Bug 155023 - crashs when trying to send images via digikam
Summary: crashs when trying to send images via digikam
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-SendByMail (show other bugs)
Version: 5.6.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-03 15:10 UTC by Jens Kauth
Modified: 2022-01-15 18:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Kauth 2008-01-03 15:10:35 UTC
Version:           0.9.3. (using KDE KDE 3.5.5)
Installed from:    SuSE RPMs
OS:                Linux

after selecting the image and pushing the button to send the image via email digikam crashes. It does not happen when I send the image without resizing it. 

The backtrace shows:
System configuration startup check disabled.

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1245690160 (LWP 6913)]
[New Thread -1256563824 (LWP 6938)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xb69f3df9 in pthread_self () from /lib/libc.so.6
#0  0xb69f3df9 in pthread_self () from /lib/libc.so.6
#1  0xb70df720 in QRecursiveMutexPrivate::unlock ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#2  0xb70df3e4 in QMutex::unlock () from /usr/lib/qt3/lib/libqt-mt.so.3
#3  0xb6de6f37 in QApplication::sendPostedEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#4  0xb6de6fbc in QApplication::sendPostedEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#5  0xb6de7066 in QApplication::sendPostedEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#6  0xb6d94897 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#7  0xb6dfc0e0 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#8  0xb6dfbf76 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#9  0xb6de500f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#10 0x0804ac6a in main ()
Comment 1 caulier.gilles 2008-01-03 15:14:03 UTC
Your backtrace is not suitable. There is no debug info available. You need to recompile kipi-plugins using full debug info...

Gilles Caulier
Comment 2 Jens Kauth 2008-01-04 09:49:36 UTC
Thanks for  your help.
After recompiling kipi-plugins using full debug info I got this:
System configuration startup check disabled.

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1246103856 (LWP 4624)]
[New Thread -1256977520 (LWP 4639)]
0xb68aebc9 in sqlite3_value_text () from /usr/lib/libsqlite3.so.0
#0  0xb68aebc9 in sqlite3_value_text () from /usr/lib/libsqlite3.so.0
#1  0xb68aebff in sqlite3_column_text () from /usr/lib/libsqlite3.so.0
#2  0xb7c2ca9c in Digikam::AlbumDB::execSql ()
   from /opt/kde3/lib/libdigikam.so.0
#3  0xb7c3230c in Digikam::AlbumDB::getItemCaption ()
   from /opt/kde3/lib/libdigikam.so.0
#4  0xb7c90d16 in Digikam::ImageInfo::caption ()
   from /opt/kde3/lib/libdigikam.so.0
#5  0xb7c3b441 in Digikam::AlbumIconItem::paintItem ()
   from /opt/kde3/lib/libdigikam.so.0
#6  0xb7c8a928 in Digikam::IconView::viewportPaintEvent ()
   from /opt/kde3/lib/libdigikam.so.0
#7  0xb6ef415f in QScrollView::eventFilter ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#8  0xb6ddeccc in QObject::activate_filters ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#9  0xb6dded3b in QObject::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#10 0xb6e17e3c in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0xb6d80647 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0xb6d814f9 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0xb74091f2 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#14 0xb6d152e9 in QETWidget::translatePaintEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0xb6d1f3fc in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0xb6d2f91a in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0xb6d970e0 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0xb6d96f76 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0xb6d8000f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0x0804ac6a in main ()
Comment 3 Jens Kauth 2008-01-04 09:52:47 UTC
-----Urspr
Comment 4 Angelo Naselli 2008-01-05 14:47:16 UTC
hmm are you sure, you've compiled kipi-plugins and used the ones compiled? If so this is a digikam problem, all i can see in this bt is about digikam:
[...]
0xb68aebc9 in sqlite3_value_text () from /usr/lib/libsqlite3.so.0 
 #0  0xb68aebc9 in sqlite3_value_text () from /usr/lib/libsqlite3.so.0 
 #1  0xb68aebff in sqlite3_column_text () from /usr/lib/libsqlite3.so.0 
 #2  0xb7c2ca9c in Digikam::AlbumDB::execSql () 
    from /opt/kde3/lib/libdigikam.so.0 
 #3  0xb7c3230c in Digikam::AlbumDB::getItemCaption () 
    from /opt/kde3/lib/libdigikam.so.0 
 #4  0xb7c90d16 in Digikam::ImageInfo::caption () 
    from /opt/kde3/lib/libdigikam.so.0 
 #5  0xb7c3b441 in Digikam::AlbumIconItem::paintItem () 
    from /opt/kde3/lib/libdigikam.so.0 
 #6  0xb7c8a928 in Digikam::IconView::viewportPaintEvent () 
    from /opt/kde3/lib/libdigikam.so.0
[...]
Comment 5 Jens Kauth 2008-01-07 08:29:19 UTC
let#s say, i am not sure about the meaning of "compile" (I am a user and I have no idea about soft or hardware). Digikam says that I have all kipi-plugins and it seems that everything runs smooth, apart of my problem. 
-----Urspr
Comment 6 Angelo Naselli 2008-01-08 22:09:15 UTC
Ok try to find the debug or debuginfo package provided by Suse
for instance digikam-debuginfo--0.9.2-1.rpm  or similar
and the one for kipi-plugins and after installing retry.

Angelo
Comment 7 Jens Kauth 2008-01-09 11:32:36 UTC
I have now installed digikam and its debuginfo 0.9.3, as well as the kipi plugins and its debuginfo 0.1.4
I t still doesn't work and I got the following as Backtrace, everything worked well until the upgrade to 0.9.3:

System configuration startup check disabled.

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1245944112 (LWP 4954)]
[New Thread -1256817776 (LWP 4969)]
0xb7f6f410 in ?? ()
#0  0xb7f6f410 in ?? ()
#1  0xbfdeeb58 in ?? ()
#2  0x080966dc in ?? ()
#3  0x08096558 in ?? ()
#4  0xb69a3a41 in ___newselect_nocancel () from /lib/libc.so.6
#5  0xb6d566e6 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#6  0xb6dbe0e0 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#7  0xb6dbdf76 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#8  0xb6da700f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#9  0x0804ac6a in main ()

-----Urspr
Comment 8 Angelo Naselli 2008-01-09 12:29:36 UTC
Thanks for your patience, but unfortunately again the bt is not suitable :/

Let's try to reproduce it here so...
Please provide the following output commands:
1) rpm -qa | grep kipi
2) rpm -qa | grep exiv2
3) rpm -qa | grep dcraw
4) rpm -qa | grep digikam

then please provide which mail client are you using for the failing test.
TIA,
	Angelo
P.S. are you able to compile (i mean developer stuff) from source? in the case we can follow you
to build all and try to understand what happens...
Comment 9 Jens Kauth 2008-01-11 12:44:31 UTC
Thanks for YOUR patience, but I think I can not compile from source.

But here I have done what you were asking for:

user@linux-0ad8:~> rpm -qa | grep kipi
libkipi-debuginfo-0.1.5-100.pm.2
libkipi-0.1.5-100.pm.2
kipi-plugins-0.1.4-100.pm.2
libkipi-devel-0.1.5-100.pm.2
kipi-plugins-debuginfo-0.1.4-100.pm.2

user@linux-0ad8:~> rpm -qa | grep exiv2
libexiv2-0.12-101.pm.1
libkexiv2-0.1.6-0.pm.1

user@linux-0ad8:~> rpm -qa | grep dcraw
libkdcraw2-0.1.2-0.pm.0
libkdcraw0-0.1.1-0.pm.0
dcraw-1.353-12

user@linux-0ad8:~> rpm -qa | grep digikam
digikam-0.9.3-0.pm.2
digikamimageplugins-superimpose-0.9.3-0.pm.2
digikam-debuginfo-0.9.3-0.pm.2
digikamimageplugins-0.9.3-0.pm.2
user@linux-0ad8:~>

I am using kmail as mailclient

Thanks for your help

Jens


-----Urspr
Comment 10 Marin Schouten 2008-03-01 10:34:26 UTC
After reading this, I have exactly the same problem (#158585) with the same package installed. I got the first error messages also, but after installing the  debuginfo-package, I got no usefull information  any longer.  

marin@noname:~> rpm -qa | grep kipi
libkipi-0.1.5-100.pm.2
kipi-plugins-0.1.4-100.pm.2
marin@noname:~> rpm -qa | grep exiv2
libexiv2-0.12-101.pm.1
libexiv2-devel-0.12-101.pm.1
libkexiv2-devel-0.1.6-0.pm.1
libkexiv2-0.1.6-0.pm.1
marin@noname:~> rpm -qa | grep dcraw
dcraw-1.353-12
libkdcraw0-0.1.1-0.pm.0
libkdcraw2-0.1.2-0.pm.0
marin@noname:~> rpm -qa | grep digikam
digikam-0.9.3-0.pm.2
digikam-debuginfo-0.9.3-0.pm.2
libdigikam-devel-0.9.3-0.pm.2
digikamimageplugins-0.9.3-0.pm.2
digikamimageplugins-superimpose-0.9.3-0.pm.2
marin@noname:~>
Comment 11 Andi Clemens 2008-07-03 16:33:04 UTC
*** Bug 158585 has been marked as a duplicate of this bug. ***
Comment 12 Marin Schouten 2008-07-06 21:12:13 UTC
As there seems to be no solution to this problem, I went back to Digikam 0.8.2.
at least, this one works. 
Marin 
Comment 13 Arnd Baecker 2008-07-06 21:30:20 UTC
Marin, there can't be any solution to this problem until
there is a proper backtrace showing the source of the crash.
It seems, that none of the developers was able to reproduce the bug, 
so here your help is needed, see 
   http://www.digikam.org/drupal/contrib
under "If you are experiencing crashes with digiKam"

Best, Arnd
Comment 14 caulier.gilles 2008-12-07 21:29:54 UTC
Jens,

This file still valid using digiKam 0.9.4 and kipi-plugins 0.1.6 ?

Gilles Caulier
Comment 15 Mikolaj Machowski 2008-12-07 23:04:56 UTC
Cannot confirm for 0.9.5.svn and kipi-plugins from svn.
Comment 16 caulier.gilles 2008-12-08 06:00:11 UTC
Thanks. I close this file now.

Gilles Caulier