Bug 667846 - [abrt] libcgroup-0.36.2-5.fc14: getdelim: Process /bin/cgget was killed by signal 11 (SIGSEGV)
Summary: [abrt] libcgroup-0.36.2-5.fc14: getdelim: Process /bin/cgget was killed by si...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libcgroup
Version: 14
Hardware: x86_64
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Dhaval Giani
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:cf7aee651120ef5dd417b503e22...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-07 00:55 UTC by Clemens Fries
Modified: 2011-02-24 12:16 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-24 12:16:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (14.19 KB, text/plain)
2011-01-07 00:55 UTC, Clemens Fries
no flags Details

Description Clemens Fries 2011-01-07 00:55:23 UTC
abrt version: 1.1.14
architecture: x86_64
Attached file: backtrace
cmdline: cgget -a /
component: libcgroup
crash_function: getdelim
executable: /bin/cgget
kernel: 2.6.35.10-74.fc14.x86_64
package: libcgroup-0.36.2-5.fc14
rating: 4
reason: Process /bin/cgget was killed by signal 11 (SIGSEGV)
release: Fedora release 14 (Laughlin)
time: 1294361574
uid: 500

comment
-----
* Would crash even with vanilla cgconfig.conf and cgrules.conf
* Would crash regardless of user (root, ordinary user)
* Output looks fine, but the program ends with a segfault

How to reproduce
-----
1. service cgconfig start
2. invoke cgget -a /
3. cgget prints output, then SEGV

Comment 1 Clemens Fries 2011-01-07 00:55:26 UTC
Created attachment 472166 [details]
File: backtrace

Comment 2 Jan Safranek 2011-02-24 12:16:55 UTC
This is fixed upstream in git commit 73aa4ed68a928fdbe223b2e3a0020e9a1573e46b, which is part of libcgroup-0.37 in rawhide.

cgcget crashes when it's reading stat variable without reading permission, e.g.:
--w-------. 1 root root 0 Feb 23 16:00 /cgroup/blkio/blkio.reset_stats

I am closing it for now, I don't consider it serious enough, still I am open for updating the package in F14 if there is demand for it.


Note You need to log in before you can comment on or make changes to this bug.