[SR-Users] db_text
Daniel-Constantin Mierla
miconda at gmail.com
Mon Oct 3 17:28:24 CEST 2011
Hello,
the latest 3.1 branch as in db_text/dbt_tb.c following line:
dtp = (dbt_table_p)shm_malloc(sizeof(dbt_table_t));
Where is the line you refer to dpt->prev? Can you copy&paste it here.
Cheers,
Daniel
On 10/3/11 2:20 PM, Bruno Bresciani wrote:
> Hello ALL,
>
> Someone knows why at line 149 in .../kamailio-3.1.2/modules_k/
> db_text/dbt_tb.c the shm_malloc function sometimes allocates memory to
> dtp->prev but sometimes doesn't?
> I'm asking this question because when the subscriber table is being
> loading to shared memory in db_text module, dtp->prev is allocated but
> on version, dispatcher, location table it doesn't... Analysing the
> source code I can't see any reason to this behavior.
>
> The allocation of dtp->prev to subscriber table is generating a core
> at db_text module.
>
> Best Regards
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Dec 5-8, Berlin: http://asipto.com/u/kat
http://linkedin.com/in/miconda -- http://twitter.com/miconda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20111003/2a4fe3c7/attachment.htm>
More information about the sr-users
mailing list