Hello there,
one of mine clients at login (bind) did not fill system_type and
opensmppbox crashed. I told him to fill it and everything is ok, but
enyone can send this way opensmppbox to lala land.
LOG:
2011-03-29 11:07:18 [1088] [41] INFO: Connected to bearerbox at
localhost port 13001.
2011-03-29 11:07:18 [1088] [41] DEBUG: Started thread 42
(opensmppbox.c:smpp_to_bearerbox)
2011-03-29 11:07:18 [1088] [42] DEBUG: Thread 42
(opensmppbox.c:smpp_to_bearerbox) maps to pid 1088.
2011-03-29 11:07:19 [1088] [42] DEBUG: SMPP[abcd]: Got PDU:
2011-03-29 11:07:19 [1088] [42] DEBUG: SMPP PDU 0x7e8e00 dump:
2011-03-29 11:07:19 [1088] [42] DEBUG: type_name: bind_transceiver
2011-03-29 11:07:19 [1088] [42] DEBUG: command_id: 9 = 0x00000009
2011-03-29 11:07:19 [1088] [42] DEBUG: command_status: 0 = 0x00000000
2011-03-29 11:07:19 [1088] [42] DEBUG: sequence_number: 1 = 0x00000001
2011-03-29 11:07:19 [1088] [42] DEBUG: system_id: "pokus"
2011-03-29 11:07:19 [1088] [42] DEBUG: password: "tester"
2011-03-29 11:07:19 [1088] [42] DEBUG: system_type: NULL
2011-03-29 11:07:19 [1088] [42] DEBUG: interface_version: 52 = 0x00000034
2011-03-29 11:07:19 [1088] [42] DEBUG: addr_ton: 0 = 0x00000000
2011-03-29 11:07:19 [1088] [42] DEBUG: addr_npi: 0 = 0x00000000
2011-03-29 11:07:19 [1088] [42] DEBUG: address_range: NULL
2011-03-29 11:07:19 [1088] [42] DEBUG: SMPP PDU dump ends.
2011-03-29 11:07:19 [1088] [42] PANIC: gwlib/octstr.c:2488:
seems_valid_real: Assertion `ostr != NULL' failed. (Called from
gwlib/octstr.c:875:octstr_compare.)
2011-03-29 11:07:19 [1088] [42] PANIC:
/usr/local/sbin/opensmppbox(gw_panic+0x15b) [0x44133b]
2011-03-29 11:07:19 [1088] [42] PANIC: /usr/local/sbin/opensmppbox
[0x441bb9]
2011-03-29 11:07:19 [1088] [42] PANIC:
/usr/local/sbin/opensmppbox(octstr_compare+0x20) [0x446780]
2011-03-29 11:07:19 [1088] [42] PANIC:
/usr/local/sbin/opensmppbox(check_login+0x29b) [0x40dcab]
2011-03-29 11:07:19 [1088] [42] PANIC: /usr/local/sbin/opensmppbox
[0x40e0c8]
2011-03-29 11:07:19 [1088] [42] PANIC: /usr/local/sbin/opensmppbox
[0x4380a5]
2011-03-29 11:07:19 [1088] [42] PANIC: /lib64/libpthread.so.0
[0x2aaaac086367]
2011-03-29 11:07:19 [1088] [42] PANIC: /lib64/libc.so.6(clone+0x6d)
[0x2aaaac909f7d]
Slavoj.