Bug 172336 - Crash in KDIrModel
Summary: Crash in KDIrModel
Status: RESOLVED DUPLICATE of bug 176139
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: SVN
Platform: Mandriva RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-07 14:36 UTC by Rémy CLOUARD
Modified: 2008-12-04 21:01 UTC (History)
3 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 Rémy CLOUARD 2008-10-07 14:36:52 UTC
Version:            (using KDE 4.1.2)
OS:                Linux
Installed from:    Mandriva RPMs

Using the searchbar with the filebrowser causes an instant crash. The searchbar is working properly with the collectionbrowser though.

Component : filebrowser

Steps to reproduce
1- Launch Amarok
2- Click on the "Files" Tab
3- Go to a directory where you have music files
4- Try to search for one
5- Amarok crashes instantly

How reproducible
always

Version : svn866096 (Mandriva RPMs)

gdb output :
Program received signal SIGSEGV, Segmentation fault.
KDirModelNode::rowNumber (this=0x0)
    at /usr/src/debug/kdelibs-4.1.2/kio/kio/kdirmodel.cpp:97
97          if (!m_parent) return 0;
Comment 1 Mark Kretschmann 2008-10-07 14:43:26 UTC
The crash is in KDirModel, so I'm reassigning to KDE.
Comment 2 David Faure 2008-10-10 22:20:09 UTC
A backtrace would have been helpful, while being in gdb ;)

I'll have a look -- once svn is back up so that I can check out extragear/multimedia :)
Comment 3 David Faure 2008-10-27 13:13:36 UTC
I can't compile amarok, probably due to -pedantic:

amarok/src/scriptengine/generator/generator/parser/codemodel.h:172: error: ISO C++ prohibits anonymous structs
(and the same on lines 505 and 567)
Comment 4 Mark Kretschmann 2008-10-27 14:39:38 UTC
In amarok/CMakeLists.txt, remove this line: add_subdirectory( src/scriptengine/generator )
Comment 5 Mark Kretschmann 2008-10-27 15:29:42 UTC
I can confirm this with KDE trunk. Crashes instantly.

Backtrace:

