Re: PANIC in wapbox (Too many immutable strings.)

Vjacheslav Chekushin <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization LMT
Message-ID <[email protected]>
Hi, list.
IMHO PANIC goes not from malloc allocation, but from immutable octstr.
Kannel limits maximum count for immutable octstr. It limited in octstr.c
to 1024 (#define MAX_IMMUTABLES 1024).
So _this_ limit has been exceeded by gateway.
Solution: either increase limit, either descrese immutable octstr usage.

Stipe Tolj wrote:
>>I've experienced PANIC in latest CVS wapbox. unfortubately I have no
>>debug log, but can supply log with level 1 (if it helps):
> 
> 
> did you compile Kannel with debugging on? Beware that the debug
> version of the malloc wrappers have only a certain "room" to address.
> 
> Stipe
> 
-------------------------------------------------------------------
> 


-- 
Vjacheslav Chekushin                                mailto:[email protected]
Latvian Mobile Phone Company                        http://www.lmt.lv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.