[systemd-devel] systemd-cgls - Memory overflow

Sven Anders anders at anduras.de
Thu May 10 15:40:57 PDT 2012


Am 10.05.2012 14:45, schrieb Sven Anders:
> Hello!
> 
> I'm experiencing a problem with systemd-cgls while testing systemd.
> 
> I run systemd for tests on a small KVM VM with ~700MB RAM and no swap.
> 
> If I execute the "systemd-cgls" command, I see the tree but without
> the command lines of the executables. I only see "n/a".
> 
> Example:
> 
> └ system
>   ├ 1 n/a
>   ├ sshd.service
>   │ ├ 608 n/a
>   │ ├ 639 n/a
>   │ ├ 641 n/a
>   │ ├ 671 n/a
>   │ └ 672 n/a
> [...]

Hello!

I trace the problem down to a possible compiler problem.
I'm using gcc 4.5.1.

If I compile the tool with

  make V=1 CFLAGS="-O3 -g -march=pentium3"

I'll have the problems.

If I'm using "-O2" or "-march=pentium2" instead, it will work.

Does anybody have the gcc 4.5.1 to confirm this and also is able to try this on a
newer gcc version? If this problem does exist on newer gcc too, I will try to
find the cause of this. If it's gone on newer gcc, I think I have to use a newer
compiler...

Regards
 Sven Anders

-- 
 Sven Anders <anders at anduras.de>                 () UTF-8 Ribbon Campaign
                                                 /\ Support plain text e-mail
 ANDURAS intranet security AG
 Messestrasse 3 - 94036 Passau - Germany
 Web: www.anduras.de - Tel: +49 (0)851-4 90 50-0 - Fax: +49 (0)851-4 90 50-55

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.
  - Benjamin Franklin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: anders.vcf
Type: text/x-vcard
Size: 352 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20120511/d204d45c/attachment.vcf>


More information about the systemd-devel mailing list