Summary: | KControl segfaults when adding digital camera | ||
---|---|---|---|
Product: | [Unmaintained] kio | Reporter: | Corey Wood <fourwood> |
Component: | kamera | Assignee: | Marcus Meissner <marcus> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | crash | CC: | al, cfeck, info |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Corey Wood
2004-08-13 22:02:16 UTC
Oops, forgot to add a bit of additional information. I'm running Gentoo on the Gentoo 2.6.7 sources. GCC version 3.3.4 and Glibc version 2.3.4.20040808. the stacktrace is useless ;( Oh.. dang. Hm.. any idea of how I could find some sort of useful information? kamera issue, not a digikam one. Am Samstag 14 August 2004 12:51 schrieb Renchi Raju:
> ------- kamera issue, not a digikam one.
Ah, sorry. I mixed these.
Greetings, Stephan
Is there anything I can do to provide any useful information about the crash? what camera did you add? I get the exact same crash. As soon as I click the "add camera" button, I get a segfault with the stack trace below. This is on KDE 3.5.1, Debian. The crash appears to happen in KameraDeviceSelectDialog::load (). Interestingly, when I run digikam I can't get it to auto-detect my camera, and when I try to add the camera manually, the list of supported cameras is empty. However, gphoto2 --auto-detect works perfectly fine. (no debugging symbols found) Using host libthread_db library "/lib/tls/i686/cmov/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) (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 -1232386368 (LWP 5403)] (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) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [KCrash handler] #6 0xb6025636 in KameraDeviceSelectDialog::load () from /usr/lib/kde3/kcm_kamera.so #7 0xb6026329 in KameraDeviceSelectDialog::KameraDeviceSelectDialog () from /usr/lib/kde3/kcm_kamera.so #8 0xb6026419 in KKameraConfig::slot_addCamera () from /usr/lib/kde3/kcm_kamera.so #9 0xb602869d in KKameraConfig::qt_invoke () from /usr/lib/kde3/kcm_kamera.so #10 0xb721a7ff in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #11 0xb721b290 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #12 0xb6c56dd9 in KAction::activated () from /usr/lib/libkdeui.so.4 #13 0xb6c90f91 in KAction::slotActivated () from /usr/lib/libkdeui.so.4 #14 0xb6c90f2d in KAction::slotButtonClicked () from /usr/lib/libkdeui.so.4 #15 0xb6cb0356 in KAction::qt_invoke () from /usr/lib/libkdeui.so.4 #16 0xb721a7ff in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #17 0xb6c98e4f in KToolBarButton::buttonClicked () from /usr/lib/libkdeui.so.4 #18 0xb6c99050 in KToolBarButton::mouseReleaseEvent () from /usr/lib/libkdeui.so.4 #19 0xb7254f00 in QWidget::event () from /usr/lib/libqt-mt.so.3 #20 0xb6cf5771 in KToolBarButton::event () from /usr/lib/libkdeui.so.4 #21 0xb71b1122 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3 #22 0xb71b169d in QApplication::notify () from /usr/lib/libqt-mt.so.3 #23 0xb7881fde in KApplication::notify () from /usr/lib/libkdecore.so.4 #24 0xb71428cf in QApplication::sendSpontaneousEvent () from /usr/lib/libqt-mt.so.3 #25 0xb713e004 in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3 #26 0xb713c4f4 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3 #27 0xb7155ade in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3 #28 0xb71c9b01 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3 #29 0xb71c9a26 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3 #30 0xb71afc35 in QApplication::exec () from /usr/lib/libqt-mt.so.3 #31 0xb6878dbb in kdemain () from /usr/lib/libkdeinit_kcontrol.so #32 0xb7f0f524 in kdeinitmain () from /usr/lib/kde3/kcontrol.so #33 0x0804e1d6 in ?? () #34 0x00000007 in ?? () #35 0x08097220 in ?? () #36 0x00000001 in ?? () #37 0x00000000 in ?? () After poking around the code a bit, the trouble might be related to these two lines from load(): QString path = m_device->path(); QString port = path.left(path.find(":")).lower(); If I've traced through the code correctly, m_device was initialized to have a null path (back in KKameraConfig::slot_addCamera), and its path is never changed. Surely this is causing a null pointer deref... *** Bug 40063 has been marked as a duplicate of this bug. *** This crash is from the KDE 3 version, which is no longer maintained. If you are experience crashes with the KDE 4 version, please attach an updated backtrace or report a new bug. Regarding comment #9, the code is still the same in KDE 4, but it does not crash, because Qt 4 handles null QString same as empty QString (except for isNull() and isEmpty()). |