Bug#722989: gsmartcontrol: Has several 'unknown properties' in it and just crashes out.

2013-10-12 Thread Olivier Berger
Hi.

On Sun, Sep 15, 2013 at 07:03:36AM +0100, sharon kimble wrote:
 
 Dear Maintainer,
  sudo !9935
 sudo gsmartcontrol-root auto -v
 [sudo] password for boudiccas:
 warn  [app] SmartctlParser::parse_section_info_property(): Unknown property
 Rotation Rate
 warn  [app] SmartctlParser::parse_full(): No ATA sections could be parsed.
 Returning.
 warn  [app] SmartctlParser::parse_section_info_property(): Unknown property
 Rotation Rate
 warn  [hz] Warning: exit: Command line did not parse.
 warn  [app] execute_smartctl(): Error while executing smartctl binary.
 warn  [app] StorageDevice::execute_device_smartctl(): Error while executing
 smartctl binary.
 warn  [app] SmartctlParser::parse_section_info_property(): Unknown property
 Vendor
 warn  [app] SmartctlParser::parse_section_info_property(): Unknown property
 Product
 warn  [app] SmartctlParser::parse_section_info_property(): Unknown property
 Revision
 warn  [app] SmartctlParser::parse_section_info_property(): Unknown property
 Logical block size
 warn  [app] SmartctlParser::parse_section_info_property(): Unknown property
 Device type
 terminate called after throwing an instance of 'std::out_of_range'
   what():  basic_string::substr
 Aborted
 [boudiccas:Sun Sep 15 06:57:37 @~]$ [9937];
 
 It briefly appears but then silently crashes out.
 

I'm also hit by the same bug, I think.

Here's what I've tried :

$ sudo gsmartcontrol -v --no-scan
[sudo] password for olivier: 
dump  [app] Application options:
dump  [app]   locale: 1
dump  [app]   version: 0
dump  [app]   hide_tabs: 1
dump  [app]   scan: 0
dump  [app]   arg_add_virtual: [empty]
dump  [app]   arg_add_device: [empty]
dump  [app] LibDebug options:
dump  [app]   levels_enabled: 1
dump  [app]   debug_colorize: true
dump  [app] {anonymous}::app_init_config(): Global config file: 
/etc/gsmartcontrol.conf
dump  [app] {anonymous}::app_init_config(): Local config file: 
/root/.config/gsmartcontrol/gsmartcontrol.conf
dump  [app] {anonymous}::app_init_config(): Old local config file: 
/root/.gsmartcontrolrc
info  [rmn] Loading under /config from file 
/root/.config/gsmartcontrol/gsmartcontrol.conf.
dump  [rconfig] /[3] /
config   [4] /config  
default  [4] /default 
info  [rconfig] Setting autosave config file to 
/root/.config/gsmartcontrol/gsmartcontrol.conf
info  [rconfig] Starting config autosave with 180 sec. interval.
info  [app] Current C locale: fr_FR.utf8
info  [app] Current C++ locale: fr_FR.utf8
info  [app] Cmdex::execute(): Executing 'smartctl' -V.
info  [app] Entering main loop.

Then, I do Ctrl-R, and immediately see it crash with :

info  [app] GscMainWindow::on_action_activated(): Action activated: 
action_rescan_devices
info  [app] StorageDetector::detect(): Starting drive detection.
info  [app] {anonymous}::detect_drives_linux_proc_partitions(): Detecting 
through /proc/partitions...
info  [app] Cmdex::execute(): Executing 'smartctl' -i -H -c '/dev/sda'.
warn  [hz] Warning: exit: SMART status check returned DISK OK but we found 
that some (usage or prefail) Attributes have been less than threshold at some 
time in the past.
warn  [app] SmartctlParser::parse_section_info_property(): Unknown property 
Rotation Rate
info  [app] Cmdex::execute(): Executing 'smartctl' -i -H -c '/dev/sr0'.
warn  [app] SmartctlParser::parse_section_info_property(): Unknown property 
Vendor
warn  [app] SmartctlParser::parse_section_info_property(): Unknown property 
Product
warn  [app] SmartctlParser::parse_section_info_property(): Unknown property 
Revision
warn  [app] SmartctlParser::parse_section_info_property(): Unknown property 
Logical block size
warn  [app] SmartctlParser::parse_section_info_property(): Unknown property 
Device type
error [gtk] 
error [gtk] unhandled exception (type std::exception) in signal handler:
error [gtk] what: basic_string::substr
error [gtk] 

/dev/sda is a 160 Gb HD
/deb/sr0 is a DWD writer

There's also a /dev/sdb which is a USB stick.

Hope this helps.

Best regards,

-- 
Olivier BERGER 
http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut Mines-Telecom, Telecom SudParis, Evry (France)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#722989: gsmartcontrol: Has several 'unknown properties' in it and just crashes out.

2013-09-15 Thread sharon kimble
Package: gsmartcontrol
Version: 0.8.7-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,
 sudo !9935
sudo gsmartcontrol-root auto -v
[sudo] password for boudiccas:
warn  [app] SmartctlParser::parse_section_info_property(): Unknown property
Rotation Rate
warn  [app] SmartctlParser::parse_full(): No ATA sections could be parsed.
Returning.
warn  [app] SmartctlParser::parse_section_info_property(): Unknown property
Rotation Rate
warn  [hz] Warning: exit: Command line did not parse.
warn  [app] execute_smartctl(): Error while executing smartctl binary.
warn  [app] StorageDevice::execute_device_smartctl(): Error while executing
smartctl binary.
warn  [app] SmartctlParser::parse_section_info_property(): Unknown property
Vendor
warn  [app] SmartctlParser::parse_section_info_property(): Unknown property
Product
warn  [app] SmartctlParser::parse_section_info_property(): Unknown property
Revision
warn  [app] SmartctlParser::parse_section_info_property(): Unknown property
Logical block size
warn  [app] SmartctlParser::parse_section_info_property(): Unknown property
Device type
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr
Aborted
[boudiccas:Sun Sep 15 06:57:37 @~]$ [9937];

It briefly appears but then silently crashes out.



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Foreign Architectures: amd64

Kernel: Linux 3.10-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gsmartcontrol depends on:
ii  libatk1.0-0  2.8.0-2
ii  libatkmm-1.6-1   2.22.7-2
ii  libc62.17-92+b1
ii  libcairo21.12.14-5
ii  libcairomm-1.0-1 1.10.0-1
ii  libfontconfig1   2.10.2-2
ii  libfreetype6 2.4.9-1.1
ii  libgcc1  1:4.8.1-8
ii  libgdk-pixbuf2.0-0   2.28.2-1
ii  libglib2.0-0 2.36.4-1
ii  libglibmm-2.4-1c2a   2.36.2-1
ii  libgtk2.0-0  2.24.20-1
ii  libgtkmm-2.4-1c2a1:2.24.4-1
ii  libpango-1.0-0   1.32.5-5+b1
ii  libpangocairo-1.0-0  1.32.5-5+b1
ii  libpangoft2-1.0-01.32.5-5+b1
ii  libpangomm-1.4-1 2.34.0-1
ii  libpcre3 1:8.31-2
ii  libsigc++-2.0-0c2a   2.2.10-0.2
ii  libstdc++6   4.8.1-8
ii  menu 2.1.46
ii  smartmontools6.1+svn3812-1

gsmartcontrol recommends no packages.

gsmartcontrol suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org