[SR-Users] cfg_get in async_worker causes segfault (v4.4)

Daniel-Constantin Mierla miconda at gmail.com
Sat Dec 9 09:03:11 CET 2017



On 09.12.17 04:31, Malcolm O'Hare wrote:
>
> I want to experiment with using the async module.  I added the module
> and updated my request_route to call async_task_route() and put all
> the existing routing logic in a new route.  Unfortunately my kamailio
> is crashing looking up a cfg_get variable.  The exact same route logic
> works fine in the normal child process, its only when its run in a
> async_worker that it fails.
>
>  
>
> Is this a known issue?
>
>  
>
> I can see in the core file that there is no group handle in the
> cfg_group_t (its 0x0), but I know nothing about how that gets set and
> where.
>
>  
>
Open a new issue on bug tracker and put there the output of 'bt full'
taken from core file with gdb - this is useful to troubleshoot.

  - https://github.com/kamailio/kamailio/issues

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20171209/10a5d30d/attachment.html>


More information about the sr-users mailing list