[Digikam-devel] digikam just crashed (fwd)

Renchi Raju renchi at pooh.tam.uiuc.edu
Sun Jun 19 20:02:15 BST 2005


fwding to list :)
---------- Forwarded message ----------
Date: Sun, 19 Jun 2005 20:59:27 +0200
From: Oliver Dörr <oliver at doerr-privat.de>
To: Renchi Raju <renchi at pooh.tam.uiuc.edu>
Subject: Re: [Digikam-devel] digikam just crashed

Hi Renchi,

i've just tried the patch. digiKam starts (could see the splash screen,
main window) but it crashes at the camera window. I don't know if it
happens at the same moment. the backtrace looks now like

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1100550016 (LWP 16039)]
[KCrash handler]
#7  0x418def73 in strlen () from /lib/tls/libc.so.6
#8  0x412e7c02 in internalLatin1ToUnicode ()
    from /usr/lib/qt3/lib/libqt-mt.so.3
#9  0x412e7c6f in QString::fromLatin1 () from /usr/lib/qt3/lib/libqt-mt.so.3
#10 0x401a2593 in GPIface::autoDetect () from /opt/kde3/lib/libdigikam.so.0
#11 0x400e61d2 in CameraList::autoDetect () from
/opt/kde3/lib/libdigikam.so.0
#12 0x400b591c in DigikamApp::slotCameraAutoDetect ()
    from /opt/kde3/lib/libdigikam.so.0
#13 0x400b63de in DigikamApp::qt_invoke () from
/opt/kde3/lib/libdigikam.so.0
#14 0x4100031e in QObject::activate_signal ()
    from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x41352132 in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0x4101d873 in QSignal::activate () from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0x410252c3 in QSingleShotTimer::event ()
    from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x40f9dbaf in QApplication::internalNotify ()
    from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0x40f9f773 in QApplication::notify () from
/usr/lib/qt3/lib/libqt-mt.so.3
#20 0x40c287a1 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#21 0x40f9235c in QEventLoop::activateTimers ()
    from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x40f4b156 in QEventLoop::processEvents ()
    from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0x40fb5b41 in QEventLoop::enterLoop () from
/usr/lib/qt3/lib/libqt-mt.so.3
#24 0x40fb5986 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0x40f9f63f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0x0804a966 in main ()

Renchi Raju wrote:

>
>
> On Sun, 19 Jun 2005, Oliver Dörr wrote:
>
>> uupss i forgot.
>>
>> I'm using the tarball 0.7.3 that Renmchi has provided for testing
>> (downloaded yesterday)
>
>
> oliver,
>
> can you try the attached patch and see if it fixes the problem for
> you. to apply patch:
>
> cd digikam-0.7.3/digikam
> patch -p0 < /path/to/d.gpiface.patch
> make; make install
>
> renchi
>
>------------------------------------------------------------------------
>
>Index: utilities/setup/gpiface.cpp
>===================================================================
>--- utilities/setup/gpiface.cpp	(revision 426554)
>+++ utilities/setup/gpiface.cpp	(working copy)
>@@ -57,6 +57,9 @@
>         return -1;
>     }
>
>+    camModel_ = 0;
>+    camPort_  = 0;
>+
>     for (int i = 0; i < count; i++) {
>         gp_list_get_name  (camList, i, &camModel_);
>         gp_list_get_value (camList, i, &camPort_);
>@@ -64,8 +67,11 @@
>
>     gp_list_free (camList);
>
>-    model = camModel_;
>-    port  = camPort_;
>+    if (camModel_ && camPort_)
>+    {
>+        model = QString::fromLatin1(camModel_);
>+        port  = QString::fromLatin1(camPort_);
>+    }
>
>     return 0;
> }
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Digikam-devel mailing list
>Digikam-devel at kde.org
>https://mail.kde.org/mailman/listinfo/digikam-devel
>
>


More information about the Digikam-devel mailing list