xterm on x86_64 intermittently segfaults when ~/XTerm contains "*scrollBar: true" and "*saveLines: 100000"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
compiz (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
libxt (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
xterm (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: xterm
On an Apple iMac running gutsy x86_64 (see the following page for how
I installed Ubuntu Gutsy 7.10)
http://
I get intermittent segfaults (seen in dmesg as follows) when I have these lines
in my $HOME/XTerm file:
*saveLines: 100000
*scrollBar: true
The "dmesg" shows (near the end):
...
[ 75.653087] usbcore: registered new interface driver hci_usb
[ 80.212588] input: Apple Wireless Keyboard as /class/input/input7
[ 81.591194] eth0: no IPv6 routers present
[ 187.769457] input: Apple Computer, Inc. Mighty Mouse as /class/input/input8
[ 382.334078] xterm[6166]: segfault at 0000000000864720 rip 0000000000430b42 rsp 00007fff5a575e90 error 4
[ 409.309826] xterm[6275]: segfault at 0000000000864720 rip 0000000000430b42 rsp 00007fffe8641840 error 4
[ 412.192927] xterm[6277]: segfault at 0000000000864720 rip 0000000000430b42 rsp 00007fffe1566760 error 4
[ 494.620109] xterm[6420]: segfault at 0000000000864720 rip 0000000000430b42 rsp 00007fffcb8d6ad0 error 4
[ 721.615266] xterm[6472]: segfault at 0000000000016020 rip 0000000000430b42 rsp 00007fff243d15d0 error 4
[ 728.242205] xterm[6564]: segfault at 0000000000016020 rip 0000000000430b42 rsp 00007fffbf625820 error 4
[ 730.843312] xterm[6566]: segfault at 0000000000016020 rip 0000000000430b42 rsp 00007fff6d3f25f0 error 4
[ 733.582368] xterm[6568]: segfault at 0000000000016020 rip 0000000000430b42 rsp 00007fff962fa500 error 4
(an occasional segfault is reported when I launch "xterm", and it fails to launch, adding one more line to the dmesg).
When I remove the following line from $HOME/XTerm
*scrollBar: true
the intermittent failures stop occurring, so it seems to be a workaround.
Adding an attachment.
Place this file in your $HOME to reproduce the problem:
$ xterm &
[2] 7210
$ xterm &
[3] 7227
$ xterm &
[4] 7244
$ xterm &
[5] 7245
[4] Segmentation fault xterm
$ xterm &
[6] 7262
$ xterm &
[7] 7279
[1] Done xterm
[2] Done xterm
[3] Done xterm
[5] Done xterm
[6] Done xterm
$ xterm &
[8] 7280
[7] Segmentation fault xterm