Version: SVN (using KDE KDE 3.5.5) Installed from: Gentoo Packages Compiler: gcc (GCC) 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6) OS: Linux My KPhotoAlbum crashs (sometimes with SIGABRT, sometimes with SIGSEGV) everytime I try to read EXIF information. I already had a index.xml file, however without EXIF support. After compiling it in, the problem occurs when I use the "Maintance | Read EXIF info" command or when I try to see the EXIF info manually. Digikam and Konqueror can read the EXIF information without problems. I tried renaming the index.xml file and restarting from scratch. KPhotoAlbum asks for a directory where to build it's database and then crashes (probably when trying to get the EXIF information) I'm using the following gentoo packages: kphotoalbum-2.2 libkexif-0.2.1 (the same problem occured with 0.2.5) exif-0.6.9 I compiled both libkexif and kphotoalbum with the debug USE flag, but the backtrace wasn't helpful. Any tips on how to get more information would be nice ! Using host libthread_db library "/lib/tls/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1235056000 (LWP 12622)] 0xffffe410 in ?? () #0 0xffffe410 in ?? () #1 0xbfa2fb18 in ?? () #2 0xb6823ff4 in ?? () from /lib/tls/libc.so.6 #3 0xbfa2f974 in ?? () #4 0xb6796ac0 in nanosleep () from /lib/tls/libc.so.6 #5 0xb679690f in sleep () from /lib/tls/libc.so.6 #6 0xb76e7a3c in KCrash::startDrKonqi () from /usr/kde/3.5/lib/libkdecore.so.4 #7 0x00000040 in ?? () #8 0xbfa2fb50 in ?? () #9 0xbfa2fb48 in ?? () #10 0x00000011 in ?? () #11 0x000000aa in ?? () #12 0x00000003 in ?? () #13 0x00000004 in ?? () #14 0x00000004 in ?? () #15 0x00003233 in ?? () #16 0x6f6b7264 in ?? () #17 0x0069716e in ?? () #18 0x7369642d in ?? () #19 0x79616c70 in ?? () #20 0x2e303a00 in ?? () #21 0x2d2d0030 in ?? () #22 0x6e707061 in ?? () #23 0x00656d61 in ?? () #24 0x6f68706b in ?? () #25 0x6c616f74 in ?? () #26 0x006d7562 in ?? () #27 0x69732d2d in ?? () #28 0x6c616e67 in ?? () #29 0x00313100 in ?? () #30 0x69702d2d in ?? () #31 0x32310064 in ?? () #32 0x00323236 in ?? () #33 0x70612d2d in ?? () #34 0x72657670 in ?? () #35 0x6e6f6973 in ?? () #36 0x4e565300 in ?? () #37 0x702d2d00 in ?? () #38 0x72676f72 in ?? () #39 0x616e6d61 in ?? () #40 0x4b00656d in ?? () #41 0x746f6850 in ?? () #42 0x626c416f in ?? () #43 0x2d006d75 in ?? () #44 0x6775622d in ?? () #45 0x72646461 in ?? () #46 0x00737365 in ?? () #47 0x6d627573 in ?? () #48 0x62407469 in ?? () #49 0x2e736775 in ?? () #50 0x2e65646b in ?? () #51 0x0067726f in ?? () #52 0x74732d2d in ?? () #53 0x75747261 in ?? () #54 0x00646970 in ?? () #55 0x00000030 in ?? () #56 0x00000000 in ?? () #57 0x00000000 in ?? () #58 0x00000000 in ?? () #59 0x00000000 in ?? () #60 0x00000000 in ?? () #61 0x00000000 in ?? () #62 0x00000000 in ?? () #63 0x00000000 in ?? () #64 0x00000000 in ?? () #65 0x00000000 in ?? () #66 0x00000000 in ?? () #67 0x00000000 in ?? () #68 0x00000000 in ?? () #69 0x00000000 in ?? () #70 0x00000000 in ?? () #71 0x00000000 in ?? () #72 0x00000000 in ?? () #73 0x00000000 in ?? () #74 0x00000000 in ?? () #75 0x00000000 in ?? () #76 0x00000000 in ?? () #77 0x00000000 in ?? () #78 0x00000000 in ?? () #79 0x00000000 in ?? () #80 0x00000000 in ?? () #81 0x00000000 in ?? () #82 0x00000000 in ?? () #83 0x00000000 in ?? () #84 0x00000000 in ?? () #85 0x00000000 in ?? () #86 0x00000020 in ?? () #87 0x00000010 in ?? () #88 0x00000010 in ?? () #89 0x00000000 in ?? () #90 0x01000000 in ?? () #91 0x00000000 in ?? () #92 0x00000000 in ?? () #93 0x00000000 in ?? () #94 0xbfa2fca8 in ?? () #95 0xffffffff in ?? () #96 0x00000001 in ?? () #97 0xb67bdafd in poll () from /lib/tls/libc.so.6
Could you please try and compile you KPhotoAlbum with debug information (A switch to configure IIRC) and then resent me the backtrace. On Tuesday 12 December 2006 01:53, Ismael Orenstein wrote: | ------- 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=138698 | Summary: kphotoalbum crashing when reading EXIF information | Product: kphotoalbum | Version: SVN | Platform: Gentoo Packages | OS/Version: Linux | Status: UNCONFIRMED | Severity: crash | Priority: NOR | Component: general | AssignedTo: blackie kde org | ReportedBy: ismore ig com br | | | Version: SVN (using KDE KDE 3.5.5) | Installed from: Gentoo Packages | Compiler: gcc (GCC) 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, | ssp-3.3.2-2, pie-8.7.6) | | OS: Linux | | My KPhotoAlbum crashs (sometimes with SIGABRT, sometimes with SIGSEGV) | everytime I try to read EXIF information. | | I already had a index.xml file, however without EXIF support. After | compiling it in, the problem occurs when I use the "Maintance | Read EXIF | info" command or when I try to see the EXIF info manually. | | Digikam and Konqueror can read the EXIF information without problems. | | I tried renaming the index.xml file and restarting from scratch. | KPhotoAlbum asks for a directory where to build it's database and then | crashes (probably when trying to get the EXIF information) | | I'm using the following gentoo packages: | | kphotoalbum-2.2 | libkexif-0.2.1 (the same problem occured with 0.2.5) | exif-0.6.9 | | I compiled both libkexif and kphotoalbum with the debug USE flag, but the | backtrace wasn't helpful. Any tips on how to get more information would be | nice ! | | Using host libthread_db library "/lib/tls/libthread_db.so.1". | [Thread debugging using libthread_db enabled] | [New Thread -1235056000 (LWP 12622)] | 0xffffe410 in ?? () | #0 0xffffe410 in ?? () | #1 0xbfa2fb18 in ?? () | #2 0xb6823ff4 in ?? () from /lib/tls/libc.so.6 | #3 0xbfa2f974 in ?? () | #4 0xb6796ac0 in nanosleep () from /lib/tls/libc.so.6 | #5 0xb679690f in sleep () from /lib/tls/libc.so.6 | #6 0xb76e7a3c in KCrash::startDrKonqi () | from /usr/kde/3.5/lib/libkdecore.so.4 | #7 0x00000040 in ?? () | #8 0xbfa2fb50 in ?? () | #9 0xbfa2fb48 in ?? () | #10 0x00000011 in ?? () | #11 0x000000aa in ?? () | #12 0x00000003 in ?? () | #13 0x00000004 in ?? () | #14 0x00000004 in ?? () | #15 0x00003233 in ?? () | #16 0x6f6b7264 in ?? () | #17 0x0069716e in ?? () | #18 0x7369642d in ?? () | #19 0x79616c70 in ?? () | #20 0x2e303a00 in ?? () | #21 0x2d2d0030 in ?? () | #22 0x6e707061 in ?? () | #23 0x00656d61 in ?? () | #24 0x6f68706b in ?? () | #25 0x6c616f74 in ?? () | #26 0x006d7562 in ?? () | #27 0x69732d2d in ?? () | #28 0x6c616e67 in ?? () | #29 0x00313100 in ?? () | #30 0x69702d2d in ?? () | #31 0x32310064 in ?? () | #32 0x00323236 in ?? () | #33 0x70612d2d in ?? () | #34 0x72657670 in ?? () | #35 0x6e6f6973 in ?? () | #36 0x4e565300 in ?? () | #37 0x702d2d00 in ?? () | #38 0x72676f72 in ?? () | #39 0x616e6d61 in ?? () | #40 0x4b00656d in ?? () | #41 0x746f6850 in ?? () | #42 0x626c416f in ?? () | #43 0x2d006d75 in ?? () | #44 0x6775622d in ?? () | #45 0x72646461 in ?? () | #46 0x00737365 in ?? () | #47 0x6d627573 in ?? () | #48 0x62407469 in ?? () | #49 0x2e736775 in ?? () | #50 0x2e65646b in ?? () | #51 0x0067726f in ?? () | #52 0x74732d2d in ?? () | #53 0x75747261 in ?? () | #54 0x00646970 in ?? () | #55 0x00000030 in ?? () | #56 0x00000000 in ?? () | #57 0x00000000 in ?? () | #58 0x00000000 in ?? () | #59 0x00000000 in ?? () | #60 0x00000000 in ?? () | #61 0x00000000 in ?? () | #62 0x00000000 in ?? () | #63 0x00000000 in ?? () | #64 0x00000000 in ?? () | #65 0x00000000 in ?? () | #66 0x00000000 in ?? () | #67 0x00000000 in ?? () | #68 0x00000000 in ?? () | #69 0x00000000 in ?? () | #70 0x00000000 in ?? () | #71 0x00000000 in ?? () | #72 0x00000000 in ?? () | #73 0x00000000 in ?? () | #74 0x00000000 in ?? () | #75 0x00000000 in ?? () | #76 0x00000000 in ?? () | #77 0x00000000 in ?? () | #78 0x00000000 in ?? () | #79 0x00000000 in ?? () | #80 0x00000000 in ?? () | #81 0x00000000 in ?? () | #82 0x00000000 in ?? () | #83 0x00000000 in ?? () | #84 0x00000000 in ?? () | #85 0x00000000 in ?? () | #86 0x00000020 in ?? () | #87 0x00000010 in ?? () | #88 0x00000010 in ?? () | #89 0x00000000 in ?? () | #90 0x01000000 in ?? () | #91 0x00000000 in ?? () | #92 0x00000000 in ?? () | #93 0x00000000 in ?? () | #94 0xbfa2fca8 in ?? () | #95 0xffffffff in ?? () | #96 0x00000001 in ?? () | #97 0xb67bdafd in poll () from /lib/tls/libc.so.6
For how to get meningful bactraces on Gentoo, please see http://www.gentoo.org/proj/en/qa/backtraces.xml
Probably i'm having the same problem, using kphotoalbum 3.0.2 and kde 3.5.6 on amd64 with gentoo. Seems to be a bug in libexiv - here's the backtrace: #0 0x00002b887f3e782b in Exiv2::ExifKey::clone () from /usr/lib64/libexiv2.so.0 #1 0x00002b887f3ab13f in Exiv2::Exifdatum::Exifdatum () from /usr/lib64/libexiv2.so.0 #2 0x00002b887f3ae884 in Exiv2::ExifData::ExifData () from /usr/lib64/libexiv2.so.0 #3 0x0000000000569a6c in Exif::Info::exifData (this=0x6765, fileName=@0x6765) at /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include/g++-v3/memory:285 #4 0x000000000052c5b6 in DB::FileInfo::parseEXIV2 (this=0x7fff2bcb5f70, fileName=@0x7fff2bcb6020) at FileInfo.cpp:50 #5 0x000000000052cbb6 in FileInfo (this=0x7fff2bcb5f70, fileName=@0x7fff2bcb6020) at FileInfo.cpp:38 #6 0x000000000052cc89 in DB::FileInfo::read (fileName=@0x6765) at FileInfo.cpp:31 #7 0x0000000000515e4b in DB::ImageInfo::readExif (this=0x40ea690, fullPath=@0x7fff2bcb6020, mode=55) at ImageInfo.cpp:265 #8 0x0000000000518d32 in ImageInfo (this=0x40ea690, fileName=@0x37a68b0, type=734748656) at ImageInfo.cpp:56 #9 0x000000000052d2c8 in DB::NewImageFinder::loadExtraFile (this=0x7fff2bcb60f0, relativeNewFileName=@0x37a68b0, type=DB::Image) at /usr/kde/3.5/include/ksharedptr.h:113 #10 0x000000000052e95d in DB::NewImageFinder::loadExtraFiles (this=0x7fff2bcb6400) at /usr/qt/3/include/qvaluelist.h:110 #11 0x000000000052ecd6 in DB::NewImageFinder::findImages (this=0x7fff2bcb6400) at NewImageFinder.cpp:51 #12 0x000000000052b087 in DB::ImageDB::slotRescan (this=0x827a40) at /usr/qt/3/include/qvaluelist.h:432 #13 0x000000000044c924 in MainWindow::Window::delayedInit (this=0x79c240) at Window.cpp:227 #14 0x000000000044f37d in MainWindow::Window::qt_invoke (this=0x79c240, _id=119, _o=0x7fff2bcb6560) at Window.moc:312 #15 0x00002b888117c578 in QObject::activate_signal () from /usr/qt/3/lib64/libqt-mt.so.3 #16 0x00002b888146d926 in QSignal::signal () from /usr/qt/3/lib64/libqt-mt.so.3 #17 0x00002b8881192edd in QSignal::activate () from /usr/qt/3/lib64/libqt-mt.so.3 #18 0x00002b88811997b8 in QSingleShotTimer::event () from /usr/qt/3/lib64/libqt-mt.so.3 #19 0x00002b888112101d in QApplication::internalNotify () from /usr/qt/3/lib64/libqt-mt.so.3 #20 0x00002b88811213ae in QApplication::notify () from /usr/qt/3/lib64/libqt-mt.so.3 #21 0x00002b888047ed81 in KApplication::notify () from /usr/kde/3.5/lib64/libkdecore.so.4 #22 0x00002b8881115bd0 in QEventLoop::activateTimers () from /usr/qt/3/lib64/libqt-mt.so.3 #23 0x00002b88810d55d6 in QEventLoop::processEvents () from /usr/qt/3/lib64/libqt-mt.so.3 #24 0x00002b88811354a9 in QEventLoop::enterLoop () from /usr/qt/3/lib64/libqt-mt.so.3 #25 0x00002b8881135402 in QEventLoop::exec () from /usr/qt/3/lib64/libqt-mt.so.3 #26 0x0000000000442ead in main (argc=7979584, argv=0x7fff2bcb6e78) at main.cpp:74
Jochen, could you please post result of `emerge -pv kphotoalbum exiv2 libkexiv2` and `emerge --info`?
It's likely result of version mismatch of exiv2. If it still doesn't work after a rebuild, please attach information requested in comment #4 and reopen. Closing in the meanwhile, but thanks for reporting anyway.