Bug 176452 - Crash when opening file
Summary: Crash when opening file
Status: RESOLVED WORKSFORME
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: SVN
Platform: Compiled Sources Linux
: HI crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-29 15:08 UTC by Luciano Leveroni
Modified: 2009-01-18 19:58 UTC (History)
2 users (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 Luciano Leveroni 2008-11-29 15:08:43 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

On some specific combination when navigating through folders in the open dialog the application crashes.

I've using KDE 4.2 Beta 1 from Archlinux KDEMod repositories.

Here's the backtrace:

Application: Kate (kate), signal SIGABRT

Thread 1 (Thread 0xb5f269d0 (LWP 3729)):
[KCrash Handler]
#6  0xb8025424 in __kernel_vsyscall ()
#7  0xb662f720 in raise () from /lib/libc.so.6
#8  0xb6631058 in abort () from /lib/libc.so.6
#9  0xb716f815 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb716f8c6 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb716f955 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb79f6755 in KDirListerCacheDirectoryData::moveListersWithoutCachedItemsJob (this=0x9e1d62c) at /data-share/Build/kdemod-core42/work/kdelibs/src/kdelibs-4.1.80/kio/kio/kdirlister.cpp:2533
#13 0xb79fd435 in KDirListerCache::slotResult (this=0x9b89fd0, j=0x9e72c80) at /data-share/Build/kdemod-core42/work/kdelibs/src/kdelibs-4.1.80/kio/kio/kdirlister.cpp:1063
#14 0xb7a0ad9c in KDirListerCache::qt_metacall (this=0x9b89fd0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfc3f8fc)
    at /data-share/Build/kdemod-core42/work/kdelibs/src/build/kio/kdirlister_p.moc:98
#15 0xb726281b in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb7262d72 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#17 0xb741b313 in KJob::result (this=0x9e72c80, _t1=0x9e72c80) at /data-share/Build/kdemod-core42/work/kdelibs/src/build/kdecore/kjob.moc:186
#18 0xb741b829 in KJob::emitResult (this=0x9e72c80) at /data-share/Build/kdemod-core42/work/kdelibs/src/kdelibs-4.1.80/kdecore/jobs/kjob.cpp:294
#19 0xb79d6f35 in KIO::SimpleJob::slotFinished (this=0x9e72c80) at /data-share/Build/kdemod-core42/work/kdelibs/src/kdelibs-4.1.80/kio/kio/job.cpp:489
#20 0xb79d9f2e in KIO::ListJob::slotFinished (this=0x9e72c80) at /data-share/Build/kdemod-core42/work/kdelibs/src/kdelibs-4.1.80/kio/kio/job.cpp:2416
#21 0xb79dc043 in KIO::ListJob::qt_metacall (this=0x9e72c80, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfc3fae8) at /data-share/Build/kdemod-core42/work/kdelibs/src/build/kio/jobclasses.moc:747
#22 0xb726281b in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#23 0xb7262d72 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#24 0xb7a9f987 in KIO::SlaveInterface::finished (this=0x9e0cbb0) at /data-share/Build/kdemod-core42/work/kdelibs/src/build/kio/slaveinterface.moc:163
#25 0xb7aa3787 in KIO::SlaveInterface::dispatch (this=0x9e0cbb0, _cmd=104, rawdata=@0xbfc3fcb4) at /data-share/Build/kdemod-core42/work/kdelibs/src/kdelibs-4.1.80/kio/kio/slaveinterface.cpp:175
#26 0xb7a9fe6d in KIO::SlaveInterface::dispatch (this=0x9e0cbb0) at /data-share/Build/kdemod-core42/work/kdelibs/src/kdelibs-4.1.80/kio/kio/slaveinterface.cpp:91
#27 0xb7a9123d in KIO::Slave::gotInput (this=0x9e0cbb0) at /data-share/Build/kdemod-core42/work/kdelibs/src/kdelibs-4.1.80/kio/kio/slave.cpp:322
#28 0xb7a923b3 in KIO::Slave::qt_metacall (this=0x9e0cbb0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfc3fdc8) at /data-share/Build/kdemod-core42/work/kdelibs/src/build/kio/slave.moc:75
#29 0xb726281b in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#30 0xb7262d72 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#31 0xb799bc67 in KIO::Connection::readyRead (this=0x9e49b58) at /data-share/Build/kdemod-core42/work/kdelibs/src/build/kio/connection.moc:84
#32 0xb799dd29 in KIO::ConnectionPrivate::dequeue (this=0x9e49b58) at /data-share/Build/kdemod-core42/work/kdelibs/src/kdelibs-4.1.80/kio/kio/connection.cpp:82
#33 0xb799deb6 in KIO::Connection::qt_metacall (this=0x9e49b58, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x991c710) at /data-share/Build/kdemod-core42/work/kdelibs/src/build/kio/connection.moc:72
#34 0xb725d73b in QMetaCallEvent::placeMetaCall () from /usr/lib/libQtCore.so.4
#35 0xb725f2e1 in QObject::event () from /usr/lib/libQtCore.so.4
#36 0xb69b8a8c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#37 0xb69bee8e in QApplication::notify () from /usr/lib/libQtGui.so.4
#38 0xb77537dd in KApplication::notify (this=0xbfc416d8, receiver=0x9e49b58, event=0x9e76378) at /data-share/Build/kdemod-core42/work/kdelibs/src/kdelibs-4.1.80/kdeui/kernel/kapplication.cpp:307
#39 0xb7250fc1 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#40 0xb7251919 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#41 0xb7251aad in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#42 0xb72779ef in ?? () from /usr/lib/libQtCore.so.4
#43 0x00000000 in ?? ()
Comment 1 Dario Andres 2008-12-04 10:56:34 UTC
Have you experienced this bug again? Can you describe the steps that leads to this crash? (folders you browse, folders you have, file types do you have)? Thanks :)
Comment 2 Luciano Leveroni 2008-12-04 12:57:01 UTC
Hi. Yes, this stills happens. I haven't found a clear pattern to reproduce this, but basically the idea is:
1. I open Kate and select the Open file option. The base folder is: /srv/http/moduloPagos/classes/dao 
2. If I go up 2 or more levels up (eg. /srv/http/moduloPagos/) and then click on a folder (any apparently) the application crashes. If I go only one level everything works as expected. Also, if I go up one level and go into a folder, then go back and browse two or more levels the applications does NOT crash anymore.

Quite strange really but I can reproduce it. I'm using KDE 4.1.81 (from KDEmod archlinux)

Comment 3 Dario Andres 2008-12-08 22:25:22 UTC
Here:

Qt: 4.4.3
KDE: 4.1.82 (KDE 4.1.82 (KDE 4.2 >= 20081204))
KWrite: 4.1.82 (KDE 4.1.82 (KDE 4.2 >= 20081204))
kdelibs svn rev.893007
kdebase svn rev.893019

Even following the steps in comment 2, I can't reproduce the bug. (maybe it was already fixed in SVN)
Comment 4 Dario Andres 2009-01-17 23:51:22 UTC
@Luciano: can you still reproduce this ?
Comment 5 Luciano Leveroni 2009-01-18 18:13:54 UTC
No, I can't reproduce it anymore. :)
Comment 6 Dario Andres 2009-01-18 19:58:04 UTC
Well. marking as WORKSFORME.
Please re-open this bug report if you experience the same bug again. Thanks :)