Your message dated Sun, 20 May 2012 08:54:53 +0000
with message-id <[email protected]>
and subject line Bug#650864: fixed in procps 1:3.3.3-1
has caused the Debian Bug report #650864,
regarding top forest view segfault
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
650864: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650864
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: procps
Version: 1:3.3.0-1

If I enable forest view (V) and hit pagedown several times (shift-pagedown on 
some terminals), top exists with a segmentation fault.

I'm using a 3.0 x86_64 kernel within a 64bit Xen slice: Linux version 
3.0.4-x86_64-linode21 ([email protected]) (gcc version 4.4.3 (Ubuntu 
4.4.3-4ubuntu5) ) #1 SMP Thu Sep 1 21:28:01 EDT 2011.  Even so, this is a 32bit 
Debian install.  (eglibc 2.13-21, gcc 4.6.2-5)

I've removed ~/.toprc entirely and can still duplicate the problem.  Terminal 
size is 132x70, but I'm running inside screen with a hardstatus line, so there 
are 69 lines available.

Rebuilding the package with debugging symbols and non-stripped binaries, and 
running with gdb, I get:

Program received signal SIGSEGV, Segmentation fault.
0x080522b0 in task_show (q=0x8059e20, p=0x0) at top.c:3450
3450                makeCOL(p->tid);

(gdb) backtrace full
#0  0x080522b0 in task_show (q=0x8059e20, p=0x0) at top.c:3450
       cbuf = "\n\033[m\017 1745 root      20   0     0    0    0 S   0.0  0.0  
16:16.51  `- flush-202:32", ' ' <repeats 54 times>, 
"\033[m\017\033[39;49m\000\064\071\250\065\005\b\001\000\000\000\247\065\005\b0 
0 
\220\275\377\377=B\345\367\002\000\000\000\244\065\005\b\000\000\000\000p\277\377\377K\001\000\000\244\065\005\b0
 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 \000\000\000\000\060 0 
\000\000\000\000\000\000\000\000\060 0 ", '\000' <repeats 16 times>...
       i = 0 '\000'
       s = -1
       w = -1
       f = 0x80536ae "%5d "
       rbuf = "\000\061\067\064\065 root      20   0     0    0    0 S   0.0  
0.0  16:16.51  `- flush-202:32", ' ' <repeats 54 times>, 
"\000j\a\b\240l\a\b\bp\a\b8r\a\b\250u\a\b\000\201\a\b\350\210\a\b@\232\a\b\350\235\a\b\030\240\a\b\370\245\a\b\260\251\a\bP\257\006\b\b\332\a\b\020\377\a\b\310\036\b\b0Z\b\b\230e\b\b\300l\b\b\210\036\006\b\320\064\006\b\020\270\006\bX\272\006\b\210\274\006\bؾ\006\b\b\301\006\b`\303\006\b\220\305\006\b\360\307\006\b
 
