Bug#721617: pyliblo: FTBFS on sparc: testSendOthers (unit.ServerTestCase) ... Bus error (core dumped)

Felipe Sateler fsateler at debian.org
Tue Sep 3 00:42:01 UTC 2013


On Mon, Sep 2, 2013 at 8:16 PM, Felipe Sateler <fsateler at debian.org> wrote:
> On Mon, Sep 2, 2013 at 7:33 PM, Felipe Sateler <fsateler at debian.org> wrote:
>> Hi liblo devs,
>>
>> The python liblo wrapper has a test suite that has uncovered a bug in
>> liblo.
>
> I just tried current git (5a7a54b4a0a) and the test provided by
> Sebastian continues to fail.

It appears the problem is that in sparc, you can't just say
*(datatype*)data. Depending on datatype, 'data' has to be aligned at a
certain number of bytes from the original block (4 for int, 8 for
int64):

char* src = something();
int* tmp = (int*)(src + 1); // If 1 is replaced by 4, no bus error.
*src = 1; // Bus error here.
int a = *src; // This yields bus error too

So, at least lo_message_add_data (plus all its users),
lo_arg_pp_internal and lo_arg_host_endian need to change to support
sparc.


-- 

Saludos,
Felipe Sateler



More information about the pkg-multimedia-maintainers mailing list