xterm segfaults randomly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xterm (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
UPDATE: The fault seems to be totally random since the same args can succeed sometimes and will segfault on others. See the 2nd comment below.
Binary package hint: xterm
xterm is segfaulting whenever I use more than 9999 scroll lines. I was previously using 50000 lines of scrollback and it worked fine, but now it's broken. I would have to guess that it broke with the latest version (229-1ubuntu1) because it has previously worked for me.
I am running 229-1ubuntu1, I will try to run an older version and see what happens.
Here is the command line I've used for testing, although the colors don't seem to matter:
xterm +vb -sb -sl 5000 -bg black -fg red -fn 7x13bold --> Works
xterm +vb -sb -sl 9999 -bg black -fg red -fn 7x13bold --> Works
xterm +vb -sb -sl 10000 -bg black -fg red -fn 7x13bold --> segfault
xterm +vb -sb -sl 10001 -bg black -fg red -fn 7x13bold --> segfault
I will also try to get a core dump and update the bug.
Two notes:
1) I cannot seem to get a core file. The program is crashing as follows:
mfisch@tadow:~$ xterm +vb -sb -sl 50000 -bg black -fg red -fn 7x13bold
Segmentation fault
mfisch@tadow:~$ echo $?
139
I have looked "all over" for the core file and I have "apport" installed as I found mentioned in the Wiki. It's not in /var/crash either.
2) The bug title is now inaccurate. xterm seems to like some values and not like others. For example:
10000 - works
10001 - segfault
10002 - segfault
9993 - segfault
9992 - segfault
9999 - segfault (sometimes)
I will run this under gdb since this is getting more and more odd.