Re: proton crash in pn_messenger_free()

2015-10-19 Thread Michael Ivanov
Hallo, I have investigated the crash a bit further. I have added decref/incref trace printout and I got the following at the moment of crash: COLLECTOR 0xba9050 FREE COLLECTOR 0xba9050 RELEASE COLLECTOR 0xba9050 DRAIN COLLECTOR 0xba9050 POP: event 0xbcdd10/pn_link PN_OBJ_DECREF: object 0xbcdd10

Re: proton crash in pn_messenger_free()

2015-10-16 Thread Michael Ivanov
It's still the same in proton 0.10 The line numbers are a bit different, but the error seems to be the same: ==6040== Invalid read of size 8 ==6040==at 0x53679F5: pn_object_reify (object.c:216) ==6040==by 0x5367BA6: pn_class_decref (object.c:92) ==6040==by 0x5375BBF:

proton crash in pn_messenger_free()

2015-10-13 Thread Michael Ivanov
Hallo, I am using proton 0.91 and I constantly experience crashes on process termination. I use two messengers, one to read primary input queue and the other to send replies. Primary messenger is used in non-blocking mode. On termination I do the following: if (_reply) {