digikam-0.9.6_3 crashes on FreeBSD 9-CURRENT

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

digikam-0.9.6_3 crashes on FreeBSD 9-CURRENT

Matthias Apitz

Hello,

The above version from the FreeBSD's ports crashes with SIGSEGV on start while
reading through the existing images:

...
lstat("/home/linchen/Images/20100309-063642.jpg",{ mode=-r--r--r-- ,inode=226107 2,size=2390865,blksize=16384 }) = 0 (0x0)
lstat("/home/linchen/Images/20100309-063622.jpg",{ mode=-r--r--r-- ,inode=226107 3,size=2479361,blksize=16384 }) = 0 (0x0)
lstat("/home/linchen/Images/20100309-063546.jpg",{ mode=-r--r--r-- ,inode=226107 4,size=2648723,blksize=16384 }) = 0 (0x0)
lstat("/home/linchen/Images/20100308-235937.jpg",{ mode=-r--r--r-- ,inode=226107 5,size=2590698,blksize=16384 }) = 0 (0x0)
lstat("/home/linchen/Images/20100308-235748.jpg",{ mode=-r--r--r-- ,inode=226107 6,size=2666020,blksize=16384 }) = 0 (0x0)
lstat("/home/linchen/Images/index.xml~0001~.zip",{ mode=-rw-r--r-- ,inode=226107 7,size=67096,blksize=16384 }) = 0 (0x0)
lstat("/home/linchen/Images/20100310-181436.jpg",{ mode=-r--r--r-- ,inode=226107 8,size=2799016,blksize=16384 }) = 0 (0x0)
getdirentries(0xd,0x2adcd000,0x1000,0x2b1cfb34,0x60,0xbfbfe228) = 0 (0x0)
lseek(13,0x0,SEEK_SET)                           = 0 (0x0)
close(13)                                        = 0 (0x0)
SIGNAL 11 (SIGSEGV)

and then it tries to close thousands of open file descriptor:

getrlimit(RLIMIT_NOFILE,{ cur=11095,max=11095 }) = 0 (0x0)
close(3)                                         = 0 (0x0)
close(4)                                         = 0 (0x0)
close(5)                                         = 0 (0x0)
close(6)                                         = 0 (0x0)
...
close(11092)                                     ERR#9 'Bad file descriptor'
close(11093)                                     ERR#9 'Bad file descriptor'
close(11094)                                     ERR#9 'Bad file descriptor'
write(2,"KCrash: Application 'digikam' cr"...,42) = 42 (0x2a)
getpid()                                         = 2933 (0xb75)

Please let me know if you need further details.

Thx

        matthias
--
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[hidden email]> - w http://www.unixarea.de/
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: digikam-0.9.6_3 crashes on FreeBSD 9-CURRENT

Matthias Apitz
El día Tuesday, March 01, 2011 a las 03:10:15PM +0100, Matthias Apitz escribió:

>
> Hello,
>
> The above version from the FreeBSD's ports crashes with SIGSEGV on start while
> reading through the existing images:
>
> ...
> lstat("/home/linchen/Images/20100309-063642.jpg",{ mode=-r--r--r-- ,inode=226107 2,size=2390865,blksize=16384 }) = 0 (0x0)
> lstat("/home/linchen/Images/20100309-063622.jpg",{ mode=-r--r--r-- ,inode=226107 3,size=2479361,blksize=16384 }) = 0 (0x0)
> lstat("/home/linchen/Images/20100309-063546.jpg",{ mode=-r--r--r-- ,inode=226107 4,size=2648723,blksize=16384 }) = 0 (0x0)
> lstat("/home/linchen/Images/20100308-235937.jpg",{ mode=-r--r--r-- ,inode=226107 5,size=2590698,blksize=16384 }) = 0 (0x0)
> lstat("/home/linchen/Images/20100308-235748.jpg",{ mode=-r--r--r-- ,inode=226107 6,size=2666020,blksize=16384 }) = 0 (0x0)
> lstat("/home/linchen/Images/index.xml~0001~.zip",{ mode=-rw-r--r-- ,inode=226107 7,size=67096,blksize=16384 }) = 0 (0x0)
> lstat("/home/linchen/Images/20100310-181436.jpg",{ mode=-r--r--r-- ,inode=226107 8,size=2799016,blksize=16384 }) = 0 (0x0)
> getdirentries(0xd,0x2adcd000,0x1000,0x2b1cfb34,0x60,0xbfbfe228) = 0 (0x0)
> lseek(13,0x0,SEEK_SET)                           = 0 (0x0)
> close(13)                                        = 0 (0x0)
> SIGNAL 11 (SIGSEGV)

Hello,

Is someone digging into this? Or do you need more information like gdb
bt? Thanks

        matthias

--
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[hidden email]> - w http://www.unixarea.de/
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: digikam-0.9.6_3 crashes on FreeBSD 9-CURRENT

Bugzilla from thorsten.schnebeck@gmx.net
> Is someone digging into this? Or do you need more information like gdb
> bt? Thanks
>
> matthias

Hi Matthias,

I think you can read about the problem here:
http://www.digikam.org/drupal/about/releaseplan

"digiKam 0.9.6 Release Plan (KDE3 - not maintained anymore) 03/07/2009: Final release"

Any chances to switch to a more recent version like 1.9?

Bye

  Thorsten
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: digikam-0.9.6_3 crashes on FreeBSD 9-CURRENT

Matthias Apitz
El día Thursday, March 03, 2011 a las 02:32:41PM +0100, Thorsten Schnebeck escribió:

