Skip to content

Segfault on armhf #166

Open
Open
@oberstet

Description

@oberstet

This example works on both x86-64 and aarch64, but segfaults on armhf.

My first suspicion would be: a msgpack issue on 32 bit. We currently don't build x86-32, which would allow to bisect this.

So probably it makes sense to first fix this - moving to the latest msgpack library.

oberstet@thinkpad-t430s:~/scm/crossbario/crossbar-starter/autobahn-cpp$ make start
docker run -it --rm \
	--net=host \
	-v /home/oberstet/scm/crossbario/crossbar-starter/autobahn-cpp/.build_x86-64:/build \
	debian:stretch \
	/build/client 192.168.1.211 8080
starting program .. [thread 15ce8c0]
starting io service .. [thread 15ce8c0]
transport connected [thread 7f0db88e7700]
session started [thread 7f0db88e7700]
joined realm [thread 7f0db88e7700]
session left [thread 7f0db88e7700]
stopped io service [thread 15ce8c0]
oberstet@thinkpad-t430s:~/scm/crossbario/crossbar-starter/autobahn-cpp$ make start_aarch64 
docker run -it --rm \
	--net=host \
        -v /home/oberstet/scm/crossbario/crossbar-starter/autobahn-cpp/.qemu/qemu-aarch64-static:/usr/bin/qemu-aarch64-static \
	-v /home/oberstet/scm/crossbario/crossbar-starter/autobahn-cpp/.build_aarch64:/build \
	aarch64/debian:stretch \
	/build/client 192.168.1.211 8080
starting program .. [thread 5e3000]
starting io service .. [thread 5e3000]
transport connected [thread 4009800050]
session started [thread 4009800050]
joined realm [thread 4009800050]
session left [thread 4009800050]
stopped io service [thread 5e3000]
oberstet@thinkpad-t430s:~/scm/crossbario/crossbar-starter/autobahn-cpp$ make start_armhf 
docker run -it --rm \
	--net=host \
        -v /home/oberstet/scm/crossbario/crossbar-starter/autobahn-cpp/.qemu/qemu-arm-static:/usr/bin/qemu-arm-static \
	-v /home/oberstet/scm/crossbario/crossbar-starter/autobahn-cpp/.build_armhf:/build \
	armhf/debian:stretch \
	/build/client 192.168.1.211 8080
starting program .. [thread 14e000]
starting io service .. [thread 14e000]
transport connectedqemu: uncaught target signal 11 (Segmentation fault) - core dumped

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions