Bug#651894: [cupt] Process killed by SIGABRT.

2011-12-16 Thread Eugene V. Lyubimkin
severity 651894 normal
tags 651894 confirmed pending
retitle 651894 pin priority value conversion errors are not handled properly
quit

On 2011-12-12 22:45, Karol Kozłowski wrote:
 Following example should probably end with a mistake, not a failure.
 
 
 example:
 
 #cat /etc/cupt/preferences.d/iotop
 Package: iotop
 Pin: release n=lenny
 Pin-Priority: 100
 
 #cupt policy iotop
 .
 terminate called after throwing an instance of 
 'boost::exception_detail::clone_implboost::exception_detail::error_info_injectorboost::bad_lexical_cast
  '
   what():  bad lexical cast: source type value could not be interpreted as 
 target
 Process killed by SIGABRT: Przerwane

Thank you for the report, a fix is committed for 2.3.2.

-- 
Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
C++/Perl developer, Debian Developer



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



Bug#651894: [cupt] Process killed by SIGABRT.

2011-12-12 Thread Karol Kozłowski
Package: cupt
Version: 2.3.1
Severity: important


Hello.

Following example should probably end with a mistake, not a failure.


example:

#cat /etc/cupt/preferences.d/iotop
Package: iotop
Pin: release n=lenny
Pin-Priority: 100

#cupt policy iotop
.
terminate called after throwing an instance of 
'boost::exception_detail::clone_implboost::exception_detail::error_info_injectorboost::bad_lexical_cast
 '
  what():  bad lexical cast: source type value could not be interpreted as 
target
Process killed by SIGABRT: Przerwane


--- System information. ---
Architecture: i386
Kernel:   Linux 2.6.38-bpo.2-amd64

Debian Release: 6.0.3
  500 stable-updates  ftp.pl.debian.org 
  500 stable  www.getgnash.org 
  500 stable  security.debian.org 
  500 stable  ftp.pl.debian.org 
  500 stable  deb.opera.com 
  500 proposed-updates ftp.pl.debian.org 
  500 oldstable   ftp.pl.debian.org 
  100 squeeze-backports backports.debian.org 

--- Package information. ---
Depends(Version) | Installed
-+-==
libboost-program-options1.46.1 (= 1.46.1-1) | 1.46.1-7
libc6  (= 2.3.6-6~) | 2.11.2-10
libcupt2-0(= 2.3.1) | 2.3.1
libgcc1 (= 1:4.1.1) | 1:4.4.5-8
libstdc++6  (= 4.5) | 4.6.0-10


Package's Recommends field is empty.

Suggests(Version) | Installed
=-+-===
sensible-utils| 0.0.4
libreadline6  | 6.1-3



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