[Bug 2067250] Re: /usr/bin/w -s segfaults

Marius Vollmer 2067250 at bugs.launchpad.net
Mon May 27 08:01:52 UTC 2024


Program received signal SIGSEGV, Segmentation fault.
print_host (
    host=host at entry=0x4c <error: Cannot access memory at address 0x4c>, 
    len=16, len at entry=256, fromlen=fromlen at entry=16) at src/w.c:112
112			if (*host == '\0') break;
(gdb) bt
#0  print_host (
    host=host at entry=0x4c <error: Cannot access memory at address 0x4c>, 
    len=16, len at entry=256, fromlen=fromlen at entry=16) at src/w.c:112
#1  0x0000555555557161 in print_from (session=session at entry=0x0, 
    u=u at entry=0x0, ip_addresses=ip_addresses at entry=0, fromlen=fromlen at entry=16)
    at src/w.c:264
#2  0x00005555555580e0 in showinfo (session=0x555555560580 "3", 
    name=name at entry=0x555555560770 "root", u=u at entry=0x0, 
    formtype=formtype at entry=0, maxcmd=maxcmd at entry=35, from=from at entry=1, 
    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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to procps in Ubuntu.
https://bugs.launchpad.net/bugs/2067250

Title:
  /usr/bin/w -s segfaults

Status in procps package in Ubuntu:
  New
Status in procps package in Debian:
  Unknown

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/procps/+bug/2067250/+subscriptions




More information about the foundations-bugs mailing list