Re: PANIC: gwlib/octstr.c ...

Alexander Malysh <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Centrium GmbH
Message-ID <[email protected]>
Hi Igor,

would you please recompile your kannel as follows:
./configure _your_params_here_ --with-cflags="-DSEGFAULT_PANIC=1"

with this option you should be able to get coredump and backtrace it with gdb.
as example:
 ulimit -c 100000
 ./wapbox your_config
 gdb ./wapbox core.XXX

Thanks in advance...

On Monday 03 November 2003 15:26, Igor Ivoilov wrote:
> Hi all,
>
> I am using CVS version of kannel as of 1/11/2003. I have tested it with
> fakewap, (I had to change the request it sends to make wapbox happy, I've
> added "Accept: */*" header), there was no problem, but when I put it on
> production server wapbox crashes every 2-3 minutes with
>
> PANIC: gwlib/octstr.c:2159: seems_valid_real: Assertion
> `ostr->data[ostr->len] == '\0'' failed. (Called from
> gwlib/octstr.c:923:octstr_case_search.)
>
> This is a link to logfile of my production server
> http://217.27.32.24/ss/wapbox.log.gz with a couple of such crashes if
> anybody can help me to find a problem.
> The gateway is running on RedHat 7.2
>
> The calls of octstr_case_search() that might be relevant to wabpox I have
> found only in gwlib/http.c
>
> Any help will be very appreciated
>
> Igor

-- 
Best regards / Mit besten Grüßen aus Düsseldorf

Dipl.-Ing.
Alexander Malysh
___________________________________________

Centrium GmbH
Vogelsanger Weg 80
40470 Düsseldorf

Fon: +49 (0211) 74 84 51 80
Fax: +49 (0211) 277 49 109

email: [email protected]
web: www.centrium.de
msn: [email protected]
icq: 98063111
___________________________________________

Please avoid sending me Word, Excel or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
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.