terminated string longer than allowed

"Wayne Smithers" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
This is the bearerbox log from a cvs version of Kannel ( March 2002 ).

It has been stable until now, the error 'PDU NUL terminated string longer
than allowed.' Is shown below.

Any ideas why this assertion was thrown ?


2002-07-27 11:12:09 [6] DEBUG:   priority_flag: 0 = 0x00000000
2002-07-27 11:12:09 [6] DEBUG:   schedule_delivery_time: ""
2002-07-27 11:12:09 [6] DEBUG:   validity_period: ""
2002-07-27 11:12:09 [6] DEBUG:   registered_delivery: 0 = 0x00000000
2002-07-27 11:12:09 [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000
2002-07-27 11:12:09 [6] DEBUG:   data_coding: 0 = 0x00000000
2002-07-27 11:12:09 [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2002-07-27 11:12:09 [6] DEBUG:   sm_length: 20 = 0x00000014
2002-07-27 11:12:09 [6] DEBUG:   short_message:
2002-07-27 11:12:09 [6] DEBUG:    Octet string at 0x8253f28:
2002-07-27 11:12:09 [6] DEBUG:      len:  20
2002-07-27 11:12:09 [6] DEBUG:      size: 21
2002-07-27 11:12:09 [6] DEBUG:      immutable: 0
2002-07-27 11:12:09 [6] DEBUG:      data: 47 4f 20 4d 41 54 45 20   GO MATE
2002-07-27 11:12:09 [6] DEBUG:      data: 55 20 43 41 4e 20 47 52   U CAN GR
2002-07-27 11:12:09 [6] DEBUG:      data: 4f 4f 56 45               OOVE
2002-07-27 11:12:09 [6] DEBUG:    Octet string dump ends.
2002-07-27 11:12:09 [6] DEBUG: SMPP PDU dump ends.
2002-07-27 11:12:09 [6] DEBUG: SMPP: Sending PDU:
2002-07-27 11:12:09 [6] DEBUG: SMPP PDU 0x824dba8 dump:
2002-07-27 11:12:09 [6] DEBUG:   type_name: deliver_sm_resp
2002-07-27 11:12:09 [6] DEBUG:   command_id: 2147483653 = 0x80000005
2002-07-27 11:12:09 [6] DEBUG:   command_status: 0 = 0x00000000
2002-07-27 11:12:09 [6] DEBUG:   sequence_number: 6592 = 0x000019c0
2002-07-27 11:12:09 [6] DEBUG:   message_id: NULL
2002-07-27 11:12:09 [6] DEBUG: SMPP PDU dump ends.
2002-07-27 11:12:09 [9] DEBUG: boxc_sender: sent message to <0.0.0.0>
2002-07-27 11:12:09 [8] DEBUG: boxc_receiver: got ack
2002-07-27 11:12:10 [6] DEBUG: SMPP: Got PDU:
2002-07-27 11:12:10 [6] DEBUG: SMPP PDU 0x8222d48 dump:
2002-07-27 11:12:10 [6] DEBUG:   type_name: deliver_sm
2002-07-27 11:12:10 [6] DEBUG:   command_id: 5 = 0x00000005
2002-07-27 11:12:10 [6] DEBUG:   command_status: 0 = 0x00000000
2002-07-27 11:12:10 [6] DEBUG:   sequence_number: 6593 = 0x000019c1
2002-07-27 11:12:10 [6] DEBUG:   service_type: ""
2002-07-27 11:12:10 [6] DEBUG:   source_addr_ton: 1 = 0x00000001
2002-07-27 11:12:10 [6] DEBUG:   source_addr_npi: 1 = 0x00000001
2002-07-27 11:12:10 [6] DEBUG:   source_addr: "61400000000"
2002-07-27 11:12:10 [6] DEBUG:   dest_addr_ton: 1 = 0x00000001
2002-07-27 11:12:10 [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2002-07-27 11:12:10 [6] DEBUG:   destination_addr: "61400000000"
2002-07-27 11:12:10 [6] DEBUG:   esm_class: 0 = 0x00000000
2002-07-27 11:12:10 [6] DEBUG:   protocol_id: 0 = 0x00000000
2002-07-27 11:12:10 [6] DEBUG:   priority_flag: 0 = 0x00000000
2002-07-27 11:12:10 [6] DEBUG:   schedule_delivery_time: ""
2002-07-27 11:12:10 [6] DEBUG:   validity_period: ""
2002-07-27 11:12:10 [6] DEBUG:   registered_delivery: 0 = 0x00000000
2002-07-27 11:12:10 [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000
2002-07-27 11:12:10 [6] DEBUG:   data_coding: 0 = 0x00000000
2002-07-27 11:12:10 [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2002-07-27 11:12:10 [6] DEBUG:   sm_length: 10 = 0x0000000a
2002-07-27 11:12:10 [6] DEBUG:   short_message: "MATE NO 5."
2002-07-27 11:12:10 [6] DEBUG: SMPP PDU dump ends.
2002-07-27 11:12:10 [6] DEBUG: SMPP: Sending PDU:
2002-07-27 11:12:10 [6] DEBUG: SMPP PDU 0x82230d0 dump:
2002-07-27 11:12:10 [6] DEBUG:   type_name: deliver_sm_resp
2002-07-27 11:12:10 [6] DEBUG:   command_id: 2147483653 = 0x80000005
2002-07-27 11:12:10 [6] DEBUG:   command_status: 0 = 0x00000000
2002-07-27 11:12:10 [6] DEBUG:   sequence_number: 6593 = 0x000019c1
2002-07-27 11:12:10 [6] DEBUG:   message_id: NULL
2002-07-27 11:12:10 [6] DEBUG: SMPP PDU dump ends.
2002-07-27 11:12:10 [9] DEBUG: boxc_sender: sent message to <0.0.0.0>
2002-07-27 11:12:10 [8] DEBUG: boxc_receiver: got ack
2002-07-27 11:12:11 [6] DEBUG: SMPP: Got PDU:
2002-07-27 11:12:11 [6] DEBUG: SMPP PDU 0x8222dc8 dump:
2002-07-27 11:12:11 [6] DEBUG:   type_name: deliver_sm
2002-07-27 11:12:11 [6] DEBUG:   command_id: 5 = 0x00000005
2002-07-27 11:12:11 [6] DEBUG:   command_status: 0 = 0x00000000
2002-07-27 11:12:11 [6] DEBUG:   sequence_number: 6594 = 0x000019c2
2002-07-27 11:12:11 [6] DEBUG:   service_type: ""
2002-07-27 11:12:11 [6] DEBUG:   source_addr_ton: 1 = 0x00000001
2002-07-27 11:12:11 [6] DEBUG:   source_addr_npi: 1 = 0x00000001
2002-07-27 11:12:11 [6] DEBUG:   source_addr: "61400000000"
2002-07-27 11:12:11 [6] DEBUG:   dest_addr_ton: 1 = 0x00000001
2002-07-27 11:12:11 [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2002-07-27 11:12:11 [6] DEBUG:   destination_addr: "61400000000"
2002-07-27 11:12:11 [6] DEBUG:   esm_class: 0 = 0x00000000
2002-07-27 11:12:11 [6] DEBUG:   protocol_id: 0 = 0x00000000
2002-07-27 11:12:11 [6] DEBUG:   priority_flag: 0 = 0x00000000
2002-07-27 11:12:11 [6] DEBUG:   schedule_delivery_time: ""
2002-07-27 11:12:11 [6] DEBUG:   validity_period: ""
2002-07-27 11:12:11 [6] DEBUG:   registered_delivery: 0 = 0x00000000
2002-07-27 11:12:11 [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000
2002-07-27 11:12:11 [6] DEBUG:   data_coding: 0 = 0x00000000
2002-07-27 11:12:11 [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2002-07-27 11:12:11 [6] DEBUG:   sm_length: 1 = 0x00000001
2002-07-27 11:12:11 [6] DEBUG:   short_message: "5"
2002-07-27 11:12:11 [6] DEBUG: SMPP PDU dump ends.
2002-07-27 11:12:11 [6] DEBUG: SMPP: Sending PDU:
2002-07-27 11:12:11 [6] DEBUG: SMPP PDU 0x8267388 dump:
2002-07-27 11:12:11 [6] DEBUG:   type_name: deliver_sm_resp
2002-07-27 11:12:11 [6] DEBUG:   command_id: 2147483653 = 0x80000005
2002-07-27 11:12:11 [6] DEBUG:   command_status: 0 = 0x00000000
2002-07-27 11:12:11 [6] DEBUG:   sequence_number: 6594 = 0x000019c2
2002-07-27 11:12:11 [6] DEBUG:   message_id: NULL
2002-07-27 11:12:11 [6] DEBUG: SMPP PDU dump ends.
2002-07-27 11:12:11 [9] DEBUG: boxc_sender: sent message to <0.0.0.0>
2002-07-27 11:12:11 [8] DEBUG: boxc_receiver: got ack
2002-07-27 11:12:13 [6] ERROR: SMPP: PDU NUL terminated string longer than
allowed.
2002-07-27 11:12:13 [6] PANIC: gw/smpp_pdu.def:126: smpp_pdu_unpack:
Assertion `p->sm_length == (unsigned long) octstr_len(p->short_message)'
failed.


Wayne Smithers
5th Finger
[email protected]
91 Reservoir St
Surry Hills 2010
Sydney, Australia
Ph:  +61-2-9280-0300
Mob: +61-409-603511
Fax: +612-9475-0367
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.