-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ade Mahfud wrote:
> 
> Hi, All
> 
> Right now I'm using kannel with latest CVS running on Fedora Core 6.
> Testing with kannel using wavecom fasttrack 1306B as virtual SMSC.
> It is running fine when I'm sending sms without asking DLR with this command
> 
> links -dump
> "http://127.0.0.1:13013/cgi-bin/sendsms?username=XXX&password=XXX&from=+XXXX
> XXXXXX&to=+XXXXXXXX&text=Hello+World"
> 
> We can send the message.
> 
> But, when we are asking DLR while sending sms with command below 
> 
> links -dump
> "http://127.0.0.1:13013/cgi-bin/sendsms?username=XXX&password=XXX&from=+XXXX
> XXXXXX&to=+XXXXXXXX&dlr-mask=31&text=Hello+World"
> 
> kannel is consuming my memory and finally panic.
> This is my bearerbox log
> 
> 2007-04-19 22:24:15 [7915] [6] DEBUG: AT2[wavecom]: --> AT+CMGS=24^M
> 2007-04-19 22:24:15 [7915] [6] DEBUG: AT2[wavecom]: <-- >
> 2007-04-19 22:24:15 [7915] [6] DEBUG: AT2[wavecom]: send command status: 1
> 2007-04-19 22:24:15 [7915] [6] DEBUG: AT2[wavecom]: -->
> 0031000C812618822170870000A70BC8329BFD065DDF723619
> 2007-04-19 22:24:15 [7915] [6] DEBUG: AT2[wavecom]: --> ^Z
> 2007-04-19 22:24:17 [7915] [6] DEBUG: AT2[wavecom]: <-- >
> 2007-04-19 22:24:17 [7915] [6] DEBUG: AT2[wavecom]: <-- +CMGS: 24
> 2007-04-19 22:24:17 [7915] [6] DEBUG: AT2[wavecom]: <-- OK
> 2007-04-19 22:24:17 [7915] [6] DEBUG: AT2[wavecom]: send command status: 0
> 2007-04-19 22:24:17 [7915] [6] DEBUG: DLR[mysql]: Adding DLR smsc=wavecom,
> ts=24, src= XXXXXXXXXX, dst=XXXXXXXXXXX, mask=31, boxc=
> 2007-04-19 22:24:17 [7915] [6] DEBUG: sql: INSERT INTO dlr (smsc, ts,
> source, destination, service, url, mask, boxc, status) VALUES ('wavecom',
> '24', ' XXXXXXXXXX', 'XXXXXXXXXXX', 'ade', '', '31', '', '0');
> 2007-04-19 22:24:17 [7915] [6] DEBUG: SMSC[wavecom]: creating DLR message
> 2007-04-19 22:24:17 [7915] [6] DEBUG: SMSC[wavecom]: DLR = 
> 2007-04-19 22:24:17 [7915] [16] DEBUG: send_msg: sending msg to box:
> <127.0.0.1>
> 2007-04-19 22:24:17 [7915] [16] DEBUG: boxc_sender: sent message to
> <127.0.0.1>
> 2007-04-19 22:24:17 [7915] [15] DEBUG: boxc_receiver: got ack
> 2007-04-19 22:24:24 [7915] [6] DEBUG: AT2[wavecom]: <-- +CDS: 25
> 2007-04-19 22:24:24 [7915] [6] DEBUG: AT2[wavecom]: <--
> 0006180C81261882217087704091224212827040912242128200
> 2007-04-19 22:24:30 [7915] [15] DEBUG: boxc_receiver: heartbeat with load
> value 0 received
> 2007-04-19 22:25:59 [7915] [6] PANIC: Memory re-allocation failed
> 2007-04-19 22:25:59 [7915] [6] PANIC: System error 12: Cannot allocate
> memory
> 2007-04-19 22:26:01 [7915] [6] PANIC: gw/bearerbox(gw_panic+0xc2)
> [0x80c6652]
> 2007-04-19 22:26:01 [7915] [6] PANIC: gw/bearerbox(gw_native_realloc+0x3e)
> [0x80bc5ce]
> 2007-04-19 22:26:01 [7915] [6] PANIC: gw/bearerbox [0x80c70fd]
> 2007-04-19 22:26:01 [7915] [6] PANIC: gw/bearerbox(octstr_insert_data+0x3c)
> [0x80c897c]
> 2007-04-19 22:26:01 [7915] [6] PANIC: gw/bearerbox(octstr_append_char+0x2d)
> [0x80c8a9d]
> 2007-04-19 22:26:01 [7915] [6] PANIC: gw/bearerbox [0x8068c8b]
> 2007-04-19 22:26:01 [7915] [6] PANIC: gw/bearerbox [0x806bee7]
> 2007-04-19 22:26:01 [7915] [6] PANIC: gw/bearerbox [0x80bdf41]
> 2007-04-19 22:26:01 [7915] [6] PANIC: /lib/libpthread.so.0 [0x4f43db]
> 2007-04-19 22:26:01 [7915] [6] PANIC: /lib/libc.so.6(clone+0x5e) [0x44e06e]

is this PANIC after 1 SMS with DLR request? or after a series of request and
memory consumption is linear until exceeded?

Did you use '--with-malloc=check' while confuring?

Stipe

- -------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
- -------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGJ9gk9ez0oeKvYs0RAhstAJ94w31TRGV7zLs8+2U4EUN36VQPJwCeJNEY
7ZwNBeYNJotCSGklr+uhlJY=
=w9A1
-----END PGP SIGNATURE-----

Reply via email to