Bug 236800 - Character Selector crashes on Font Change
Summary: Character Selector crashes on Font Change
Status: RESOLVED DUPLICATE of bug 235020
Alias: None
Product: kcharselect
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Daniel Laidig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-08 03:42 UTC by happy
Modified: 2010-09-03 04:34 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 happy 2010-05-08 03:42:28 UTC
Application: kcharselect (v1.6)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic-pae i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Was interested if a given character was available in font "Arial" so started KCharSelect; first action was to change initial font ("Gill Sans", my workspace default) to "Arial" (KCharSelect crashes).  First attempt selection done "menu" style with mouse and drop down list.

Second attempt I typed "Arial" in text field instead, and crash occured on "select"



The crash can be reproduced every time.

 -- Backtrace:
Application: KCharSelect (kcharselect), signal: Segmentation fault
[Current thread is 1 (Thread 0xb5b75710 (LWP 19203))]

Thread 2 (Thread 0x9f15db70 (LWP 19205)):
#0  0xb7852430 in __kernel_vsyscall ()
#1  0xb6392b86 in *__GI___poll (fds=0xb6428ff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb5dda4eb in g_poll () from /lib/libglib-2.0.so.0
#3  0xb5dcd0ac in ?? () from /lib/libglib-2.0.so.0
#4  0xb5dcd4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0xb715260f in QEventDispatcherGlib::processEvents (this=0xa230540, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0xb7125059 in QEventLoop::processEvents (this=0x9f15d290, flags=) at kernel/qeventloop.cpp:149
#7  0xb71254aa in QEventLoop::exec (this=0x9f15d290, flags=...) at kernel/qeventloop.cpp:201
#8  0xb70215a8 in QThread::exec (this=0xce388c0) at thread/qthread.cpp:487
#9  0xb7104c1b in QInotifyFileSystemWatcherEngine::run (this=0xce388c0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb702432e in QThreadPrivate::start (arg=0xce388c0) at thread/qthread_unix.cpp:248
#11 0xb602796e in start_thread (arg=0x9f15db70) at pthread_create.c:300
#12 0xb63a0a0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb5b75710 (LWP 19203)):
[KCrash Handler]
#6  0xb772f18e in KCharSelectItemModel::data (this=0xa0a8d10, index=..., role=32) at ../../kdeui/widgets/kcharselect.cpp:865
#7  0xb772d332 in KCharSelectTablePrivate::_k_slotCurrentChanged (this=0xa0a4998, current=..., previous=...) at ../../kdeui/widgets/kcharselect.cpp:218
#8  0xb772d44f in KCharSelectTable::qt_metacall (this=0xa093880, _c=QMetaObject::InvokeMetaMethod, _id=96, _a=0xbf9f4ad4) at ./kcharselect_p.moc:87
#9  0xb712bc9a in QMetaObject::metacall (object=0xa093880, cl=170076080, idx=96, argv=0xbf9f4ad4) at kernel/qmetaobject.cpp:237
#10 0xb713a3d5 in QMetaObject::activate (sender=0xa211930, m=0xb6face30, local_signal_index=1, argv=0xbf9f4ad4) at kernel/qobject.cpp:3293
#11 0xb6c725a9 in QItemSelectionModel::currentChanged (this=0xa211930, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:159
#12 0xb6c72742 in QItemSelectionModel::setCurrentIndex (this=0xa211930, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1167
#13 0xb6c195bc in QAbstractItemView::setCurrentIndex (this=0xa093880, index=...) at itemviews/qabstractitemview.cpp:1003
#14 0xb772d75d in KCharSelectTable::setChar (this=0xa093880, c=...) at ../../kdeui/widgets/kcharselect.cpp:183
#15 0xb772d244 in KCharSelectTablePrivate::_k_resizeCells (this=0xa0a4998) at ../../kdeui/widgets/kcharselect.cpp:266
#16 0xb772cc2b in KCharSelect::KCharSelectPrivate::_k_fontSelected (this=0xa00b5b8) at ../../kdeui/widgets/kcharselect.cpp:599
#17 0xb7735c8e in KCharSelect::qt_metacall (this=0xa00d940, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbf9f4e78) at ./kcharselect.moc:116
#18 0xb712bc9a in QMetaObject::metacall (object=0xa00d940, cl=170076080, idx=36, argv=0xbf9f4e78) at kernel/qmetaobject.cpp:237
#19 0xb713a3d5 in QMetaObject::activate (sender=0xa0272a8, m=0xb6fa49b8, local_signal_index=6, argv=0xbf9f4e78) at kernel/qobject.cpp:3293
#20 0xb6a9b443 in QComboBox::currentIndexChanged (this=0xa0272a8, _t1=...) at .moc/release-shared/moc_qcombobox.cpp:309
#21 0xb6a9d0ef in QComboBoxPrivate::_q_emitCurrentIndexChanged (this=0xa064b08, index=...) at widgets/qcombobox.cpp:1236
#22 0xb6aa05a9 in QComboBoxPrivate::setCurrentIndex (this=0xa064b08, mi=...) at widgets/qcombobox.cpp:1992
#23 0xb6aa06d5 in QComboBox::setCurrentIndex (this=0xa0272a8, index=57) at widgets/qcombobox.cpp:1975
#24 0xb6aa5172 in QComboBoxPrivate::_q_returnPressed (this=0xa064b08) at widgets/qcombobox.cpp:1157
#25 0xb6aa623b in QComboBox::qt_metacall (this=0xa0272a8, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0xbf9f51ac) at .moc/release-shared/moc_qcombobox.cpp:195
#26 0xb7740e4a in KComboBox::qt_metacall (this=0xa0272a8, _c=QMetaObject::InvokeMetaMethod, _id=43, _a=0xbf9f51ac) at ./kcombobox.moc:106
#27 0xb762c0fa in KFontComboBox::qt_metacall (this=0xa0272a8, _c=QMetaObject::InvokeMetaMethod, _id=43, _a=0xbf9f51ac) at ./moc_kfontcombobox.moc:76
#28 0xb712bc9a in QMetaObject::metacall (object=0xa0272a8, cl=170076080, idx=43, argv=0xbf9f51ac) at kernel/qmetaobject.cpp:237
#29 0xb713a3d5 in QMetaObject::activate (sender=0xa032b50, m=0xb6fa5b48, local_signal_index=3, argv=0x0) at kernel/qobject.cpp:3293
#30 0xb6ae10d7 in QLineEdit::returnPressed (this=0xa032b50) at .moc/release-shared/moc_qlineedit.cpp:258
#31 0xb6ae522b in QLineEdit::qt_metacall (this=0xa032b50, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf9f533c) at .moc/release-shared/moc_qlineedit.cpp:159
#32 0xb776754a in KLineEdit::qt_metacall (this=0xa032b50, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbf9f533c) at ./klineedit.moc:134
#33 0xb712bc9a in QMetaObject::metacall (object=0xa032b50, cl=170076080, idx=30, argv=0xbf9f533c) at kernel/qmetaobject.cpp:237
#34 0xb713a3d5 in QMetaObject::activate (sender=0xa032be8, m=0xb6fb3888, local_signal_index=6, argv=0x0) at kernel/qobject.cpp:3293
#35 0xb6da5d67 in QLineControl::accepted (this=0xa032be8) at .moc/release-shared/moc_qlinecontrol_p.cpp:150
#36 0xb6aed601 in QLineControl::processKeyEvent (this=0xa032be8, event=0xbf9f5ec4) at widgets/qlinecontrol.cpp:1526
#37 0xb6ae1495 in QLineEdit::keyPressEvent (this=0xa032b50, event=0xbf9f5ec4) at widgets/qlineedit.cpp:1661
#38 0xb7763939 in KLineEdit::keyPressEvent (this=0xa032b50, e=0xbf9f5ec4) at ../../kdeui/widgets/klineedit.cpp:895
#39 0xb66d5503 in QWidget::event (this=0xa032b50, event=0xbf9f5ec4) at kernel/qwidget.cpp:8033
#40 0xb6ae2aeb in QLineEdit::event (this=0xa032b50, e=0xbf9f5ec4) at widgets/qlineedit.cpp:1474
#41 0xb7764f0c in KLineEdit::event (this=0xa032b50, ev=0xbf9f5ec4) at ../../kdeui/widgets/klineedit.cpp:1329
#42 0xb6aa2480 in QComboBox::keyPressEvent (this=0xa0272a8, e=0xbf9f5ec4) at widgets/qcombobox.cpp:2927
#43 0xb66d5503 in QWidget::event (this=0xa0272a8, event=0xbf9f5ec4) at kernel/qwidget.cpp:8033
#44 0xb6aa0ddc in QComboBox::event (this=0xa0272a8, event=0xbf9f5ec4) at widgets/qcombobox.cpp:2746
#45 0xb762ad96 in KFontComboBox::event (this=0xa0272a8, e=0xbf9f5ec4) at ../../kdeui/fonts/kfontcombobox.cpp:382
#46 0xb66774dc in QApplicationPrivate::notify_helper (this=0x9f9ecd0, receiver=0xa0272a8, e=0xbf9f5ec4) at kernel/qapplication.cpp:4300
#47 0xb667fb71 in QApplication::notify (this=0xbf9f6924, receiver=0xa0272a8, e=0xbf9f5ec4) at kernel/qapplication.cpp:3763
#48 0xb7678f2a in KApplication::notify (this=0xbf9f6924, receiver=0xa0272a8, event=0xbf9f5ec4) at ../../kdeui/kernel/kapplication.cpp:302
#49 0xb7126a3b in QCoreApplication::notifyInternal (this=0xbf9f6924, receiver=0xa0272a8, event=0xbf9f5ec4) at kernel/qcoreapplication.cpp:704
#50 0xb66782be in QCoreApplication::sendSpontaneousEvent (receiver=0xa0272a8, event=0xa23e150) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#51 qt_sendSpontaneousEvent (receiver=0xa0272a8, event=0xa23e150) at kernel/qapplication.cpp:5279
#52 0xb6731d90 in QKeyMapper::sendKeyEvent (keyWidget=0xa0272a8, grab=false, type=QEvent::KeyPress, code=16777220, modifiers=..., text=..., autorepeat=<value optimized out>, 
    count=<value optimized out>, nativeScanCode=36, nativeVirtualKey=65293, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1861
