w.procps crashed with SIGSEGV in stat2proc()

Bug #1242403 reported by Jakuje
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
procps (Ubuntu)
Status tracked in Resolute
Resolute
Confirmed
Critical
Unassigned

Bug Description

Some time after system started, this appeared ...

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: procps 1:3.2.8-11ubuntu6.2
Uname: Linux 3.3.6-030306-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.0.1-0ubuntu17.5
Architecture: amd64
CrashCounter: 1
Date: Sun Oct 20 20:19:54 2013
DistributionChannelDescriptor:
 # This is a distribution channel descriptor
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-precise-amd64-20120703-2
ExecutablePath: /usr/bin/w.procps
InstallationMedia: Ubuntu 12.04 "Precise" - Build amd64 LIVE Binary 20120703-15:08
MarkForUpload: True
ProcCmdline: w
ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
SegvAnalysis:
 Segfault happened at: 0x7f71a353ebe5 <__strrchr_sse42+53>: movdqa (%r8),%xmm0
 PC (0x7f71a353ebe5) ok
 source "(%r8)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%xmm0" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: procps
StacktraceTop:
 ?? () from /lib/libproc-3.2.8.so
 ?? () from /lib/libproc-3.2.8.so
 readproc () from /lib/libproc-3.2.8.so
 readproctab () from /lib/libproc-3.2.8.so
 ?? ()
Title: w.procps crashed with SIGSEGV in readproc()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
Jakuje (jakuje) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 stat2proc (S=0x1 <Address 0x1 out of bounds>, P=0x1549120) at proc/readproc.c:388
 simple_readproc (PT=0x1515010, p=0x1549120) at proc/readproc.c:604
 readproc (PT=0x1515010, p=0x1549120) at proc/readproc.c:863
 readproctab (flags=74) at proc/readproc.c:1049
 main (argc=1, argv=0x7fff061a0ac8) at w.c:311

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in procps (Ubuntu):
importance: Undecided → Medium
summary: - w.procps crashed with SIGSEGV in readproc()
+ w.procps crashed with SIGSEGV in stat2proc()
tags: removed: need-amd64-retrace
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in procps (Ubuntu):
status: New → Confirmed
Revision history for this message
Matthias Klose (doko) wrote :

seen in resolute:

$ gdb /usr/bin/w
GNU gdb (Ubuntu 16.3-1ubuntu2) 16.3
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/w...
(No debugging symbols found in /usr/bin/w)
(gdb) run
Starting program: /usr/bin/w
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".
 08:00:47 up 14 days, 17:31, 0 users, load average: 0.28, 0.48, 0.68
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT

Program received signal SIGSEGV, Segmentation fault.
0x0000555555556d86 in ?? ()
(gdb) bt
#0 0x0000555555556d86 in ?? ()
#1 0x00007ffff7c4d575 in __libc_start_call_main (main=main@entry=0x555555556820,
    argc=argc@entry=1, argv=argv@entry=0x7fffffffe4b8) at ../sysdeps/nptl/libc_start_call_main.h:58
#2 0x00007ffff7c4d628 in __libc_start_main_impl (main=0x555555556820, argc=1,
    argv=0x7fffffffe4b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
    stack_end=0x7fffffffe4a8) at ../csu/libc-start.c:360
#3 0x0000555555557085 in ?? ()
(gdb)

information type: Private → Public
Changed in procps (Ubuntu Resolute):
importance: Medium → Critical
tags: added: resolute
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.