Bug 319888 - Konsole crashes when applying color and font settings
Summary: Konsole crashes when applying color and font settings
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.10.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-15 23:32 UTC by Janne Sinisalo
Modified: 2018-02-28 18:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (11.24 KB, text/plain)
2013-05-16 14:03 UTC, Janne Sinisalo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Janne Sinisalo 2013-05-15 23:32:05 UTC
Application: konsole (2.10.2)
KDE Platform Version: 4.10.2
Qt Version: 4.8.4
Operating System: Linux 3.8.0-19-lowlatency x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:
Konsole has been crashing about every time I change color and font settings a bit. After restarting Konsole appearance settings work as they should. For a while.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7ead5517c0 (LWP 14397))]

Thread 2 (Thread 0x7f7e95b61700 (LWP 14398)):
#0  0x00007f7eace9d3cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f7ea6ee721c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7ea6ee7344 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7eaba70036 in QEventDispatcherGlib::processEvents (this=0x7f7e900008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f7eaba4038f in QEventLoop::processEvents (this=this@entry=0x7f7e95b60d90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7eaba40618 in QEventLoop::exec (this=this@entry=0x7f7e95b60d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f7eab942410 in QThread::exec (this=this@entry=0x1cc7ec0) at thread/qthread.cpp:542
#7  0x00007f7eaba21edf in QInotifyFileSystemWatcherEngine::run (this=0x1cc7ec0) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f7eab944bec in QThreadPrivate::start (arg=0x1cc7ec0) at thread/qthread_unix.cpp:338
#9  0x00007f7ea77bff8e in start_thread (arg=0x7f7e95b61700) at pthread_create.c:311
#10 0x00007f7eacea9e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f7ead5517c0 (LWP 14397)):
[KCrash Handler]
#6  operator!= (value=1, this=0x101000000) at /usr/include/qt4/QtCore/qbasicatomic.h:75
#7  detach (this=0x2283730) at /usr/include/qt4/QtCore/qvector.h:147
#8  data (this=0x2283730) at /usr/include/qt4/QtCore/qvector.h:152
#9  Konsole::Screen::copyLineToStream (this=this@entry=0x2061ba0, line=line@entry=69, start=0, count=292, count@entry=-1, decoder=decoder@entry=0x7fff74b01930, appendNewLine=appendNewLine@entry=true, preserveLineBreaks=preserveLineBreaks@entry=true, trimTrailingSpaces=trimTrailingSpaces@entry=false) at ../../src/Screen.cpp:1228
#10 0x00007f7eacb3e575 in Konsole::Screen::writeToStream (this=this@entry=0x2061ba0, decoder=decoder@entry=0x7fff74b01930, startIndex=startIndex@entry=0, endIndex=endIndex@entry=24528, preserveLineBreaks=preserveLineBreaks@entry=true, trimTrailingSpaces=trimTrailingSpaces@entry=false) at ../../src/Screen.cpp:1161
#11 0x00007f7eacb3ff20 in Konsole::Screen::text (this=0x2061ba0, startIndex=startIndex@entry=0, endIndex=endIndex@entry=24528, preserveLineBreaks=preserveLineBreaks@entry=true, trimTrailingSpaces=trimTrailingSpaces@entry=false) at ../../src/Screen.cpp:1114
#12 0x00007f7eacb65e24 in Konsole::TerminalDisplayAccessible::visibleText (this=<optimized out>) at ../../src/TerminalDisplayAccessible.cpp:100
#13 0x00007f7eacb66075 in Konsole::TerminalDisplayAccessible::text (this=<optimized out>, t=<optimized out>, child=<optimized out>) at ../../src/TerminalDisplayAccessible.cpp:171
#14 0x00007f7e98c6700e in ?? () from /usr/lib/kde4/plugins/accessiblebridge/kaccessiblebridge.so
#15 0x00007f7eab2ef3f1 in QAccessible::updateAccessibility (o=o@entry=0x205d290, who=who@entry=0, reason=reason@entry=QAccessible::TextUpdated) at accessible/qaccessible_unix.cpp:118
#16 0x00007f7eacb6229e in Konsole::TerminalDisplay::updateImage (this=<optimized out>) at ../../src/TerminalDisplay.cpp:1121
#17 0x00007f7eacb644fb in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./TerminalDisplay.moc:124
#18 Konsole::TerminalDisplay::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./TerminalDisplay.moc:110
#19 0x00007f7eaba560ef in QMetaObject::activate (sender=0x227a8b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#20 0x00007f7eaba560ef in QMetaObject::activate (sender=sender@entry=0x2063470, m=m@entry=0x7f7eacda5c40 <Konsole::Emulation::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#21 0x00007f7eacb133b3 in Konsole::Emulation::outputChanged (this=this@entry=0x2063470) at ./Emulation.moc:216
#22 0x00007f7eacb133de in Konsole::Emulation::showBulk (this=0x2063470) at ../../src/Emulation.cpp:302
#23 0x00007f7eacb1341b in Konsole::Emulation::setHistory (this=<optimized out>, history=...) at ../../src/Emulation.cpp:129
#24 0x00007f7eacb416d9 in Konsole::Session::setHistoryType (this=<optimized out>, hType=...) at ../../src/Session.cpp:1056
#25 0x00007f7eacb556bf in Konsole::SessionManager::applyProfile (this=this@entry=0x1a66750, session=0x20bc630, profile=..., modifiedPropertiesOnly=modifiedPropertiesOnly@entry=true) at ../../src/SessionManager.cpp:221
#26 0x00007f7eacb55eae in Konsole::SessionManager::applyProfile (this=0x1a66750, profile=..., modifiedPropertiesOnly=modifiedPropertiesOnly@entry=true) at ../../src/SessionManager.cpp:138
#27 0x00007f7eacb55f84 in Konsole::SessionManager::profileChanged (this=<optimized out>, profile=...) at ../../src/SessionManager.cpp:118
#28 0x00007f7eacb569a7 in qt_static_metacall (_a=<optimized out>, _o=<optimized out>, _c=<optimized out>, _id=<optimized out>) at ./SessionManager.moc:61
#29 Konsole::SessionManager::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./SessionManager.moc:52
#30 0x00007f7eaba560ef in QMetaObject::activate (sender=sender@entry=0x1a68c30, m=m@entry=0x7f7eacda7940 <Konsole::ProfileManager::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff74b02950) at kernel/qobject.cpp:3539
#31 0x00007f7eacb33145 in Konsole::ProfileManager::profileChanged (this=this@entry=0x1a68c30, _t1=...) at ./ProfileManager.moc:132
#32 0x00007f7eacb35cb9 in Konsole::ProfileManager::changeProfile (this=0x1a68c30, profile=..., propertyMap=..., persistent=persistent@entry=false) at ../../src/ProfileManager.cpp:359
#33 0x00007f7eacb07a16 in Konsole::EditProfileDialog::preview (this=this@entry=0x2307a80, aProperty=aProperty@entry=12, value=...) at ../../src/EditProfileDialog.cpp:660
#34 0x00007f7eacb07b5f in Konsole::EditProfileDialog::setFontSize (this=0x2307a80, pointSize=<optimized out>) at ../../src/EditProfileDialog.cpp:1216
#35 0x00007f7eaba560ef in QMetaObject::activate (sender=0x247ba60, m=m@entry=0x7f7eac8952c0 <KDoubleNumInput::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff74b02ce0) at kernel/qobject.cpp:3539
#36 0x00007f7eac549f90 in KDoubleNumInput::valueChanged (this=<optimized out>, _t1=8) at ./knuminput.moc:489
#37 0x00007f7eaba560ef in QMetaObject::activate (sender=sender@entry=0x247bdf0, m=m@entry=0x7f7eab8b6200 <QDoubleSpinBox::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff74b02e30) at kernel/qobject.cpp:3539
#38 0x00007f7eab456fa0 in QDoubleSpinBox::valueChanged (this=this@entry=0x247bdf0, _t1=8) at .moc/release-shared/moc_qspinbox.cpp:320
#39 0x00007f7eab2395cf in QDoubleSpinBoxPrivate::emitSignals (this=0x247d340, ep=<optimized out>, old=...) at widgets/qspinbox.cpp:1088
#40 0x00007f7eab1ac1ae in QAbstractSpinBoxPrivate::setValue (this=this@entry=0x247d340, val=..., ep=ep@entry=EmitIfChanged, doUpdate=doUpdate@entry=true) at widgets/qabstractspinbox.cpp:1721
#41 0x00007f7eab1ad140 in QAbstractSpinBox::stepBy (this=0x247bdf0, steps=-1) at widgets/qabstractspinbox.cpp:623
#42 0x00007f7eab1ab248 in QAbstractSpinBoxPrivate::updateState (this=this@entry=0x247d340, up=up@entry=false, fromKeyboard=fromKeyboard@entry=false) at widgets/qabstractspinbox.cpp:1613
#43 0x00007f7eab1ab334 in QAbstractSpinBox::mousePressEvent (this=0x247bdf0, event=0x7fff74b03800) at widgets/qabstractspinbox.cpp:1329
#44 0x00007f7eaae34a70 in QWidget::event (this=0x247bdf0, event=0x7fff74b03800) at kernel/qwidget.cpp:8371
#45 0x00007f7eaade78ec in QApplicationPrivate::notify_helper (this=this@entry=0x1872bd0, receiver=receiver@entry=0x247bdf0, e=e@entry=0x7fff74b03800) at kernel/qapplication.cpp:4567
#46 0x00007f7eaadeaa33 in QApplication::notify (this=this@entry=0x7fff74b044a0, receiver=receiver@entry=0x247bdf0, e=e@entry=0x7fff74b03800) at kernel/qapplication.cpp:4110
#47 0x00007f7eac48aaf6 in KApplication::notify (this=0x7fff74b044a0, receiver=0x247bdf0, event=0x7fff74b03800) at ../../kdeui/kernel/kapplication.cpp:311
#48 0x00007f7eaba4163e in QCoreApplication::notifyInternal (this=0x7fff74b044a0, receiver=receiver@entry=0x247bdf0, event=event@entry=0x7fff74b03800) at kernel/qcoreapplication.cpp:946
#49 0x00007f7eaaded933 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#50 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x247bdf0, event=event@entry=0x7fff74b03800, alienWidget=alienWidget@entry=0x247bdf0, nativeWidget=nativeWidget@entry=0x2312180, buttonDown=buttonDown@entry=0x7f7eab8c5308 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#51 0x00007f7eaae62ec4 in QETWidget::translateMouseEvent (this=this@entry=0x2312180, event=event@entry=0x7fff74b03f80) at kernel/qapplication_x11.cpp:4631
#52 0x00007f7eaae61ef1 in QApplication::x11ProcessEvent (this=0x7fff74b044a0, event=event@entry=0x7fff74b03f80) at kernel/qapplication_x11.cpp:3746
#53 0x00007f7eaae8d0b2 in x11EventSourceDispatch (s=0x186d120, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#54 0x00007f7ea6ee6f45 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007f7ea6ee7288 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007f7ea6ee7344 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#57 0x00007f7eaba70016 in QEventDispatcherGlib::processEvents (this=0x1788ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#58 0x00007f7eaae8d1ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#59 0x00007f7eaba4038f in QEventLoop::processEvents (this=this@entry=0x7fff74b04350, flags=...) at kernel/qeventloop.cpp:149
#60 0x00007f7eaba40618 in QEventLoop::exec (this=this@entry=0x7fff74b04350, flags=...) at kernel/qeventloop.cpp:204
#61 0x00007f7eaba45cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#62 0x00007f7eaade5ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#63 0x00007f7ead18ef25 in kdemain (argc=1, argv=0x7fff74b045e8) at ../../src/main.cpp:86
#64 0x00007f7eacdd1ea5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=1, ubp_av=0x7fff74b045e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff74b045d8) at libc-start.c:260
#65 0x0000000000400701 in _start ()

