There's a bug in smsc_at2_create in line 1054 where octstr_destroy() is
called, but without setting the Octstr* destoryed to NULL
(octstr_destroy() does not do that). a simple fix would be to change all
octstr_destroy calls to O_DESTROY macro instead (which does checking and
also assigns NULL to the destroyed pointer).
--
Oded Arbel
m-Wise Inc.
[EMAIL PROTECTED]
"Existence is not only temporary, it's pointless!"
-- Calvin and Hobbes
> -----Original Message-----
> From: Abd Rahman Johari [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, March 17, 2002 11:20 AM
> To: [EMAIL PROTECTED]
> Subject: AT2 with wavecom again
>
>
> Hi,
>
> this is error produced running kannel from latest cvs
>
> i'm using wavecom modem. :)
>
>
>
> 2002-03-17 17:08:55 [0] INFO: Debug_lvl = -1, log_file =
> <none>, log_lvl = 0
>
> 2002-03-17 17:08:55 [0] DEBUG: Kannel bearerbox version `cvs'.
>
> System Linux, release 2.4.9-21, version #1 Thu Jan 17
> 14:16:30 EST 2002, machine i686.
>
> Hostname web.mlcc.com.my, IP 192.168.0.2.
>
> Libxml version 20411.
>
> Using OpenSSL 0.9.6b [engine] 9 Jul 2001.
>
> Using checking malloc.
>
>
>
> 2002-03-17 17:08:55 [0] INFO: Added logfile `core-log.log'
> with level `0'.
>
> 2002-03-17 17:08:55 [0] INFO: ----------------------------------------
>
> 2002-03-17 17:08:55 [0] INFO: Kannel bearerbox II version cvs starting
>
> 2002-03-17 17:08:55 [0] INFO: Started access logfile
> `core-access.log'.
>
> 2002-03-17 17:08:55 [0] DEBUG: HTTP: Opening server at port 13000.
>
> 2002-03-17 17:08:55 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
>
> 2002-03-17 17:08:55 [0] DEBUG: Started thread 2
> (gwlib/http.c:server_thread)
>
> 2002-03-17 17:08:55 [0] DEBUG: Started thread 3
> (gw/bb_http.c:httpadmin_run)
>
> 2002-03-17 17:08:55 [0] DEBUG: starting smsbox connection module
>
> 2002-03-17 17:08:55 [0] DEBUG: Started thread 4
> (gw/bb_boxc.c:smsboxc_run)
>
> 2002-03-17 17:08:55 [0] ERROR: Start marker was damaged for
> area 0x82209b8
>
> 2002-03-17 17:08:55 [0] ERROR: Could not find area information.
>
> 2002-03-17 17:08:55 [0] PANIC: gwlib/octstr.c:2055:
> seems_valid_real: Assertion `gw_check_is_allocated(ostr)'
> failed. (Called from gw/smsc_at2.c:1066:smsc_at2_create.)
>
>
>