mosquitto crashes on attempt to publish to $SYS topic

Bug #531861 reported by andypiper on 2010-03-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mosquitto
Fix Released
Undecided
Unassigned

Bug Description

Upgraded to 0.5.3 which appears to resolve issues subscribing to the $SYS/ tree.

Using the Java Swing client, subscribe to $SYS/#

Then Publish to $SYS/wibble --> mosquitto crashes.

*** glibc detected *** /usr/sbin/mosquitto: free(): invalid next size (fast): 0x08a80010 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb769fff1]
/lib/tls/i686/cmov/libc.so.6[0xb76a16f2]
/lib/tls/i686/cmov/libc.so.6(cfree+0x6d)[0xb76a47cd]
/usr/sbin/mosquitto[0x804f9b0]
/usr/sbin/mosquitto[0x805108b]
/usr/sbin/mosquitto[0x80500ce]
/usr/sbin/mosquitto[0x804a210]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xb764bb56]
/usr/sbin/mosquitto[0x80499b1]
======= Memory map: ========
08048000-08054000 r-xp 00000000 08:01 412913 /usr/sbin/mosquitto
08054000-08055000 r--p 0000b000 08:01 412913 /usr/sbin/mosquitto
08055000-08056000 rw-p 0000c000 08:01 412913 /usr/sbin/mosquitto
08a62000-08aa4000 rw-p 00000000 00:00 0 [heap]
b6c00000-b6c21000 rw-p 00000000 00:00 0
b6c21000-b6d00000 ---p 00000000 00:00 0
b6d76000-b6d92000 r-xp 00000000 08:01 85937 /lib/libgcc_s.so.1
b6d92000-b6d93000 r--p 0001b000 08:01 85937 /lib/libgcc_s.so.1
b6d93000-b6d94000 rw-p 0001c000 08:01 85937 /lib/libgcc_s.so.1
b6d94000-b6dc3000 r-xp 00000000 08:01 85968 /lib/libpcre.so.3.12.1
b6dc3000-b6dc4000 r--p 0002e000 08:01 85968 /lib/libpcre.so.3.12.1
b6dc4000-b6dc5000 rw-p 0002f000 08:01 85968 /lib/libpcre.so.3.12.1
b6ddf000-b6de0000 ---p 00000000 00:00 0
b6de0000-b75e0000 rw-p 00000000 00:00 0
b75e0000-b75ea000 r-xp 00000000 08:01 85840 /lib/tls/i686/cmov/libnss_files-2.10.1.so
b75ea000-b75eb000 r--p 00009000 08:01 85840 /lib/tls/i686/cmov/libnss_files-2.10.1.so
b75eb000-b75ec000 rw-p 0000a000 08:01 85840 /lib/tls/i686/cmov/libnss_files-2.10.1.so
b75ec000-b75f5000 r-xp 00000000 08:01 85841 /lib/tls/i686/cmov/libnss_nis-2.10.1.so
b75f5000-b75f6000 r--p 00008000 08:01 85841 /lib/tls/i686/cmov/libnss_nis-2.10.1.so
b75f6000-b75f7000 rw-p 00009000 08:01 85841 /lib/tls/i686/cmov/libnss_nis-2.10.1.so
b75f7000-b75fd000 r-xp 00000000 08:01 85842 /lib/tls/i686/cmov/libnss_compat-2.10.1.so
b75fd000-b75fe000 r--p 00005000 08:01 85842 /lib/tls/i686/cmov/libnss_compat-2.10.1.so
b75fe000-b75ff000 rw-p 00006000 08:01 85842 /lib/tls/i686/cmov/libnss_compat-2.10.1.so
b75ff000-b7601000 rw-p 00000000 00:00 0
b7601000-b7614000 r-xp 00000000 08:01 85837 /lib/tls/i686/cmov/libnsl-2.10.1.so
b7614000-b7615000 r--p 00012000 08:01 85837 /lib/tls/i686/cmov/libnsl-2.10.1.so
b7615000-b7616000 rw-p 00013000 08:01 85837 /lib/tls/i686/cmov/libnsl-2.10.1.so
b7616000-b7618000 rw-p 00000000 00:00 0
b7618000-b761a000 r-xp 00000000 08:01 85846 /lib/tls/i686/cmov/libdl-2.10.1.so
b761a000-b761b000 r--p 00001000 08:01 85846 /lib/tls/i686/cmov/libdl-2.10.1.so
b761b000-b761c000 rw-p 00002000 08:01 85846 /lib/tls/i686/cmov/libdl-2.10.1.so
b761c000-b7631000 r-xp 00000000 08:01 85844 /lib/tls/i686/cmov/libpthread-2.10.1.so
b7631000-b7632000 r--p 00014000 08:01 85844 /lib/tls/i686/cmov/libpthread-2.10.1.so
b7632000-b7633000 rw-p 00015000 08:01 85844 /lib/tls/i686/cmov/libpthread-2.10.1.so
b7633000-b7635000 rw-p 00000000 00:00 0
b7635000-b7773000 r-xp 00000000 08:01 85819 /lib/tls/i686/cmov/libc-2.10.1.so
b7773000-b7774000 ---p 0013e000 08:01 85819 /lib/tls/i686/cmov/libc-2.10.1.so
b7774000-b7776000 r--p 0013e000 08:01 85819 /lib/tls/i686/cmov/libc-2.10.1.so
b7776000-b7777000 rw-p 00140000 08:01 85819 /lib/tls/i686/cmov/libc-2.10.1.so
b7777000-b777b000 rw-p 00000000 00:00 0
b777b000-b7782000 r-xp 00000000 08:01 92804 /lib/libwrap.so.0.7.6
b7782000-b7783000 r--p 00006000 08:01 92804 /lib/libwrap.so.0.7.6
b7783000-b7784000 rw-p 00007000 08:01 92804 /lib/libwrap.so.0.7.6
b7784000-b780a000 r-xp 00000000 08:01 537698 /usr/lib/libsqlite3.so.0.8.6
b780a000-b780b000 r--p 00086000 08:01 537698 /usr/lib/libsqlite3.so.0.8.6
b780b000-b780c000 rw-p 00087000 08:01 537698 /usr/lib/libsqlite3.so.0.8.6
b7823000-b7824000 r-xp 00000000 08:01 549483 /usr/lib/sqlite3/pcre.so
b7824000-b7825000 r--p 00000000 08:01 549483 /usr/lib/sqlite3/pcre.so
b7825000-b7826000 rw-p 00001000 08:01 549483 /usr/lib/sqlite3/pcre.so
b7826000-b7828000 rw-p 00000000 00:00 0
b7828000-b7829000 r-xp 00000000 00:00 0 [vdso]
b7829000-b7844000 r-xp 00000000 08:01 85918 /lib/ld-2.10.1.so
b7844000-b7845000 r--p 0001a000 08:01 85918 /lib/ld-2.10.1.so
b7845000-b7846000 rw-p 0001b000 08:01 85918 /lib/ld-2.10.1.so
bfcd3000-bfce8000 rw-p 00000000 00:00 0 [stack]

Changed in mosquitto:
status: New → Confirmed
Changed in mosquitto:
status: Confirmed → Fix Committed
milestone: none → 0.5.4
Changed in mosquitto:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers