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

Sebastian Ramacher sramacher at debian.org
Mon Sep 2 17:56:31 UTC 2013


Control: reassign -1 liblo7 0.26~repack-7
Control: retitle -1 liblo7: broken on sparc: bus error while sending 64 bit integers
Control: affects -1 src:pyliblo

On 2013-09-02 14:51:18, Sebastian Ramacher wrote:
> Source: pyliblo
> Version: 0.9.1-3
> Severity: serious
> Justification: FTBFS but built successfully in the past
> 
> pyliblo FTBFS on sparc:
> | PYTHONPATH=$(ls -d /home/sramacher/pyliblo-0.9.1/build/lib.*-2.7) \
> |                 python2.7 -m unittest discover -s test/ -p '*.py' -v
> | testHostPort (unit.AddressTestCase) ... ok
> | testHostPortProto (unit.AddressTestCase) ... ok
> | testPort (unit.AddressTestCase) ... ok
> | testUrl (unit.AddressTestCase) ... ok
> | testSendReceive (unit.DecoratorTestCase) ... ok
> | testNoPermission (unit.ServerCreationTestCase) ... ok
> | testPort (unit.ServerCreationTestCase) ... ok
> | testPortProto (unit.ServerCreationTestCase) ... ok
> | testRandomPort (unit.ServerCreationTestCase) ... ok
> | testNotReachable (unit.ServerTCPTestCase) ... ok
> | testSendReceive (unit.ServerTCPTestCase) ... ok
> | testPort (unit.ServerTestCase) ... ok
> | testRecvImmediate (unit.ServerTestCase) ... ok
> | testRecvTimeout (unit.ServerTestCase) ... ok
> | testSendBlob (unit.ServerTestCase) ... ok
> | testSendBundle (unit.ServerTestCase) ... ok
> | testSendInt (unit.ServerTestCase) ... ok
> | testSendInvalid (unit.ServerTestCase) ... ok
> | testSendMessage (unit.ServerTestCase) ... ok
> | testSendOthers (unit.ServerTestCase) ... Bus error (core dumped)
> | make[1]: *** [test-python2.7] Error 138
> 
> I was able to reproduce this issue on smetana.d.o. liblo rebuilt with
> debugging symbols gives me the following back trace:
> 
> Core was generated by `python2.7 -m unittest discover -s test/ -p *.py -v'.
> Program terminated with signal 10, Bus error.
> #0  0x7056634c in lo_arg_network_endian (type=<error reading variable: Cannot access memory at address 0x47>, 
>     data=<error reading variable: Cannot access memory at address 0x4b>) at message.c:687
> 687             *(int64_t *)data = lo_htoo64(*(int64_t *)data);
> (gdb) bt
> #0  0x7056634c in lo_arg_network_endian (type=<error reading variable: Cannot access memory at address 0x47>, 
>     data=<error reading variable: Cannot access memory at address 0x4b>) at message.c:687
> #1  0x7036c008 in ?? () from /lib/sparc-linux-gnu/libc.so.6
> #2  0x7036c008 in ?? () from /lib/sparc-linux-gnu/libc.so.6
> Backtrace stopped: previous frame identical to this frame (corrupt stack?)

I've debugged this a bit further and it looks like liblo is broken on
sparc. Using the two binaries shipped in liblo-tools, one can easily
produce bus errors:

In one shell run 'oscdump 54321', in the other 'oscsend localhost 54321
/test hTfs 12345 3.14 hello' (this is the example from the oscsend with
64 bit instead of 32 bit integers) and oscdump immediately crashes with
a bus error:

Core was generated by `oscdump 54321'.
Program terminated with signal 10, Bus error.
#0  0xf7eed3ec in lo_arg_pp_internal () from /usr/lib/liblo.so.7
(gdb) bt
#0  0xf7eed3ec in lo_arg_pp_internal () from /usr/lib/liblo.so.7
#1  0x0000000d in ?? ()
#2  0x0000000d in ?? ()

So this makes me believe that liblo is broken on sparc and hence I'm
reassigning this bug to liblo.

Regards
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20130902/4936c931/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list