[OpenSIPS-Users] OpenSIPS crashing but gdb not recognising core dump symbols
Kingsley Tart
kingsley at dns99.co.uk
Tue Oct 26 08:27:49 EST 2021
On Tue, 2021-10-26 at 11:16 +0300, Liviu Chircu wrote:
> Hi,
>
> On 26.10.2021 11:12, Kingsley Tart wrote:
> > root at ipx-a:/tmp# gdb ./ core.opensips.107.1635217462.23482
>
> I think I figured out what's wrong... why are you using this "./"
> construct?! That argument MUST be the binary that produced the
> corefile, which is typically /usr/sbin/opensips! If you look below, gdb
> even briefly complains about this:
> > ./: Is a directory.
>
> Did you get this instruction from the website? Let me know if there is
> anything to correct on that side.
>
> Hope this helps,
Aha!
Yes, I'm getting a full trace now, thanks.
I didn't notice the error in gdb's output as it got lost amongst the
other messages. I've never used gdb before so I thought all of this
output was normal.
The web site (
https://www.opensips.org/Documentation/TroubleShooting-Crash) mentioned
this:
gdb /usr/local/sbin/opensips core.6645
but on my system the binary is /usr/sbin/opensips. I've been juggling a
lot in my mind recently and I imagined that /usr/local/sbin/opensips
was just a directory containing the core file or something.
Anyway, I can now report the crashes with proper traces -
https://github.com/OpenSIPS/opensips/issues I presume.
Cheers,
Kingsley.
More information about the Users
mailing list