[OpenSER-Users] sigsegv in module when running imported function

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Feb 11 15:49:05 CET 2008


Hi Francisco,

Please repost this on the correct email list which is "devel".

Thanks and regards,
Bogdan

Francisco Seratti wrote:
> Hello,
> Im coding a module for my needs, and one of them is to
> modify the SIP message after querying some db.
> I decided to use the function replace_all() exported
> by the textops module, using the find_export()
> function declared in sr_module.h.
> The problem is that im getting a SIGSEGV when some
> child exec the replace_all mapped function:
>
> Feb 11 11:29:30 [4868] DBG:core:find_cmd_export_t:
> found <replace_all>(2) in module textops
> [/usr/local/lib/openser/modules/]
> Feb 11 11:29:31 [4867] INFO:core:handle_sigs: child
> process 4868 exited by a signal 11
> Feb 11 11:29:31 [4867] INFO:core:handle_sigs: core was
> generated
> Feb 11 11:29:31 [4867] INFO:core:handle_sigs:
> terminating due to SIGCHLD
>
> I cant find the core generated by openser. Where is
> the default dir where this cores are saved?
>
> I dont know if this is a correct way to modify a SIP
> message; is there a better o more apropiated way to do
> this? 
>
> Thanks in advance, Francisco.
>
>
>
>       Tarjeta de crédito Yahoo! de Banco Supervielle.
> Solicitá tu nueva Tarjeta de crédito. De tu PC directo a tu casa. www.tuprimeratarjeta.com.ar 
>
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>
>   





More information about the Users mailing list