Version: 2.2.2. (using KDE 4.2.2) OS: Linux Installed from: Ubuntu Packages I am viewing images from a .zip file. Switch to full screen mode. I can navigate through the directory (Pg-up, Pg-down) for some time with out any problem. Then gwenview crashes for no obvious reason, sometimes even without being given any command. When the crash happens, the following line appears on the commandline: sock_file=/home/<user>/.kde/socket-<user>-<machine>/kdeinit4__0 The crash never happened on the first couple of images, it takes a while (20-40 images). When viewing the same directory (.zip) again, the crash happens at different locations, or may not happen at all. The crash appears since my upgrade to Ubuntu 9.04 from 8.10 via the Ubuntu's automatic update. In 8.10 gwenview was working without problems (I do not know the version in 8.10, however).
If you experience this regularly, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? You may need to install the "kdegraphics-dbg" package. Thanks
*** glibc detected *** gwenview: double free or corruption (fasttop): 0x00007fc364028710 *** ======= Backtrace: ========= /lib/libc.so.6[0x7fc3762b1cb8] /lib/libc.so.6(cfree+0x76)[0x7fc3762b4276] /usr/lib/libQtDBus.so.4[0x7fc376d7fd28] /usr/lib/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0x47d)[0x7fc37941989d] /usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xbd)[0x7fc37760778d] /usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x9a)[0x7fc37760f97a] /usr/lib/libkdeui.so.5(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x3b)[0x7fc3784d026b] /usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8c)[0x7fc37940975c] /usr/lib/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x2da)[0x7fc37940a3ca] /usr/lib/libQtCore.so.4[0x7fc3794331e3] /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x24a)[0x7fc37344720a] /usr/lib/libglib-2.0.so.0[0x7fc37344a8e0] /usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x6c)[0x7fc37344aa7c] /usr/lib/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x4f)[0x7fc379432e6f] /usr/lib/libQtGui.so.4[0x7fc37769fbef] /usr/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x32)[0x7fc379408002] /usr/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xcd)[0x7fc3794083cd] /usr/lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0xc4)[0x7fc37940a694] gwenview[0x43d203] /lib/libc.so.6(__libc_start_main+0xe6)[0x7fc3762585a6] gwenview[0x423d09] ======= Memory map: ======== 00400000-0046c000 r-xp 00000000 08:06 670969 /usr/bin/gwenview 0066b000-0066c000 r--p 0006b000 08:06 670969 /usr/bin/gwenview 0066c000-0066f000 rw-p 0006c000 08:06 670969 /usr/bin/gwenview 0066f000-00670000 rw-p 0066f000 00:00 0 00bc1000-01ea3000 rw-p 00bc1000 00:00 0 [heap] 7fc3608c9000-7fc3608ca000 ---p 7fc3608c9000 00:00 0 7fc3608ca000-7fc3610ca000 rw-p 7fc3608ca000 00:00 0 7fc3610ca000-7fc3610cb000 ---p 7fc3610ca000 00:00 0 7fc3610cb000-7fc3618cb000 rw-p 7fc3610cb000 00:00 0 7fc3618cb000-7fc361923000 r-xp 00000000 08:06 672901 /usr/lib/libtiff.so.4.2.1 7fc361923000-7fc361b23000 ---p 00058000 08:06 672901 /usr/lib/libtiff.so.4.2.1 7fc361b23000-7fc361b25000 r--p 00058000 08:06 672901 /usr/lib/libtiff.so.4.2.1 7fc361b25000-7fc361b26000 rw-p 0005a000 08:06 672901 /usr/lib/libtiff.so.4.2.1 7fc361b26000-7fc361b2b000 r-xp 00000000 08:06 982131 /usr/lib/qt4/plugins/imageformats/libqtiff.so 7fc361b2b000-7fc361d2a000 ---p 00005000 08:06 982131 /usr/lib/qt4/plugins/imageformats/libqtiff.so 7fc361d2a000-7fc361d2b000 r--p 00004000 08:06 982131 /usr/lib/qt4/plugins/imageformats/libqtiff.so 7fc361d2b000-7fc361d2c000 rw-p 00005000 08:06 982131 /usr/lib/qt4/plugins/imageformats/libqtiff.so 7fc361d2c000-7fc361d30000 r-xp 00000000 08:06 982110 /usr/lib/qt4/plugins/imageformats/libqsvg.so 7fc361d30000-7fc361f2f000 ---p 00004000 08:06 982110 /usr/lib/qt4/plugins/imageformats/libqsvg.so 7fc361f2f000-7fc361f30000 r--p 00003000 08:06 982110 /usr/lib/qt4/plugins/imageformats/libqsvg.so 7fc361f30000-7fc361f31000 rw-p 00004000 08:06 982110 /usr/lib/qt4/plugins/imageformats/libqsvg.so 7fc361f31000-7fc361f65000 r-xp 00000000 08:06 670507 /usr/lib/liblcms.so.1.0.18 7fc361f65000-7fc362164000 ---p 00034000 08:06 670507 /usr/lib/liblcms.so.1.0.18 7fc362164000-7fc362165000 r--p 00033000 08:06 670507 /usr/lib/liblcms.so.1.0.18 7fc362165000-7fc362166000 rw-p 00034000 08:06 670507 /usr/lib/liblcms.so.1.0.18 7fc362166000-7fc362168000 rw-p 7fc362166000 00:00 0 7fc362168000-7fc3621e2000 r-xp 00000000 08:06 672649 /usr/lib/libmng.so.1.1.0.9 7fc3621e2000-7fc3622e1000 ---p 0007a000 08:06 672649 /usr/lib/libmng.so.1.1.0.9 7fc3622e1000-7fc3622e6000 rw-p 00079000 08:06 672649 /usr/lib/libmng.so.1.1.0.9 7fc3622e6000-7fc3622ec000 r-xp 00000000 08:06 982130 /usr/lib/qt4/plugins/imageformats/libqmng.so 7fc3622ec000-7fc3624eb000 ---p 00006000 08:06 982130 /usr/lib/qt4/plugins/imageformats/libqmng.so 7fc3624eb000-7fc3624ec000 r--p 00005000 08:06 982130 /usr/lib/qt4/plugins/imageformats/libqmng.so 7fc3624ec000-7fc3624ed000 rw-p 00006000 08:06 982130 /usr/lib/qt4/plugins/imageformats/libqmng.so 7fc3624ed000-7fc3624f3000 r-xp 00000000 08:06 982111 /usr/lib/qt4/plugins/imageformats/libqico.so 7fc3624f3000-7fc3626f3000 ---p 00006000 08:06 982111 /usr/lib/qt4/plugins/imageformats/libqico.so 7fc3626f3000-7fc3626f4000 r--p 00006000 08:06 982111 /usr/lib/qt4/plugins/imageformats/libqico.so 7fc3626f4000-7fc3626f5000 rw-p 00007000 08:06 982111 /usr/lib/qt4/plugins/imageformats/libqico.so 7fc3626f5000-7fc3626fb000 r-xp 00000000 08:06 981514 /usr/lib/qt4/plugins/imageformats/libqgif.so 7fc3626fb000-7fc3628fa000 ---p 00006000 08:06 981514 /usr/lib/qt4/plugins/imageformats/libqgif.so 7fc3628fa000-7fc3628fb000 r--p 00005000 08:06 981514 /usr/lib/qt4/plugins/imageformats/libqgif.so 7fc3628fb000-7fc3628fc000 rw-p 00006000 08:06 981514 /usr/lib/qt4/plugins/imageformats/libqgif.so 7fc3628fc000-7fc362900000 r-xp 00000000 08:06 1120442 /usr/lib/kde4/plugins/imageformats/kimg_xview.so 7fc362900000-7fc362aff000 ---p 00004000 08:06 1120442 /usr/lib/kde4/plugins/imageformats/kimg_xview.so 7fc362aff000-7fc362b00000 r--p 00003000 08:06 1120442 /usr/lib/kde4/plugins/imageformats/kimg_xview.so 7fc362b00000-7fc362b01000 rw-p 00004000 08:06 1120442 /usr/lib/kde4/plugins/imageformats/kimg_xview.so 7fc362b01000-7fc362b11000 r-xp 00000000 08:06 1120219 /usr/lib/kde4/plugins/imageformats/kimg_xcf.so 7fc362b11000-7fc362d10000 ---p 00010000 08:06 1120219 /usr/lib/kde4/plugins/imageformats/kimg_xcf.so 7fc362d10000-7fc362d11000 r--p 0000f000 08:06 1120219 /usr/lib/kde4/plugins/imageformats/kimg_xcf.so 7fc362d11000-7fc362d12000 rw-p 00010000 08:06 1120219 /usr/lib/kde4/plugins/imageformats/kimg_xcf.so 7fc362d12000-7fc362d16000 rw-p 7fc362d12000 00:00 0 7fc362d16000-7fc362d1c000 r-xp 00000000 08:06 1120218 /usr/lib/kde4/plugins/imageformats/kimg_tga.so 7fc362d1c000-7fc362f1b000 ---p 00006000 08:06 1120218 /usr/lib/kde4/plugins/imageformats/kimg_tga.so 7fc362f1b000-7fc362f1c000 r--p 00005000 08:06 1120218 /usr/lib/kde4/plugins/imageformats/kimg_tga.so 7fc362f1c000-7fc362f1d000 rw-p 00006000 08:06 1120218 /usr/lib/kde4/plugins/imageformats/kimg_tga.so 7fc362f1d000-7fc362f27000 r-xp 00000000 08:06 1120217 /usr/lib/kde4/plugins/imageformats/kimg_rgb.so 7fc362f27000-7fc363127000 ---p 0000a000 08:06 1120217 /usr/lib/kde4/plugins/imageformats/kimg_rgb.so 7fc363127000-7fc363128000 r--p 0000a000 08:06 1120217 /usr/lib/kde4/plugins/imageformats/kimg_rgb.so 7fc363128000-7fc363129000 rw-p 0000b000 08:06 1120217 /usr/lib/kde4/plugins/imageformats/kimg_rgb.so 7fc363129000-7fc36312e000 r-xp 00000000 08:06 1120216 /usr/lib/kde4/plugins/imageformats/kimg_psd.so 7fc36312e000-7fc36332d000 ---p 00005000 08:06 1120216 /usr/lib/kde4/plugins/imageformats/kimg_psd.so 7fc36332d000-7fc36332e000 r--p 00004000 08:06 1120216 /usr/lib/kde4/plugins/imageformats/kimg_psd.so 7fc36332e000-7fc36332f000 rw-p 00005000 08:06 1120216 /usr/lib/kde4/plugins/imageformats/kimg_psd.so 7fc36332f000-7fc363338000 r-xp 00000000 08:06 1120215 /usr/lib/kde4/plugins/imageformats/kimg_pcx.so 7fc363338000-7fc363537000 ---p 00009000 08:06 1120215 /usr/lib/kde4/plugins/imageformats/kimg_pcx.so 7fc363537000-7fc363538000 r--p 00008000 08:06 1120215 /usr/lib/kde4/plugins/imageformats/kimg_pcx.so 7fc363538000-7fc363539000 rw-p 00009000 08:06 1120215 /usr/lib/kde4/plugins/imageformats/kimg_pcx.so 7fc363539000-7fc363585000 r-xp 00000000 08:06 673690 sock_file=/home/wp/.kde/socket-wp-tecra-S5/kdeinit4__0
Thanks for the backtrace: it shows that this is a "double-free" bug. This is much easier to debug if you run Gwenview through Valgrind. Can you: - install Valgrind - open a terminal - run "valgrind gwenview" - use Gwenview until it crashes (note: it will be much slower than normal) - post Valgrind terminal output
I think I have a similar problem. I suprisingly noticed that Gwenview can now display video files. But in Fullscreen mode it randomly crashs when playing them. I'm using ArchLinux 64-bit. I can't give you a usefull backtrace, but I have used valgrind as mentioned above. The different runs are seperated with ---------------------------------------------------------------------------
@Tilmann Sult: I think the crash with Videos using fullscreen is already reported in another bug number. If you have output to paste, can you do it in a new bug report? (to not mix it with this one) ? Thanks!
I tried to do the valgrind thing as requested above. However, I cannot really test the program now and replicate the crashes, because gwenview DOES NOT BROWSE INTO ZIP files anymore. I have Ubuntu 9.04, no idea why this feature has vanished. I am posting the valgrind output anyway: -------------------------------------------------------------------------------- ==5159== Memcheck, a memory error detector. ==5159== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al. ==5159== Using LibVEX rev 1884, a library for dynamic binary translation. ==5159== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP. ==5159== Using valgrind-3.4.1-Debian, a dynamic binary instrumentation framework. ==5159== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al. ==5159== For more details, rerun with: -v ==5159== "/usr/bin/gwenview(5159)" Error in thread 67488416 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/gwenview(5159)" Error in thread 67488416 : "QLocalSocket::connectToServer: Invalid name" gwenview(5159) <unnamed>::GlobalModelContainer::init: Failed to connect to Nepomuk server via local socket "/home/wp/.kde/share/apps/nepomuk/socket" gwenview(5159): Attempt to use QAction "edit_redo" with KXMLGUIFactory! gwenview(5159): Attempt to use QAction "edit_undo" with KXMLGUIFactory! ==5159== Syscall param write(buf) points to uninitialised byte(s) ==5159== at 0x8A62FCB: write (in /lib/libc-2.9.so) ==5159== by 0x985CEFE: (within /usr/lib/libICE.so.6.3.0) ==5159== by 0x9860787: _IceWrite (in /usr/lib/libICE.so.6.3.0) ==5159== by 0x9860863: IceFlush (in /usr/lib/libICE.so.6.3.0) ==5159== by 0x70FA26C: (within /usr/lib/libQtGui.so.4.5.0) ==5159== by 0x70FE27F: (within /usr/lib/libQtGui.so.4.5.0) ==5159== by 0x7102186: (within /usr/lib/libQtGui.so.4.5.0) ==5159== by 0x7102EA9: (within /usr/lib/libQtGui.so.4.5.0) ==5159== by 0x96506F6: _SmcProcessMessage (in /usr/lib/libSM.so.6.0.0) ==5159== by 0x9864BDF: IceProcessMessages (in /usr/lib/libICE.so.6.3.0) ==5159== by 0x70FA898: (within /usr/lib/libQtGui.so.4.5.0) ==5159== by 0x59A11F1: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib/libQtCore.so.4.5.0) ==5159== Address 0x146a9ee4 is 12 bytes inside a block of size 1,024 alloc'd ==5159== at 0x4C25684: calloc (vg_replace_malloc.c:397) ==5159== by 0x9859373: IceOpenConnection (in /usr/lib/libICE.so.6.3.0) ==5159== by 0x964CA00: SmcOpenConnection (in /usr/lib/libSM.so.6.0.0) ==5159== by 0x71014CD: QSessionManager::QSessionManager(QApplication*, QString&, QString&) (in /usr/lib/libQtGui.so.4.5.0) ==5159== by 0x70A31B7: QApplicationPrivate::initialize() (in /usr/lib/libQtGui.so.4.5.0) ==5159== by 0x70A32C8: QApplicationPrivate::construct(_XDisplay*, unsigned long, unsigned long) (in /usr/lib/libQtGui.so.4.5.0) ==5159== by 0x70A3EE7: QApplication::QApplication(int&, char**, bool, int) (in /usr/lib/libQtGui.so.4.5.0) ==5159== by 0x68848A7: KApplication::KApplication(bool) (in /usr/lib/libkdeui.so.5.2.0) ==5159== by 0x43D14D: (within /usr/bin/gwenview) ==5159== by 0x89A95A5: (below main) (in /lib/libc-2.9.so) ==5159== ==5159== Conditional jump or move depends on uninitialised value(s) ==5159== at 0x5967D01: QFSFileEngine::fileName(QAbstractFileEngine::FileName) const (in /usr/lib/libQtCore.so.4.5.0) ==5159== by 0x592485F: (within /usr/lib/libQtCore.so.4.5.0) ==5159== by 0x5924A5A: QFileInfo::readLink() const (in /usr/lib/libQtCore.so.4.5.0) ==5159== by 0x591FEF3: QFile::readLink(QString const&) (in /usr/lib/libQtCore.so.4.5.0) ==5159== by 0x94135D3: (within /usr/lib/libsolid.so.4.2.0) ==5159== by 0x9413AB9: (within /usr/lib/libsolid.so.4.2.0) ==5159== by 0x9413D6B: (within /usr/lib/libsolid.so.4.2.0) ==5159== by 0x9420F59: (within /usr/lib/libsolid.so.4.2.0) ==5159== by 0x942641F: (within /usr/lib/libsolid.so.4.2.0) ==5159== by 0x93EB717: Solid::StorageVolume::qt_metacall(QMetaObject::Call, int, void**) (in /usr/lib/libsolid.so.4.2.0) ==5159== by 0x5992EC4: QMetaProperty::read(QObject const*) const (in /usr/lib/libQtCore.so.4.5.0) ==5159== by 0x599E295: QObject::property(char const*) const (in /usr/lib/libQtCore.so.4.5.0) QPainter::begin: Cannot paint on a null pixmap QPainter::begin: Cannot paint on a null pixmap ==5159== ==5159== Conditional jump or move depends on uninitialised value(s) ==5159== at 0x7204175: (within /usr/lib/libQtGui.so.4.5.0) ==5159== by 0x7204957: QRegion::QRegion(QPolygon const&, Qt::FillRule) (in /usr/lib/libQtGui.so.4.5.0) ==5159== by 0x728B610: (within /usr/lib/libQtGui.so.4.5.0) ==5159== by 0x71B663B: (within /usr/lib/libQtGui.so.4.5.0) ==5159== by 0x71B673D: (within /usr/lib/libQtGui.so.4.5.0) ==5159== by 0x71BBF52: QPainter::setClipRegion(QRegion const&, Qt::ClipOperation) (in /usr/lib/libQtGui.so.4.5.0) ==5159== by 0x1501243A: (within /usr/lib/kde4/plugins/styles/oxygen.so) ==5159== by 0x598AA67: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.5.0) ==5159== by 0x709E75B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.0) ==5159== by 0x70A6979: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.0) ==5159== by 0x688126A: KApplication::notify(QObject*, QEvent*) (in /usr/lib/libkdeui.so.5.2.0) ==5159== by 0x598B75B: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.5.0) ==5159== ==5159== Conditional jump or move depends on uninitialised value(s) ==5159== at 0x7204175: (within /usr/lib/libQtGui.so.4.5.0) ==5159== by 0x7204957: QRegion::QRegion(QPolygon const&, Qt::FillRule) (in /usr/lib/libQtGui.so.4.5.0) ==5159== by 0x728B25D: (within /usr/lib/libQtGui.so.4.5.0) ==5159== by 0x71B663B: (within /usr/lib/libQtGui.so.4.5.0) ==5159== by 0x71B673D: (within /usr/lib/libQtGui.so.4.5.0) ==5159== by 0x71BBF52: QPainter::setClipRegion(QRegion const&, Qt::ClipOperation) (in /usr/lib/libQtGui.so.4.5.0) ==5159== by 0x1501243A: (within /usr/lib/kde4/plugins/styles/oxygen.so) ==5159== by 0x598AA67: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.5.0) ==5159== by 0x709E75B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.0) ==5159== by 0x70A6979: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.5.0) ==5159== by 0x688126A: KApplication::notify(QObject*, QEvent*) (in /usr/lib/libkdeui.so.5.2.0) ==5159== by 0x598B75B: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.5.0) ==5159== ==5159== ERROR SUMMARY: 8 errors from 4 contexts (suppressed: 4120 from 5) ==5159== malloc/free: in use at exit: 3,396,793 bytes in 15,009 blocks. ==5159== malloc/free: 706,728 allocs, 691,719 frees, 126,749,652 bytes allocated. ==5159== For counts of detected errors, rerun with: -v ==5159== Use --track-origins=yes to see where uninitialised values come from ==5159== searching for pointers to 15,009 not-freed blocks. ==5159== checked 3,477,112 bytes. ==5159== ==5159== LEAK SUMMARY: ==5159== definitely lost: 922,091 bytes in 1,511 blocks. ==5159== possibly lost: 236,300 bytes in 282 blocks. ==5159== still reachable: 2,238,402 bytes in 13,216 blocks. ==5159== suppressed: 0 bytes in 0 blocks. ==5159== Rerun with --leak-check=full to see details of leaked memory.
Is this still valid for Gwenview 4.10 or later? I don't have any .zip archive to test this with
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!