Version: CVS>=20030504 (using KDE 3.1.9) Compiler: gcc version 3.3 (Debian) OS: Linux (i686) release 2.4.20-wolk4.1s Hi, when entering directory containing gimp images gwenview crashes bt follows: [New Thread 16384 (LWP 3251)] 0x45eb3af9 in wait4 () from /lib/libc.so.6 #0 0x45eb3af9 in wait4 () from /lib/libc.so.6 #1 0x45f26f60 in sys_sigabbrev () from /lib/libc.so.6 #2 0x45d97061 in waitpid () from /lib/libpthread.so.0 #3 0x454ab49a in KCrash::defaultCrashHandler(int) (sig=11) at kcrash.cpp:240 #4 0x45e409c8 in sigaction () from /lib/libc.so.6 #5 0x0807ea0a in XCFImageFormat::loadImageProperties(QDataStream&, XCFImageFormat::XCFImage&) (xcf_io=@0xbfffa680, xcf_image=@0xbfffa6a0) at qxcfi.cpp:757 #6 0x0807bba0 in XCFImageFormat::readXCF(QImageIO*) (image_io=0xbfffe800) at qxcfi.cpp:433 #7 0x458b8c06 in QImageIO::read() () from /usr/lib/libqt-mt.so.3 #8 0x458b7441 in QImage::loadFromData(unsigned char const*, unsigned, char const*) () from /usr/lib/libqt-mt.so.3 #9 0x458b74e8 in QImage::loadFromData(QMemArray<char>, char const*) () from /usr/lib/libqt-mt.so.3 #10 0x0806ee7a in GVPixmap::load() (this=0x81de968) at qmemarray.h:60 #11 0x0806e2eb in GVPixmap::setURL(KURL const&) (this=0x81de968, paramURL=@0xbfffebc0) at gvpixmap.cpp:103 #12 0x0806dcdc in GVPixmap::qt_invoke(int, QUObject*) (this=0x81de968, _id=2, _o=0xbfffeb60) at qucom_p.h:312 #13 0x458de072 in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/libqt-mt.so.3 #14 0x0807150b in GVFileViewStack::urlChanged(KURL const&) (this=0x82154f8, t0=@0xbfffebc0) at gvfileviewstack.moc:212 #15 0x08074a19 in GVFileViewStack::emitURLChanged() (this=0x82154f8) at gvfileviewstack.cpp:742 #16 0x08073333 in GVFileViewStack::browseTo(KFileItem*) (this=0x82154f8, item=0x8306558) at gvfileviewstack.cpp:242 #17 0x08073239 in GVFileViewStack::slotSelectFirst() (this=0x82154f8) at gvfileviewstack.cpp:218 #18 0x08074476 in GVFileViewStack::delayedDirListerCompleted() (this=0x82154f8) at gvfileviewstack.cpp:655 #19 0x080717a4 in GVFileViewStack::qt_invoke(int, QUObject*) (this=0x82154f8, _id=62, _o=0xbfffed40) at gvfileviewstack.moc:276 #20 0x458de072 in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/libqt-mt.so.3 #21 0x45b47d52 in QSignal::signal(QVariant const&) () from /usr/lib/libqt-mt.so.3 #22 0x458f4599 in QSignal::activate() () from /usr/lib/libqt-mt.so.3 #23 0x458fa6e7 in QSingleShotTimer::event(QEvent*) () from /usr/lib/libqt-mt.so.3 #24 0x45889d82 in QApplication::internalNotify(QObject*, QEvent*) () from /usr/lib/libqt-mt.so.3 #25 0x458895e8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libqt-mt.so.3 #26 0x454291b3 in KApplication::notify(QObject*, QEvent*) (this=0xbffff220, receiver=0x8240078, event=0xbffff040) at kapplication.cpp:463 #27 0x45867fab in QEventLoop::activateTimers() () from /usr/lib/libqt-mt.so.3 #28 0x45848cf1 in QEventLoop::processEvents(unsigned) () from /usr/lib/libqt-mt.so.3 #29 0x4589b3ff in QEventLoop::enterLoop() () from /usr/lib/libqt-mt.so.3 #30 0x4589b2bc in QEventLoop::exec() () from /usr/lib/libqt-mt.so.3 #31 0x45889f7c in QApplication::exec() () from /usr/lib/libqt-mt.so.3 #32 0x0806da1d in main (argc=7, argv=0xbffff3a4) at main.cpp:58
I can't reproduce this bug. Can you provide a sample xcf file?
Subject: Re: gwenview crashes on entering dir containing xcf files Dne
Thanks for the sample file. But I still have a problem: it works correctly on my machine. I even tried to generate a thousand copy of it in a dir and wasn't able to crash Gwenview. Can you try to rebuild Gwenview from scratch (ie. "make distclean", "./configure" and "make") ?
I finally managed to reproduce your bug. I couldn't reproduce it before because it only appeared if Gwenview was compiled with gcc 3.3. It's now fixed in CVS.