Re: [SR-Users] Possible memory leak in mysql driver

2016-11-17 Thread Daniel-Constantin Mierla
Working dir can be provided with -w command line parameter. If not set, the corefile should be generated in / or a folder specific for the OS settings (e.g., macos has /corefiles). Root is needed because some OSes have restrictions on which app can dump core files. You can try with a normal user a

Re: [SR-Users] Possible memory leak in mysql driver

2016-11-16 Thread Alexandru Covalschi
Thanks for response Daniel, Can you point me to the location where the core dump should be generated? Afaik kamailio was compiled in /usr/local, what is the workdir for that setup? I can't figure it out from systemd config file. Also, is it really necessary to run as root? What if I set enough

Re: [SR-Users] Possible memory leak in mysql driver

2016-11-16 Thread Daniel-Constantin Mierla
Hello, the plan is to freeze development of v5.0 before the Chirstmas of the first week of January, then it will be a 1-1.5 months of testing, followed by the release. So expect like 2-3 months till the stable release of 5.0. As for the issue, it can be a buffer overflow somewhere, not related to

[SR-Users] Possible memory leak in mysql driver

2016-11-15 Thread Alexandru Covalschi
Hello list, We’re using dev version of Kamailio: version: kamailio 5.0.0-dev4 (x86_64/linux) ff63e5 flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_F