Hello there,
I'm facing an issue with kamailio 5.3.2 when it is starting up, it breaks with signal 11 and generates a coredump file:
- https://pastebin.com/FSqyGFp8
This seems to be something related to dmq module, kamailio exits with signal 11 when it receives a DMQ notification_peer message.
I did a few more tests and I noticed that problem disappears if I configure DMQ with one worker only, which takes me to think that it's something related to concurrency.
Best regards
Hello,
does it happen every time or only in some cases? Iirc, there was a similar report for an older version recently, so it might be some old bug not detected yet.
Cheers, Daniel
On 20.03.20 16:47, José Seabra wrote:
Hello there,
I'm facing an issue with kamailio 5.3.2 when it is starting up, it breaks with signal 11 and generates a coredump file:
This seems to be something related to dmq module, kamailio exits with signal 11 when it receives a DMQ notification_peer message.
I did a few more tests and I noticed that problem disappears if I configure DMQ with one worker only, which takes me to think that it's something related to concurrency.
Best regards
Cumprimentos José Seabra
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hello Daniel,
Not all the time, but it happens often, I can easily reproduce the issue.
Best Regards José
Daniel-Constantin Mierla miconda@gmail.com escreveu no dia sexta, 20/03/2020 à(s) 16:02:
Hello,
does it happen every time or only in some cases? Iirc, there was a similar report for an older version recently, so it might be some old bug not detected yet.
Cheers, Daniel On 20.03.20 16:47, José Seabra wrote:
Hello there,
I'm facing an issue with kamailio 5.3.2 when it is starting up, it breaks with signal 11 and generates a coredump file:
This seems to be something related to dmq module, kamailio exits with signal 11 when it receives a DMQ notification_peer message.
I did a few more tests and I noticed that problem disappears if I configure DMQ with one worker only, which takes me to think that it's something related to concurrency.
Best regards
Cumprimentos José Seabra
Kamailio (SER) - Users Mailing Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
Hello,
can you try with the patch from the next commit?
* https://github.com/kamailio/kamailio/commit/21bdbff049571ca22f1205a041c8b116...
Cheers, Daniel
On 20.03.20 17:16, José Seabra wrote:
Hello Daniel,
Not all the time, but it happens often, I can easily reproduce the issue.
Best Regards José
Daniel-Constantin Mierla <miconda@gmail.com mailto:miconda@gmail.com> escreveu no dia sexta, 20/03/2020 à(s) 16:02:
Hello, does it happen every time or only in some cases? Iirc, there was a similar report for an older version recently, so it might be some old bug not detected yet. Cheers, Daniel On 20.03.20 16:47, José Seabra wrote:
Hello there, I'm facing an issue with kamailio 5.3.2 when it is starting up, it breaks with signal 11 and generates a coredump file: * https://pastebin.com/FSqyGFp8 This seems to be something related to dmq module, kamailio exits with signal 11 when it receives a DMQ notification_peer message. I did a few more tests and I noticed that problem disappears if I configure DMQ with one worker only, which takes me to think that it's something related to concurrency. Best regards -- Cumprimentos José Seabra _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org <mailto:sr-users@lists.kamailio.org> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- www.asipto.com <http://www.asipto.com> www.twitter.com/miconda <http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
-- Cumprimentos José Seabra
Hello Daniel,
Thank you for your support. I have applied your patch and did a few tests successfully.
Stay healthy Best Regards
Daniel-Constantin Mierla miconda@gmail.com escreveu no dia sexta, 20/03/2020 à(s) 18:32:
Hello,
can you try with the patch from the next commit?
https://github.com/kamailio/kamailio/commit/21bdbff049571ca22f1205a041c8b116...
Cheers, Daniel On 20.03.20 17:16, José Seabra wrote:
Hello Daniel,
Not all the time, but it happens often, I can easily reproduce the issue.
Best Regards José
Daniel-Constantin Mierla miconda@gmail.com escreveu no dia sexta, 20/03/2020 à(s) 16:02:
Hello,
does it happen every time or only in some cases? Iirc, there was a similar report for an older version recently, so it might be some old bug not detected yet.
Cheers, Daniel On 20.03.20 16:47, José Seabra wrote:
Hello there,
I'm facing an issue with kamailio 5.3.2 when it is starting up, it breaks with signal 11 and generates a coredump file:
This seems to be something related to dmq module, kamailio exits with signal 11 when it receives a DMQ notification_peer message.
I did a few more tests and I noticed that problem disappears if I configure DMQ with one worker only, which takes me to think that it's something related to concurrency.
Best regards
Cumprimentos José Seabra
Kamailio (SER) - Users Mailing Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
-- Cumprimentos José Seabra
-- Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
Hello,
ok, thanks for testing and feedback, it will be backported.
If you use dialog with dmq, you may want to test also:
* https://github.com/kamailio/kamailio/issues/2224#issuecomment-602730307
Cheers, Daniel
On 23.03.20 23:37, José Seabra wrote:
Hello Daniel,
Thank you for your support. I have applied your patch and did a few tests successfully.
Stay healthy Best Regards
Daniel-Constantin Mierla <miconda@gmail.com mailto:miconda@gmail.com> escreveu no dia sexta, 20/03/2020 à(s) 18:32:
Hello, can you try with the patch from the next commit? * https://github.com/kamailio/kamailio/commit/21bdbff049571ca22f1205a041c8b1162005d319 Cheers, Daniel On 20.03.20 17:16, José Seabra wrote:
Hello Daniel, Not all the time, but it happens often, I can easily reproduce the issue. Best Regards José Daniel-Constantin Mierla <miconda@gmail.com <mailto:miconda@gmail.com>> escreveu no dia sexta, 20/03/2020 à(s) 16:02: Hello, does it happen every time or only in some cases? Iirc, there was a similar report for an older version recently, so it might be some old bug not detected yet. Cheers, Daniel On 20.03.20 16:47, José Seabra wrote:
Hello there, I'm facing an issue with kamailio 5.3.2 when it is starting up, it breaks with signal 11 and generates a coredump file: * https://pastebin.com/FSqyGFp8 This seems to be something related to dmq module, kamailio exits with signal 11 when it receives a DMQ notification_peer message. I did a few more tests and I noticed that problem disappears if I configure DMQ with one worker only, which takes me to think that it's something related to concurrency. Best regards -- Cumprimentos José Seabra _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org <mailto:sr-users@lists.kamailio.org> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- www.asipto.com <http://www.asipto.com> www.twitter.com/miconda <http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda> -- Cumprimentos José Seabra
-- Daniel-Constantin Mierla -- www.asipto.com <http://www.asipto.com> www.twitter.com/miconda <http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
-- Cumprimentos José Seabra
Hello Daniel, In fact we are using dmq + dialog for dlg profile replication, we haven't noticed yet the issue described on the ticket that you mentioned but it worth apply those patches for sure.
If I detect something wrong regarding to dmq+dialog I will let you know.
Thank you again for your great support.
Best Regards José
Daniel-Constantin Mierla miconda@gmail.com escreveu no dia terça, 24/03/2020 à(s) 08:24:
Hello,
ok, thanks for testing and feedback, it will be backported.
If you use dialog with dmq, you may want to test also:
https://github.com/kamailio/kamailio/issues/2224#issuecomment-602730307
Cheers, Daniel On 23.03.20 23:37, José Seabra wrote:
Hello Daniel,
Thank you for your support. I have applied your patch and did a few tests successfully.
Stay healthy Best Regards
Daniel-Constantin Mierla miconda@gmail.com escreveu no dia sexta, 20/03/2020 à(s) 18:32:
Hello,
can you try with the patch from the next commit?
https://github.com/kamailio/kamailio/commit/21bdbff049571ca22f1205a041c8b116...
Cheers, Daniel On 20.03.20 17:16, José Seabra wrote:
Hello Daniel,
Not all the time, but it happens often, I can easily reproduce the issue.
Best Regards José
Daniel-Constantin Mierla miconda@gmail.com escreveu no dia sexta, 20/03/2020 à(s) 16:02:
Hello,
does it happen every time or only in some cases? Iirc, there was a similar report for an older version recently, so it might be some old bug not detected yet.
Cheers, Daniel On 20.03.20 16:47, José Seabra wrote:
Hello there,
I'm facing an issue with kamailio 5.3.2 when it is starting up, it breaks with signal 11 and generates a coredump file:
This seems to be something related to dmq module, kamailio exits with signal 11 when it receives a DMQ notification_peer message.
I did a few more tests and I noticed that problem disappears if I configure DMQ with one worker only, which takes me to think that it's something related to concurrency.
Best regards
Cumprimentos José Seabra
Kamailio (SER) - Users Mailing Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
-- Cumprimentos José Seabra
-- Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
-- Cumprimentos José Seabra
-- Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
Hello,
that seems to be an issue exposed in a rare situation, like a quick retransmission of the same dmq command, which can result in processing the same dmq command in parallel by two worker processes. That was what I got to understand after analyzing the bug report...
Cheers, Daniel
On 24.03.20 18:32, José Seabra wrote:
Hello Daniel, In fact we are using dmq + dialog for dlg profile replication, we haven't noticed yet the issue described on the ticket that you mentioned but it worth apply those patches for sure.
If I detect something wrong regarding to dmq+dialog I will let you know.
Thank you again for your great support.
Best Regards José
Daniel-Constantin Mierla <miconda@gmail.com mailto:miconda@gmail.com> escreveu no dia terça, 24/03/2020 à(s) 08:24:
Hello, ok, thanks for testing and feedback, it will be backported. If you use dialog with dmq, you may want to test also: * https://github.com/kamailio/kamailio/issues/2224#issuecomment-602730307 Cheers, Daniel On 23.03.20 23:37, José Seabra wrote:
Hello Daniel, Thank you for your support. I have applied your patch and did a few tests successfully. Stay healthy Best Regards Daniel-Constantin Mierla <miconda@gmail.com <mailto:miconda@gmail.com>> escreveu no dia sexta, 20/03/2020 à(s) 18:32: Hello, can you try with the patch from the next commit? * https://github.com/kamailio/kamailio/commit/21bdbff049571ca22f1205a041c8b1162005d319 Cheers, Daniel On 20.03.20 17:16, José Seabra wrote:
Hello Daniel, Not all the time, but it happens often, I can easily reproduce the issue. Best Regards José Daniel-Constantin Mierla <miconda@gmail.com <mailto:miconda@gmail.com>> escreveu no dia sexta, 20/03/2020 à(s) 16:02: Hello, does it happen every time or only in some cases? Iirc, there was a similar report for an older version recently, so it might be some old bug not detected yet. Cheers, Daniel On 20.03.20 16:47, José Seabra wrote:
Hello there, I'm facing an issue with kamailio 5.3.2 when it is starting up, it breaks with signal 11 and generates a coredump file: * https://pastebin.com/FSqyGFp8 This seems to be something related to dmq module, kamailio exits with signal 11 when it receives a DMQ notification_peer message. I did a few more tests and I noticed that problem disappears if I configure DMQ with one worker only, which takes me to think that it's something related to concurrency. Best regards -- Cumprimentos José Seabra _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org <mailto:sr-users@lists.kamailio.org> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- www.asipto.com <http://www.asipto.com> www.twitter.com/miconda <http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda> -- Cumprimentos José Seabra
-- Daniel-Constantin Mierla -- www.asipto.com <http://www.asipto.com> www.twitter.com/miconda <http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda> -- Cumprimentos José Seabra
-- Daniel-Constantin Mierla -- www.asipto.com <http://www.asipto.com> www.twitter.com/miconda <http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
-- Cumprimentos José Seabra