Dear list,
Please, would someone check this error out?
My SMSBOX crashed with the following error log when I try to send a MT
message by using XML POST to sendsms:
2008-05-28 11:06:33 [11550] [3] INFO: smsbox: Got HTTP request
</cgi-bin/sendsms> from <127.0.0.1>
2008-05-28 11:06:33 [11550] [3] DEBUG: XMLParsing: XML: <<?xml
version="1.0"?><message> <submit> <da>093978888</da> <oa>2020</oa>
<ud>Hello</ud> <from> <username>tester</username>
<password>foobar</password> <account>test_account</account>
</from> <to>porta</to> </submit></message>>
2008-05-28 11:06:33 [11550] [3] DEBUG: XMLParsing: tag <from> value
<<username>tester</username> <password>foobar</password>
<account>test_account</account>>
2008-05-28 11:06:33 [11550] [3] DEBUG: XMLParsing: tag <username> value
<tester>
2008-05-28 11:06:33 [11550] [3] DEBUG: XMLParsing: tag <password> value
<foobar>
2008-05-28 11:06:33 [11550] [3] DEBUG: XMLParsing: tag <account> value
<test_account>
2008-05-28 11:06:33 [11550] [3] DEBUG: XMLParsing: tag <oa> value <2020>
2008-05-28 11:06:33 [11550] [3] DEBUG: XMLParsing: tag <da> value
<093978888>
2008-05-28 11:06:33 [11550] [3] DEBUG: XMLParsing: tag <to> value <porta>
2008-05-28 11:06:33 [11550] [3] DEBUG: XMLParsing: tag <ud> value <Hello>
2008-05-28 11:06:33 [11550] [3] INFO: sendsms used by <tester>
2008-05-28 11:06:33 [11550] [3] PANIC: gwlib/octstr.c:2470:
seems_valid_real: Assertion `ostr != NULL' failed. (Called from
gwlib/octstr.c:871:octstr_compare.)
2008-05-28 11:06:33 [11550] [3] PANIC: smsbox(gw_panic+0xe2) [0x8085ed2]
2008-05-28 11:06:33 [11550] [3] PANIC: smsbox [0x8086780]
2008-05-28 11:06:33 [11550] [3] PANIC: smsbox(octstr_compare+0x2a)
[0x808b83a]
2008-05-28 11:06:33 [11550] [3] PANIC: smsbox(octstr_item_match+0x18)
[0x808b8e8]
2008-05-28 11:06:33 [11550] [3] PANIC: smsbox(gwlist_append_unique+0x4f)
[0x8084b7f]
2008-05-28 11:06:33 [11550] [3] PANIC: smsbox [0x805523c]
2008-05-28 11:06:33 [11550] [3] PANIC: smsbox [0x8059985]
2008-05-28 11:06:33 [11550] [3] PANIC: smsbox [0x807c7b1]
2008-05-28 11:06:33 [11550] [3] PANIC: /lib/tls/i686/cmov/libpthread.so.0
[0xb7f174fb]
2008-05-28 11:06:33 [11550] [3] PANIC:
/lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0xb7b98e5e]
I'm using the default sendsms group and this is the XML:
<?xml version="1.0"?>
<message>
<submit>
<da>093978888</da>
<oa>2020</oa>
<ud>Hello</ud>
<from>
<username>tester</username>
<password>foobar</password>
<account>test_account</account>
</from>
<to>porta</to>
</submit>
</message>
--
Eduardo Raad
Gerente General
Metromovil
móvil + 593 93978888
oficina + 593 42329455 x 1099
Av. 10 de Agosto 511 y Chimborazo
Edificio Equinoxcorp, Piso 3
Guayaquil, Ecuador