Possible duplicates by query: bug 313711, bug 312006, bug 306939, bug 304837.

Reported using DrKonqi
Comment 1 Janne Sinisalo 2013-05-16 14:03:57 UTC
Created attachment 79913 [details]
New crash information added by DrKonqi

konsole (2.10.2) on KDE Platform 4.10.2 using Qt 4.8.4

- What I was doing when the application crashed:
I was applying the changed line spacing setting.

-- Backtrace (Reduced):
#6  operator!= (value=1, this=0x61) at /usr/include/qt4/QtCore/qbasicatomic.h:75
[...]
#8  data (this=0x2dee348) at /usr/include/qt4/QtCore/qvector.h:152
#9  Konsole::Screen::copyLineToStream (this=this@entry=0x2bf4440, line=line@entry=58, start=0, count=127, count@entry=-1, decoder=decoder@entry=0x7fff30811220, appendNewLine=appendNewLine@entry=true, preserveLineBreaks=preserveLineBreaks@entry=true, trimTrailingSpaces=trimTrailingSpaces@entry=false) at ../../src/Screen.cpp:1228
#10 0x00007fcfeb75e575 in Konsole::Screen::writeToStream (this=this@entry=0x2bf4440, decoder=decoder@entry=0x7fff30811220, startIndex=startIndex@entry=0, endIndex=endIndex@entry=7620, preserveLineBreaks=preserveLineBreaks@entry=true, trimTrailingSpaces=trimTrailingSpaces@entry=false) at ../../src/Screen.cpp:1161
#11 0x00007fcfeb75ff20 in Konsole::Screen::text (this=0x2bf4440, startIndex=startIndex@entry=0, endIndex=endIndex@entry=7620, preserveLineBreaks=preserveLineBreaks@entry=true, trimTrailingSpaces=trimTrailingSpaces@entry=false) at ../../src/Screen.cpp:1114
Comment 2 Ahmad Samir 2018-02-28 18:59:23 UTC
KDE4/konsole is no longer maintained.