Bug 266245 - kcharselect crashes when using search field
Summary: kcharselect crashes when using search field
Status: RESOLVED DUPLICATE of bug 235020
Alias: None
Product: kcharselect
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Daniel Laidig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-14 00:27 UTC by Szczepan Hołyszewski
Modified: 2011-04-01 03:07 UTC (History)
0 users

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 Szczepan Hołyszewski 2011-02-14 00:27:19 UTC
Version:           unspecified (using KDE 4.6.0) 
OS:                Linux

KCharSelect segfaults every time when I try to type "symbol" in the search field. It crashes on "m".

Reproducible: Always

Steps to Reproduce:
1. Open KCharSelect
2. Place caret in the search field, type "sym".

Actual Results:  
CRASH!

Expected Results:  
No crash.

Workaround (sort of): typing a space before the actual search string prevents the crash, but I am not sure if the result set is exactly the same as it would be without the space (and without the crash).
Comment 1 Pino Toscano 2011-02-14 13:00:19 UTC
Please provie a backtrace of the crash.
Comment 2 Szczepan Hołyszewski 2011-02-15 10:08:44 UTC
> Please provie a backtrace of the crash.

From this I infer that you were unable to get the program to crash by following my Steps to Reproduce. That's unfortunate because the maintainers of my distribution stubbornly refuse to provide pre-built KDE debug packages for end users like me. Therefore the only backtrace I can provide you with is the one that the crash handler deems not useful. I am sorry, I do not have time to learn how to rebuild KDE from sources with debugging enabled, plus my connection has a transfer limit that would be severely taxed by downloading the whole KDE sources.

Application: KCharSelect (kcharselect), signal: Segmentation fault
[KCrash Handler]
#7  0xb763ecd6 in ?? () from /usr/lib/libkdeui.so.5
#8  0xb763b232 in ?? () from /usr/lib/libkdeui.so.5
#9  0xb763b3af in ?? () from /usr/lib/libkdeui.so.5
#10 0xb7004c2a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#11 0xb7014a7f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#12 0xb6b2f539 in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/libQtGui.so.4
#13 0xb6b2f672 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/libQtGui.so.4
#14 0xb6ad20ac in QAbstractItemView::setCurrentIndex(QModelIndex const&) () from /usr/lib/libQtGui.so.4
#15 0xb763b799 in ?? () from /usr/lib/libkdeui.so.5
#16 0xb763d020 in KCharSelect::KCharSelectPrivate::_k_search() () from /usr/lib/libkdeui.so.5
#17 0xb763d6b0 in KCharSelect::KCharSelectPrivate::_k_searchEditChanged() () from /usr/lib/libkdeui.so.5
#18 0xb7643ce6 in KCharSelect::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#19 0xb7004c2a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#20 0xb7014a7f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#21 0xb69b6d13 in QLineEdit::textChanged(QString const&) () from /usr/lib/libQtGui.so.4
#22 0xb69b72cd in QLineEdit::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4
#23 0xb766d8ba in KLineEdit::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#24 0xb7004c2a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#25 0xb7014a7f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#26 0xb6c4d1e3 in QLineControl::textChanged(QString const&) () from /usr/lib/libQtGui.so.4
#27 0xb69bc1fb in QLineControl::finishChange(int, bool, bool) () from /usr/lib/libQtGui.so.4
#28 0xb69bd943 in QLineControl::insert(QString const&) () from /usr/lib/libQtGui.so.4
#29 0xb69be679 in QLineControl::processKeyEvent(QKeyEvent*) () from /usr/lib/libQtGui.so.4
#30 0xb69b2488 in QLineEdit::keyPressEvent(QKeyEvent*) () from /usr/lib/libQtGui.so.4
#31 0xb766ee19 in KLineEdit::keyPressEvent(QKeyEvent*) () from /usr/lib/libkdeui.so.5
#32 0xb65ad148 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#33 0xb69b4f97 in QLineEdit::event(QEvent*) () from /usr/lib/libQtGui.so.4
#34 0xb766c0b8 in KLineEdit::event(QEvent*) () from /usr/lib/libkdeui.so.5
#35 0xb6554854 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#36 0xb6559c49 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#37 0xb7595e1a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#38 0xb6ffe5ab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#39 0xb65528fe in ?? () from /usr/lib/libQtGui.so.4
#40 0xb660217d in ?? () from /usr/lib/libQtGui.so.4
#41 0xb6602581 in ?? () from /usr/lib/libQtGui.so.4
#42 0xb65dc392 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#43 0xb6606632 in ?? () from /usr/lib/libQtGui.so.4
#44 0xb5c7cb72 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#45 0xb5c7d350 in ?? () from /usr/lib/libglib-2.0.so.0
#46 0xb5c7d604 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#47 0xb702bb4c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#48 0xb6606245 in ?? () from /usr/lib/libQtGui.so.4
#49 0xb6ffd769 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#50 0xb6ffda0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#51 0xb700245f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#52 0xb65526a7 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#53 0x0804fc40 in _start ()
Comment 3 Szczepan Hołyszewski 2011-02-15 13:09:33 UTC
Maybe it won't be that useless after all, given that the crash is apparently only 3 calls deep in libkdeui.
Comment 4 Christoph Feck 2011-04-01 03:07:42 UTC

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