Re: smsbox closed connection (at2)

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Wapme Systems AG
Message-ID <[email protected]>
Andrea Viscovich wrote:
> 
> Something very very bad happens sometimes with smsbox.
> This isn't the first time it happens
> Don't really know why, but it closes connection.
> Maybe it's because it receives an empty sms, but
> I have omit-empty = true in sms-service group.
> I give you here all the details, and I really hope I can solve this bug
> that keeps craching smsbox.
> (this is cvs (about one month ago) with at2 (on win2000).
> 2002-02-12 23:53:40 [7] DEBUG: HTTP: Status line: <HTTP/1.1 500 Internal
> Server Error>
> 2002-02-12 23:53:40 [5] ERROR: Start marker was damaged for area 0x10024cf8
> 2002-02-12 23:53:40 [5] ERROR: Could not find area information.
> 2002-02-12 23:53:40 [5] PANIC: gwlib/octstr.c:2034: seems_valid_real:
> Assertion `gw_check_is_allocated(ostr)' failed. (Called from
> gw/smsbox.c:698:url_result_thread.)

so we have a failing assertion checking which is panicing here in
smsbox and causing it to stop.

Unfortunatly our cvs checkout is not up to date so I don't see what is
happening on *your* line 698 of smsbox.c. The current cvs is out of
scope for url_result_thread() for this line number.

Could you please copy a short passage around that number, or the
url_result_thread() function, so we can see what operations causes the
assertion problem.

Usually you will do something nasty with a orctstr* when you get this.

BTW, if this is happening from time to time and crashing your
bearerbox you may either consider to run smsbox as NT service and
define a restart with Win200 internal mechanisms for the service or
use a shell wrapper script around calling smsbox which loops infinitly
around calling smsbox. (But this should be considered a kludge, of
course).

Stipe

[email protected]
-------------------------------------------------------------------
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [email protected]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are
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.