Control: reassign -1 procps
Control: retitle -1 w -s segfaults

md:~/seeweb/ricette/current$ w -s
 19:45:48 up 1 day, 22:56,  2 users,  load average: 0,02, 0,02, 0,07
USER     TTY      FROM              IDLE WHAT
Errore di segmentazione (core dump creato)
[Exit 139 (SEGV)]
md:~/seeweb/ricette/current 139$ coredumpctl debug 345157
...

(gdb) where
#0  print_host (
    host=host@entry=0x4c <error: Cannot access memory at address 0x4c>, 
    len=16, len@entry=256, fromlen=fromlen@entry=16) at src/w.c:112
#1  0x000055589b960371 in print_from (session=session@entry=0x0, 
    u=u@entry=0x0, ip_addresses=ip_addresses@entry=0, fromlen=fromlen@entry=16)
    at src/w.c:264
#2  0x000055589b960e6e in showinfo (session=0x5558ae332610 "1", 
    name=name@entry=0x5558ae3330e0 "md", u=u@entry=0x0, 
    formtype=formtype@entry=0, maxcmd=maxcmd@entry=35, from=from@entry=1, 
    userlen=8, fromlen=16, ip_addresses=0, pids=0) at src/w.c:622
#3  0x000055589b95f71f in main (argc=<optimized out>, argv=<optimized out>)
    at src/w.c:831
(gdb) 

-- 
ciao,
Marco

Attachment: signature.asc
Description: PGP signature

Reply via email to