Closed mrdunk closed 9 years ago
Impressive. I'll handle this monday back in the office (and will also be updating to mosquitto 1.4.3 as well) I've not done a lot of testing in CC, but I've got "many" nodes running this on BB, so I'm kinda impressed at getting a bus error :)
Did I read that right that you're installing the mosquitto package from snapshots (ie, trunk) onto a CC branch device? Is that even supported?
hi, i'm fairly inexperienced with OpenWRT so i hope i get the naming conventions correct here... (apologies in advance if i don't.) both the nodes i experienced this issue on were installed from trunk and are running trunk packages (including mosquitto). to confirm i'm getting the naming scheme correct, the images for both these test nodes were found here: https://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/
i believe trunk is the only option for the GL-iNet device as it's not supported yet in any of the pre-built releases.
the TP-Link TL-WR710N doesn't have to run trunk; i only installed that to confirm the issues i was sing on the GL-iNet.
also, BB on the TP-Link TL-WR710N works correctly: mosquitto does not crash.
i think the non-trunk version of CC from here: Index of /chaos_calmer/15.05-rc3/ar71xx/generic/ worked correctly on the TP-Link too. (though i'm not 100% sure i'm remembering that correctly though... let me know if you want me to test.)
Reproduced here, I guess it's some musl fun times.
--- SIGBUS {si_signo=SIGBUS, si_code=SI_USER, si_errno=ENETUNREACH, si_pid=0, si_uid=0} ---
talking with upstream on whether they have any ideas on it.
http://paste.fedoraproject.org/258526/14404227/ fixes this, but I'm holding off on committing this as a patch while I get some feedback from upstream.
I've just pushed a fix for this to master. Do you have an environment with the CC (for-15.05) branch is setup? I will eventually get around to rebuilding that branch too, but I'm a little tight on disk space right now :|
i just set a build environment set up and set it running. this feed right? git://git.openwrt.org/15.05/openwrt.git first time building from scratch so lets see how it goes. i'm guessing it'll take a few hours so hope to get time to test it before i leave the house tomorrow.
dunk.
i didn't manage to test that build yet. should get to it this evening.
dunk.
yup. confirmed working. Mosquitto on "OpenWrt Chaos Calmer 15.05" does not crash. thanks for the quick turnaround!
dunk.
Well, I didn't do anything there :) It just means that it's probably musl libc fallout. I'll still update the CC/for-15.05 branch to 1.43, it's just not as urgent as it was ealier :) Thanks for testing.
originally posted here in error: https://dev.openwrt.org/ticket/20362
i believe this is un-reported:
steps to reproduce: on OpenWRT node:
on another node (where 192.168.192.9 is the OpenWRT node):
back on the OpenWRT node:
please let me know if i can be of any assistance. dunk.