[OpenSIPS-Users] opensips 1.5.0 crashes when using is_user_in()

olex at osm.org.ua olex at osm.org.ua
Thu Feb 5 16:27:56 CET 2009


Hi, Sergia!

> Hello Olex.
>
> Could you execute a list at frame 0?
>
Unfortunately it does not give more info:
#0  0x00007f46a3f42b0a in get_username_domain () from
/usr/lib/opensips/modules/group.so
No symbol table info available.
#1  0x00007f46a3f4364f in is_user_in () from
/usr/lib/opensips/modules/group.so
No symbol table info available.
#2  0x00007f46a7e8f64c in do_action () from /usr/sbin/opensips
No symbol table info available.
#3  0x00007f46a7e91cc4 in run_action_list () from /usr/sbin/opensips
No symbol table info available.

Which commands should I use to compile opensips with debugging symbols?

> Did you download opensips from SVN? What OS are you running on?
>
opensips 1.5.0 r5249
os Gentoo linux x86_64
$ uname -a
Linux voip 2.6.25-hardened-r7-20080922 #1 SMP Tue Sep 23 00:30:01 EEST
2008 x86_64 Intel(R) Xeon(R) CPU X3220 @ 2.40GHz GenuineIntel GNU/Linux

> Regards.
>
> Sergio.
>
>
> On Thu, Feb 5, 2009 at 10:12 AM, <olex at osm.org.ua> wrote:
>
>> Hello, All!
>>
>> When using function is_user_in() from module group.so there is a crash
>> of
>> opensips.
>> The same opensips.cfg was tested on 1.4.3 and 1.4.4 without any crashes
>> or
>> problems.
>>
>> /var/log/messages
>> ------------------
>> Feb  5 16:05:13 voip /usr/sbin/opensips[11992]: INFO:core:handle_sigs:
>> child process 1203
>> 9 exited by a signal 11
>> Feb  5 16:05:13 voip /usr/sbin/opensips[11992]: INFO:core:handle_sigs:
>> core was generated
>> Feb  5 16:05:13 voip /usr/sbin/opensips[11992]: INFO:core:handle_sigs:
>> terminating due to
>>  SIGCHLD
>> Feb  5 16:05:13 voip /usr/sbin/opensips[12037]: INFO:core:sig_usr:
>> signal
>> 15 received
>>
>> opensips.cfg(only some strings)
>> ---------------------------------
>> if (is_user_in("From", "disabled")) {
>>    xlog("L_INFO", "User is in group 'disabled' F=$fu D=$fd\n");
>>    rewriteuser("403");
>> }
>>
>>
>> GDB trace
>> -----------
>> #0  0x00007f46a3f42b0a in get_username_domain () from
>> /usr/lib/opensips/modules/group.so
>> #1  0x00007f46a3f4364f in is_user_in () from
>> /usr/lib/opensips/modules/group.so
>> #2  0x00007f46a7e8f64c in do_action () from /usr/sbin/opensips
>> #3  0x00007f46a7e91cc4 in run_action_list () from /usr/sbin/opensips
>> #4  0x00007f46a7ed0f8e in eval_expr () from /usr/sbin/opensips
>> #5  0x00007f46a7ed0dac in eval_expr () from /usr/sbin/opensips
>> #6  0x00007f46a7e8e37e in do_action () from /usr/sbin/opensips
>> #7  0x00007f46a7e91cc4 in run_action_list () from /usr/sbin/opensips
>> #8  0x00007f46a7e916e5 in do_action () from /usr/sbin/opensips
>> #9  0x00007f46a7e91cc4 in run_action_list () from /usr/sbin/opensips
>> #10 0x00007f46a7e916e5 in do_action () from /usr/sbin/opensips
>> #11 0x00007f46a7e91cc4 in run_action_list () from /usr/sbin/opensips
>> #12 0x00007f46a7e92046 in run_top_route () from /usr/sbin/opensips
>> #13 0x00007f46a7ec6d24 in receive_msg () from /usr/sbin/opensips
>> #14 0x00007f46a7efd23b in udp_rcv_loop () from /usr/sbin/opensips
>> #15 0x00007f46a7ea485c in main () from /usr/sbin/opensips
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
>
>
> --
> Sergio Gutiérrez
>





More information about the Users mailing list