Re: Smsbox crash - here is the log

James Coleman <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
I really should start using kannel cvs.

.... 

> > >    2004-07-05 14:45:14 [8447] [3] PANIC: gwlib/octstr.c:2332:

okay well 

static void seems_valid_real(const Octstr *ostr, const char *filename, long lineno,
                             const char *function)
{
....
    if (ostr->size == 0) {
....
    } else {
....
        gw_assert_place(ostr->data != NULL,
                        filename, lineno, function);

there is the assert ... not on line 2332 ... so still I'm looking at different file but much closer

slightly weird? a len and a size attribute?

but nyeagh. maybe.

> > >    seems_valid_real: Assertion `ostr->data != NULL' failed. (Called from
> > >    gw/smsbox.c:2211:smsbox_req_handle.)


    /* 
     * Append all denied receivers to the returned body in case this is
     * a multi-cast send request
     */
    if (list_len(denied) > 0) {
        octstr_format_append(returnerror, " Denied receivers are:");
        while ((receiv = list_extract_first(denied)) != NULL) {
            octstr_format_append(returnerror, " %s", octstr_get_cstr(receiv));
        }
    }               
    list_destroy(denied, octstr_destroy_item);  

It could be either of the octstr methods there (line 2211 so I'm assuming 
  I'm looking at the right line)
            octstr_format_append(returnerror, " %s", octstr_get_cstr(receiv));

They each may call seems_valid_real.

Does "denied receiver" ring any alarm bells?

James.
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.