#20362: packeges mosquitto and mosquitto-nossl broken in
snapshots/trunk/ar71xx/generic/packages/packages
----------------------+------------------------
 Reporter:  mrdunk@…  |      Owner:  developers
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:
Component:  packages  |    Version:  Trunk
 Keywords:            |
----------------------+------------------------
 i believe this is un-reported:

 problem:
  the mosquitto broker crashes with the message "Bus error" when any node
 publishes to the broker via the "mqtt" protocol.
  this happens reliably. (100% of the time.)
  the "websocket" protocol appears unaffected.


 these 2 nodes exhibit the problem:
  GL-iNet 6416A v1
  OpenWrt Chaos Calmer r46612 / LuCI (git-15.216.69575-bb7ea3e)

  TP-Link TL-WR710N v1
  OpenWrt Chaos Calmer r46589 / LuCI (git-15.216.69575-bb7ea3e)


 steps to reproduce:
  on OpenWRT node:
 {{{
 root@OpenWrt:/etc# opkg install mosquitto
 root@OpenWrt:/etc# cd
 root@OpenWrt:~# opkg install mosquitto
 Installing mosquitto (1.4.2-2) to root...
 Downloading
 
http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/packages/mosquitto_1.4.2-2_ar71xx.ipk.
 Configuring mosquitto.

 root@OpenWrt:~# killall mosquitto

 root@OpenWrt:~# /usr/sbin/mosquitto -v -c /etc/mosquitto/mosquitto.conf
 1440012117: mosquitto version 1.4.2 (build date 2015-08-17 09:48:38+0000)
 starting
 1440012117: Config loaded from /etc/mosquitto/mosquitto.conf.
 1440012117: Opening ipv4 listen socket on port 1883.
 1440012117: Opening ipv6 listen socket on port 1883.
 }}}

  on another node (where 192.168.192.9 is the OpenWRT node):
 {{{
 duncan@lapdancer:~$ mosquitto_pub -h 192.168.192.9 -p 1883 -t
 homeautomation/lighting/all/all -m "#000" -d
 Received CONNACK
 Sending PUBLISH (d0, q0, r0, m1, 'homeautomation/lighting/all/all', ... (4
 bytes))
 duncan@lapdancer:~$
 }}}

  back on the OpenWRT node:
 {{{
 root@OpenWrt:~# /usr/sbin/mosquitto -v -c /etc/mosquitto/mosquitto.conf
 1440012242: mosquitto version 1.4.2 (build date 2015-08-17 09:48:38+0000)
 starting
 1440012242: Config loaded from /etc/mosquitto/mosquitto.conf.
 1440012242: Opening ipv4 listen socket on port 1883.
 1440012242: Opening ipv6 listen socket on port 1883.
 1440012246: New connection from 192.168.192.62 on port 1883.
 1440012246: New client connected from 192.168.192.62 as
 mosq_pub_4904_duncan (c1, k60).
 1440012246: Sending CONNACK to mosq_pub_4904_duncan (0, 0)
 1440012246: Received PUBLISH from mosq_pub_4904_duncan (d0, q0, r0, m0,
 'homeautomation/lighting/all/all', ... (4 bytes))
 1440012246: Received DISCONNECT from mosq_pub_4904_duncan
 1440012246: Client mosq_pub_4904_duncan disconnected.
 Bus error
 root@OpenWrt:~# ps |grep mosquitto
  7318 root      1192 S    grep mosquitto
 root@OpenWrt:~#
 }}}


 please let me know if i can be of any assistance.

 dunk.

--
Ticket URL: <https://dev.openwrt.org/ticket/20362>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to