Bug 1471037

Summary: Konsole crashed while I was selecting text, causing the window to scroll up
Product: [Fedora] Fedora Reporter: frantisek.reznicek <frantisek.reznicek>
Component: konsole5Assignee: Rex Dieter <rdieter>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 26CC: kde-sig, praiskup, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-29 12:29:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
F26 package list none

Description frantisek.reznicek 2017-07-14 09:53:06 UTC
Description of problem:

Konsole crashed while I was selecting text, causing the window to scroll up.

When starting konsole, filling the konsole with text and then scrolling up.
Quite frequently konsole5 crashes.

Version-Release number of selected component (if applicable):
  Happening on F26:
    konsole5-17.04.1-1.fc26.x86_64
    konsole5-part-17.04.1-1.fc26.x86_64

  Also on F24 (completely same):
    konsole5-part-16.12.3-1.fc24.x86_64
    konsole5-16.12.3-1.fc24.x86_64

How reproducible:
70%

Steps to Reproduce:
1. start konsole
2. yum search as
3. select from bottom up until konsole crashes

Actual results:
konsole crashes.

Expected results:
konsole should not crash.

Additional info:

This is identical to foreign issue: https://bugs.kde.org/show_bug.cgi?id=338997

Full-detailed starcktrace:

Application: Konsole (kdeinit5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f60edf8b140 (LWP 1614))]

