[sr-dev] [kamailio/kamailio] Segfault in Kamailio 5.6.0 related to app_perl module (Issue #3134)

Daniel-Constantin Mierla notifications at github.com
Wed Jun 15 09:20:05 CEST 2022


The backtrace points to the line that has:

```
PL_exit_flags |= PERL_EXIT_DESTRUCT_END;
```

Which suggests that global variable from Perl lib `PL_exit_flags` is messed up. You can check it with gdb -- open the core file with:

```
gdb /path/to/kamailio /path/to/corefile
```

Then run:

```
p PL_exit_flags
```

The crash happens during the reload, which might be done periodically, a matter of the modparam. You can try to disable it and see if the still crash happens. This periodical reload tried to help with Perl interpreter and libs memory leaks, so watch the system memory as well to be sure it not increasing without an obvious reason.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3134#issuecomment-1156083137
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3134/1156083137 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220615/6e834083/attachment-0001.htm>


More information about the sr-dev mailing list