Re: PANIC: gwlib/octstr.c ...
Alexander Malysh <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | Centrium GmbH |
| Message-ID | <[email protected]> |
Hi Igor, unfortunately I'm not a wap expert :( Your bug is known one and was reported already. The bug #95 was reopened again... Thanks a lot for backtrace! On Monday 03 November 2003 19:26, Igor Ivoilov wrote: > That gives > > #0 0x080bfb72 in gw_panic () > #1 0x080c6c70 in seems_valid_real () > #2 0x080c39a7 in octstr_case_search () > #3 0x080bd806 in http_something_accepted () > #4 0x080bd851 in http_type_accepted () > #5 0x08051b3b in return_reply () > #6 0x08051e62 in return_replies_thread () > #7 0x080b635f in new_thread () > #8 0x4009eb9c in pthread_start_thread (arg=0x43b7dbe0) at manager.c:259 > > I think the using of octstr_case_search() was introduce in > http_something_accepted() few days ago. > > Igor > > > -----Original Message----- > > From: Alexander Malysh [mailto:[email protected]] > > Sent: Monday, November 03, 2003 4:46 PM > > To: Igor Ivoilov; [email protected] > > Subject: Re: PANIC: gwlib/octstr.c ... > > > > > > 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 -- 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: a.malysh at centrium.de web: http://www.centrium.de msn: olek2002 at hotmail.com icq: 98063111 ___________________________________________ Please avoid sending me Word, Excel or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQA/pslHnX3e5W+uJ0ERAumqAJoDOvLQl49Y2yoJO3Erb2vZRmAPnQCcCUBp BnzMqFQEJzmE6KUn4C7drNY= =5v77 -----END PGP SIGNATURE-----