Hi everyone,
We have seen some crashes in kamailio version 5.3 which happens in some modules who are getting the request for a reply from the transaction by the tm module export and try to parse extra header in this request by the parser functions. This seems to create a mix of shm with pkg which lead to a crash in retransmission. My question is, is there a way to make sure that there is no mix of shm and pkg or is the parsing on the message from the transaction not a planned way of usage?
Best regards Rick
Hello Rick,
it might be related to a bug in tm. On which version of 5.3.x you are seeing these crashes? Already tried to upgrade to the latest 5.3.x version?
Cheers,
Henning
-- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.comhttps://gilawa.com/
From: sr-dev sr-dev-bounces@lists.kamailio.org On Behalf Of Rick Barenthin Sent: Tuesday, April 20, 2021 11:23 AM To: sr-dev@lists.kamailio.org Subject: [sr-dev] Crashes because of mixed shm and pkg in kamailio
Hi everyone,
We have seen some crashes in kamailio version 5.3 which happens in some modules who are getting the request for a reply from the transaction by the tm module export and try to parse extra header in this request by the parser functions. This seems to create a mix of shm with pkg which lead to a crash in retransmission. My question is, is there a way to make sure that there is no mix of shm and pkg or is the parsing on the message from the transaction not a planned way of usage?
Best regards Rick
Hello,
it would be also important to know if these modules are in the public repository or some private development.
If they are public, which ones crashed? Did you get core dump files? If yes, send the output of gdb command "bt full" on each of the core files. Eventually you can open an issue for it on bug tracker.
Cheers, Daniel
On 21.04.21 09:24, Henning Westerholt wrote:
Hello Rick,
it might be related to a bug in tm. On which version of 5.3.x you are seeing these crashes? Already tried to upgrade to the latest 5.3.x version?
Cheers,
Henning
--
Henning Westerholt – https://skalatan.de/blog/ https://skalatan.de/blog/
Kamailio services – https://gilawa.com https://gilawa.com/
*From:* sr-dev sr-dev-bounces@lists.kamailio.org *On Behalf Of *Rick Barenthin *Sent:* Tuesday, April 20, 2021 11:23 AM *To:* sr-dev@lists.kamailio.org *Subject:* [sr-dev] Crashes because of mixed shm and pkg in kamailio
Hi everyone,
We have seen some crashes in kamailio version 5.3 which happens in some modules who are getting the request for a reply from the transaction by the tm module export and try to parse extra header in this request by the parser functions. This seems to create a mix of shm with pkg which lead to a crash in retransmission. My question is, is there a way to make sure that there is no mix of shm and pkg or is the parsing on the message from the transaction not a planned way of usage?
Best regards
Rick
Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev