Thanks.
It's now fixed on cvs.
(I've been much time programming perl and php and forget that strings aren't
copied by
string = otherstring :) )
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 21, 2001 1:57 PM
Subject: apparent bug regarding 'missing SMS service HTTP server'
> Hi. I just set up the current CVS kannel with a falcom A2d1 gsm modem,
> and it seems to work nicely. However, by accident I noticed what seems to
> be a memory overrun bug, when the sms-service can't get in touch with the
> HTTP server it expects.
> Below, a part of smsbox.log. At the first receipt, kannel
> fails to connect to the sms-service (which is OK, considering the
> server is not there...)
> The next time it gets a request, there is a 'start marker was damaged',
> and it dies.
> Of course, this is not a problem whenever servers are there,
> as they should be, but it seems like something is not properly handled
> in the special case.
>
>
> 2001-09-21 12:14:04 [4] INFO: Starting to service <Mobiltekst til 29682762
> afsendt den 21.09.01 klokken 14:04:53 er modtaget klokken 14:05:02. (
> 0)> from <4540390999> to <1234>
> 2001-09-21 12:14:04 [4] DEBUG: Started thread 7 (gwlib/fdset.c:poller)
> 2001-09-21 12:14:04 [4] DEBUG: Started thread 8
> (gwlib/http.c:write_request_thread)
> 2001-09-21 12:14:04 [8] DEBUG: HTTP: Opening connection to `rum:8889'.
> 2001-09-21 12:14:04 [8] ERROR: connect failed
> 2001-09-21 12:14:04 [8] ERROR: System error 111: Connection refused
> 2001-09-21 12:14:04 [8] ERROR: error connecting to server `rum' at port
> `8889'
> 2001-09-21 12:14:04 [8] ERROR: Couldn't send request to
>
<http://rum:8889/forward&from=4540390999&to=1234&smscid=wigsm&time=1991-03-1
8+19:16&text=Mobiltekst+til+29682762+afsendt+den+21.09.01+klokken+14%3A04%3A
53+er+modtaget+klokken+14%3A05%3A02.
>
>
(+0)/til+29682762+afsendt+den+21.09.01+klokken+14%3A04%3A53+er+modtaget+klok
ken+14%3A05%3A02.
>
> (+0)>
> 2001-09-21 12:14:39 [4] INFO: Starting to service <Mobiltekst til 29682765
> afsendt den 21.09.01 klokken 14:04:59 er modtaget klokken 14:05:05. (
> 0)> from <4540390999> to <1234>
> 2001-09-21 12:14:39 [8] DEBUG: HTTP: Opening connection to `rum:8889'.
> 2001-09-21 12:14:39 [8] ERROR: connect failed
> 2001-09-21 12:14:39 [8] ERROR: System error 111: Connection refused
> 2001-09-21 12:14:39 [8] ERROR: error connecting to server `rum' at port
> `8889'
> 2001-09-21 12:14:39 [8] ERROR: Couldn't send request to
>
<http://rum:8889/forward&from=4540390999&to=1234&smscid=wigsm&time=1991-03-1
8+19:16&text=Mobiltekst+til+29682765+afsendt+den+21.09.01+klokken+14%3A04%3A
59+er+modtaget+klokken+14%3A05%3A05.
>
>
(+0)/til+29682765+afsendt+den+21.09.01+klokken+14%3A04%3A59+er+modtaget+klok
ken+14%3A05%3A05.
>
> (+0)>
>
> 2001-09-21 12:14:39 [5] ERROR: Start marker was damaged for area 0x81ab960
> 2001-09-21 12:14:39 [5] ERROR: Could not find area information.
> 2001-09-21 12:14:39 [5] PANIC: gwlib/octstr.c:2034: seems_valid_real:
> Assertion `gw_check_is_allocated(ostr)' failed. (Called from
> gwlib/octstr.c:858:octstr_search.)
>
>
>