mqtt Segmentation fault

Asked by songjieboa

i use mosquitto in my work,one day it went wrong,i used gdb to debug,the error information is :

Program terminated with signal 11, Segmentation fault.
#0 _mosquitto_messages_reconnect_reset (mosq=0xb35208) at messages_mosq.c:162
162 message = message->next;

i think the message pointer is NULL,so occurs Segmentation fault.
the mqtt's version is 1.0.3,i would like to know the bug has been fixed or not,if fixed,could you tell me the id of the bug.
Thanks a lot!

Question information

Language:
English Edit question
Status:
Answered
For:
mosquitto Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Roger Light (roger.light) said :
#1

I'm quite certain this bug has been fixed in later versions (1.0.3 is
pretty old) but can't point you at a specific bug report. I would
definitely recommend upgrading.

On Tue, Nov 25, 2014 at 10:07 AM, songjieboa
<email address hidden> wrote:
> New question #258206 on mosquitto:
> https://answers.launchpad.net/mosquitto/+question/258206
>
> i use mosquitto in my work,one day it went wrong,i used gdb to debug,the error information is :
>
> Program terminated with signal 11, Segmentation fault.
> #0 _mosquitto_messages_reconnect_reset (mosq=0xb35208) at messages_mosq.c:162
> 162 message = message->next;
>
> i think the message pointer is NULL,so occurs Segmentation fault.
> the mqtt's version is 1.0.3,i would like to know the bug has been fixed or not,if fixed,could you tell me the id of the bug.
> Thanks a lot!
>
>
> --
> You received this question notification because you are a member of
> Mosquitto PPA, which is an answer contact for mosquitto.

Can you help with this problem?

Provide an answer of your own, or ask songjieboa for more information if necessary.

To post a message you must log in.