Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mosquitto-dev] Segfault reading /var/lib/mosquitto/mosquitto.db
  • From: eclipse@xxxxxxxxx
  • Date: Tue, 12 Feb 2019 11:05:03 +0100
  • Autocrypt: addr=eclipse@xxxxxxxxx; keydata= mQINBE6vxMQBEADQd2/1clVIt3IUqYtOxNgmEo++DAPNzQYsCnG392GBrvLl4sNjwpVYAPJE eV4CHogGdr7kq8Ga3ONstozQdqd3gD/fW1V1RR+hRJFrpwBYYPPAsk8hEc0roUTvDBlbKKnt GYiXMqg6FYSYWIxQb8Vz0UB7xMDpYMXh9n2qiPNGn8DM2qS8wfyub4A8SATREnpGx7F6zG6z 6AjE2BhkxlfexZeIa8MZhbid9y5ElOQBZXdUlGaEKqRyhYKrZ7jr0FLtU/pZsMtVqxWP26Rv +RBozJUPj0JJ/jsv1muWuA6nDi5Wdd+ZRxYyMEEGURo7AVRyVRP1TGJmlVHIn7kIeeS1euU/ P3qMnfcqNfEo6tXHRXGawGJD+1Sqqh/+xvqN66/EDC+OWRx2VvIIuu/35XCAonVmGhOcrxYx ZqV1SGyv1a+flElAwd9T4bmi5cY/EzQMri16pA6E7Wic2tDPAKblxgaQn97wo0oeosSu3vZ1 PlyqzQo+H9mgzZAyRZUdsekMnmCp6CZJtnrfj6KPPElpRFYIslXnCTlJVBT+Jtz2e5cOaLyi VrcFZ+edYS8MDlbltIAsxOQQpi53LPJl8TGvxyQRJf8pgI4Q27sWmXybcMKr5DY6EyM5xDHD crpBTcmtaoz5krEqEMlhf4nd4Utd/3qg1qopisZG4FKmyobdGQARAQABtBlKYW4gTHVlaHIg PGphbkBqbHVlaHIuZGU+iQI+BBMBAgAoAhsDAh4BAheABQkPRjt0BQJUj/9jBgsJCAcDAgYV CAIJCgsEFgIDAQAKCRAW4dEgCkycrtHbEACpTGSf4UQfGEjVxH8tKm6mvq9ioSm4HQ1MddET HfvtNzmWMjy9g5yw8inpCdGJ0iojQuKYL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/cGCXvoAJ/9PIVSslrV7v3K3UAH4WpiruLVkHbCYN5gE/CCR3 amTVN+DJZAeEs5NHMOtpeEMZACOzaUgOcAJMACS1++8gcRp6+T2wK3mkFuRhgrLJKjibBBdp CghVr1qiX9srLqqAZeohji9C00qEzf8GJDMwX8+SEBT5aH85TDimvlx30L6RKXPzi58zU6qJ XvYI4ikwS/m293+N/0GyKSur1illQAvVL7wJYgxP9tgZdgEAEQEAAYkCJQQYAQIADwIbDAUC WBegSQUJDwt1+QAKCRAW4dEgCkycrkdwEAC4SiBenbVs2U8byS27qraLN5u7atYxsacoH67H lMnzRhS507aHLs5E3qNBL6tmwjHFZKrDtR77gS1VXfpf4fRruuzRmXI8M7xwXAExHNHHoIA+ yoYpaEJqwiWw3r9FqIktDysaaesTO18YH2bnN0SgcbNbk9YYVQFfDlO6czuCbBWFrADFpyQ/ wpUHGG2ih8ZdUHjIKcZ9CFao1sZHy1xcE+pVoqXVqqTvAdmQHEOKYfkP7mJzopjBWe3qGBT+ q44ivYbPPhbwWF6ZP0otXJmc0vw+X4hoE58uxp14mcbIoNHhw376X3dv2mluWHz0GPfZbhsH XDVanqRJyOQb9IGbgllrVjOqv3lDjHZBbw7DhN6iG5n/G88EW6sYpSP0YX6St5o6+Ami0Q+0 iVg2Yg0s2OJM3r5nwo/Bydd/B7afXCGtBtxt1fZZ+IK8UII9rwrNpIY7Z5BFw3eNt9ngyMBE DSsaeosaIlzWAukYlnaPVDkdSTQ1yDI+c8F6W3O11nsX95wpJ8Lb07trruJchCdNoMyiBKje TqY8Ww/Kft/+qXMo77jlRSdmfi9RLtaXO8DwTRYt2azqQK9Ey7kvdJ0+XDDnvusRnNf4HTDY lhZL2YnL8HPLM+b1+kedTiCQ292cBiPRvYYiiU7jkU8/MuKJdSG9fogSlcDzpjVXL3pMhw==
  • Delivered-to: mosquitto-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/mosquitto-dev>
  • List-help: <mailto:mosquitto-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/mosquitto-dev>, <mailto:mosquitto-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/mosquitto-dev>, <mailto:mosquitto-dev-request@eclipse.org?subject=unsubscribe>
  • Openpgp: preference=signencrypt
  • User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0

Hello folks,

mosquitto seem to segfault when reading
/var/lib/mosquitto/mosquitto.db. System is Debian stable, version is
1.4.10-3+deb9u3. The file is attached, since its rather small (< 4 KB).

$ mosquitto -h
mosquitto version 1.4.10 (build date Wed, 06 Feb 2019 17:03:31 +0000)

strace mosquitto -c /etc/mosquitto/mosquitto.conf
[..]
open("/etc/mosquitto/conf.d/mosquitto.conf", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0600, st_size=512, ...}) = 0
read(5, "password_file /etc/mosquitto/mos"..., 4096) = 512
read(5, "", 4096)                       = 0
close(5)                                = 0
getdents(4, /* 0 entries */, 32768)     = 0
close(4)                                = 0
read(3, "", 4096)                       = 0
close(3)                                = 0
open("/var/lib/mosquitto/mosquitto.db", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=76068, ...}) = 0
read(3, "\0\265\0mosquitto db\0\0\0\0\0\0\0\3\0\1\0\0\0\n\1\10\1"...,
4096) = 4096
read(3, "f:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:"..., 32768) = 32768
read(3, "f:ff:00:00:1e\", \"minor\": 30, \"ma"..., 4096) = 4096
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR,
si_addr=0x7fffc57db000} ---
+++ killed by SIGSEGV +++

Do you know what's wrong here?

Thanks in advance,
Jan

-- 
The exercise of adding the egress counterpart and IPv6 support is left
to the reader
- man 8 tc-bpf (Linux)

Attachment: mosquitto.db.xz
Description: application/xz


Back to the top