Bug 228036 - Crash when increasing font-size a few times and then decreasing it a few times
Summary: Crash when increasing font-size a few times and then decreasing it a few times
Status: RESOLVED DUPLICATE of bug 235020
Alias: None
Product: kcharselect
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Daniel Laidig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-22 13:03 UTC by tobimensch
Modified: 2010-09-03 04:33 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
kcharselect (670.44 KB, image/png)
2010-02-22 18:07 UTC, tobimensch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tobimensch 2010-02-22 13:03:47 UTC
Version:           Version v1.6  KDE 4.4.00 (KDE 4.4.0) (using KDE 4.4.0)
Compiler:          gcc (GCC) 4.4.3 
OS:                Linux
Installed from:    Mandriva RPMs

This bug is still valid in KDE4.4.0. There was a bug-report when changing the font that was fixed, but this is not the same bug.
All you need to do to reproduce this bug is to open kcharselect, and to increase the font-size a few times, and then decrease it a few times.
This bug didn't happen using all fonts, it did happen using the DejaVu Sans. I think this is also important.

Application: KCharSelect (kcharselect), signal: Aborted
[Current thread is 1 (Thread 0xb58938e0 (LWP 24890))]

Thread 2 (Thread 0xb3edbb70 (LWP 24891)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5ec8fb2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb636a154 in pthread_cond_timedwait () from /lib/i686/libc.so.6
#3  0xb6fc6f5c in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb6fbb7ae in ?? () from /usr/lib/libQtCore.so.4
#5  0xb6fc5f7f in ?? () from /usr/lib/libQtCore.so.4
#6  0xb5ec4ae5 in start_thread () from /lib/i686/libpthread.so.0
#7  0xb635bece in clone () from /lib/i686/libc.so.6

Thread 1 (Thread 0xb58938e0 (LWP 24890)):
[KCrash Handler]
#6  0xffffe424 in __kernel_vsyscall ()
#7  0xb62ada71 in raise () from /lib/i686/libc.so.6
#8  0xb62af3c2 in abort () from /lib/i686/libc.so.6
#9  0xb6fbd7f4 in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#10 0xb6fbda13 in ?? () from /usr/lib/libQtCore.so.4
#11 0xb6fbdb38 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
#12 0xb6fbdb7d in qt_assert_x(char const*, char const*, char const*, int) () from /usr/lib/libQtCore.so.4
#13 0xb76e786c in ?? () from /usr/lib/libkdeui.so.5
#14 0xb76e1180 in ?? () from /usr/lib/libkdeui.so.5
#15 0xb76e2419 in ?? () from /usr/lib/libkdeui.so.5
#16 0xb76e2565 in ?? () from /usr/lib/libkdeui.so.5
#17 0xb70d4d1d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#18 0xb70e3b8a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#19 0xb6c1463d in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/libQtGui.so.4
#20 0xb6c1483c in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/libQtGui.so.4
#21 0xb6bb9457 in QAbstractItemView::setCurrentIndex(QModelIndex const&) () from /usr/lib/libQtGui.so.4
#22 0xb76e5509 in ?? () from /usr/lib/libkdeui.so.5
#23 0xb76e2326 in ?? () from /usr/lib/libkdeui.so.5
#24 0xb76e1aad in KCharSelect::KCharSelectPrivate::_k_fontSelected() () from /usr/lib/libkdeui.so.5
#25 0xb76e51bb in KCharSelect::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#26 0xb70d4d1d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#27 0xb70e3b8a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#28 0xb6d52d85 in QSpinBox::valueChanged(int) () from /usr/lib/libQtGui.so.4
#29 0xb6ad0c49 in ?? () from /usr/lib/libQtGui.so.4
#30 0xb6a1f3f3 in ?? () from /usr/lib/libQtGui.so.4
#31 0xb6a22b06 in QAbstractSpinBox::stepBy(int) () from /usr/lib/libQtGui.so.4
#32 0xb6a1fbfb in ?? () from /usr/lib/libQtGui.so.4
#33 0xb6a20298 in QAbstractSpinBox::mousePressEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#34 0xb6650767 in QWidget::mouseDoubleClickEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#35 0xb665e6ca in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#36 0xb6a20d3c in QAbstractSpinBox::event(QEvent*) () from /usr/lib/libQtGui.so.4
#37 0xb6aced08 in QSpinBox::event(QEvent*) () from /usr/lib/libQtGui.so.4
#38 0xb65fdedc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#39 0xb66056de in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#40 0xb76325c8 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#41 0xb70cf9ce in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#42 0xb660462c in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#43 0xb669209a in ?? () from /usr/lib/libQtGui.so.4
#44 0xb6691664 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#45 0xb66befe8 in ?? () from /usr/lib/libQtGui.so.4
#46 0xb5d60d7e in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#47 0xb5d64a88 in ?? () from /usr/lib/libglib-2.0.so.0
#48 0xb5d64c4e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#49 0xb70fc4f1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#50 0xb66beb3a in ?? () from /usr/lib/libQtGui.so.4
#51 0xb70ce02d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#52 0xb70ce479 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#53 0xb70d2600 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#54 0xb65fdf84 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#55 0x08050639 in ?? ()
#56 0xb629ab96 in __libc_start_main () from /lib/i686/libc.so.6
#57 0x0804c9b1 in _start ()
Comment 1 Daniel Laidig 2010-02-22 17:42:41 UTC
I just set the font to DejaVu Sans and increased/decreased the font sizes for two minutes or so. There weren't any crashes, which makes it hard for me to find out what's going on.

Could you try to find out an exact way to reproduce the crash? This means stuff like what unicode block you're viewing, which character is selected, the font size you are starting with and how often you increase/decrease the size. Also it might help to have a screenshot to see exactly how big your widgets are.

Thanks!
Comment 2 tobimensch 2010-02-22 18:07:03 UTC
Created attachment 41013 [details]
kcharselect

this is kcharselect before it's crashing
Comment 3 tobimensch 2010-02-22 18:08:32 UTC
this is what it looks like on the commandline, may be helpful.

bash-4.1$ kcharselect
ASSERT failure in QList<T>::operator[]: "index out of range", file /usr/lib/qt4/include/QtCore/qlist.h, line 443
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kcharselect path = /usr/bin pid = 19469
sock_file=/home/tobgle/.kde4/socket-localhost.localdomain/kdeinit4__0

[1]+  Angehalten              kcharselect

I use the spinbox arrows 4 or 5 times up, and then down until it crashes
Comment 4 tobimensch 2010-02-22 18:15:43 UTC
Strange.

When I close charselect before it crashes, and then open it again, I can't reproduce the bug anymore.

Except, there is still another/similar/linked bug to that.

When I manually type number and remove them again and type new numbers again, I get the same crash:
( I typed number like 220, 18, 30, 50, 0, 123 etc.)

kcharselect
ASSERT failure in QList<T>::operator[]: "index out of range", file /usr/lib/qt4/include/QtCore/qlist.h, line 443
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kcharselect path = /usr/bin pid = 19746
sock_file=/home/tobgle/.kde4/socket-localhost.localdomain/kdeinit4__0
Comment 5 Christoph Feck 2010-09-03 04:33:50 UTC

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