Re: EMI2 Panic

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Wapme Systems AG
Message-ID <[email protected]>
> Just I have applied yours patch from list. and now kannel still crashed
> with the following PANIC error. but only with this eror independet of  set
> username and password in conf.
> 
> 2002-06-27 17:28:29 [0] INFO: MAIN: Start-up done, entering mainloop
> 2002-06-27 17:28:29 [0] PANIC: gwlib/octstr.c:2108: seems_valid_real:
> Assertion `ostr->len == 0' failed. (Call
> ed from gw/smsc_emi2.c:1438:start_cb.)

the assertion is caused in:

static void start_cb(SMSCConn *conn)
{
    PrivData *privdata = conn->data;

    /* in case there are messages in the buffer already */
    if (privdata->rport > 0)
	gwthread_wakeup(privdata->receiver_thread);
    debug("smsc.emi2", 0, "EMI2[%s]: start called",
	  octstr_get_cstr(privdata->name));
}

where privdata->name seems to be NULLed.

Do you have an 'smsc-id' directive in the group?

Stipe

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

Vogelsanger Weg 80
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.