Your message dated Sun, 03 Jan 2016 06:34:13 +0000 with message-id <[email protected]> and subject line Bug#751297: fixed in procps 2:3.3.11-3 has caused the Debian Bug report #751297, regarding [libprocps] sysinfo.c is_disk does not guard against /sys being unavailable 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.) -- 751297: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751297 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: procps Version: 1:3.3.9-5 Usertags: goto-cc During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder and pbuilder) the build failed with the following error. [...] === vmstat tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using ./config/unix.exp as tool-and-target-specific interface file. Running ./vmstat.test/vmstat.exp ... FAIL: vmstat partition (using sda1) So what is going on here: ~/procps-3.3.9/testsuite# ../vmstat -p sda1 Segmentation fault ~/procps-3.3.9/testsuite# LD_LIBRARY_PATH=../proc/.libs/ gdb --args ../.libs/vmstat -p sda1 [...] (gdb) r Starting program: /srv/jenkins-slave/workspace/sid-goto-cc-procps/procps-3.3.9/.libs/vmstat -p sda1 Program received signal SIGSEGV, Segmentation fault. 0x00007ffff77bec8a in getdiskstat (disks=0x7fffffffe6b8, partitions=0x7fffffffe6c0) at sysinfo.c:942 942 (*disks)[cDisk-1].partitions++; (gdb) bt #0 0x00007ffff77bec8a in getdiskstat (disks=0x7fffffffe6b8, partitions=0x7fffffffe6c0) at sysinfo.c:942 #1 0x0000000000401823 in diskpartition_format (partition_name=0x7fffffffeaed "sda1") at vmstat.c:405 #2 main (argc=<optimized out>, argv=0x7fffffffe828) at vmstat.c:860 (gdb) print cDisk $1 = <optimized out> (gdb) print disks $2 = (struct disk_stat **) 0x7fffffffe6b8 (gdb) print *disks $3 = (struct disk_stat *) 0x0 Looking at the code of getdiskstat this must meant that either parsing /proc/diskstats fails or partitions are otherwise seen before memory for a disk has been allocated. And indeed this is the case here as the call to is_disk does not produce an appropriate result in my case, because: ~/procps-3.3.9/testsuite# ls /sys ~/procps-3.3.9/testsuite# So it would be nice if is_disk failed in some sensible way if /sys/block wasn't available at all. Best, Michael
pgpjlDi0vP33Z.pgp
Description: PGP signature
--- End Message ---
--- Begin Message ---Source: procps Source-Version: 2:3.3.11-3 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. 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: SHA512 Format: 1.8 Date: Sun, 03 Jan 2016 17:10:26 +1100 Source: procps Binary: procps libprocps5 libprocps-dev Architecture: source amd64 Version: 2:3.3.11-3 Distribution: unstable Urgency: medium Maintainer: Craig Small <[email protected]> Changed-By: Craig Small <[email protected]> Description: libprocps-dev - library for accessing process information from /proc libprocps5 - library for accessing process information from /proc procps - /proc file system utilities Closes: 183394 606284 694487 694691 694692 733758 736628 751297 762928 762947 763795 764590 768190 775624 786643 789322 790124 791896 794619 798438 799716 806704 808596 Changes: procps (2:3.3.11-3) unstable; urgency=medium . * New upstream source (from experimental) - pgrep: don't crash with -a -w flags Closes: #768190 - pmap: print even with no smaps Closes: #775624 - ps: sort by etimes Closes: #794619 - w: work with smaller windows Closes: #183394 - Use merged systemd library Closes: #791896 - top: read rcfile Closes: #762928, #762947 - vmstat: not crash if partition before disk Closes: #736628, #763795, #764590, #751297 - free: -s without -c works Closes: #733758 - pmap: fix integer overflow Closes: #789322 - slabtop.1: Add space to NAME Closes: #786643 - library: rename swap to slab for (un)reclaimable Closes: #694487 * Add hardening flags Closes: #790124 * Disable ps sched test Closes: #798438 * Added mips64 and mips64el to numa-enabled arches Closes: #806704 * Use slab reclaimable in main cached Closes: #799716 * Fix typo in control Closes: #808596 * Enable verbose build output for buildds * Remove wchan lookup in System.map Closes: #606284 * Add commented out sysrq to sysctl.conf Closes: #694691 * Add protectedhard/soft link to sysctl example Closes: #694692 Checksums-Sha1: 46306d893bfb408735eb53e172663a1f05d24203 2136 procps_3.3.11-3.dsc 8b1a37dc3425542982d11a3ee8a1fd7c7024337c 809940 procps_3.3.11.orig.tar.xz d0e603306bb976097690fe4a7bd643b1385535f5 26548 procps_3.3.11-3.debian.tar.xz 382d86e1b7e14f04e64ac7ae6ef9bcb35693a809 68494 libprocps-dev_3.3.11-3_amd64.deb 2fcfa7cc7bdfc777ba7e9a8c03bd20af7a82e8e3 70576 libprocps5-dbgsym_3.3.11-3_amd64.deb c9e5f3a5c5a38768fc8d2a0ec3672a7ba86efeb4 56500 libprocps5_3.3.11-3_amd64.deb ee9a60fa80383d993ea5470db0c44f2b0eb1ffb2 330094 procps-dbgsym_3.3.11-3_amd64.deb 65175da9d7c8895a20fd55cdc381053eddaa219c 246774 procps_3.3.11-3_amd64.deb Checksums-Sha256: 716b9774e426fc0fd788ec68b0bbb43df0930ac1dd8510d6ab072f92fdbd6fed 2136 procps_3.3.11-3.dsc 3e2c6eda9b79953339818d28a53ecd4e97436299bd4793e8cab7119bd9097dc8 809940 procps_3.3.11.orig.tar.xz 50f0683eddc1581def5287d9ab3d5f4dc741744eb738e4222d4ca56dc61970b7 26548 procps_3.3.11-3.debian.tar.xz c2feac45eeb354389d1223341f53b25c7bb6b02f51dfc8375ed41c1d2a545829 68494 libprocps-dev_3.3.11-3_amd64.deb 3dbe9f530ade2a95e4910c7e2ca1f243d5a77410fc874e6f1d5a9b63d26e2e53 70576 libprocps5-dbgsym_3.3.11-3_amd64.deb 8b4bd7ce9eb90ce13e7935856faa5d74810937f9f808accae1b7f2f1a1e2d379 56500 libprocps5_3.3.11-3_amd64.deb 22a39936b86243252ae7cf067fa2a7ee34edc9693dbb49e75aabea1c2026c6d6 330094 procps-dbgsym_3.3.11-3_amd64.deb 21826396155ff0afbe49fb9f15caa2dc09de9feab5864b7000e7ef3448ae0e8d 246774 procps_3.3.11-3_amd64.deb Files: e14d46254fb2de364d9a4f44d1786840 2136 admin important procps_3.3.11-3.dsc 388d149265041dc9d38ad962c23c9ad8 809940 admin important procps_3.3.11.orig.tar.xz 4cc2febfc97dfabbfa4dd284c31fe44b 26548 admin important procps_3.3.11-3.debian.tar.xz 7cdaa77a67d53f9e15e35b90411d0a9e 68494 libdevel optional libprocps-dev_3.3.11-3_amd64.deb fda65b6a41794e364d004968f2c02518 70576 debug extra libprocps5-dbgsym_3.3.11-3_amd64.deb f6a8b38346ad3de2c13e13b238ab1345 56500 libs important libprocps5_3.3.11-3_amd64.deb b7d941f7e80c39622663f1499207906c 330094 debug extra procps-dbgsym_3.3.11-3_amd64.deb 3a43cf8403d4faa147bd927c6ca28b12 246774 admin important procps_3.3.11-3_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJWiLxAAAoJEAIhZsD/PITjItkQAIHHsTcdF3Wq2qRemLq7v+a0 ZgZDKoBKRdd688yQz/LRhfO7pH82pVRUHLQJMmkfEqE4COJt0MmbjXfO6/RUOiAE O4trAQ05aEJWt747NBKuxFmPvs/ycPUWUeqlVdtrmDQ0errqXiFYAHqXcROurgsq IAftJvRJ49L+EdTWpxTwaB1WBsmBpfW49859vk/eFth9423Aqu+0d3YjyXCs+RiC i21MKeEucPckqvZyrizXrZwNYB7tgzafudEjXsN9xB/G3nK9Y2ubrHMD2nNl16Ku n+p9C7AEl9DAQ+3URKG/0bVWfyWYWRPLX3wWVGMzmwQNLodhzTKP0vEMuOpNOxNt hCwzs4vWO5/rHeTNBlSapoARzY7Yqji49X130V+ozrbCNqb91B+7udUpE67GAiCg WV186oLyBwypwN60gE8/UsEGdTM7Nyn7k5Vag/sw48l7+IPUFTwMoEDqHDAb6NVX za+rCh6eYkBxSjWJoH9C5+NHxg/lO5aNbfRgdDLdaN2TRBMqPT5YNSroCfP+tr9I zKLloF1V/dXQK/Ka4GECZ4xq5XKLY044zUoNlvqt8ZYtK5PcBVZDbXU96nU8gH/f pE25fcjh8Wd6L7zBdjhnULq5wbBI5VmGKSW7jegBuLNj85a6gR5t8uuIqL2K3RBm KRoU4bfMeVldmw2chXXW =W9j7 -----END PGP SIGNATURE-----
--- End Message ---

