On Fri 2018-11-30 10:10:55 -0800, Steve Langasek wrote: > On Fri, Nov 30, 2018 at 09:48:28AM +0100, Héctor Orón Martínez wrote: >> Hello Steve, > >> Since you are doing a study building armhf on arm64 hardware, see >> below yet another failure example. > > As a data point, this version of knot-resolver built successfully in Ubuntu: > > https://launchpad.net/ubuntu/+source/knot-resolver/3.1.0-1/+build/15694916 > > Since Ubuntu already builds all its armhf packages on systems running arm64 > kernels (and thus have strict handling of alignment issues), if this same > source is SIGBUSing in Debian but not Ubuntu it's likely an alignment > problem in a build-dependency that Ubuntu has patched. thanks, upstream also seems to think this is a separate issue, and has moved it over here: https://gitlab.labs.nic.cz/knot/knot-resolver/issues/426 I've forwarded your comment there, i hope that's ok. fwiw, here's the backtrace of the SIGBUS, from amdahl.debian.org, which i can get just by starting kresd under gdb with the same parameters and configuation found in debian/tests/roundtrip: Program received signal SIGBUS, Bus error. 0xf77497f8 in get_new_ttl (entry=entry@entry=0xf051c962, qry=qry@entry=0x70998c, owner=0x709a74 "", type=2, now=now@entry=1543619494) at lib/cache/api.c:233 233 int32_t diff = now - entry->time; (gdb) bt #0 0xf77497f8 in get_new_ttl (entry=entry@entry=0xf051c962, qry=qry@entry=0x70998c, owner=0x709a74 "", type=2, now=now@entry=1543619494) at lib/cache/api.c:233 #1 0xf774f990 in found_exact_hit (lowest_rank=46 '.', val=..., pkt=0xf600534e, ctx=0xf75e3400) at lib/cache/peek.c:481 #2 peek_nosync (ctx=0xf75e3400, ctx@entry=0xfffeed60, pkt=0xf600534e, pkt@entry=0x708860) at lib/cache/peek.c:141 #3 0xf774a5b8 in cache_peek (ctx=0xfffeed60, pkt=0x708860) at lib/cache/api.c:338 #4 0xf775b4c2 in kr_resolve_produce (request=request@entry=0x708720, dst=0x0, dst@entry=0x708848, type=0x409ba7 <qr_task_step+154>, type@entry=0xfffeedcc, packet=0x0) at lib/resolve.c:1384 #5 0x00409ba6 in qr_task_step (task=task@entry=0x708818, packet_source=packet_source@entry=0x0, packet=packet@entry=0x700028) at daemon/worker.c:1372 #6 0x0040a734 in worker_resolve_exec (task=task@entry=0x708818, query=query@entry=0x700028) at daemon/worker.c:1697 #7 0x0040cbd4 in wrk_resolve (L=0xf6db21c0) at daemon/bindings.c:1670 #8 0xf75a5abc in ?? () from /usr/lib/arm-linux-gnueabihf/libluajit-5.1.so.2 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) --dkg
Attachment:
signature.asc
Description: PGP signature