#3641·mosquitto

Segmentation fault with mosquitto 2.1.2 on FreeBSD

Author: chrissyhebCreated May 5, 2026Updated Sep 3, 2026
LabelsComponent: mosquitto-brokerStatus: Needs info

Hi all, I updated mosquitto from 2.0.20 to 2.1.2 on my FreeBSD (exactly TwinCAT/BSD from Beckhoff, but it is in fact a FreeBSD 14.3.9). I used 2.0.20 without any problems and had the following options configured and working.

  • log_dest file /var/log/mosquitto/mosquitto.log
  • password_file /usr/local/etc/mosquitto/password_file
  • acl_file /usr/local/etc/mosquitto/aclfile
  • persistence_location /var/db/mosquitto

I use the broker with the "mosquitto" user.

After updating to 2.1.2 I had to disable all 4 options as each would give a Segmentation fault. It seems that any file system access doesn't work.

Access rights for the configured files/folders are configured correctly. If root owns the folders/files mosquitto is exiting with a error "Perrmission denied".

Could someone confirm and/or fix this bug? I would be glad to give more detailled information if required.

Chrissy

Source: eclipse-mosquitto/mosquitto