Thread 3 (Thread 0x7f60cba00700 (LWP 1616)):
#0  0x00007f60eb52a19d in read () from /lib64/libc.so.6
#1  0x00007f60e6e08170 in read (__nbytes=16, __buf=0x7f60cb9ffa90, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x7f60cc0015b0) at gwakeup.c:210
#3  0x00007f60e6dc4078 in g_main_context_check (context=context@entry=0x7f60c4000990, max_priority=2147483647, fds=fds@entry=0x7f60c4003020, n_fds=n_fds@entry=1) at gmain.c:3750
#4  0x00007f60e6dc4510 in g_main_context_iterate (context=context@entry=0x7f60c4000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3969
#5  0x00007f60e6dc467c in g_main_context_iteration (context=0x7f60c4000990, may_block=may_block@entry=1) at gmain.c:4033
#6  0x00007f60ec349d0b in QEventDispatcherGlib::processEvents (this=0x7f60c40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007f60ec2f9b8a in QEventLoop::exec (this=this@entry=0x7f60cb9ffcb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#8  0x00007f60ec14eefa in QThread::exec (this=this@entry=0x7f60ee0c3060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:507
#9  0x00007f60ee046709 in QDBusConnectionManager::run (this=0x7f60ee0c3060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#10 0x00007f60ec1531ee in QThreadPrivate::start (arg=0x7f60ee0c3060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#11 0x00007f60ead6d36d in start_thread () from /lib64/libpthread.so.0
#12 0x00007f60eb53ab8f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f60d1fd2700 (LWP 1615)):
#0  0x00007f60eb52ea9d in poll () from /lib64/libc.so.6
#1  0x00007f60ed2aec97 in poll (__timeout=-1, __nfds=1, __fds=0x7f60d1fd1bf0) at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x559d35278680, cond=cond@entry=0x559d352786c0, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:479
#3  0x00007f60ed2b0a8a in xcb_wait_for_event (c=0x559d35278680) at xcb_in.c:693
#4  0x00007f60d5c6ab99 in QXcbEventReader::run (this=0x559d35286bd0) at qxcbconnection.cpp:1343
#5  0x00007f60ec1531ee in QThreadPrivate::start (arg=0x559d35286bd0) at thread/qthread_unix.cpp:368
#6  0x00007f60ead6d36d in start_thread () from /lib64/libpthread.so.0
#7  0x00007f60eb53ab8f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f60edf8b140 (LWP 1614)):
[KCrash Handler]
#6  0x00007f60dda61b8d in Konsole::TerminalDisplay::charClass (this=this@entry=0x559d354a3b20, ch=...) at /usr/src/debug/konsole-17.04.1/src/TerminalDisplay.cpp:2790
#7  0x00007f60dda666e3 in Konsole::TerminalDisplay::findWordEnd (this=this@entry=0x559d354a3b20, pnt=...) at /usr/src/debug/konsole-17.04.1/src/TerminalDisplay.cpp:2675
#8  0x00007f60dda68139 in Konsole::TerminalDisplay::extendSelection (this=this@entry=0x559d354a3b20, position=...) at /usr/src/debug/konsole-17.04.1/src/TerminalDisplay.cpp:2240
#9  0x00007f60dda64dfc in Konsole::TerminalDisplay::mouseMoveEvent (this=0x559d354a3b20, ev=0x7fff95ac5630) at /usr/src/debug/konsole-17.04.1/src/TerminalDisplay.cpp:2168
#10 0x00007f60ecb94af0 in QWidget::event (this=this@entry=0x559d354a3b20, event=event@entry=0x7fff95ac5630) at kernel/qwidget.cpp:9161
#11 0x00007f60dda6a78a in Konsole::TerminalDisplay::event (this=0x559d354a3b20, event=0x7fff95ac5630) at /usr/src/debug/konsole-17.04.1/src/TerminalDisplay.cpp:3216
#12 0x00007f60ecb4dd9c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x559d354a3b20, e=0x7fff95ac5630) at kernel/qapplication.cpp:3799
#13 0x00007f60ecb5592f in QApplication::notify (this=<optimized out>, receiver=0x559d354a3b20, e=0x7fff95ac5630) at kernel/qapplication.cpp:3273
#14 0x00007f60ec2fab8b in QCoreApplication::notifyInternal2 (receiver=0x559d354a3b20, event=event@entry=0x7fff95ac5630) at kernel/qcoreapplication.cpp:988
#15 0x00007f60dda6aa71 in QCoreApplication::sendEvent (event=0x7fff95ac5630, receiver=<optimized out>) at /usr/include/qt5/QtCore/qcoreapplication.h:231
#16 Konsole::AutoScrollHandler::timerEvent (this=0x559d3549cc50, event=<optimized out>) at /usr/src/debug/konsole-17.04.1/src/TerminalDisplay.cpp:3452
#17 0x00007f60ec32314b in QObject::event (this=0x559d3549cc50, e=<optimized out>) at kernel/qobject.cpp:1285
#18 0x00007f60ecb4dd9c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x559d3549cc50, e=0x7fff95ac5960) at kernel/qapplication.cpp:3799
#19 0x00007f60ecb553d4 in QApplication::notify (this=0x559d35239c30, receiver=0x559d3549cc50, e=0x7fff95ac5960) at kernel/qapplication.cpp:3556
#20 0x00007f60ec2fab8b in QCoreApplication::notifyInternal2 (receiver=0x559d3549cc50, event=event@entry=0x7fff95ac5960) at kernel/qcoreapplication.cpp:988
#21 0x00007f60ec34932b in QCoreApplication::sendEvent (event=0x7fff95ac5960, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#22 QTimerInfoList::activateTimers (this=0x559d352adaf0) at kernel/qtimerinfo_unix.cpp:644
#23 0x00007f60ec349871 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#24 0x00007f60e6dc4247 in g_main_dispatch (context=0x7f60cc0016f0) at gmain.c:3234
#25 g_main_context_dispatch (context=context@entry=0x7f60cc0016f0) at gmain.c:3899
#26 0x00007f60e6dc45e8 in g_main_context_iterate (context=context@entry=0x7f60cc0016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3972
#27 0x00007f60e6dc467c in g_main_context_iteration (context=0x7f60cc0016f0, may_block=may_block@entry=1) at gmain.c:4033
#28 0x00007f60ec349cef in QEventDispatcherGlib::processEvents (this=0x559d352ae770, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#29 0x00007f60ec2f9b8a in QEventLoop::exec (this=this@entry=0x7fff95ac5bb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#30 0x00007f60ec3017dc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261
#31 0x00007f60ec62be3c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1633
#32 0x00007f60ecb4dcf5 in QApplication::exec () at kernel/qapplication.cpp:2975
#33 0x00007f60ddd02110 in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/konsole-17.04.1/src/main.cpp:183
#34 0x0000559d33a52e3f in launch (argc=3, _name=0x559d3523a0a8 "konsole", args=<optimized out>, cwd=<optimized out>, envc=0, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x559d33a55a92 "0") at /usr/src/debug/kinit-5.35.0/src/kdeinit/kinit.cpp:705
#35 0x0000559d33a5416c in handle_launcher_request (sock=8, who=<optimized out>) at /usr/src/debug/kinit-5.35.0/src/kdeinit/kinit.cpp:1145
#36 0x0000559d33a54adf in handle_requests (waitForPid=0) at /usr/src/debug/kinit-5.35.0/src/kdeinit/kinit.cpp:1338
#37 0x0000559d33a4fa0c in main (argc=5, argv=<optimized out>) at /usr/src/debug/kinit-5.35.0/src/kdeinit/kinit.cpp:1784

Comment 1 frantisek.reznicek 2017-07-14 09:54:40 UTC
Created attachment 1298230 [details]
F26 package list

Comment 2 Fedora End Of Life 2018-05-03 08:10:08 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 3 Fedora End Of Life 2018-05-29 12:29:43 UTC
Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26
is no longer maintained, which means that it will not receive any
further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.