SIGSEGV when switching to the Tek mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xterm (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When I press both mouse buttons while holding Ctrl and select Switch to Tek mode, xterm crashes.
$ gdb xterm
GNU gdb (Ubuntu 8.2-0ubuntu1) 8.2
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://
Find the GDB manual and other documentation resources online at:
<http://
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from xterm...Reading symbols from /usr/lib/
done.
(gdb) run
Starting program: /usr/bin/xterm
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
[Detaching after fork from child process 13992]
[Detaching after fork from child process 13993]
Program received signal SIGSEGV, Segmentation fault.
TekSetWinSize (tw=0x0) at ../Tekproc.c:918
918 ../Tekproc.c: No such file or directory.
(gdb) bt full
#0 TekSetWinSize (tw=0x0) at ../Tekproc.c:918
No locals.
#1 0x00005555555aa1b0 in end_vt_mode () at ../misc.c:5705
xw = 0x55555583afc0
#2 0x00007ffff745432e in XtCallCallbacks (widget=
callbacks = <optimized out>
icl = 0x555555891c10
cl = 0x555555891c18
i = <optimized out>
ostate = <optimized out>
app = 0x5555558073c0
#3 0x00007ffff7488a0d in HandleActions (w=w@entry=
actions=
bindWidget = <optimized out>
hook = <optimized out>
next_hook = <optimized out>
procName = <optimized out>
#4 0x00007ffff7488e75 in HandleSimpleState (w=w@entry=
at ../../src/
bindData = <optimized out>
procs = <optimized out>
accelWidget = <optimized out>
xlations = 0x5555558382c0
stateTree = <optimized out>
contextPtr = 0x555555845858
i = 1
actions = 0x555555837cf0
matchExact = 1 '\001'
match = <optimized out>
currIndex = -2
typeIndex = 3
modIndex = 0
#5 0x00007ffff7489b3d in _XtTranslateEvent (w=w@entry=
tmRecPtr = 0x555555845848
curEvent = {xev = 0x7fffffffd6e0, event = {modifiers = 516, modifierMask = 0, lateModifiers = 0x0, eventType = 5, eventCode = 2, eventCodeMask = 0,
#6 0x00007ffff7461e52 in XtDispatchEvent
--Type <RET> for more, q to quit, c to continue without paging--
p = <optimized out>
call_tm = <optimized out>
mask = <optimized out>
app = <optimized out>
#7 0x00007ffff746283d in _XtDefaultDispa
mask = 8
dspWidget = 0x555555845800
widget = 0x555555845800
grabType = remap
pdi = 0x555555815370
grabList = 0x555555892240
app = <optimized out>
#8 0x00007ffff7462919 in XtDispatchEvent (event=
safe = <optimized out>
pd = <optimized out>
time = <optimized out>
dispatch = <optimized out>
app = 0x5555558073c0
#9 0x00005555555a8bbc in xevents () at ../misc.c:680
xw = 0x55555583afc0
screen = 0x55555583b148
event = {type = 5, xany = {type = 5, serial = 719, send_event = 0, display = 0x5555558086b0, window = 171966544}, xkey = {type = 5, serial = 719,
y_root = 691, state = 516, keycode = 2, same_screen = 1}, xbutton = {type = 5, serial = 719, send_event = 0, display = 0x5555558086b0,
window = 171966544, root = 348, subwindow = 0, time = 158476707, x = 146, y = 401, x_root = 425, y_root = 691, state = 516, button = 2,
time = 158476707, x = 146, y = 401, x_root = 425, y_root = 691, state = 516, is_hint = 2 '\002', same_screen = 1}, xcrossing = {type = 5,
serial = 719, send_event = 0, display = 0x5555558086b0, window = 171966544, root = 348, subwindow = 0, time = 158476707, x = 146, y = 401,
x_root = 425, y_root = 691, mode = 516, detail = 2, same_screen = 1, focus = 0, state = 516}, xfocus = {type = 5, serial = 719, send_event = 0,
display = 0x5555558086b0, window = 171966544, mode = 348, detail = 0}, xexpose = {type = 5, serial = 719, send_event = 0,
display = 0x5555558086b0, window = 171966544, x = 348, y = 0, width = 0, height = 0, count = 158476707}, xgraphicsexpose = {type = 5,
serial = 719, send_event = 0, display = 0x5555558086b0, drawable = 171966544, x = 348, y = 0, width = 0, height = 0, count = 158476707,
--Type <RET> for more, q to quit, c to continue without paging--
state = 348}, xcreatewindow = {type = 5, serial = 719, send_event = 0, display = 0x5555558086b0, parent = 171966544, window = 348, x = 0, y = 0,
width = 158476707, height = 0, border_width = 146, override_redirect = 401}, xdestroywindow = {type = 5, serial = 719, send_event = 0,
display = 0x5555558086b0, event = 171966544, window = 348}, xunmap = {type = 5, serial = 719, send_event = 0, display = 0x5555558086b0,
event = 171966544, window = 348, from_configure = 0}, xmap = {type = 5, serial = 719, send_event = 0, display = 0x5555558086b0, event = 171966544,
window = 348, override_redirect = 0}, xmaprequest = {type = 5, serial = 719, send_event = 0, display = 0x5555558086b0, parent = 171966544,
window = 348}, xreparent = {type = 5, serial = 719, send_event = 0, display = 0x5555558086b0, event = 171966544, window = 348, parent = 0,
x = 158476707, y = 0, override_redirect = 146}, xconfigure = {type = 5, serial = 719, send_event = 0, display = 0x5555558086b0, event = 171966544,
window = 348, x = 0, y = 0, width = 158476707, height = 0, border_width = 146, above = 2967822401961, override_redirect = 516}, xgravity = {
type = 5, serial = 719, send_event = 0, display = 0x5555558086b0, event = 171966544, window = 348, x = 0, y = 0}, xresizerequest = {type = 5,
serial = 719, send_event = 0, display = 0x5555558086b0, window = 171966544, width = 348, height = 0}, xconfigurerequest = {type = 5, serial = 719,
above = 2967822401961, detail = 516, value_mask = 1}, xcirculate = {type = 5, serial = 719, send_event = 0, display = 0x5555558086b0,
event = 171966544, window = 348, place = 0}, xcirculaterequest = {type = 5, serial = 719, send_event = 0, display = 0x5555558086b0,
parent = 171966544, window = 348, place = 0}, xproperty = {type = 5, serial = 719, send_event = 0, display = 0x5555558086b0, window = 171966544,
atom = 348, time = 0, state = 158476707}, xselectionclear = {type = 5, serial = 719, send_event = 0, display = 0x5555558086b0, window = 171966544,
xcolormap = {type = 5, serial = 719, send_event = 0, display = 0x5555558086b0, window = 171966544, colormap = 348, new = 0, state = 0}, xclient = {
type = 5, serial = 719, send_event = 0, display = 0x5555558086b0, window = 171966544, message_type = 348, format = 0, data = {
b = "\243)r\
window = 171966544, request = 348, first_keycode = 0, count = 0}, xerror = {type = 5, display = 0x2cf, resourceid = 93823560581120,
serial = 93824995067568, error_code = 80 'P', request_code = 0 '\000', minor_code = 64 '@'}, xkeymap = {type = 5, serial = 719, send_event = 0,
display = 0x5555558086b0, window = 171966544,
display = 0x5555558086b0, extension = 171966544, evtype = 0, cookie = 348, data = 0x0}, pad = {140733193388037, 719, 93823560581120,
input_mask = <optimized out>
#10 0x000055555558f391 in in_put (xw=0x55555583afc0) at ../charproc.c:4912
size = <optimized out>
time_select = <optimized out>
screen = 0x55555583b148
i = <optimized out>
update = 0
tick = 37500
select_mask = {fds_bits = {8, 0 <repeats 15 times>}}
write_mask = {fds_bits = {0 <repeats 16 times>}}
screen = <optimized out>
i = <optimized out>
--Type <RET> for more, q to quit, c to continue without paging--
update = <optimized out>
tick = <optimized out>
size = <optimized out>
time_select = <optimized out>
__d = <optimized out>
__d = <optimized out>
__i__ = <optimized out>
__d = <optimized out>
__i__ = <optimized out>
__d0 = <optimized out>
__d1 = <optimized out>
__d = <optimized out>
__d = <optimized out>
__d = <optimized out>
#11 doinput () at ../charproc.c:4927
screen = 0x55555583b148
screen = <optimized out>
#12 VTparse (xw=xw@
No locals.
#13 0x000055555558f9c2 in VTRun (xw=0x55555583afc0) at ../charproc.c:7127
screen = 0x55555583b148
#14 0x0000555555577e52 in main (argc=<optimized out>, argv=<optimized out>) at ../main.c:2782
form_top = 0x55555582b750
menu_top = 0x55555582b750
menu_high = 0
screen = <optimized out>
mode = <optimized out>
my_class = 0x555555804260 "XTerm"
line_speed = 15
(gdb) quit
A debugging session is active.
Inferior 1 [process 13988] will be killed.
Quit anyway? (y or n) y
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: xterm 330-1ubuntu3
ProcVersionSign
Uname: Linux 4.18.0-14-generic x86_64
.tmp.unity_
ApportVersion: 2.20.10-0ubuntu13.2
Architecture: amd64
CompositorRunning: compiz
CompositorUnred
CompositorUnred
CurrentDesktop: Unity:Unity7:ubuntu
Date: Wed Mar 20 17:32:21 2019
DistUpgraded: Fresh install
DistroCodename: cosmic
DistroVariant: ubuntu
DkmsStatus:
ddcci, 0.3.1, 4.18.0-12-generic, x86_64: installed
ddcci, 0.3.1, 4.18.0-14-generic, x86_64: installed
ddcci, 0.3.1, 4.18.0-8-generic, x86_64: installed
GraphicsCard:
Intel Corporation HD Graphics 5500 [8086:1616] (rev 09) (prog-if 00 [VGA controller])
Subsystem: Lenovo HD Graphics 5500 [17aa:2226]
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20180105.1)
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xterm
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.vendor: LENOVO
dmi.board.
dmi.board.vendor: LENOVO
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.product.family: ThinkPad X250
dmi.product.
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.13.
version.libdrm2: libdrm2 2.4.97-1
version.
version.
version.
version.
version.
version.
version.