Created attachment 160480 [details] update to 1.4.3 mosquitto release 1.4.3 on Aug 18th. Also, a bug in the malloc/free wrapper can lead to SEGVs, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=475707 I suggest to add the bug fix as a patch temporarily.
Created attachment 160481 [details] files/patch-lib_memory_mosq.c
Take it, additional there is an update to 1.4.4 that includes the memory leak fix.
A commit references this bug: Author: ohauer Date: Sun Sep 27 21:32:31 UTC 2015 New revision: 398053 URL: https://svnweb.freebsd.org/changeset/ports/398053 Log: - update to 1.4.4 1.4.4 - 20150916 ================ Broker: - Don't leak sockets when outgoing bridge with multiple addresses cannot connect. Closes #477571. - Fix cross compiling of websockets. Closes #475807. - Fix memory free related crashes on openwrt. Closes #475707. - Fix excessive calls to message retry check. 1.4.3 - 20150818 ================ Broker: - Fix incorrect bridge notification on initial connection. Closes #467096. - Build fixes for OpenBSD. - Fix incorrect behaviour for autosave_interval, most noticable for autosave_interval=1. Closes #465438. - Fix handling of outgoing QoS>0 messages for bridges that could not be sent because the bridge connection was down. - Free unused topic tree elements. Closes #468987. - Fix some potential memory leaks. Closes #470253. - Fix potential crash on libwebsockets error. Client library: - Add missing error strings to mosquitto_strerror. - Handle fragmented TLS packets without a delay. Closes #470660. - Fix incorrect loop timeout being chosen when using threaded interface and keepalive = 0. Closes #471334. - Increment inflight messages count correctly. Closes #474935. Clients: - Report error string on connection failure rather than error code. PR: 202742 Submitted by: stb@lassitu.de Approved by: maintainer timout (one month) Changes: head/net/mosquitto/Makefile head/net/mosquitto/distinfo
Committed update to 1.4.4