1664935585: mosquitto version 2.0.15 starting
1664935585: Config loaded from ./mosquitto.conf.
1664935585: Starting in local only mode. Connections will only be possible from clients running on this machine.
1664935585: Create a configuration file which defines a listener to allow remote access.
1664935585: For more details see https://mosquitto.org/documentation/authentication-methods/
1664935585: Opening ipv4 listen socket on port 1883.
1664935585: Opening ipv6 listen socket on port 1883.
1664935585: mosquitto version 2.0.15 running
At this time, dyn_subscribe expects to connect to Mosquitto again, but actually the dyn_subscribe side terminates with a segmentation fault (core dumped) error.
Output Examples:
on Mosquitto side:
1664935780: mosquitto version 2.0.15 starting
1664935780: Config loaded from ./mosquitto.conf.
1664935780: Starting in local only mode. Connections will only be possible from clients running on this machine.
1664935780: Create a configuration file which defines a listener to allow remote access.
1664935780: For more details see https://mosquitto.org/documentation/authentication-methods/
1664935780: Opening ipv4 listen socket on port 1883.
1664935780: Opening ipv6 listen socket on port 1883.
1664935780: mosquitto version 2.0.15 running
1664935780: New connection from 127.0.0.1:53134 on port 1883.
1664935780: New client connected from 127.0.0.1:53134 as rust_dyn_subscribe (p2, c1, k20).
1664935780: Will message specified (32 bytes) (r0, q1).
1664935780: test
1664935780: Sending CONNACK to rust_dyn_subscribe (0, 0)
1664935781: Client rust_dyn_subscribe closed its connection.
When I stop Mosquitto at ^C and start it again,
segmentation fault (core dumped)
occurs.Reproduction procedures
segmentation fault (core dumped)
error.Information
/etc/os-release