{"action":"created","issue":{"url":"https://api.github.com/repos/openwrt/packages/issues/1692","labels_url":"https://api.github.com/repos/openwrt/packages/issues/1692/labels{/name}","comments_url":"https://api.github.com/repos/openwrt/packages/issues/1692/comments","events_url":"https://api.github.com/repos/openwrt/packages/issues/1692/events","html_url":"https://github.com/openwrt/packages/issues/1692","id":102238824,"number":1692,"title":"packeges mosquitto and mosquitto-nossl broken in snapshots/trunk/ar71xx/generic/packages/packages","user":{"login":"mrdunk","id":5035250,"avatar_url":"https://avatars.githubusercontent.com/u/5035250?v=3","gravatar_id":"","url":"https://api.github.com/users/mrdunk","html_url":"https://github.com/mrdunk","followers_url":"https://api.github.com/users/mrdunk/followers","following_url":"https://api.github.com/users/mrdunk/following{/other_user}","gists_url":"https://api.github.com/users/mrdunk/gists{/gist_id}","starred_url":"https://api.github.com/users/mrdunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrdunk/subscriptions","organizations_url":"https://api.github.com/users/mrdunk/orgs","repos_url":"https://api.github.com/users/mrdunk/repos","events_url":"https://api.github.com/users/mrdunk/events{/privacy}","received_events_url":"https://api.github.com/users/mrdunk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"karlp","id":127907,"avatar_url":"https://avatars.githubusercontent.com/u/127907?v=3","gravatar_id":"","url":"https://api.github.com/users/karlp","html_url":"https://github.com/karlp","followers_url":"https://api.github.com/users/karlp/followers","following_url":"https://api.github.com/users/karlp/following{/other_user}","gists_url":"https://api.github.com/users/karlp/gists{/gist_id}","starred_url":"https://api.github.com/users/karlp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlp/subscriptions","organizations_url":"https://api.github.com/users/karlp/orgs","repos_url":"https://api.github.com/users/karlp/repos","events_url":"https://api.github.com/users/karlp/events{/privacy}","received_events_url":"https://api.github.com/users/karlp/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-08-20T21:14:10Z","updated_at":"2015-08-25T14:53:42Z","closed_at":null,"body":"originally posted here in error:\r\nhttps://dev.openwrt.org/ticket/20362\r\n\r\ni believe this is un-reported:\r\n - problem:\r\n   - the mosquitto broker crashes with the message \"Bus error\" when any node publishes to the broker via the \"mqtt\" protocol.\r\n   - this happens reliably. (100% of the time.)\r\n   - the \"websocket\" protocol appears unaffected.\r\n\r\n- these 2 nodes exhibit the problem:\r\n  - GL-iNet 6416A v1\r\n  OpenWrt Chaos Calmer r46612 / LuCI (git-15.216.69575-bb7ea3e)\r\n\r\n  - TP-Link TL-WR710N v1\r\n  OpenWrt Chaos Calmer r46589 / LuCI (git-15.216.69575-bb7ea3e)\r\n\r\n- steps to reproduce:\r\n  on OpenWRT node:\r\n  ```\r\nroot@OpenWrt:/etc# opkg install mosquitto\r\nroot@OpenWrt:/etc# cd \r\nroot@OpenWrt:~# opkg install mosquitto\r\nInstalling mosquitto (1.4.2-2) to root...\r\nDownloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/packages/mosquitto_1.4.2-2_ar71xx.ipk.\r\nConfiguring mosquitto.\r\n\r\nroot@OpenWrt:~# killall mosquitto\r\n\r\nroot@OpenWrt:~# /usr/sbin/mosquitto -v -c /etc/mosquitto/mosquitto.conf\r\n1440012117: mosquitto version 1.4.2 (build date 2015-08-17 09:48:38+0000) starting\r\n1440012117: Config loaded from /etc/mosquitto/mosquitto.conf.\r\n1440012117: Opening ipv4 listen socket on port 1883.\r\n1440012117: Opening ipv6 listen socket on port 1883.\r\n  ```\r\n  on another node (where 192.168.192.9 is the OpenWRT node):\r\n  ```\r\nduncan@lapdancer:~$ mosquitto_pub -h 192.168.192.9 -p 1883 -t homeautomation/lighting/all/all -m \"#000\" -d\r\nReceived CONNACK\r\nSending PUBLISH (d0, q0, r0, m1, 'homeautomation/lighting/all/all', ... (4 bytes))\r\nduncan@lapdancer:~$\r\n  ```\r\n  back on the OpenWRT node:\r\n  ```\r\nroot@OpenWrt:~# /usr/sbin/mosquitto -v -c /etc/mosquitto/mosquitto.conf\r\n1440012242: mosquitto version 1.4.2 (build date 2015-08-17 09:48:38+0000) starting\r\n1440012242: Config loaded from /etc/mosquitto/mosquitto.conf.\r\n1440012242: Opening ipv4 listen socket on port 1883.\r\n1440012242: Opening ipv6 listen socket on port 1883.\r\n1440012246: New connection from 192.168.192.62 on port 1883.\r\n1440012246: New client connected from 192.168.192.62 as mosq_pub_4904_duncan (c1, k60).\r\n1440012246: Sending CONNACK to mosq_pub_4904_duncan (0, 0)\r\n1440012246: Received PUBLISH from mosq_pub_4904_duncan (d0, q0, r0, m0, 'homeautomation/lighting/all/all', ... (4 bytes))\r\n1440012246: Received DISCONNECT from mosq_pub_4904_duncan\r\n1440012246: Client mosq_pub_4904_duncan disconnected.\r\nBus error\r\nroot@OpenWrt:~# ps |grep mosquitto\r\n 7318 root      1192 S    grep mosquitto\r\nroot@OpenWrt:~#\r\n  ```\r\n\r\nplease let me know if i can be of any assistance.\r\ndunk."},"comment":{"url":"https://api.github.com/repos/openwrt/packages/issues/comments/134612119","html_url":"https://github.com/openwrt/packages/issues/1692#issuecomment-134612119","issue_url":"https://api.github.com/repos/openwrt/packages/issues/1692","id":134612119,"user":{"login":"karlp","id":127907,"avatar_url":"https://avatars.githubusercontent.com/u/127907?v=3","gravatar_id":"","url":"https://api.github.com/users/karlp","html_url":"https://github.com/karlp","followers_url":"https://api.github.com/users/karlp/followers","following_url":"https://api.github.com/users/karlp/following{/other_user}","gists_url":"https://api.github.com/users/karlp/gists{/gist_id}","starred_url":"https://api.github.com/users/karlp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlp/subscriptions","organizations_url":"https://api.github.com/users/karlp/orgs","repos_url":"https://api.github.com/users/karlp/repos","events_url":"https://api.github.com/users/karlp/events{/privacy}","received_events_url":"https://api.github.com/users/karlp/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T14:53:42Z","updated_at":"2015-08-25T14:53:42Z","body":"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 :|"}}