Re: Darwin: make check fails with "child process exited with exit code 134"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Matthias Schmitt <freak002(at)mmp(dot)lu>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Darwin: make check fails with "child process exited with exit code 134"
Date: 2013-10-28 19:25:16
Message-ID: 9220.1382988316@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Matthias Schmitt <freak002(at)mmp(dot)lu> writes:
> configure: using compiler=i686-apple-darwin11-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)

I realized that almost certainly, this compiler is leftover from a
Lion-era installation of Xcode. The build number is a little bit ahead
of the rather old Xcode on my own Lion machine, but the reference to
darwin11 seems rather conclusive.

So what is probably going on here is that the occurrence of the assert
trap is dependent on using this older compiler (and probably, older
system #include files along with it) along with the Mavericks version of
libc.dylib. I'm not sure exactly what the mechanism for that is, but
I see some differences in the predefined macros on my Lion box and on
my Mavericks box (notably __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__)
so I'm guessing there's something about that that disables the trap.

If this is correct, then we can't really rely on the Apple build to flag
overlap violations, because it'll only happen on arguably-misconfigured
installations. So I'm thinking that Andres' idea of a buildfarm member
running with valgrind might be the most practical way to catch these.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Andres Freund 2013-10-28 19:46:09 Re: OSX doesn't accept identical source/target for strcpy() anymore
Previous Message Andrew Dunstan 2013-10-28 19:20:20 Re: OSX doesn't accept identical source/target for strcpy() anymore

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2013-10-28 19:32:30 Re: better atomics
Previous Message Andrew Dunstan 2013-10-28 19:20:20 Re: OSX doesn't accept identical source/target for strcpy() anymore