[Digikam-users] geolocation crashes digikam

Marcel Wiesweg marcel.wiesweg at gmx.de
Sat Oct 11 21:51:43 BST 2008


> Opening the geolocation dialog from the menu Image/Geolocation/Edit
> coördinates, and subsequently clicking OK or Cancel, crashes digiKam.
>
> The dialog should show, besides the last entered coördinates, a map of the
> location as well. But it doesn't.
>
> I am using 0.9.5-svn. The last compiled version is 868214. I added a
> backtrace of the crash.
>
> Caspar.

I dont really know what is happening on your system, it works nicely on mine, 
but from annotating the backttrace we may get an idea

Read from bottom to top:

#6  0xb60b44a6 in QWidget::topLevelWidget ()
   from /usr/lib/qt3/lib/libqt-mt.so.3

...leads to querying the topLevelWidget, which is probably the dialog, which 
is destroyed by now, or at least at the end of its destructor

#7  0xb6e39ce3 in KParts::StatusBarExtension::statusBar ()
   from /opt/kde3/lib/libkparts.so.2

querying the status bar object...

#8  0xb6e4862f in KParts::StatusBarExtension::removeStatusBarItem ()
   from /opt/kde3/lib/libkparts.so.2
#9  0xb75e1327 in KHTMLPart::removeJSErrorExtension ()
   from /opt/kde3/lib/libkhtml.so.4

Now it tries to remove some widget it put in the status bar

#10 0xb7629a25 in KHTMLPart::~KHTMLPart () from /opt/kde3/lib/libkhtml.so.4

base class destructor

#11 0xb3057725 in ~GPSMapWidget (this=0x8931150) at gpsmapwidget.cpp:74

I think GPSMapWidget inherits KHTMLPart? In fact, it is destroyed now from 
KParts code, as reaction to destruction of the dialog

#12 0xb6e3f657 in KParts::Part::slotWidgetDestroyed ()
   from /opt/kde3/lib/libkparts.so.2

which is connected to slotWidgetDestroyed() from KParts code

#13 0xb6e3f6c2 in KParts::Part::qt_invoke () from /opt/kde3/lib/libkparts.so.2
#14 0xb6e44518 in KParts::ReadOnlyPart::qt_invoke ()
   from /opt/kde3/lib/libkparts.so.2
#15 0xb76305d2 in KHTMLPart::qt_invoke () from /opt/kde3/lib/libkhtml.so.4
#16 0xb305715f in KIPIGPSSyncPlugin::GPSMapWidget::qt_invoke (this=0x8931150, 
    _id=2, _o=0xbff418c4) at gpsmapwidget.moc:104
#17 0xb6081ab1 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0xb60826ed in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0xb63b4909 in QObject::destroyed () from /usr/lib/qt3/lib/libqt-mt.so.3

~QObject() sends a signal

#20 0xb6083dc4 in QObject::~QObject () from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0xb60ba191 in QWidget::~QWidget () from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0xb61963cb in QScrollView::~QScrollView ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0xb7629cb1 in KHTMLView::~KHTMLView () from /opt/kde3/lib/libkhtml.so.4
#24 0xb60ba10b in QWidget::~QWidget () from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0xb63c1ff5 in QFrame::~QFrame () from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0xb60ba10b in QWidget::~QWidget () from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0xb69f2a11 in KJanusWidget::~KJanusWidget ()
   from /opt/kde3/lib/libkdeui.so.4
#28 0xb60ba10b in QWidget::~QWidget () from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0xb6204a58 in QDialog::~QDialog () from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0xb69a8b0e in KDialogBase::~KDialogBase () 
from /opt/kde3/lib/libkdeui.so.4

All destructors in the inheritance hierarchy

#31 0xb3054be6 in ~GPSEditDialog (this=0xbff41b98) at gpseditdialog.cpp:195
#32 0xb3046f63 in Plugin_GPSSync::slotGPSEdit (this=0x84bb030)
    at plugin_gpssync.cpp:253

This is the code for the Ok button, closing and destroying the dialog 



More information about the Digikam-users mailing list