Open wbx-github opened 2 months ago
Did this occur as a result of upgrading Asterisk? Was Asterisk actually built against the new headers? Looking at the backtrace and where it is, I would only expect such a crash if Asterisk was built against one set of headers but then used against another version or build of PJSIP.
I double checked with a complete rebuild. (make clean && make) The same issue happens. So this is not an update problem.
What is the output of config.log for Asterisk?
And what arguments were passed to pjproject for building it?
Oh, and finally to confirm: the previous version of Asterisk was built against 2.13 and worked fine?
I also built PJSIP 2.14 externally myself and built Asterisk 20.7.0 against it and confirmed bundled was not used. I ran outgoing call tests, which were successful and did not result in a crash.
Oh, and finally to confirm: the previous version of Asterisk was built against 2.13 and worked fine?
The previous version 20.6.0 and the version included in Buildroot 20.5.2 having the same issues. May be pjsip is the problem?
I can say that I am able to build both together not using bundled, and they work on my system. This would either mean it is your build process, the arguments passed to either PJSIP or Asterisk for building, or something in PJSIP that is only impacting things for you, or some other environmental thing. It doesn't appear to be an outright failure for all.
Asterisk config.log asterisk.config.log
Pjsip config.log pjsip.config.log
I am still unable to reproduce this, so that means it is one of the following:
There's nothing else I can add or investigate, and this is in unsupported territory. I will leave it open to see if anyone else has experience or comments.
The asterisk system is behind double NAT. But this works with the bundled pjsip as mentioned earlier. I am attaching my extensions.conf and pjsip.conf for completeness. May be it is this special environment. extensions.conf.txt pjsip.conf.txt
Severity
Trivial
Versions
20.7.0
Components/Modules
pjsip
Operating Environment
Hi, I am using latest Buildroot on a Raspberry PI4 (64 Bit). I am maintaining the Asterisk package for Buildroot. Linux 6.1.61 with glibc 2.38 is used.
Frequency of Occurrence
Constant
Issue Description
With the bundled pjproject Asterisk works fine in my scenario. The Buildroot policy is not to download any source code while compiling a package. So I am trying to use the external pjproject 2.14. But then Asterisk segfaults.
Relevant log output
Asterisk Issue Guidelines