[Users] PANIC: gwlib/octstr.c:1470: octstr_delete: Assertion `!ostr1-immutable' failed.

2010-07-02 Thread sokha pen
Hi List,

I have setup mbuni as VAS Gateway and runing without problem but when i
Mbuni receive MM7 message from operator it give error as below:

2010-07-02 10:48:40 [7150] [3] DEBUG: XML sent is: ?xml version=1.0
encoding=UTF-8?
env:Envelope xmlns:env=http://schemas.xmlsoap.org/soap/envelope/;
env:Header
TransactionID xmlns=
http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2;
env:mustUnderstand=12010070209
4346-8b0ce...@192.168.210.191/TransactionID
/env:Header
env:Body
DeliverReq xmlns=
http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2

MM7Version5.3.0/MM7Version
Recipients
To
Number+1234153370/Number
/To
/Recipients
PriorityNormal/Priority
Subjecttest mms/Subject
Content href=cid:mms_cid /
/DeliverReq
/env:Body
/env:Envelope!
2010-07-02 10:48:40 [7150] [3] INFO: parse.soap, h=TransactionID, v=
20100702094346-8b0ce...@192.168.210.191!
2010-07-02 10:48:40 [7150] [3] INFO: parse.soap, h=MessageType,
v=DeliverReq!
2010-07-02 10:48:40 [7150] [3] INFO: parse.soap, h=MM7Version, v=5.3.0!
2010-07-02 10:48:40 [7150] [3] INFO: parse.soap, h=To, v=+
+1234153370/TYPE=PLMN!
2010-07-02 10:48:40 [7150] [3] INFO: parse.soap, h=Priority, v=Normal!
2010-07-02 10:48:40 [7150] [3] INFO: parse.soap, h=Subject, v=test mms!
2010-07-02 10:48:40 [7150] [3] INFO: parse.soap, h=Content, v=cid:mms_cid!
2010-07-02 10:48:40 [7150] [3] DEBUG: -- Enterred mm7dispatch interface,
mreq=[Ok] mtype=[DeliverReq] --
2010-07-02 10:48:40 [7150] [3] PANIC: gwlib/octstr.c:1470: octstr_delete:
Assertion `!ostr1-immutable' failed.
2010-07-02 10:48:40 [7150] [3] PANIC: mmsbox(gw_panic+0x9e) [0x8084bce]
2010-07-02 10:48:40 [7150] [3] PANIC: mmsbox(octstr_delete+0xb3) [0x8089f6b]
2010-07-02 10:48:40 [7150] [3] PANIC: mmsbox(get_mmsbox_queue_dir+0x261)
[0x8058d4d]
2010-07-02 10:48:40 [7150] [3] PANIC: mmsbox(mmsc_receive_func+0x7f8)
[0x805a72c]
2010-07-02 10:48:40 [7150] [3] PANIC: mmsbox [0x807c31b]
2010-07-02 10:48:40 [7150] [3] PANIC: /lib/tls/libpthread.so.0 [0xb773cc]
2010-07-02 10:48:40 [7150] [3] PANIC: /lib/tls/libc.so.6(__clone+0x5e)
[0xa00c3e]
2010-07-02 10:49:35 [7171] [3] PANIC: gwlib/octstr.c:1470: octstr_delete:
Assertion `!ostr1-immutable' failed.
2010-07-02 10:49:35 [7171] [3] PANIC: mmsbox(gw_panic+0x9e) [0x8084bce]
2010-07-02 10:49:35 [7171] [3] PANIC: mmsbox(octstr_delete+0xb3) [0x8089f6b]
2010-07-02 10:49:35 [7171] [3] PANIC: mmsbox(get_mmsbox_queue_dir+0x261)
[0x8058d4d]
2010-07-02 10:49:35 [7171] [3] PANIC: mmsbox(mmsc_receive_func+0x7f8)
[0x805a72c]
2010-07-02 10:49:35 [7171] [3] PANIC: mmsbox [0x807c31b]
2010-07-02 10:49:35 [7171] [3] PANIC: /lib/tls/libpthread.so.0 [0xb773cc]
2010-07-02 10:49:35 [7171] [3] PANIC: /lib/tls/libc.so.6(__clone+0x5e)
[0xa00c3e]
2010-07-02 11:47:29 [7191] [3] PANIC: gwlib/octstr.c:1470: octstr_delete:
Assertion `!ostr1-immutable' failed.
2010-07-02 11:47:29 [7191] [3] PANIC: mmsbox(gw_panic+0x9e) [0x8084bce]
2010-07-02 11:47:29 [7191] [3] PANIC: mmsbox(octstr_delete+0xb3) [0x8089f6b]
2010-07-02 11:47:29 [7191] [3] PANIC: mmsbox(get_mmsbox_queue_dir+0x261)
[0x8058d4d]
2010-07-02 11:47:29 [7191] [3] PANIC: mmsbox(mmsc_receive_func+0x7f8)
[0x805a72c]
2010-07-02 11:47:29 [7191] [3] PANIC: mmsbox [0x807c31b]
2010-07-02 11:47:29 [7191] [3] PANIC: /lib/tls/libpthread.so.0 [0xb773cc]
2010-07-02 11:47:29 [7191] [3] PANIC: /lib/tls/libc.so.6(__clone+0x5e)
[0xa00c3e]
2010-07-02 17:43:20 [7579] [3] PANIC: gwlib/octstr.c:1470: octstr_delete:
Assertion `!ostr1-immutable' failed.
2010-07-02 17:43:20 [7579] [3] PANIC: mmsbox(gw_panic+0x9e) [0x8084bce]
2010-07-02 17:43:20 [7579] [3] PANIC: mmsbox(octstr_delete+0xb3) [0x8089f6b]
2010-07-02 17:43:20 [7579] [3] PANIC: mmsbox(get_mmsbox_queue_dir+0x261)
[0x8058d4d]
2010-07-02 17:43:20 [7579] [3] PANIC: mmsbox(mmsc_receive_func+0x7f8)
[0x805a72c]
2010-07-02 17:43:20 [7579] [3] PANIC: mmsbox [0x807c31b]
2010-07-02 17:43:20 [7579] [3] PANIC: /lib/tls/libpthread.so.0 [0xb773cc]
2010-07-02 17:43:20 [7579] [3] PANIC: /lib/tls/libc.so.6(__clone+0x5e)
[0xa00c3e]

below is from etherial Trace

POST /mm7 HTTP/1.1
Authorization: Basic enhtZTp6eG1l
Host: 192.168.53.127:8088
SOAPAction: 
Content-Length: 1666
Content-Type: multipart/related;
boundary=---mime-boundary-17DCD0D2.7667C8D3---; type=text/xml;
start=mm7_msg

-mime-boundary-17DCD0D2.7667C8D3---
Content-Type: text/xml; charset=utf-8
Content-ID: mm7_msg

?xml version=1.0 encoding=UTF-8?
env:Envelope xmlns:env=http://schemas.xmlsoap.org/soap/envelope/;
env:Header
TransactionID xmlns=
http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2;
env:mustUnderstand=120100702164233-a3958...@192.168.210.191
/TransactionID
/env:Header
env:Body
DeliverReq xmlns=
http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2

MM7Version5.3.0/MM7Version
Recipients
To
Number+1234153370/Number
/To
/Recipients
PriorityNormal/Priority
Subjecttest mms/Subject
Content href=cid:mms_cid /
/DeliverReq
/env:Body
/env:Envelope


Re: [Users] PANIC: gwlib/octstr.c:1470: octstr_delete: Assertion `!ostr1-immutable' failed.

