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

awa_bootstrapd keeps crashing when multiple clients wants to connect #355

Open
wrazik opened this issue Apr 24, 2017 · 0 comments
Open

awa_bootstrapd keeps crashing when multiple clients wants to connect #355

wrazik opened this issue Apr 24, 2017 · 0 comments

Comments

@wrazik
Copy link

wrazik commented Apr 24, 2017

After creating simplified Dockerfile, on single machine I've run:
$ docker network create --internal awa_network

$ docker run -p 5683:5683/udp -d --net=awa_network --name awa_serverd -it awa awa_serverd --verbose

docker run -p 15685:15685/udp -d --net=awa_network --name=awa_bootstrapd -it awa awa_bootstrapd --verbose --port 15685 --config bootstrap.conf

On third docker, I've run /bin/bash and created 10 clients. Below command causes segmentation fault on bootstrapd

$ docker run -p 15686:15685/udp --net=awa_network -it awa /bin/bash

(boostrapd_docker) $ for i in {1..10}; do (awa_clientd --endPointName client$i --bootstrap coap://awa_bootstrapd:15685 --ipcPort 1234$i &) ; done

On docker awa_boostrapd we can see:
[DEBUG] [lwm2m_bootstrap.c:202] Put to coap://172.18.0.5:6315/1 [INFO] [coap_abstraction_erbium.c:395] Coap request: coap://172.18.0.5:6315/1 [DEBUG] [coap_abstraction_erbium.c:463] Sending transaction [0]: 0x1d0c490 [DEBUG] [lwm2m_bootstrap.c:209] Post to coap://172.18.0.5:6315//bs [INFO] [lwm2m_bootstrap.c:210] Client bootstrapped: coap://172.18.0.5:6315, 'client2' [INFO] [coap_abstraction_erbium.c:395] Coap request: coap://172.18.0.5:6315//bs [DEBUG] [coap_abstraction_erbium.c:463] Sending transaction [1]: 0x1d0b990

During startup program terminated with signal SIGSEGV, Segmentation fault

Occurrence: 3/3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant