Your message dated Fri, 22 May 2015 00:33:47 +0000
with message-id <[email protected]>
and subject line Bug#782733: fixed in diskscan 0.15-1
has caused the Debian Bug report #782733,
regarding diskscan: Segmentation fault when executing diskscan on a 3TB disk
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.)


-- 
782733: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782733
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: diskscan
Version: 0.14.1-6
Severity: normal

Dear Maintainer,

diskscan segfaults before scanning begins as follows:

  # diskscan -v /dev/sde
  diskscan version HEAD

  V: Verbosity set
  I: Validating path /dev/sde
  [1]    13746 segmentation fault  diskscan -v /dev/sde

I built the package from source and ran under gdb which produces the
following backtrace:

  # gdb ./diskscan
  GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
  Copyright (C) 2014 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:
  <http://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 ./diskscan...done.
  (gdb) run /dev/sde
  Starting program: /tmp/diskscan-0.14.1/diskscan /dev/sde
  [Thread debugging using libthread_db enabled]
  Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  diskscan version HEAD

  I: Validating path /dev/sde

  Program received signal SIGSEGV, Segmentation fault.
  parse_read_capacity_16 (buf=buf@entry=0x7fffffffe080 "", buf_len=<optimized 
out>, max_lba=max_lba@entry=0x60a510 <disk+912>, 
block_size=block_size@entry=0x7fffffffddfc, 
      prot_enable=prot_enable@entry=0x0, p_type=p_type@entry=0x0, 
p_i_exponent=0x0, logical_blocks_per_physical_block_exponent=0x0, 
thin_provisioning_enabled=0x0, 
      thin_provisioning_zero=0x0, lowest_aligned_lba=0x0) at 
src/parse_read_cap.c:84
  84            if (*lowest_aligned_lba)
  (gdb) backtrace
  #0  parse_read_capacity_16 (buf=buf@entry=0x7fffffffe080 "", 
buf_len=<optimized out>, max_lba=max_lba@entry=0x60a510 <disk+912>, 
      block_size=block_size@entry=0x7fffffffddfc, 
prot_enable=prot_enable@entry=0x0, p_type=p_type@entry=0x0, p_i_exponent=0x0, 
      logical_blocks_per_physical_block_exponent=0x0, 
thin_provisioning_enabled=0x0, thin_provisioning_zero=0x0, 
lowest_aligned_lba=0x0) at src/parse_read_cap.c:84
  #1  0x0000000000406179 in parse_read_capacity_16_simple 
(block_size=0x7fffffffddfc, max_lba=0x60a510 <disk+912>, buf_len=<optimized 
out>, buf=0x7fffffffe080 "")
      at ./libscsicmd/include/scsicmd.h:151
  #2  disk_dev_read_cap (dev=0x60a180 <disk>, size_bytes=0x60a510 <disk+912>, 
sector_size=0x60a518 <disk+920>) at arch/arch.c:266
  #3  0x00000000004021d7 in disk_open (disk=0x60a180 <disk>, 
path=0x7fffffffe780 "/dev/sde", fix=0, latency_graph_len=70) at 
lib/diskscan.c:96
  #4  0x0000000000401c71 in diskscan_cli (argc=<optimized out>, argv=<optimized 
out>) at cli/cli.c:322
  #5  0x00007ffff784cb45 in __libc_start_main () from 
/lib/x86_64-linux-gnu/libc.so.6
  #6  0x00000000004014ce in _start ()

Looks like it could have something to do with reading the drive
geometry, it's a 3TB drive, here's some partial hdparam output:

  # hdparm -I /dev/sde
  /dev/sde:

  ATA device, with non-removable media
        Model Number:       ST3000DM001-1ER166                      
        Serial Number:      Z500VYNW
        Firmware Revision:  CC25    
        Transport:          Serial, SATA 1.0a, SATA II Extensions, SATA Rev 
2.5, SATA Rev 2.6, SATA Rev 3.0
  Standards:
        Used: unknown (minor revision code 0x001f) 
        Supported: 9 8 7 6 5 
        Likely used: 9
  Configuration:
        Logical         max     current
        cylinders       16383   16383
        heads           16      16
        sectors/track   63      63
        --
        CHS current addressable sectors:   16514064
        LBA    user addressable sectors:  268435455
        LBA48  user addressable sectors: 5860533168
        Logical  Sector size:                   512 bytes
        Physical Sector size:                  4096 bytes
        Logical Sector-0 offset:                  0 bytes
        device size with M = 1024*1024:     2861588 MBytes
        device size with M = 1000*1000:     3000592 MBytes (3000 GB)
        cache/buffer size  = unknown
        Form Factor: 3.5 inch
        Nominal Media Rotation Rate: 7200
  ...

-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages diskscan depends on:
ii  libc6  2.19-17

