Bug 290752 - crash when clearing folder quicksearch field
Summary: crash when clearing folder quicksearch field
Status: RESOLVED DUPLICATE of bug 291997
Alias: None
Product: kmail2
Classification: Applications
Component: folders (show other bugs)
Version: Git (master)
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-05 22:53 UTC by Martin Koller
Modified: 2012-08-18 11:24 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
valgrind log (42.46 KB, text/plain)
2012-01-10 01:49 UTC, Christophe Marin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Koller 2012-01-05 22:53:11 UTC
Version:           1.99.0 (using Devel) 
OS:                Linux

I start kmail, Enter the word "Junk" in the folder quicksearch field, then click on the "clear" icon at the right side of the filter field -> crash

#8  0xb6860b07 in QSortFilterProxyModel::setFilterWildcard(QString const&) () from /usr/lib/libQtGui.so.4
#9  0xb4ff85f0 in MailCommon::FolderTreeWidgetProxyModel::setFilterFolder (this=0x85d6050, filter=...) at /usr/src/debug/kdepim-4.7.97/mailcommon/foldertreewidgetproxymodel.cpp:173
#10 0xb4fe52bf in MailCommon::FolderTreeWidget::slotFilterFixedString (this=0x8156078, text=...) at /usr/src/debug/kdepim-4.7.97/mailcommon/foldertreewidget.cpp:185
#11 0xb4fe550f in MailCommon::FolderTreeWidget::qt_static_metacall (_o=0x8156078, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf94a788) at /usr/src/debug/kdepim-4.7.97/build/mailcommon/foldertreewidget.moc:60
#12 0xb6d410ef in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#13 0xb669cf35 in QLineEdit::textChanged(QString const&) () from /usr/lib/libQtGui.so.4
#14 0xb669d2f7 in ?? () from /usr/lib/libQtGui.so.4
#15 0xb6d410ef in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#16 0xb694f9e5 in QLineControl::textChanged(QString const&) () from /usr/lib/libQtGui.so.4
#17 0xb66a25ea in QLineControl::finishChange(int, bool, bool) () from /usr/lib/libQtGui.so.4
#18 0xb66a38a9 in QLineControl::del() () from /usr/lib/libQtGui.so.4
#19 0xb669ae14 in QLineEdit::del() () from /usr/lib/libQtGui.so.4
#20 0xb76405ea in KLineEdit::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5

Reproducible: Always

Steps to Reproduce:
see above


Expected Results:  
no crash

OS: Linux (i686) release 2.6.34.10-0.4-desktop
Compiler: gcc
openSuse 12.1, KDE-4.8RC2
Comment 1 Christophe Marin 2012-01-07 01:04:58 UTC
Is this still valid in recent versions ?
Comment 2 Martin Koller 2012-01-07 15:31:00 UTC
I tested with KDE-4.8RC2 (2 days ago).
It seems to happen only when I disabled Nepomuk ... testing.
No, I can still reproduce it with or without Nepomuk running
Comment 3 Christophe Marin 2012-01-10 01:49:00 UTC
Created attachment 67631 [details]
valgrind log

ok, reproduceable in master with the given steps.

Valgrind log attached
Comment 4 Laurent Montel 2012-01-13 08:45:34 UTC
I confirm it.
Comment 5 Sebastien Renard 2012-08-18 11:24:16 UTC

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