\312\006\b\210\314\006\b\270\316\006\b(\321\006\bX\323\006\b\320\325\006\b\000\330\006\b\200\332\006\b\260\334\006\b8\337\006\bh\341\006\b\370"...
       rp = 0xffffc160 ""
       j = -134764288
       x = 0
#1  0x08052ceb in window_show (q=0x8059e20, wmax=63) at top.c:3587
       i = 167
       lwin = 43
#2  0x08052f61 in frame_make () at top.c:3673
       w = 0x8059e20
       i = 3
       scrlins = 0
#3  0x0805313d in main (dont_care_argc=1, argv=0xffffd724) at top.c:3719
       tv = {tv_sec = 2, tv_usec = 269737}

(gdb) frame 0
#0  0x080522b0 in task_show (q=0x8059e20, p=0x0) at top.c:3450
3450                makeCOL(p->tid);

(gdb) l
3445    #endif
3446             case P_PGD:
3447                makeCOL(p->pgrp);
3448                break;
3449             case P_PID:
3450                makeCOL(p->tid);
3451                break;
3452             case P_PPD:
3453                makeCOL(p->ppid);
3454                break;

(gdb) print p
$1 = (const proc_t *) 0x0

(gdb) frame 1
#1  0x08052ceb in window_show (q=0x8059e20, wmax=63) at top.c:3587
3587             task_show(q, q->ppt[i++]);

(gdb) print *q
$2 = {
 pflgsall = "\000\003\016\017\026\030\033\037\022\025\024 ", '\000' <repeats 51 
times>, 
 procflgs = "\000\003\016\017\026\030\033\037\022\025\024 ", '\000' <repeats 51 
times>, rc = {sortindx = 18 '\022', winflags = 62774, maxtasks = 0, 
   summclr = 1, msgsclr = 1, headclr = 3, taskclr = 1, winname = "Def", 
   fieldscur = 
"\245\250\263\264\273\275\300ķ\272\271\305&')*+,-./012568<>?ABCFGHIJKLMNOPQRSTUVWXYZ[\000\000\000\000\000\000\000\000"},
 winnum = 1, 
 winlines = 63, maxpflgs = 12, totpflgs = 12, begpflg = 0, endpflg = 0, 
 begtask = 124, varcolsz = 69, usrseluid = 0, usrseltyp = 0, hdrcaplen = 0, 
 capclr_sum = '\000' <repeats 63 times>, 
 capclr_msg = "\033[7m", '\000' <repeats 59 times>, 
 capclr_pmt = "\033[1m", '\000' <repeats 59 times>, 
 capclr_hdr = "\033[7m", '\000' <repeats 59 times>, 
 capclr_rowhigh = "\033[m\017\033[1m", '\000' <repeats 55 times>, 
 capclr_rownorm = "\033[m\017", '\000' <repeats 59 times>, 
 cap_bold = "\033[1m", '\000' <repeats 27 times>, grpname = "1:Def", 
 columnhdr = "  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  
COMMAND", ' ' <repeats 63 times>, '\000' <repeats 379 times>, 
 eolcap = 0x8059580 "\033[m\017\033[39;49m", captab = {
   0x8059540 "\033[m\017", 0x8059540 "\033[m\017", 0x805a0ac "\033[1m", 
   0x8059f2c "", 0x8059f6c "\033[7m", 0x8059fac "\033[1m", 
   0x8059fec "\033[7m", 0x805a02c "\033[m\017\033[1m", 
   0x805a06c "\033[m\017"}, ppt = 0x8062f10, next = 0x805a308, 
 prev = 0x805acd8}

(gdb) print *q->ppt[168]
Cannot access memory at address 0x0

(gdb) print *q->ppt[167]
$3 = {tid = 1745, ppid = 2, pcpu = 0, state = 83 'S', pad_1 = 0 '\000', 
 pad_2 = 0 '\000', pad_3 = 1 '\001', utime = 0, stime = 97704, cutime = 0, 
 cstime = 0, start_time = 508, signal = '0' <repeats 16 times>, "\000", 
 blocked = '0' <repeats 16 times>, "\000", 
 sigignore = 'f' <repeats 16 times>, "\000", 
 sigcatch = '0' <repeats 16 times>, "\000", 
 _sigpnd = '0' <repeats 16 times>, "\000", start_code = 0, end_code = 0, 
 start_stack = 0, kstk_esp = 0, kstk_eip = 0, wchan = 4294967295, 
 priority = 20, nice = 0, rss = 0, alarm = 0, size = 0, resident = 0, 
 share = 0, trs = 0, lrs = 0, drs = 0, dt = 0, vm_size = 0, vm_lock = 0, 
 vm_rss = 0, vm_data = 0, vm_stack = 0, vm_swap = 0, vm_exe = 0, vm_lib = 0, 
 rtprio = 0, sched = 0, vsize = 0, rss_rlim = 4294967295, flags = 2157969472, 
 min_flt = 0, maj_flt = 0, cmin_flt = 0, cmaj_flt = 0, environ = 0x0, 
 cmdline = 0x0, cgroup = 0x0, supgid = 0x806f708 "-", supgrp = 0x0, 
 euser = "root\000usr/share/termi", ruser = "root\000usr/share/termi", 
 suser = "root\000usr/share/termi", fuser = "root\000usr/share/termi", 
 rgroup = '\000' <repeats 19 times>, egroup = '\000' <repeats 19 times>, 
 sgroup = '\000' <repeats 19 times>, fgroup = '\000' <repeats 19 times>, 
 cmd = "flush-202:32\000\000\000", ring = 0x0, next = 0x0, pgrp = 0, 
 session = 0, nlwp = 1, tgid = 1745, tty = 0, euid = 0, egid = 0, ruid = 0, 
 rgid = 0, suid = 0, sgid = 0, fuid = 0, fgid = 0, tpgid = -1, 
 exit_signal = 17, processor = 2}

...maybe an off-by-one near top.c:3587?




--- End Message ---
--- Begin Message ---
Source: procps
Source-Version: 1:3.3.3-1

We believe that the bug you reported is fixed in the latest version of
procps, which is due to be installed in the Debian FTP archive:

libprocps0-dev_3.3.3-1_amd64.deb
  to main/p/procps/libprocps0-dev_3.3.3-1_amd64.deb
libprocps0_3.3.3-1_amd64.deb
  to main/p/procps/libprocps0_3.3.3-1_amd64.deb
procps_3.3.3-1.debian.tar.gz
  to main/p/procps/procps_3.3.3-1.debian.tar.gz
procps_3.3.3-1.dsc
  to main/p/procps/procps_3.3.3-1.dsc
procps_3.3.3-1_amd64.deb
  to main/p/procps/procps_3.3.3-1_amd64.deb
procps_3.3.3.orig.tar.xz
  to main/p/procps/procps_3.3.3.orig.tar.xz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Craig Small <[email protected]> (supplier of updated procps package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 20 May 2012 16:48:44 +1000
Source: procps
Binary: procps libprocps0 libprocps0-dev
Architecture: source amd64
Version: 1:3.3.3-1
Distribution: unstable
Urgency: low
Maintainer: Craig Small <[email protected]>
Changed-By: Craig Small <[email protected]>
Description: 
 libprocps0 - library for accessing process information from /proc
 libprocps0-dev - library for accessing process information from /proc
 procps     - /proc file system utilities
Closes: 351934 441166 459287 597021 650864 651213 651863 659038 662786 663334 
664015 665425 666181 668335 669128
Changes: 
 procps (1:3.3.3-1) unstable; urgency=low
 .
   * New upstream version
     - Changed labels of kB etc to KiB Closes: #662786
     - top supports hotplugged memory and cpus Closes: #351934, #459287
     - top %cpu not distorted when switch to/from threads Closes: #441166
     - top can read old toprc configuration files Closes: #651213, #651863
     - top supports input paste once again Closes: #663334
     - top -p avoids SEGV when pid doesn't exist Closes: 668335
     - pgrep.1 groff syntax fix Closes: #665425
     - sysctl .conf off-by-one error Closes: #669128
     - top forestview doesnt segfault Closes: #650864
     - skill: fix argument parsing regression Closes: #659038
     - sysctl: fix argument parsing regression Closes: #666181
     - watch: inform about optional argument for -d switch Closes: #597021
     - top.1: Fixed groff warnings Closes: #664015
 .
   * Update to standard version 3.9.3 - no changes
Checksums-Sha1: 
 d8f1f2e0ff6e765d22eabba75d57978abc5e414d 1952 procps_3.3.3-1.dsc
 f41ed2c5c855b81072ce63e8dbb094956dd1a469 513968 procps_3.3.3.orig.tar.xz
 2fa9b3ba6f858e33d94b902d798eb05ca566315a 26714 procps_3.3.3-1.debian.tar.gz
 23099624e767850bfdb4efa9304bf12fe18f05e1 252206 procps_3.3.3-1_amd64.deb
 5edd4cbdc542ff619d6c7b4c683ed8a9c4d03f2b 58018 libprocps0_3.3.3-1_amd64.deb
 bd56ebbeec4b0acf2854f76b97f29a14b62057b7 73458 libprocps0-dev_3.3.3-1_amd64.deb
Checksums-Sha256: 
 b09ef6ae1b57d9e3d093202762e1c40974bf9ea73ff971baeaf206adf9dd90af 1952 
procps_3.3.3-1.dsc
 062c826a0aac90c4257f8002480d91229491d604c767eefe50d622b578ca4e22 513968 
procps_3.3.3.orig.tar.xz
 bf4e064bfec14b5a26ee807968e2245e5abd18b1d068a1bb81d7eaf7053a57ac 26714 
procps_3.3.3-1.debian.tar.gz
 0f7d03045c92dce094ec7b3ac2e65481dafc47597618b6a53857f32bfe58898a 252206 
procps_3.3.3-1_amd64.deb
 21edcbaf69374a4c6e94c95b11c29fefdff7f94d10584caf093d40c681b8925f 58018 
libprocps0_3.3.3-1_amd64.deb
 b07a08fea16367f2c8b58a5b5f0ce392cf774976c8c31cd1c7db45d6d996d5e2 73458 
libprocps0-dev_3.3.3-1_amd64.deb
Files: 
 29c26d96477d06f3ae3756c955780da8 1952 admin important procps_3.3.3-1.dsc
 a236660cc09ad36e0e8a378f448161c3 513968 admin important 
procps_3.3.3.orig.tar.xz
 162c4fb35cb0488aee1279ea2c0da55a 26714 admin important 
procps_3.3.3-1.debian.tar.gz
 a1444d2a5caaa8a038f3ccd979870265 252206 admin important 
procps_3.3.3-1_amd64.deb
 2aed697f40192991e65b396529d88470 58018 admin important 
libprocps0_3.3.3-1_amd64.deb
 1d026db234f27ed00f5bf6290d3670e0 73458 libdevel optional 
libprocps0-dev_3.3.3-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJPuKI6AAoJEDk4+WvfUP6lOMUQAJXFk2DD2X94CSVASB5Gx10g
hwvaf2gdazWq7p2uYql7RdFH3YSrLswqVEECUUzqiabEC9adydVLMJd6zJdMISNU
FcjVpv7nGYmSNxe2cp2BnWc8y7iTG2x4oAWUysdTtU6vB+G9Ceg3Fb+eqyry4PFr
8mKc5FxKNPVSZRy+nqAA6xIm7XclMemmCSPPiq8h41pIN9qS1cWWw6svH9iH5QJM
5RquWgY8X+jBkT9D5Wg4iuJtgaPoG+CdCzhwIfrVGvU8r5Cn2F+djyDqJWYAv0JD
RKrdJ16hId0lXUW+zBGjnaFM6FuguhwpyrvoNRseghsBZrJkXIGJE/3TahSU7NHm
FoPXaiYhJMuS05iYtN86CeOPwdK7e/WwvqZdaNtrRdTyKUTJsEFPnff7GSe4uesL
YXOkn3VNnJdrq/Gn3gsxCuhQRD+QKjd//ylghzQQli0RnS9P37W2wa8cl3s9I2xb
92R2irqurUzm9rVE8Mip/O7SuXG8co5yH9MrVn3ArxBQYUiOy36BVwUHdxc7T6fY
BBAeQo4YGNzWPe9+V5OqrIBuKVc+ChGJrPb7XEMUZooajlNoKtQwZu3cgku4y+yK
U/hmYjqZkjz0Q0wwagk1evCBWUuOYPVKPBASSpr2Rbhv327qAA9w4z+jh8IIal5S
adqqrT1jvAR16dq9fYU2
=KRB+
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to