RE: WAPBOX Crashed @ Version 1.2.0

"Paul Keogh" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
> 2002-08-28 14:24:02 [1] DEBUG: WSP 74: New state CONNECTED
> 2002-08-28 14:25:04 [10] ERROR: connect failed
> 2002-08-28 14:25:04 [10] ERROR: System error 110: Connection timed out
> 2002-08-28 14:25:04 [10] ERROR: error connecting to server
> `www.d2chat.de' at port `80'
> 2002-08-28 14:25:04 [10] DEBUG: HTTP: Opening connection to
> `www.d2chat.de:80' (fd=0).
> 2002-08-28 14:25:04 [10] ERROR: Couldn't send request to
> <http://www.d2chat.de/>
> 2002-08-28 14:25:04 [7] ERROR: WSP: http lookup failed, oops.
> 2002-08-28 14:25:04 [7] PANIC: gw/wap-appl.c:475: get_referer_url:
> Assertion `sm != NULL' failed.
> 

Hm. The WSP state machine is gone at this point and hence the

	gw_assert(sm != NULL);

in get_referer_url() is too strict. You can easily patch by
checking instead of asserting for this condition.
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.