diskscan recommends no packages.

diskscan suggests no packages.

-- no debconf information

-- 
Gerald Turner <[email protected]>        Encrypted mail preferred!
OpenPGP: 4096R / CA89 B27A 30FA 66C5 1B80  3858 EC94 2276 FDB8 716D

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: diskscan
Source-Version: 0.15-1

We believe that the bug you reported is fixed in the latest version of
diskscan, 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.
Joao Eriberto Mota Filho <[email protected]> (supplier of updated diskscan 
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: SHA1

Format: 1.8
Date: Wed, 20 May 2015 20:10:06 -0300
Source: diskscan
Binary: diskscan
Architecture: source amd64
Version: 0.15-1
Distribution: unstable
Urgency: medium
Maintainer: Joao Eriberto Mota Filho <[email protected]>
Changed-By: Joao Eriberto Mota Filho <[email protected]>
Description:
 diskscan   - scan storage media for bad or near failure sectors
Closes: 782733
Changes:
 diskscan (0.15-1) unstable; urgency=medium
 .
   * New upstream release. (Closes: #782733)
   * Using autoreconf now.
   * debian/clean: updated.
   * debian/copyright:
       - Added new copyright notices.
       - Removed the dot-zero from GPL licenses.
       - Updated the upstream and packaging copyright years.
   * debian/upstream.changelog: updated.
Checksums-Sha1:
 5436ec1730c364ba3f24bda8168195adfabbbc73 1894 diskscan_0.15-1.dsc
 6a26f488551cac4adf9018beacf6a03a6e2464ec 112698 diskscan_0.15.orig.tar.gz
 409b78ca9556eb84bad55cbbe28f8e28b47bc0a3 3860 diskscan_0.15-1.debian.tar.xz
 789645c8751da2f04b6745cdae59cd132ab8f6ad 24610 diskscan_0.15-1_amd64.deb
Checksums-Sha256:
 2e063640eca49b8249cf7d744798456be85204c1fe9f24b6f9e1ec6a1340be15 1894 
diskscan_0.15-1.dsc
 f51826c7e861c06dbe5fb6723984b0391867a213f6bafdb59fc45b12cf2cd22d 112698 
diskscan_0.15.orig.tar.gz
 5668c7db0a8cbb830f09a7db2334c54d05b5b330c953095e6350d17cfc2887f9 3860 
diskscan_0.15-1.debian.tar.xz
 0e7144e60850b63db4a1bf7fd6dfaee62d1742e03fef3396284e312acca14b1a 24610 
diskscan_0.15-1_amd64.deb
Files:
 14fe131b63be2664a4c75383c0e2881a 1894 utils optional diskscan_0.15-1.dsc
 dc25101847bc9b85a39b7bf2c0fc5982 112698 utils optional 
diskscan_0.15.orig.tar.gz
 bbd2402cf17c9980b8504e08dbabf6b0 3860 utils optional 
diskscan_0.15-1.debian.tar.xz
 4fb3ccb3d0f72bfbcfb4e15c642d37aa 24610 utils optional diskscan_0.15-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJVXSA1AAoJEN5juccE6+nv23AP/0E0yyYDqCZrgZEbmF+dIOtl
sFT9Sz84BCh7iGk0PIELqodrQyQYXqNCJKmli4cTyPPMkTU9XNpHd1lpLz3z0Lye
rLN2B+qpGwiGnewa2EBJIV1KFo8hDXADVMJ7OOsP7rBV7f5nMzuwsYtPH/1kiwOm
JnYTZ9yVO9oi7Mo1s48iehfHYzwRALGWyVpre+jzJ84H/rmVQRzriq/TVDzImqc+
Ovuo36NPlPXz/JqtZloC/FeYf+NTQ0gDpFrButfndc8tVM1tuJCTFiObOXJePyOR
JBtcmdy2IbL63AR119tQkWkuKUC/VCGKvC+2Rkq8qMq1aHmy3yMGfkr7IURJ6ECZ
CJqFV9W+jwiokYjxaENleosw/JVydRD+z1zOMPO+jT1/N1t9KxLuJpTxGKhkjzQp
RbphzGm1Yaim5i///38aqdJK8wuLZrwyEwhejAdDMqVnte+axVxWr7gmVtxHZpwu
jKoICEU/iQDIV5zsNoMpe7ZrCaZFelc211EKzoerbryqqlPv9SnE0W657124fYQm
37i4q9sXrTZW1Ym8bg3b72V1ZEWdVY4kqSBippCs7apOoA8K5YcU+sthyLjwvrSH
DrzfcLEAhXiRQps9WKu93velSpvRpOz+gsRj5qK4wqcoZ7LuXC+xq6JiqEw1DwIS
FxJyq3dPg1QZ69SaXHpV
=BG38
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to