#53 0xb67342f5 in QKeyMapperPrivate::translateKeyEvent (this=0x9fcdd10, keyWidget=0xa0272a8, event=0xbf9f658c, grab=false) at kernel/qkeymapper_x11.cpp:1831
#54 0xb6707757 in QApplication::x11ProcessEvent (this=0xbf9f6924, event=0xbf9f658c) at kernel/qapplication_x11.cpp:3394
#55 0xb673760a in x11EventSourceDispatch (s=0x9fa19f8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#56 0xb5dc95e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#57 0xb5dcd2d8 in ?? () from /lib/libglib-2.0.so.0
#58 0xb5dcd4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#59 0xb71525d5 in QEventDispatcherGlib::processEvents (this=0x9f8abe8, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#60 0xb6737135 in QGuiEventDispatcherGlib::processEvents (this=0x9f8abe8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#61 0xb7125059 in QEventLoop::processEvents (this=0xbf9f6884, flags=) at kernel/qeventloop.cpp:149
#62 0xb71254aa in QEventLoop::exec (this=0xbf9f6884, flags=...) at kernel/qeventloop.cpp:201
#63 0xb712969f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#64 0xb6677577 in QApplication::exec () at kernel/qapplication.cpp:3579
#65 0x080502d2 in main (argc=1, argv=0xbf9f6ab4) at ../../kcharselect/main.cc:58

Reported using DrKonqi
Comment 1 Joachim Mairböck 2010-08-24 15:43:31 UTC
this is most probably a duplicate of bug 235020, but I don't have the rights to resolve it.
Comment 2 Christoph Feck 2010-09-03 04:34:38 UTC

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