Hello First sorry for my bad english
I got some problem when i request a dlr with kannel... Sending without dlr and receiving are ok... But if i request a dlr, i got always Panic when the status-report is incoming... Cpu and swap space are growing to 95% before Panic I'm on fedora 6 with a gsm modem wavecom fastrack m1306b CPU is : intel core 2 cpu 6300 @ 1,86 Ghz The mobile operator is Orange in France here's samples of log: with at+cnmi:x,x,x,2,x (stocked in SR memory) a bizarre thing if that after crash i've got three of the same report in SR memory The second bizarre thing is that PDU is incorrect, i've to cut the eight first character 000000FF ------------------------------------------------------------------------------------------------------------ 2007-07-18 18:28:44 [8866] [6] DEBUG: AT2[WAVECOM_1]: <-- +CDSI: "SR",1 2007-07-18 18:28:44 [8866] [6] DEBUG: AT2[WAVECOM_1]: +CMTI incoming SMS indication: +CDSI: "SR",1 2007-07-18 18:28:46 [8866] [6] DEBUG: AT2[WAVECOM_1]: --> AT+CMGR=1^M 2007-07-18 18:28:46 [8866] [6] DEBUG: AT2[WAVECOM_1]: <-- +CMGR: 1,,24 2007-07-18 18:28:46 [8866] [6] DEBUG: AT2[WAVECOM_1]: <-- 000000FF0006250A8160483305257070816110248070708161 2007-07-18 18:31:28 [8866] [6] PANIC: Memory re-allocation failed 2007-07-18 18:31:28 [8866] [6] PANIC: System error 12: Cannot allocate memory 2007-07-18 18:31:29 [8866] [6] PANIC: /usr/local/sbin/bearerbox(gw_panic+0xe6) [0x80c4296] 2007-07-18 18:31:29 [8866] [6] PANIC: /usr/local/sbin/bearerbox(gw_native_realloc+0x7d) [0x80b8e0d] 2007-07-18 18:31:29 [8866] [6] PANIC: /usr/local/sbin/bearerbox [0x80c5512] 2007-07-18 18:31:29 [8866] [6] PANIC: /usr/local/sbin/bearerbox(octstr_insert_data+0x63) [0x80c7793] 2007-07-18 18:31:29 [8866] [6] PANIC: /usr/local/sbin/bearerbox(octstr_append_char+0x39) [0x80c79b9] 2007-07-18 18:31:29 [8866] [6] PANIC: /usr/local/sbin/bearerbox [0x806765b] 2007-07-18 18:31:29 [8866] [6] PANIC: /usr/local/sbin/bearerbox [0x8068d9b] 2007-07-18 18:31:29 [8866] [6] PANIC: /usr/local/sbin/bearerbox [0x80691a3] 2007-07-18 18:31:29 [8866] [6] PANIC: /usr/local/sbin/bearerbox [0x806a0c7] 2007-07-18 18:31:29 [8866] [6] PANIC: /usr/local/sbin/bearerbox [0x80badb1] 2007-07-18 18:31:29 [8866] [6] PANIC: /lib/libpthread.so.0 [0x7c644b] 2007-07-18 18:31:29 [8866] [6] PANIC: /lib/libc.so.6(clone+0x5e) [0x30580e] ------------------------------------------------------------------------------------------------------------ and with at+cnmi:x,x,x,1,x (DLR not stored, but flush) ------------------------------------------------------------------------------------------------------------ 2007-07-18 19:12:19 [9026] [6] DEBUG: AT2[WAVECOM_1]: <-- +CDS: 24 2007-07-18 19:12:19 [9026] [6] DEBUG: AT2[WAVECOM_1]: <-- 0006270A816048330525707081712122807070817121728000 2007-07-18 19:14:39 [9026] [6] PANIC: Memory re-allocation failed 2007-07-18 19:14:39 [9026] [6] PANIC: System error 12: Cannot allocate memory 2007-07-18 19:14:40 [9026] [6] PANIC: /usr/local/sbin/bearerbox(gw_panic+0xe6) [0x80c4296] 2007-07-18 19:14:40 [9026] [6] PANIC: /usr/local/sbin/bearerbox(gw_native_realloc+0x7d) [0x80b8e0d] 2007-07-18 19:14:40 [9026] [6] PANIC: /usr/local/sbin/bearerbox [0x80c5512] 2007-07-18 19:14:40 [9026] [6] PANIC: /usr/local/sbin/bearerbox(octstr_insert_data+0x63) [0x80c7793] 2007-07-18 19:14:40 [9026] [6] PANIC: /usr/local/sbin/bearerbox(octstr_append_char+0x39) [0x80c79b9] 2007-07-18 19:14:40 [9026] [6] PANIC: /usr/local/sbin/bearerbox [0x806765b] 2007-07-18 19:14:40 [9026] [6] PANIC: /usr/local/sbin/bearerbox [0x806a8e7] 2007-07-18 19:14:40 [9026] [6] PANIC: /usr/local/sbin/bearerbox [0x80badb1] 2007-07-18 19:14:40 [9026] [6] PANIC: /lib/libpthread.so.0 [0x7c644b] 2007-07-18 19:14:40 [9026] [6] PANIC: /lib/libc.so.6(clone+0x5e) [0x70980e] ------------------------------------------------------------------------------------------------------------ When i decode the status-report report in Pduspy It seems to be ok even i have not the smsc adress ------------------------------------------------------------------------------------------------------------ PDU LENGTH IS 21 BYTES NO SMSC ADDRESS PRESENT MESSAGE HEADER FLAGS MESSAGE TYPE : SMS STATUS REPORT MSGS WAITING IN SC : NO RESULT OF A : SMS SUBMIT MSG REFERENCE NR. : 38 (0x26) RECIPIENTS ADDRESS NUMBER IS : 0684335052 TYPE OF NR. : Unknown NPI : ISDN/Telephone (E.164/163) SMSC TIMESTAMP : 18.07.07 16:28 GMT+2.00 DISCHARGE TIMESTAMP : 18.07.07 16:00 GMT STATUS OF MESSAGE : (0) TRANSACTION COMPLETED THIS MEANS : SM received by SME ----------------------------------------------------------------------------------------------------------- Anybody has an idea ?... Incompatibility with the OS ? kernel? modem? CPU ? I try with the 1.4.1 version and the snapshot version, with debug or not and always got the same error at the first dlr's request If somebody use the same modem with dlr, could you ask me which OS did you use Thanks -- jeff
