Public bug reported:

Binary package hint: cpulimit

$ dpkg -l cpulimit
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                              Version                           
Description
+++-=================================-=================================-==================================================================================
ii  cpulimit                          1.1-10                            limits 
the cpu usage of a process
$ cpulimit --exe /bin/ls --limit 10
Segmentation fault
$ apt-get source cpulimit
Reading package lists... Done
Building dependency tree       
Reading state information... Done
NOTICE: 'cpulimit' packaging is maintained in the 'Svn' version control system 
at:
http://svn.toastfreeware.priv.at/debian/cpulimit/trunk/
Need to get 10.5kB of source archives.
Get:1 http://nl.archive.ubuntu.com hardy/universe cpulimit 1.1-10 (dsc) [778B]
Get:2 http://nl.archive.ubuntu.com hardy/universe cpulimit 1.1-10 (tar) [5106B]
Get:3 http://nl.archive.ubuntu.com hardy/universe cpulimit 1.1-10 (diff) [4657B]
Fetched 10.5kB in 0s (158kB/s)
gpg: Signature made Sun 04 Mar 2007 06:57:05 PM CET using DSA key ID F972BE03
gpg: Can't check signature: public key not found
dpkg-source: extracting cpulimit in cpulimit-1.1
dpkg-source: unpacking cpulimit_1.1.orig.tar.gz
dpkg-source: applying ./cpulimit_1.1-10.diff.gz
$ cd cpulimit-1.1/
$ make cpulimit
gcc -o cpulimit cpulimit.c -lrt -Wall -O2
$ gdb --args ./cpulimit --exe /bin/ls --limit 10
GNU gdb 6.8-debian
Copyright (C) 2008 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 "i486-linux-gnu"...
(gdb) r
Starting program: /tmp/cpulimit-1.1/cpulimit --exe /bin/ls --limit 10
[Thread debugging using libthread_db enabled]
[New Thread 0xb7e316b0 (LWP 3220)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7e316b0 (LWP 3220)]
0xb7e7a87b in ?? () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt full
#0  0xb7e7a87b in ?? () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#1  0xb7e7a5e0 in strtol () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0x08049680 in main ()
No locals.
(gdb) q
The program is running.  Exit anyway? (y or n) y
$ sudo apt-get install libc6-d
libc6-dbg        libc6-dev        libc6-dev-amd64  
$ sudo apt-get install libc6-dbg 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  libc6-dbg
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 5095kB of archives.
After this operation, 18.1MB of additional disk space will be used.
Get:1 http://nl.archive.ubuntu.com hardy/main libc6-dbg 2.7-10ubuntu3 [5095kB]
Fetched 5095kB in 0s (9719kB/s)
Selecting previously deselected package libc6-dbg.
(Reading database ... 214541 files and directories currently installed.)
Unpacking libc6-dbg (from .../libc6-dbg_2.7-10ubuntu3_i386.deb) ...
Setting up libc6-dbg (2.7-10ubuntu3) ...
$ gdb --args ./cpulimit --exe /bin/ls --limit 10
GNU gdb 6.8-debian
Copyright (C) 2008 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 "i486-linux-gnu"...
(gdb) r
Starting program: /tmp/cpulimit-1.1/cpulimit --exe /bin/ls --limit 10
[Thread debugging using libthread_db enabled]
[New Thread 0xb7e476b0 (LWP 3266)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7e476b0 (LWP 3266)]
0xb7e9087b in ____strtol_l_internal () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt full
#0  0xb7e9087b in ____strtol_l_internal () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#1  0xb7e905e0 in strtol () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0x08049680 in main ()
No locals.
(gdb)

** Affects: cpulimit (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: cpulimit (Debian)
     Importance: Undecided
         Status: New

** Also affects: cpulimit (Debian)
   Importance: Undecided
       Status: New

-- 
cpulimit segmentation fault
https://bugs.launchpad.net/bugs/241538
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to