Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vfvpr-0004Ev-Df for pgsql-bugs@arkaria.postgresql.org; Mon, 11 Nov 2013 18:03:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Vfvpq-0001yv-Od for pgsql-bugs@arkaria.postgresql.org; Mon, 11 Nov 2013 18:03:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vfvpp-0001yo-R4 for pgsql-bugs@postgresql.org; Mon, 11 Nov 2013 18:03:37 +0000 Received: from mahout.postgresql.org ([2001:4800:7903:4::123]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vfvpm-0006g9-HZ for pgsql-bugs@postgresql.org; Mon, 11 Nov 2013 18:03:37 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by mahout.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vfvpk-0000vd-LJ for pgsql-bugs@postgresql.org; Mon, 11 Nov 2013 18:03:32 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.80) (envelope-from ) id 1Vfvpf-00057K-6i for pgsql-bugs@postgresql.org; Mon, 11 Nov 2013 18:03:27 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: BUG #8588: Need work arounds for Apple unaligned access To: pgsql-bugs@postgresql.org From: noloader@gmail.com Message-Id: Date: Mon, 11 Nov 2013 18:03:27 +0000 X-Pg-Spam-Score: -1.0 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 8588 Logged by: Jeffrey Walton Email address: noloader@gmail.com PostgreSQL version: 9.3.1 Operating system: OS X 10.8.5 Description: Running `make check` under Clang 3.3's sanitizers results in a termination on Mac OS X. The termination is due to an Apple bug. The bug is misaligned fields in a data structure. You can see some of the details here: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2012-September/024523.html. I've also experienced it with other data structures. ********** $ make check ... make[3]: Nothing to be done for `submake-errcodes'. rm -rf ./testtablespace mkdir ./testtablespace ../../../src/test/regress/pg_regress --inputdir=. --temp-install=./tmp_check --top-builddir=../../.. --dlpath=. --schedule=./parallel_schedule dirmod.c:388:20: runtime error: member access within misaligned address 0x62100001a55c for type 'struct dirent', which requires 8 byte alignment 0x62100001a55c: note: pointer points here 00 00 00 00 e9 b9 04 01 00 00 00 00 04 00 00 00 ef b9 04 01 24 00 0b 00 08 63 6f 70 79 2e 73 6f ^ dirmod.c:388:54: runtime error: member access within misaligned address 0x62100001a55c for type 'struct dirent', which requires 8 byte alignment 0x62100001a55c: note: pointer points here 00 00 00 00 e9 b9 04 01 00 00 00 00 04 00 00 00 ef b9 04 01 24 00 0b 00 08 63 6f 70 79 2e 73 6f ^ dirmod.c:396:42: runtime error: member access within misaligned address 0x62100001a55c for type 'struct dirent', which requires 8 byte alignment 0x62100001a55c: note: pointer points here 00 00 00 00 e9 b9 04 01 00 00 00 00 04 00 00 00 ef b9 04 01 24 00 0b 00 08 63 6f 70 79 2e 73 6f ^ pg_regress: could not set core size: disallowed by hard limit ============== creating temporary installation ============== ============== initializing database system ============== pg_regress: initdb failed Examine /Users/jwalton/Desktop/postgresql-9.3.1/src/test/regress/log/initdb.log for the reason. Command was: "/Users/jwalton/Desktop/postgresql-9.3.1/src/test/regress/./tmp_check/install//usr/local/pgsql/bin/initdb" -D "/Users/jwalton/Desktop/postgresql-9.3.1/src/test/regress/./tmp_check/data" -L "/Users/jwalton/Desktop/postgresql-9.3.1/src/test/regress/./tmp_check/install//usr/local/pgsql/share" --noclean --nosync > "/Users/jwalton/Desktop/postgresql-9.3.1/src/test/regress/log/initdb.log" 2>&1 make[1]: *** [check] Error 2 make: *** [check] Error 2 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs