Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault on armhf #166

Open
oberstet opened this issue May 2, 2017 · 0 comments
Open

Segfault on armhf #166

oberstet opened this issue May 2, 2017 · 0 comments

Comments

@oberstet
Copy link
Contributor

oberstet commented May 2, 2017

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant