Hi Adel, Can you please list the steps that caused this crash to occur? Would be great if you could send a reproducer. Thanks.
----- Original Message ----- > From: "Adel Boutros" <adelbout...@live.com> > To: users@qpid.apache.org > Sent: Tuesday, May 31, 2016 9:38:42 AM > Subject: [qpid-dispatch] Crash when trying to close a NULL listener > > Hello, > In qpid-dispatch, we have a core dump and a segmentation fault when a > qd_listener_t is being closed but it is NULL: > src/server.c:1614 > void qd_server_listener_close(qd_listener_t* li){ > qdpn_listener_close(li->pn_listener); > > > > > > > > } > A check on li would fix this crash. > Fix:void qd_server_listener_close(qd_listener_t* li){ if > (li) qdpn_listener_close(li->pn_listener); > > > > > > > > } > Regards,Adel --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org