[SR-Users] Coredump while exchanging diameter capabilities

2018-01-16 Thread Tsvetan Filev
Hi. I get a coredump which is caused by bad memory handling during the diameter capability exchange process. Here is part of the log file: === 2018-01-16T09:16:39.890992+02:00 linux-o12d kamailio[13298]: 87(13388) INFO: cdp [worker.c:332]: worker_process(): [0]

Re: [SR-Users] Coredump while exchanging diameter capabilities

2018-01-16 Thread Rick Barenthin
Hey, looks like an error with memory allocation. If you haven't done yet, it would be nice if you could create an issue on GitHub. Do you still have the coredump? If so please create an trace with gdb and attache it to the issue. Greetings Rick Am 16.01.2018 09:50 schrieb "Tsvetan Filev" : Hi.

Re: [SR-Users] Coredump while exchanging diameter capabilities

2018-01-17 Thread Tsvetan Filev
Hi Rick. Yes I have coredumps and backtraces but I installed the rpms from here https://www.kamailio.org/wiki/packages/rpms (http://download.opensuse.org/repositories/home:/kamailio:/v5.1.x-rpms/openSUSE_Leap_42.3/ ) so I'm missing the debug symbols. Can I find the kamailio debug rpm (kamailio

Re: [SR-Users] Coredump while exchanging diameter capabilities

2018-01-17 Thread Carsten Bock
Hi, The log clearly states, what went wrong and where. There was insufficient memory allocated at some point. I'm traveling right now, but I will check either tonight from the Hotel or tomorrow. Thanks for reporting, Carsten Am 17.01.2018 09:51 schrieb "Tsvetan Filev" : > Hi Rick. > > Yes I hav

Re: [SR-Users] Coredump while exchanging diameter capabilities

2018-01-18 Thread Carsten Bock
Hi Tsvetan, i've just pushed a safety check to master. Can you check, if this avoids the crash? If yes, can you share the output of the log? If I am correct, it's due to a miscalculation of available apps for the peer. Thanks, Carsten 2018-01-16 9:49 GMT+01:00 Tsvetan Filev : > Hi. > > I get a c

Re: [SR-Users] Coredump while exchanging diameter capabilities

2018-01-19 Thread Tsvetan Filev
Carsten, I pulled all latest changes (including your commit 72bbf9280879475dcdbda59f00b75a274885abaa), built new RPMS using the spec file, upgraded my current packages (5.1.0) with the new ones (5.2.0) and restarted the service. I got core dump again. It seems you have to take care of AVP_Vend