Re: Backtrace of crash

"Mindaugas Riauba" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>

> So wapbox log at debug level (level 0), with configured Kannel
> --with-defaults=debug would be useful.

  Well. Maybe I found something.

  Before crash I'm getting the message "WARNING: WTP: got
a truncated datagram, ignoring".
  Lines 130-131 contains the following code:
event = unpack_wdp_datagram_real(subdgram);
wap_event_assert(event);

  And unpack_wdp_datagram_read returns NULL if it detects
truncated datagram. Without assertions the wapbox crashes
by trying to access event->type in wap/wap_events.c line 222.

  How to fix that?

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