Thread 1 (Thread 0x7fed7caf1730 (LWP 314)):
[KCrash Handler]
#4  0x00007fed89f9e095 in raise () from /lib/libc.so.6
#5  0x00007fed89f9faf0 in abort () from /lib/libc.so.6
#6  0x00007fed8b75c055 in qt_message_output () from /usr/lib/libQtCore.so.4
#7  0x00007fed8b75c19d in qFatal () from /usr/lib/libQtCore.so.4
#8  0x00007fed870db5e7 in KDirModelPrivate::_k_slotDeleteItems (this=0x11c40d0, items=@0x7fff93fc3e30) at /home/mark/kde/src/kdelibs/kio/kio/kdirmodel.cpp:439
#9  0x00007fed870dc2cf in KDirModel::qt_metacall (this=0x11c3c90, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff93fc3d40) at /home/mark/kde/build/kdelibs/kio/kdirmodel.moc:77
#10 0x00007fed8b8598b6 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#11 0x00007fed870c2b75 in KDirLister::itemsDeleted (this=0x115f560, _t1=@0x7fff93fc3e30) at /home/mark/kde/build/kdelibs/kio/kdirlister.moc:277
#12 0x00007fed870cd354 in KDirLister::emitChanges (this=0x115f560) at /home/mark/kde/src/kdelibs/kio/kio/kdirlister.cpp:1976
#13 0x00007fed86218416 in KDirOperator::updateDir (this=0x115df10) at /home/mark/kde/src/kdelibs/kfile/kdiroperator.cpp:1080
#14 0x00007fed8acf4fc5 in FileBrowser::Widget::slotFilterChange (this=0x11b5ad0, nf=@0x7fff93fc4260) at /home/mark/kde/src/amarok/src/browsers/filebrowser/FileBrowser.cpp:326
#15 0x00007fed8acf511b in FileBrowser::Widget::qt_metacall (this=0x11b5ad0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff93fc4050) at /home/mark/kde/build/amarok/src/FileBrowser.moc:121
#16 0x00007fed8b8598b6 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#17 0x00007fed8928cec2 in QComboBox::editTextChanged () from /usr/lib/libQtGui.so.4
#18 0x00007fed89296621 in QComboBox::qt_metacall () from /usr/lib/libQtGui.so.4
#19 0x00007fed89bca0f4 in KComboBox::qt_metacall (this=0x11a7350, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0x7fff93fc4230) at /home/mark/kde/build/kdelibs/kdeui/kcombobox.moc:99
#20 0x00007fed89bded3b in KHistoryComboBox::qt_metacall (this=0x11a7350, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0x7fff93fc4230) at /home/mark/kde/build/kdelibs/kdeui/khistorycombobox.moc:76
#21 0x00007fed8b8598b6 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#22 0x00007fed892ca602 in QLineEdit::textChanged () from /usr/lib/libQtGui.so.4
#23 0x00007fed892cea48 in ?? () from /usr/lib/libQtGui.so.4
#24 0x00007fed892d1207 in QLineEdit::keyPressEvent () from /usr/lib/libQtGui.so.4
#25 0x00007fed89bea2fc in KLineEdit::keyPressEvent (this=0x11a9c90, e=0x7fff93fc51a0) at /home/mark/kde/src/kdelibs/kdeui/widgets/klineedit.cpp:875
#26 0x00007fed88fb7fd1 in QWidget::event () from /usr/lib/libQtGui.so.4
#27 0x00007fed892d17eb in QLineEdit::event () from /usr/lib/libQtGui.so.4
#28 0x00007fed89be78ba in KLineEdit::event (this=0x11a9c90, ev=0x7fff93fc51a0) at /home/mark/kde/src/kdelibs/kdeui/widgets/klineedit.cpp:1295
#29 0x00007fed8929302f in QComboBox::keyPressEvent () from /usr/lib/libQtGui.so.4
#30 0x00007fed89bde48a in KHistoryComboBox::keyPressEvent (this=0x11a7350, e=0x7fff93fc51a0) at /home/mark/kde/src/kdelibs/kdeui/widgets/khistorycombobox.cpp:344
#31 0x00007fed88fb7fd1 in QWidget::event () from /usr/lib/libQtGui.so.4
#32 0x00007fed892903dd in QComboBox::event () from /usr/lib/libQtGui.so.4
#33 0x00007fed88f6aacf in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#34 0x00007fed88f6d3f2 in QApplication::notify () from /usr/lib/libQtGui.so.4
#35 0x00007fed89b233d2 in KApplication::notify (this=0x7fff93fc60d0, receiver=0x11a7350, event=0x7fff93fc51a0) at /home/mark/kde/src/kdelibs/kdeui/kernel/kapplication.cpp:307
#36 0x00007fed8b8456b9 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#37 0x00007fed88fc167c in ?? () from /usr/lib/libQtGui.so.4
#38 0x00007fed88ff0db4 in ?? () from /usr/lib/libQtGui.so.4
#39 0x00007fed88ff2fa0 in ?? () from /usr/lib/libQtGui.so.4
#40 0x00007fed88fcdd08 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#41 0x00007fed88ff43d3 in ?? () from /usr/lib/libQtGui.so.4
#42 0x00007fed882ac364 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#43 0x00007fed882af675 in ?? () from /usr/lib/libglib-2.0.so.0
#44 0x00007fed882afb5b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#45 0x00007fed8b86e9df in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#46 0x00007fed88ff420f in ?? () from /usr/lib/libQtGui.so.4
#47 0x00007fed8b844b35 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#48 0x00007fed8b844c8b in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#49 0x00007fed8b846cd9 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#50 0x00000000004036b0 in main (argc=3, argv=0x7fff93fc7298) at /home/mark/kde/src/amarok/src/main.cpp:128
Comment 6 Dario Andres 2008-12-04 21:01:04 UTC

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