Bug#459381: xterm: segmentation fault when selecting multi-line text
Package: xterm
Version: 230-1
Severity: important
*** Please type your report below this line ***
Selecting more than one line crashes xterm. The crash depends on what
the xterm window contains.
Steps to reproduce:
1. Start xterm
2. 'cat test.txt' (see attachment) The xterm window should look like the
attached xterm-before-selection.png
3. Position the pointer to the end of the '--disable-rectangles' string
4. Start selecting text left and upwards
Result:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7a9f8c0 (LWP 24435)]
0x08075444 in ?? ()
(gdb) bt
#0 0x08075444 in ?? ()
#1 0x080b9044 in ?? ()
#2 0xbfe664b8 in ?? ()
#3 0x0804e543 in ?? ()
#4 0x080b7e68 in ?? ()
#5 0x00000007 in ?? ()
#6 0x00000035 in ?? ()
#7 0xbfe664d8 in ?? ()
#8 0x080b7d68 in ?? ()
#9 0xb7e5b558 in ?? () from /usr/lib/libXt.so.6
#10 0xbfe664e8 in ?? ()
#11 0x08050e36 in ?? ()
#12 0xbfe664d8 in ?? ()
#13 0x080b7d68 in ?? ()
#14 0xbfe664e8 in ?? ()
#15 0xb7e236a1 in XtWidgetToApplicationContext () from
/usr/lib/libXt.so.6
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.23 (PREEMPT)
Locale: LANG=hu_HU, LC_CTYPE=hu_HU (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/bash
Versions of packages xterm depends on:
ii libc6 2.7-5 GNU C Library: Shared libraries
ii libfontconfig1 2.4.2-1.2 generic font configuration library
ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library
ii libncurses5 5.6+20071124-1 Shared libraries for terminal hand
ii libsm6 2:1.0.3-1+b1 X11 Session Management library
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxaw7 2:1.0.4-1 X11 Athena Widget library
ii libxext6 1:1.0.3-2 X11 miscellaneous extension librar
ii libxft2 2.1.12-2 FreeType-based font drawing librar
ii libxmu6 1:1.0.3-1 X11 miscellaneous utility library
ii libxt6 1:1.0.5-3 X11 toolkit intrinsics library
ii xbitmaps 1.0.1-2 Base X bitmaps
Versions of packages xterm recommends:
ii xutils 1:7.1.ds.3-1 X Window System utility programs
-- no debconf information
--disable-full-tgetent --disable-desktop --disable-setuid --disable-setgid --disable-imake --disable-active-icon --disable-ansi-color --disable-16-color --disable-blink-cursor --disable-c1-print --disable-bold-color --disable-color-class --disable-color-mode --disable-highlighting --disable-doublechars --disable-boxchars --disable-freetype --disable-sun-fkeys --disable-i18n --disable-initial-erase --disable-input-method --disable-maximize --disable-num-lock --disable-pty-handshake --disable-regex --disable-rightbar --disable-samename --disable-session-mgt --disable-tek4014 --disable-vt52 --disable-rectangles --disable-ziconbeep --disable-leaks --disable-echo

Reply to: