clang (both 3.3 and 3.4) OOM crashes on HEAD

Dimitry Andric dim at FreeBSD.org
Fri Feb 28 14:47:28 UTC 2014


On 28 Feb 2014, at 15:36, Dmitry Marakasov <amdmi3 at amdmi3.ru> wrote:
> 
> I've been getting some failure mails from pkg building cluster related
> to clang crashes:
> 
> http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2014-02-28_01h43m56s/logs/arx-libertatis-1.0.3_2.log
> http://beefy1.isc.freebsd.org/bulk/head-i386-default/2014-02-21_03h01m36s/logs/supertuxkart-0.8.1.log
> 
> At first I thought they'll go away with clang 3.4, but recently I've
> added HEAD jail to my tinderbox and reproduced these. Also a reason
> of crashes become apparent: c++ eats all available memoty (15G RSS
> in my case).
> 
> I though of investigating these further, but wanted to check if it's
> already known first.

There are a few known OOM bugs in 3.4, but from the logs it is not
immediately apparent if you are hitting those, or if they are new bugs.

To be able to figure that out, we need the files mentioned in clang's
diagnostic messages, e.g. for arx-libertatis:

/tmp/Input-XkKTNq.cpp
/tmp/Input-XkKTNq.sh

and for supertuxkart:

/tmp/engine-11FjEA.cpp
/tmp/engine-11FjEA.sh

Please put them in a tarball, and upload them somewhere so the bugs can
be reproduced without having to clone your entire build environment.

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-toolchain/attachments/20140228/d6485ce5/attachment.sig>


More information about the freebsd-toolchain mailing list