[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#613642: bus error in ps2pdf



forwarded 613642 http://bugs.ghostscript.com/show_bug.cgi?id=691989
quit

Julien Cristau wrote:
> On Wed, Feb 16, 2011 at 13:56:52 +0100, Julien Cristau wrote:

>> gx_semaphore_alloc() allocates a 8-byte-aligned gx_semaphore_t, which
>> means that sema->native is *not* 8-byte-aligned (its offset is 4),
>> whereas alignof(pt_semaphore_t) == 8.  The easiest fix is probably to
>> make sure gp_semaphore has maximal alignment.
>
> Quick test with the following patch seems to work (using Stéphane's test
> case).

Thanks, both.  I've filed the bug upstream.

Jonas et al, would you like a git branch with this patch applied?



Reply to: