Bug 125412 - konsole crash with mouse selection and "less" pager starting at the same time
Summary: konsole crash with mouse selection and "less" pager starting at the same time
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-12 10:51 UTC by Laurent Bonnaud
Modified: 2006-05-02 22:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Bonnaud 2006-04-12 10:51:15 UTC
Version:            (using KDE KDE 3.5.2)
Installed from:    Debian testing/unstable Packages
Compiler:          gcc version 4.0.3 (Debian 4.0.3-1) 
OS:                Linux

Hi,

this bug is very similar to bug #2927.  I could not reopen it, so here is a new one.

This bug occurs in a reproducible way when I do this:

 - I type an "apt-get install SOME_PACKAGE" command, then "Enter"
 - While apt-get starts up, I select the command with the left mouse button (in order to paste it to another konsole where there is an SSH connection to a remote system)
 - If I'm not fast enough, apt-listchanges starts a "less" pager to display packages changelogs.  The text that I selected is therefore not displayed any longer and replaced by the changelogs display by "less".
 - Konsole crashes.

This happens every time I do this.  This happens on my i686 system and onn my amd64 system.

Here is a backtrace:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 47271323736272 (LWP 32496)]
[KCrash handler]
#5  0x00002afe36f5bbc8 in TEScreen::getSelText (this=0x6e4d30, 
    preserve_line_breaks=true, stream=0x7fffffc73bb0) at TEScreen.cpp:1404
#6  0x00002afe36f5c4b9 in TEScreen::getSelText (this=0x6e4d30, 
    preserve_line_breaks=true) at TEScreen.cpp:1205
#7  0x00002afe36f5cf26 in TEmulation::setSelection (this=0x6e43e0, 
    preserve_line_breaks=192) at TEmulation.cpp:351
#8  0x00002afe36f5cb36 in TEmulation::qt_invoke (this=0x6e43e0, _id=9, 
    _o=0x7fffffc73da0) at TEmulation.moc:293
#9  0x00002afe36f5cbea in TEmuVt102::qt_invoke (this=0x6e43e0, _id=9, 
    _o=0x7fffffc73da0) at TEmuVt102.moc:120
#10 0x0000003e35a0e776 in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#11 0x0000003e35a0eaed in QObject::activate_signal_bool ()
   from /usr/lib/libqt-mt.so.3
#12 0x00002afe36f3db6c in TEWidget::mouseReleaseEvent (this=0x6cb510, 
    ev=0x7fffffc74430) at TEWidget.cpp:1523
#13 0x0000003e35a46300 in QWidget::event () from /usr/lib/libqt-mt.so.3
#14 0x00002afe36f3a05a in TEWidget::event (this=0x6cb510, e=0x7fffffc74430)
    at TEWidget.cpp:1947
#15 0x0000003e359a7c0c in QApplication::internalNotify ()
   from /usr/lib/libqt-mt.so.3
#16 0x0000003e359a8255 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#17 0x00002afe3495cd6e in KApplication::notify (this=0x7fffffc74fc0, 
    receiver=0x6cb510, event=0x7fffffc74430) at kapplication.cpp:550
#18 0x0000003e359393d8 in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#19 0x0000003e35934ba8 in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#20 0x0000003e35932fcb in QApplication::x11ProcessEvent ()
   from /usr/lib/libqt-mt.so.3
#21 0x0000003e3594be7b in QEventLoop::processEvents ()
   from /usr/lib/libqt-mt.so.3
#22 0x0000003e359bfaa2 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#23 0x0000003e359bf9ab in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#24 0x0000003e359a6878 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#25 0x00002afe36f725f9 in kdemain (argc=<value optimized out>, 
    argv=<value optimized out>) at main.cpp:611
#26 0x00000000004072d9 in launch (argc=3, _name=0x542948 "konsole", 
    args=0x542991 "", cwd=0x0, envc=0, envs=0x542999 "", reset_env=false, 
    tty=0x0, avoid_loops=false, startup_id_str=0x409b9e "0") at kinit.cpp:639
#27 0x00000000004079df in handle_launcher_request (sock=8) at kinit.cpp:1205
#28 0x0000000000407fbf in handle_requests (waitForPid=0) at kinit.cpp:1406
#29 0x0000000000408efd in main (argc=2, argv=0x7fffffc76648, 
    envp=0x7fffffc76660) at kinit.cpp:1850
#30 0x00002afe340954ca in __libc_start_main () from /lib/libc.so.6
#31 0x0000000000404aaa in _start () at ../sysdeps/x86_64/elf/start.S:113

Here is a complete list of dependencies:

Package: konsole
Version: 4:3.5.2-1

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-amd64-k8
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

Versions of packages konsole depends on:
ii  kdelibs4c2a               4:3.5.2-2      core libraries for all KDE applica
ii  libc6                     2.3.6-6        GNU C Library: Shared libraries
ii  libgcc1                   1:4.1.0-1      GCC support library
ii  libstdc++6                4.1.0-1        The GNU Standard C++ Library v3
ii  libxrender1               1:0.9.0.2-1    X Rendering Extension client libra
ii  libxtst6                  6.9.0.dfsg.1-6 X Window System event recording an
Comment 1 Kurt Hindenburg 2006-05-02 19:33:12 UTC
I'm thinking this has been fixed in KDE 3.5.3.  Reopen if you can reproduce in 3.5.3.
Comment 2 Kurt Hindenburg 2006-05-02 22:48:50 UTC
Well, my comment was for another bug... still it might be fixed for 3.5.3.  Reopen if you can reproduce it again.