/usr/bin/w -s segfaults
Bug #2067250 reported by
Marius Vollmer
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
procps (Debian) |
Confirmed
|
Unknown
|
|||
procps (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
procps 2:4.0.4-4ubuntu3
Just running "w -s" segfaults:
# w -s
07:55:26 up 8 min, 3 users, load average: 0.00, 0.03, 0.02
USER TTY FROM IDLE WHAT
Segmentation fault (core dumped)
I see if I can get a backtrace.
Changed in procps (Debian): | |
status: | Unknown → Confirmed |
To post a comment you must log in.
Program received signal SIGSEGV, Segmentation fault. host@entry= 0x4c <error: Cannot access memory at address 0x4c>, fromlen@ entry=16) at src/w.c:112 host@entry= 0x4c <error: Cannot access memory at address 0x4c>, fromlen@ entry=16) at src/w.c:112 session@ entry=0x0, ip_addresses@ entry=0, fromlen= fromlen@ entry=16) 0x555555560580 "3", name@entry= 0x555555560770 "root", u=u@entry=0x0, formtype@ entry=0, maxcmd= maxcmd@ entry=35, from=from@entry=1,
print_host (
host=
len=16, len@entry=256, fromlen=
112 if (*host == '\0') break;
(gdb) bt
#0 print_host (
host=
len=16, len@entry=256, fromlen=
#1 0x0000555555557161 in print_from (session=
u=u@entry=0x0, ip_addresses=
at src/w.c:264
#2 0x00005555555580e0 in showinfo (session=
name=
formtype=
userlen=8, fromlen=16, ip_addresses=0, pids=0) at src/w.c:622
#3 0x0000555555556a8f in main (argc=<optimized out>, argv=<optimized out>)
at src/w.c:831