2010-07-02 Thread Paul Bagyenda
Fixed on CVS. Thanks for catching this.
On Jul 02, 2010, at 11:51, sokha pen wrote:

 
 Hi List,
 
 I have setup mbuni as VAS Gateway and runing without problem but when i Mbuni 
 receive MM7 message from operator it give error as below:
 
 2010-07-02 10:48:40 [7150] [3] DEBUG: XML sent is: ?xml version=1.0 
 encoding=UTF-8?
 env:Envelope xmlns:env=http://schemas.xmlsoap.org/soap/envelope/;
 env:Header
 TransactionID 
 xmlns=http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2;
  env:mustUnderstand=12010070209
 4346-8b0ce...@192.168.210.191/TransactionID
 /env:Header
 env:Body
 DeliverReq 
 xmlns=http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2;
 MM7Version5.3.0/MM7Version
 Recipients
 To
 Number+1234153370/Number
 /To
 /Recipients
 PriorityNormal/Priority
 Subjecttest mms/Subject
 Content href=cid:mms_cid /
 /DeliverReq
 /env:Body
 /env:Envelope!
 2010-07-02 10:48:40 [7150] [3] INFO: parse.soap, h=TransactionID, 
 v=20100702094346-8b0ce...@192.168.210.191!
 2010-07-02 10:48:40 [7150] [3] INFO: parse.soap, h=MessageType, v=DeliverReq!
 2010-07-02 10:48:40 [7150] [3] INFO: parse.soap, h=MM7Version, v=5.3.0!
 2010-07-02 10:48:40 [7150] [3] INFO: parse.soap, h=To, v=+ 
 +1234153370/TYPE=PLMN!
 2010-07-02 10:48:40 [7150] [3] INFO: parse.soap, h=Priority, v=Normal!
 2010-07-02 10:48:40 [7150] [3] INFO: parse.soap, h=Subject, v=test mms!
 2010-07-02 10:48:40 [7150] [3] INFO: parse.soap, h=Content, v=cid:mms_cid!
 2010-07-02 10:48:40 [7150] [3] DEBUG: -- Enterred mm7dispatch interface, 
 mreq=[Ok] mtype=[DeliverReq] -- 
 2010-07-02 10:48:40 [7150] [3] PANIC: gwlib/octstr.c:1470: octstr_delete: 
 Assertion `!ostr1-immutable' failed.
 2010-07-02 10:48:40 [7150] [3] PANIC: mmsbox(gw_panic+0x9e) [0x8084bce]
 2010-07-02 10:48:40 [7150] [3] PANIC: mmsbox(octstr_delete+0xb3) [0x8089f6b]
 2010-07-02 10:48:40 [7150] [3] PANIC: mmsbox(get_mmsbox_queue_dir+0x261) 
 [0x8058d4d]
 2010-07-02 10:48:40 [7150] [3] PANIC: mmsbox(mmsc_receive_func+0x7f8) 
 [0x805a72c]
 2010-07-02 10:48:40 [7150] [3] PANIC: mmsbox [0x807c31b]
 2010-07-02 10:48:40 [7150] [3] PANIC: /lib/tls/libpthread.so.0 [0xb773cc]
 2010-07-02 10:48:40 [7150] [3] PANIC: /lib/tls/libc.so.6(__clone+0x5e) 
 [0xa00c3e]
 2010-07-02 10:49:35 [7171] [3] PANIC: gwlib/octstr.c:1470: octstr_delete: 
 Assertion `!ostr1-immutable' failed.
 2010-07-02 10:49:35 [7171] [3] PANIC: mmsbox(gw_panic+0x9e) [0x8084bce]
 2010-07-02 10:49:35 [7171] [3] PANIC: mmsbox(octstr_delete+0xb3) [0x8089f6b]
 2010-07-02 10:49:35 [7171] [3] PANIC: mmsbox(get_mmsbox_queue_dir+0x261) 
 [0x8058d4d]
 2010-07-02 10:49:35 [7171] [3] PANIC: mmsbox(mmsc_receive_func+0x7f8) 
 [0x805a72c]
 2010-07-02 10:49:35 [7171] [3] PANIC: mmsbox [0x807c31b]
 2010-07-02 10:49:35 [7171] [3] PANIC: /lib/tls/libpthread.so.0 [0xb773cc]
 2010-07-02 10:49:35 [7171] [3] PANIC: /lib/tls/libc.so.6(__clone+0x5e) 
 [0xa00c3e]
 2010-07-02 11:47:29 [7191] [3] PANIC: gwlib/octstr.c:1470: octstr_delete: 
 Assertion `!ostr1-immutable' failed.
 2010-07-02 11:47:29 [7191] [3] PANIC: mmsbox(gw_panic+0x9e) [0x8084bce]
 2010-07-02 11:47:29 [7191] [3] PANIC: mmsbox(octstr_delete+0xb3) [0x8089f6b]
 2010-07-02 11:47:29 [7191] [3] PANIC: mmsbox(get_mmsbox_queue_dir+0x261) 
 [0x8058d4d]
 2010-07-02 11:47:29 [7191] [3] PANIC: mmsbox(mmsc_receive_func+0x7f8) 
 [0x805a72c]
 2010-07-02 11:47:29 [7191] [3] PANIC: mmsbox [0x807c31b]
 2010-07-02 11:47:29 [7191] [3] PANIC: /lib/tls/libpthread.so.0 [0xb773cc]
 2010-07-02 11:47:29 [7191] [3] PANIC: /lib/tls/libc.so.6(__clone+0x5e) 
 [0xa00c3e]
 2010-07-02 17:43:20 [7579] [3] PANIC: gwlib/octstr.c:1470: octstr_delete: 
 Assertion `!ostr1-immutable' failed.
 2010-07-02 17:43:20 [7579] [3] PANIC: mmsbox(gw_panic+0x9e) [0x8084bce]
 2010-07-02 17:43:20 [7579] [3] PANIC: mmsbox(octstr_delete+0xb3) [0x8089f6b]
 2010-07-02 17:43:20 [7579] [3] PANIC: mmsbox(get_mmsbox_queue_dir+0x261) 
 [0x8058d4d]
 2010-07-02 17:43:20 [7579] [3] PANIC: mmsbox(mmsc_receive_func+0x7f8) 
 [0x805a72c]
 2010-07-02 17:43:20 [7579] [3] PANIC: mmsbox [0x807c31b]
 2010-07-02 17:43:20 [7579] [3] PANIC: /lib/tls/libpthread.so.0 [0xb773cc]
 2010-07-02 17:43:20 [7579] [3] PANIC: /lib/tls/libc.so.6(__clone+0x5e) 
 [0xa00c3e]
 
 below is from etherial Trace
 
 POST /mm7 HTTP/1.1
 Authorization: Basic enhtZTp6eG1l
 Host: 192.168.53.127:8088
 SOAPAction: 
 Content-Length: 1666
 Content-Type: multipart/related; 
 boundary=---mime-boundary-17DCD0D2.7667C8D3---; type=text/xml; 
 start=mm7_msg
 
 -mime-boundary-17DCD0D2.7667C8D3---
 Content-Type: text/xml; charset=utf-8
 Content-ID: mm7_msg
 
 ?xml version=1.0 encoding=UTF-8?
 env:Envelope xmlns:env=http://schemas.xmlsoap.org/soap/envelope/;
 env:Header
 TransactionID 
 xmlns=http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2;
  
 env:mustUnderstand=120100702164233-a3958...@192.168.210.191/TransactionID
 /env:Header
 env:Body
 DeliverReq 
 xmlns=http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2;