> > Is someone digging into this? Or do you need more information like gdb
> > bt? Thanks
> >
> > matthias
>
> Hi Matthias,
>
> I think you can read about the problem here:
> http://www.digikam.org/drupal/about/releaseplan
>
> "digiKam 0.9.6 Release Plan (KDE3 - not maintained anymore) 03/07/2009: Final release"
>
> Any chances to switch to a more recent version like 1.9?

Hello,

I have checked the FreeBSD ports collection; it has 0.9.6 for KDE3 and
digikam-1.8.0_1,1 as "An advanced digital photo management application for KDE4";
if I read the dependencies of 1.8.0 it will perhaps not compile in my
KDE3 environment (will try it) and I'm not interested in switching to KDE4;

if 1.8.0 will not compile, I will try to fix the SIGSEGV by my own or
leave digikam because the only real feature I use of digikam is
downloading the photos from my cam and this could be done with other
tools as well;

Thanks for the feedback

        matthias
--
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[hidden email]> - w http://www.unixarea.de/
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: digikam-0.9.6_3 crashes on FreeBSD 9-CURRENT

Bugzilla from thorsten.schnebeck@gmx.net
Am Donnerstag 03 März 2011, um 14:53:57 schrieb Matthias Apitz:
> El día Thursday, March 03, 2011 a las 02:32:41PM +0100, Thorsten Schnebeck
escribió:

> > > Is someone digging into this? Or do you need more information like gdb
> > > bt? Thanks
> > >
> > > matthias
> >
> > Hi Matthias,
> >
> > I think you can read about the problem here:
> > http://www.digikam.org/drupal/about/releaseplan
> >
> > "digiKam 0.9.6 Release Plan (KDE3 - not maintained anymore) 03/07/2009:
> > Final release"
> >
> > Any chances to switch to a more recent version like 1.9?
>
> Hello,
>
> I have checked the FreeBSD ports collection; it has 0.9.6 for KDE3 and
> digikam-1.8.0_1,1 as "An advanced digital photo management application for
> KDE4"; if I read the dependencies of 1.8.0 it will perhaps not compile in
> my KDE3 environment (will try it) and I'm not interested in switching to
> KDE4;
>
> if 1.8.0 will not compile, I will try to fix the SIGSEGV by my own or
> leave digikam because the only real feature I use of digikam is
> downloading the photos from my cam and this could be done with other
> tools as well;
>
> Thanks for the feedback
>
> matthias

Hmm, using a mixed kde3 kde4 setup is possible but you have to solve
overlapping config problems. And a full-featured digikam 1.9 needs a lot of
kde4.

So maybe its best to use the power of free software and use the code try to fix
this error, as you said. But we need a full backtrace. And if someone really
steps in and give a fix you need to collaborate with the port admin to insert a
manual patch back into the port system.

I do not have high hope about this. Developer resources are limited and focus
is digikam 2.0 and maintenance of digikam 1.x.

Bye

  Thorsten
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: digikam-0.9.6_3 crashes on FreeBSD 9-CURRENT

Matthias Apitz
El día Thursday, March 03, 2011 a las 05:27:13PM +0100, Thorsten Schnebeck escribió:

> > if 1.8.0 will not compile, I will try to fix the SIGSEGV by my own or
> > leave digikam because the only real feature I use of digikam is
> > downloading the photos from my cam and this could be done with other
> > tools as well;
> >
> > Thanks for the feedback
> >
> > matthias
>
> Hmm, using a mixed kde3 kde4 setup is possible but you have to solve
> overlapping config problems. And a full-featured digikam 1.9 needs a lot of
> kde4.
>
> So maybe its best to use the power of free software and use the code try to fix
> this error, as you said. But we need a full backtrace. And if someone really
> steps in and give a fix you need to collaborate with the port admin to insert a
> manual patch back into the port system.
>
> ...

I compiled digikam with debug symbols and it crashes somewhere in the
qt lib:

(gdb) r
Starting program: /usr/local/bin/digikam
[New LWP 100303]
[New Thread 2ac041c0 (LWP 100303)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2ac041c0 (LWP 100303)]
0x2a0cd9ed in QGListIterator::QGListIterator ()
   from /usr/local/lib/libqt-mt.so.3
(gdb) bt
28 feb         500     cash                524          43700
#0  0x2a0cd9ed in QGListIterator::QGListIterator ()
   from /usr/local/lib/libqt-mt.so.3
#1  0x28255724 in QPtrListIterator (this=0xbfbfe5fc, l=@0x2aedde60)
    at qptrlist.h:157
#2  0x28256766 in Digikam::AlbumManagerPriv::buildDirectoryModList (
    this=0x2aedf780, dbFile=@0xbfbfe68c) at albummanager.cpp:139
#3  0x2824d55e in Digikam::AlbumManager::setLibraryPath
(this=0x2af78dc0,
    path=@0xbfbfe790, splash=0x2ac48080) at albummanager.cpp:351
#4  0x2821072e in DigikamApp (this=0x2ac39680) at digikamapp.cpp:178
#5  0x0804add9 in main (argc=1, argv=0xbfbfe9b0) at main.cpp:113
(gdb) q

So I went to qt-3.3.8 and compiled it as well with symbols, but it does
not compile with

# make CFLAGS='-g' CXXFLAGS='-g' STRIP=' ' install

(without -q it does compile fine). I think, I'm at the end of this
storry. Thanks for your hint anyway.

        matthias

--
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[hidden email]> - w http://www.unixarea.de/
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users