|
From: Philippe W. <phi...@sk...> - 2012-06-22 21:07:41
|
Regression tests failing on Darwin i386 since quite some time I believe.
Does someone understand the below error ?
pub_core_threadstate.h explicitely tells to align vex on 32 bytes:
...
/* Saved machine context. */
VexGuestArchState vex __attribute__((aligned(32)));
...
The failing assert is:
Addr a_vex = (Addr) & tst->arch.vex;
....
vg_assert(VG_IS_32_ALIGNED(a_vex));
> valgrind revision: 12658
> VEX revision: 2400
> C compiler: i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646)
> Assembler:
> C library: unknown
> uname -mrs: Darwin 10.8.0 i386
> Vendor version: unknown
>
> +valgrind: m_scheduler/scheduler.c:707 (do_pre_run_checks): Assertion 'VG_IS_32_ALIGNED(a_vex)' failed.
> + at 0x3800D425: ???
> + by 0x3800D5E8: ???
> + by 0x380548A7: ???
> + by 0x38056737: ???
> + by 0x3807BB98: ???
> +
> +sched status:
> + running_tid=1
> +
> +Thread 1: status = VgTs_Runnable
> + at 0x8FE01030: _dyld_start (in /usr/lib/dyld)
> +
> +
> +Note: see also the FAQ in the source distribution.
> +It contains workarounds to several common problems.
> +In particular, if Valgrind aborted or crashed after
> +identifying problems in your program, there's a good chance
> +that fixing those problems will prevent Valgrind aborting or
> +crashing, especially if it happened in m_mallocfree.c.
> +
> +If that doesn't help, please report this bug to: www.valgrind.org
> +
> +In the bug report, send all the above text, the valgrind
> +version, and what OS and version you are using. Thanks.
|