Bug 210361 - digikam crashes on exit
Summary: digikam crashes on exit
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Runtime (show other bugs)
Version: 1.0.0
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-12 19:50 UTC by Paweł Rumian
Modified: 2017-08-15 13:14 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.7.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Rumian 2009-10-12 19:50:38 UTC
Version:           1.0.0_beta5 (using KDE 4.3.2)
Compiler:          gcc 4.3.2 gcc version 4.3.2 (Gentoo 4.3.2-r3 p1.6, pie-10.1.5)
OS:                Linux
Installed from:    Gentoo Packages

After closing digikam always crashes.

It crashes independently of its running time, having opened or closed images and other factors. 

Tried recompiling with no positive results.

Exif library versions:
kde-base/libkexiv2-4.3.2
media-gfx/exiv2-0.18.1

strace shows:

access("/home/users/gorky/.kde4/share/locale/pl/LC_MESSAGES/digikam.mo", R_OK) = -1 ENOENT (No such file or directory)  
access("/usr/share/locale/pl/LC_MESSAGES/digikam.mo", R_OK) = 0
stat64("/usr/share/locale/pl/LC_MESSAGES/digikam.mo", {st_mode=S_IFREG|0644, st_size=244790, ...}) = 0

...
(many of these)
...

access("/usr/share/locale/en_US/LC_SCRIPTS/digikam/digikam.js", R_OK) = -1 ENOENT (No such file or directory)                
poll([{fd=7, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=7, revents=POLLIN|POLLOUT}])                                          
read(7, "\22\305\215\302n\0 \3n\0 \3\0\0\0\0x\360\201\277\232\364\10\10\234\360\201\277n\0 \3\n"..., 4096) = 576             
writev(7, [{"\223\7\2\0\343\n \3\4\0\2\0\342\n \3\223\7\2\0\353\n \3\4\1\2\0\352\n \3\223"..., 1760}, {NULL, 0}, {""..., 0}], 3) = 1760                                                                                                                   
read(7, 0x8a35a30, 4096)                = -1 EAGAIN (Resource temporarily unavailable)                                       
--- SIGSEGV (Segmentation fault) @ 0 (0) ---                                                                                 
rt_sigaction(SIGALRM, {SIG_DFL, [ALRM], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0                                                
alarm(3) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
close (3) = 0

...

close(1023) = -1 EBADF (Bad file descriptor)
write(2, "KCrash: Application 'digikam' cra"..., 42KCrash: Application 'digikam' crashing...) = 42
Comment 1 caulier.gilles 2009-10-12 20:08:54 UTC
We need a gdb backtrace there...

Gilles Caulier
Comment 2 Paweł Rumian 2009-10-12 20:18:17 UTC
here it goes (I'm not keen on gdb, if I can do anything else to be more specific - just write)
http://pastebin.com/f7685248d
Comment 3 Paweł Rumian 2009-10-12 20:21:20 UTC
One more, this one is copy-paste from KDE critical errors handler.
http://pastebin.com/f5180bab3
Comment 4 Andi Clemens 2009-10-12 20:22:41 UTC
Please add backtraces to the comment itself, so we can search for duplicates more easily. I'll paste it in here:

#
#0  0xb7aeb5a5 in KHTMLPart::~KHTMLPart () from /usr/lib/libkhtml.so.5
#
#1  0x083261e3 in ?? ()                                              
#
#2  0xb806dd26 in KParts::Part::slotWidgetDestroyed () from /usr/lib/libkparts.so.4
#
#3  0xb806de4b in KParts::Part::qt_metacall () from /usr/lib/libkparts.so.4        
#
#4  0xb806deaa in KParts::ReadOnlyPart::qt_metacall () from /usr/lib/libkparts.so.4
#
#5  0xb7af323a in KHTMLPart::qt_metacall () from /usr/lib/libkhtml.so.5            
#
#6  0x083293ef in ?? ()                                                            
#
#7  0xb66b5d49 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4        
#
#8  0xb66b6070 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4        
#
#9  0xb66b60fb in QObject::destroyed () from /usr/lib/qt4/libQtCore.so.4          
#
#10 0xb66b7db9 in QObject::~QObject () from /usr/lib/qt4/libQtCore.so.4            
#
#11 0xb5db639c in QWidget::~QWidget () from /usr/lib/qt4/libQtGui.so.4            
#
#12 0xb66b1635 in QObjectPrivate::deleteChildren () from /usr/lib/qt4/libQtCore.so.4
#
#13 0xb5db5792 in QWidget::~QWidget () from /usr/lib/qt4/libQtGui.so.4              
#
#14 0xb610d811 in QFrame::~QFrame () from /usr/lib/qt4/libQtGui.so.4                
#
#15 0xb6170801 in QStackedWidget::~QStackedWidget () from /usr/lib/qt4/libQtGui.so.4
#
#16 0x08279fba in ?? ()                                                            
#
#17 0xb66b1635 in QObjectPrivate::deleteChildren () from /usr/lib/qt4/libQtCore.so.4
#
#18 0xb5db5792 in QWidget::~QWidget () from /usr/lib/qt4/libQtGui.so.4              
#
#19 0xb6127505 in QMainWindow::~QMainWindow () from /usr/lib/qt4/libQtGui.so.4      
#
#20 0xb66b1635 in QObjectPrivate::deleteChildren () from /usr/lib/qt4/libQtCore.so.4
#
#21 0xb5db5792 in QWidget::~QWidget () from /usr/lib/qt4/libQtGui.so.4              
#
#22 0xb610d811 in QFrame::~QFrame () from /usr/lib/qt4/libQtGui.so.4                
#
#23 0xb616cf5b in QSplitter::~QSplitter () from /usr/lib/qt4/libQtGui.so.4          
#
#24 0xb74127b2 in Digikam::SidebarSplitter::~SidebarSplitter () from /usr/lib/libdigikamcore.so.1
#
#25 0xb66b1635 in QObjectPrivate::deleteChildren () from /usr/lib/qt4/libQtCore.so.4            
#
#26 0xb5db5792 in QWidget::~QWidget () from /usr/lib/qt4/libQtGui.so.4                          
#
#27 0xb610d811 in QFrame::~QFrame () from /usr/lib/qt4/libQtGui.so.4                            
#
#28 0xb6cb5411 in KHBox::~KHBox () from /usr/lib/libkdeui.so.5                                  
#
#29 0x082aa909 in ?? ()                                                                          
#
#30 0x0828ba04 in ?? ()                                                                          
#
#31 0xb66b1315 in qDeleteInEventHandler () from /usr/lib/qt4/libQtCore.so.4                      
#
#32 0xb66b2eb3 in QObject::event () from /usr/lib/qt4/libQtCore.so.4                            
#
#33 0xb5dbe216 in QWidget::event () from /usr/lib/qt4/libQtGui.so.4                              
#
#34 0xb6127c07 in QMainWindow::event () from /usr/lib/qt4/libQtGui.so.4                          
#
#35 0xb6ccd347 in KMainWindow::event () from /usr/lib/libkdeui.so.5                              
#
#36 0xb6d127fc in KXmlGuiWindow::event () from /usr/lib/libkdeui.so.5                            
#
#37 0xb5d6ca54 in QApplicationPrivate::notify_helper () from /usr/lib/qt4/libQtGui.so.4          
#
#38 0xb5d745c2 in QApplication::notify () from /usr/lib/qt4/libQtGui.so.4                        
#
#39 0xb6bea4dd in KApplication::notify () from /usr/lib/libkdeui.so.5                            
#
#40 0xb66a392a in QCoreApplication::notifyInternal () from /usr/lib/qt4/libQtCore.so.4          
#
#41 0xb66a423a in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/qt4/libQtCore.so.4  
#
#42 0xb66a43dd in QCoreApplication::sendPostedEvents () from /usr/lib/qt4/libQtCore.so.4        
#
#43 0xb66cb22f in ?? () from /usr/lib/qt4/libQtCore.so.4                                        
#
#44 0x00000000 in ?? ()
Comment 5 Dario Andres 2009-10-12 22:19:33 UTC
KHTML bug on 4.3.2: bug 209960. Thanks

*** This bug has been marked as a duplicate of bug 209960 ***
Comment 6 caulier.gilles 2017-08-15 13:14:13 UTC
This crash is relevant of KHTML. Since digiKam 5.x we use Qt5::WebView instead.

Gilles Caulier