Bug 185971 - crash when switching to parent directory when in View mode
Summary: crash when switching to parent directory when in View mode
Status: RESOLVED DUPLICATE of bug 186187
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-02 17:28 UTC by Bartosz Gęza
Modified: 2012-10-19 13:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bartosz Gęza 2009-03-02 17:28:46 UTC
Version:           2.2.0 (using KDE 4.2.0)
Compiler:          gcc 4.3.3 
OS:                Linux
Installed from:    Gentoo Packages

When in View mode experienced a crash after switching to parent dir. 

Dir structure:
dir1/
dir1/subdir

In each directory there is one image (JPEG image data, JFIF standard 1.02)
I'm browsing dir1/subdir, I click on the image, then I press Alt+Up or choose parent dir from menu, then crash occurs. 

Program: Gwenview (gwenview), signal SIGSEGV
0x00007f92b08c8ba1 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 22745)]

Thread 4 (Thread 0x7f92a84ce950 (LWP 22746)):
#0  0x00007f92b34c1319 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f92b372ca6b in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f92b404cd04 in ?? () from /usr/kde/4.2/lib64/libgwenviewlib.so.4
#3  0x00007f92b372bd6f in QThreadPrivate::start () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f92b34bd3da in start_thread () from /lib/libpthread.so.0
#5  0x00007f92b0906ecd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f92a5aea950 (LWP 22749)):
#0  0x00007f92b34c159d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f92b372ca49 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f92b3724a5b in QThreadPoolThread::run () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f92b372bd6f in QThreadPrivate::start () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f92b34bd3da in start_thread () from /lib/libpthread.so.0
#5  0x00007f92b0906ecd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()
Current language:  auto; currently asm

Thread 2 (Thread 0x7f92a52e9950 (LWP 22752)):
#0  0x00007f92b34c159d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f92b372ca49 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f92b3724a5b in QThreadPoolThread::run () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f92b372bd6f in QThreadPrivate::start () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f92b34bd3da in start_thread () from /lib/libpthread.so.0
#5  0x00007f92b0906ecd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f92b46e0750 (LWP 22745)):
[KCrash Handler]
#5  0x00007f92b3bee7b0 in KDirModelNode::rowNumber () from /usr/kde/4.2/lib64/libkio.so.5
#6  0x00007f92b3bee92d in KDirModelPrivate::indexForNode () from /usr/kde/4.2/lib64/libkio.so.5
#7  0x00007f92b3bee9bb in KDirModel::parent () from /usr/kde/4.2/lib64/libkio.so.5
#8  0x00007f92b19887ab in QSortFilterProxyModelPrivate::_q_sourceDataChanged () from /usr/lib64/qt4/libQtGui.so.4
#9  0x00007f92b198acbf in QSortFilterProxyModel::qt_metacall () from /usr/lib64/qt4/libQtGui.so.4
#10 0x00007f92b40250c8 in Gwenview::SortedDirModel::qt_metacall () from /usr/kde/4.2/lib64/libgwenviewlib.so.4
#11 0x00007f92b37fe770 in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#12 0x00007f92b382c511 in QAbstractItemModel::dataChanged () from /usr/lib64/qt4/libQtCore.so.4
#13 0x00007f92b40462f1 in ?? () from /usr/kde/4.2/lib64/libgwenviewlib.so.4
#14 0x00007f92b40466b7 in ?? () from /usr/kde/4.2/lib64/libgwenviewlib.so.4
#15 0x00007f92b37fbaff in QObject::event () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007f92b14cc66d in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4
#17 0x00007f92b14d423a in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#18 0x00007f92b2e3aa6c in KApplication::notify () from /usr/kde/4.2/lib64/libkdeui.so.5
#19 0x00007f92b37ee60e in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007f92b37eee08 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007f92b3810159 in postEventSourceDispatch () from /usr/lib64/qt4/libQtCore.so.4
#22 0x00007f92ad58504f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#23 0x00007f92ad5884a5 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#24 0x00007f92ad5886af in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#25 0x00007f92b380fe49 in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#26 0x00007f92b1545d36 in QGuiEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007f92b37ed364 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#28 0x00007f92b37ed4e8 in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#29 0x00007f92b37ef06c in QCoreApplication::exec () from /usr/lib64/qt4/libQtCore.so.4
#30 0x000000000043c936 in _start ()

gwenview compiled with flags
-O2 -march=nocona -pipe -fno-ident -fomit-frame-pointer -funroll-loops -msse -msse2
Comment 1 Aurelien Gateau 2009-03-02 19:39:23 UTC
It works for me... both trunk and 4.2. But I am using Qt 4.5, maybe that's the difference.
Comment 2 Bartosz Gęza 2009-03-02 20:38:01 UTC
(In reply to comment #1)
> It works for me... both trunk and 4.2. But I am using Qt 4.5, maybe that's the
> difference.

My version of Qt is 4.5.0-rc1
I've successfully reproduced this bug on another user's Gentoo laptop.
Comment 3 Andrey Cherepanov 2009-03-06 10:15:32 UTC

*** This bug has been marked as a duplicate of bug 186187 ***