cpufreqd crashing

Bug #1270443 reported by Herbert
This bug report is a duplicate of:  Bug #1162160: cpufreqd buffer overflow detected. Edit Remove
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cpufreqd (Ubuntu)
Incomplete
High
Unassigned

Bug Description

Hi,

I'm getting the following crash report for cpufreqd in my Samsung laptop:

$ sudo service cpufreqd start
 * Starting CPU Frequency daemon cpufreqd *** buffer overflow detected ***: /usr/sbin/cpufreqd terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7fc027b4608c]
/lib/x86_64-linux-gnu/libc.so.6(+0x111020)[0x7fc027b45020]
/lib/x86_64-linux-gnu/libc.so.6(+0x1115c4)[0x7fc027b455c4]
/usr/sbin/cpufreqd(main+0x308)[0x402bb8]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7fc027a55de5]
/usr/sbin/cpufreqd[0x403c9d]
======= Memory map: ========
00400000-0040b000 r-xp 00000000 08:02 565032 /usr/sbin/cpufreqd
0060a000-0060b000 r--p 0000a000 08:02 565032 /usr/sbin/cpufreqd
0060b000-0060c000 rw-p 0000b000 08:02 565032 /usr/sbin/cpufreqd
012a3000-012c4000 rw-p 00000000 00:00 0 [heap]
7fc02781e000-7fc027833000 r-xp 00000000 08:02 1453913 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fc027833000-7fc027a32000 ---p 00015000 08:02 1453913 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fc027a32000-7fc027a33000 r--p 00014000 08:02 1453913 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fc027a33000-7fc027a34000 rw-p 00015000 08:02 1453913 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fc027a34000-7fc027bf1000 r-xp 00000000 08:02 1443281 /lib/x86_64-linux-gnu/libc-2.17.so
7fc027bf1000-7fc027df1000 ---p 001bd000 08:02 1443281 /lib/x86_64-linux-gnu/libc-2.17.so
7fc027df1000-7fc027df5000 r--p 001bd000 08:02 1443281 /lib/x86_64-linux-gnu/libc-2.17.so
7fc027df5000-7fc027df7000 rw-p 001c1000 08:02 1443281 /lib/x86_64-linux-gnu/libc-2.17.so
7fc027df7000-7fc027dfc000 rw-p 00000000 00:00 0
7fc027dfc000-7fc027e01000 r-xp 00000000 08:02 565028 /usr/lib/libcpufreq.so.0.0.0
7fc027e01000-7fc028000000 ---p 00005000 08:02 565028 /usr/lib/libcpufreq.so.0.0.0
7fc028000000-7fc028001000 r--p 00004000 08:02 565028 /usr/lib/libcpufreq.so.0.0.0
7fc028001000-7fc028002000 rw-p 00005000 08:02 565028 /usr/lib/libcpufreq.so.0.0.0
7fc028002000-7fc028005000 r-xp 00000000 08:02 1443296 /lib/x86_64-linux-gnu/libdl-2.17.so
7fc028005000-7fc028204000 ---p 00003000 08:02 1443296 /lib/x86_64-linux-gnu/libdl-2.17.so
7fc028204000-7fc028205000 r--p 00002000 08:02 1443296 /lib/x86_64-linux-gnu/libdl-2.17.so
7fc028205000-7fc028206000 rw-p 00003000 08:02 1443296 /lib/x86_64-linux-gnu/libdl-2.17.so
7fc028206000-7fc028229000 r-xp 00000000 08:02 1443257 /lib/x86_64-linux-gnu/ld-2.17.so
7fc028401000-7fc028404000 rw-p 00000000 00:00 0
7fc028425000-7fc028428000 rw-p 00000000 00:00 0
7fc028428000-7fc028429000 r--p 00022000 08:02 1443257 /lib/x86_64-linux-gnu/ld-2.17.so
7fc028429000-7fc02842b000 rw-p 00023000 08:02 1443257 /lib/x86_64-linux-gnu/ld-2.17.so
7fff0d9a9000-7fff0d9ca000 rw-p 00000000 00:00 0 [stack]
7fff0d9fe000-7fff0da00000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Aborted (core dumped)

I've also attached lshw output.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: cpufreqd 2.4.2-2
ProcVersionSignature: Ubuntu 3.11.0-15.23-generic 3.11.10
Uname: Linux 3.11.0-15-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
Date: Sat Jan 18 13:17:45 2014
InstallationDate: Installed on 2013-10-20 (89 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MarkForUpload: True
SourcePackage: cpufreqd
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Herbert (herbert-fischer) wrote :
Revision history for this message
Andreas Moog (ampelbein) wrote :

Thanks for the report. This looks like a duplicate of bug 1162160, can you confirm that the problem goes away if you remove the option "-f" from start-daemon command in /etc/init.d/cpufreqd ?

Changed in cpufreqd (Ubuntu):
importance: Undecided → High
status: New → Incomplete
Revision history for this message
Herbert (herbert-fischer) wrote : Re: [Bug 1270443] Re: cpufreqd crashing

Yes. By removing this option the problem goes away.

Is there something I can change in it's config file to avoid this?

On Sat, Jan 18, 2014 at 7:42 PM, Andreas Moog <email address hidden>wrote:

> Thanks for the report. This looks like a duplicate of bug 1162160, can
> you confirm that the problem goes away if you remove the option "-f"
> from start-daemon command in /etc/init.d/cpufreqd ?
>
>
> ** Changed in: cpufreqd (Ubuntu)
> Importance: Undecided => High
>
> ** Changed in: cpufreqd (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1270443
>
> Title:
> cpufreqd crashing
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/cpufreqd/+bug/1270443/+subscriptions
>

Revision history for this message
Herbert (herbert-fischer) wrote :

I've commented out every option in /etc/cpufreqd.conf except for the
following lines, but it still crashes:

[General]
pidfile=/var/run/cpufreqd.pid
[/General]

On Sat, Jan 18, 2014 at 9:57 PM, Herbert Fischer
<email address hidden>wrote:

> Yes. By removing this option the problem goes away.
>
> Is there something I can change in it's config file to avoid this?
>
>
> On Sat, Jan 18, 2014 at 7:42 PM, Andreas Moog <email address hidden>wrote:
>
>> Thanks for the report. This looks like a duplicate of bug 1162160, can
>> you confirm that the problem goes away if you remove the option "-f"
>> from start-daemon command in /etc/init.d/cpufreqd ?
>>
>>
>> ** Changed in: cpufreqd (Ubuntu)
>> Importance: Undecided => High
>>
>> ** Changed in: cpufreqd (Ubuntu)
>> Status: New => Incomplete
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1270443
>>
>> Title:
>> cpufreqd crashing
>>
>> To manage notifications about this bug go to:
>>
>> https://bugs.launchpad.net/ubuntu/+source/cpufreqd/+bug/1270443/+subscriptions
>>
>
>

Revision history for this message
Andreas Moog (ampelbein) wrote :

Yes, it's a programming problem. I will go and try to request a Stable
Release Update to fix the error.

 duplicate 1162160

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.