When I set the traced_user_avp in the Siptrace module it causes a segfault in libmysqlclient.so. Everything works fine if I do not set the traced_user_avp.
If I enable the query buffer I also get some messages about not enough free memory.
Log without the query buffer enabled
Log with query buffer enabled
what is the SVN revision of your opensips ? also, when crashing (without buffering), I see you get a core file - could you please extract and post here the backtrace ?
Thanks and regards,
I was using the tarball release off of the main opensips site.
I also forgot that this is on Scientific Linux 6.1 (RHEL Clone) 32 bit with mysql 5.1.52.
I will get a backtrac. Since this is a development box I will try the latest trunk version as well.
Still happens in the opensips trunk. Back traces are now attached.
version: opensips 1.8.0-dev0-notls (i386/linux)
flags: STATS: Off, EXTRA_DEBUG, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, DBG_QM_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
@(#) $Id: main.c 8267 2011-08-19 17:34:18Z bogdan_iancu $
main.c compiled on 08:58:40 Aug 25 2011 with gcc 4.4.5
This has been fixed in trunk and in the 1.7 branch. Could you please update and give it a try ?
Also, I see that OpenSIPS crashes also when using insert buffering. Is it possible to get a backtrace for that as well ?
backtrace when using query buffer
bt full when using query buffer
Tried trunk and the problem is fixed. Also seemed to fix the issue when using it with the query buffer as well.
I attached backtraces with the query buffer as well, from svnrevision: 2:8311M, that was showing the crashing. Just in case.
Checked the backtrace for the query buffering crash, and It was definitely cause by the same bug in siptrace, which was fixed.
Thanks for helping in tracing the problem.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.