Something very very bad happens sometimes with smsbox. This isn't the first time it happens Don't really know why, but it closes connection. Maybe it's because it receives an empty sms, but I have omit-empty = true in sms-service group. I give you here all the details, and I really hope I can solve this bug that keeps craching smsbox. (this is cvs (about one month ago) with at2 (on win2000). Andreas please help :-) Thanks in advance Andrea
--begin bearebox .log 2002-02-12 23:53:40 [10] DEBUG: boxc_receiver: got ack 2002-02-12 23:53:40 [10] INFO: Connection closed by the box <127.0.0.1> 2002-02-12 23:53:40 [6] DEBUG: AT2[/dev/com9]: <-- OK 2002-02-13 05:45:10 [6] DEBUG: AT2[/dev/com9]: <-- +CMT: ,23 2002-02-13 05:45:10 [6] DEBUG: AT2[/dev/com9]: <-- 0791934329004080040C91934378102370000020203160641104046176790D 2002-02-13 05:45:10 [6] DEBUG: AT2[/dev/com9]: --> AT+CNMA^M 2002-02-13 05:45:10 [11] DEBUG: Thread 11 (gw/bb_boxc.c:boxc_sender) terminates. 2002-02-13 05:45:10 [10] DEBUG: Thread 10 (gw/bb_boxc.c:function) terminates. ----begin .access 2002-02-12 23:51:13 Receive SMS [SMSC:A] [SVC:] [from:393393297830] [to:1234] [flags:0:1:0:0] [msg:6:MATRIX] [udh:0:] 2002-02-12 23:51:24 SMS HTTP-request sender:393393297830 request: 'Vampir.it>LaComunitąDellaNotte-SABATO 26 RickyLeRoy,MickyV,Zicky e spettacolo live techno Eva Vugaris.IMPERDIBILE,info e liste 3474116027 NON MANCARE!!!' url: 'http://www.futureland.it/sms/insert_received.asp?testo=MATRIX&sender=393393 297830&receiver=A' reply: 200 '<< successful >>' 2002-02-13 00:53:40 Receive SMS [SMSC:B] [SVC:] [from:393487013207] [to:1234] [flags:0:1:0:0] [msg:0:] [udh:0:] ---begin smsbox.log 2002-02-12 21:22:28 [4] INFO: Starting to service <RING> from <+393408341452> to <2234> 2002-02-12 21:22:28 [8] DEBUG: HTTP: Sending request: 2002-02-12 21:22:28 [8] DEBUG: Octet string at 0x1003bfc8: 2002-02-12 21:22:28 [8] DEBUG: len: 135 2002-02-12 21:22:28 [8] DEBUG: size: 136 2002-02-12 21:22:28 [8] DEBUG: immutable: 0 2002-02-12 21:22:28 [8] DEBUG: data: 47 45 54 20 2f 73 6d 73 GET /sms 2002-02-12 21:22:28 [8] DEBUG: data: 2f 69 6e 73 65 72 74 5f /insert_ 2002-02-12 21:22:28 [8] DEBUG: data: 72 65 63 65 69 76 65 64 received 2002-02-12 21:22:28 [8] DEBUG: data: 2e 61 73 70 3f 74 65 73 .asp?tes 2002-02-12 21:22:28 [8] DEBUG: data: 74 6f 3d 52 49 4e 47 26 to=RING& 2002-02-12 21:22:28 [8] DEBUG: data: 73 65 6e 64 65 72 3d 25 sender=% 2002-02-12 21:22:28 [8] DEBUG: data: 32 42 33 39 33 34 30 38 2B393408 2002-02-12 21:22:28 [8] DEBUG: data: 33 34 31 34 35 32 26 72 341452&r 2002-02-12 21:22:28 [8] DEBUG: data: 65 63 65 69 76 65 72 3d eceiver= 2002-02-12 21:22:28 [8] DEBUG: data: 41 20 48 54 54 50 2f 31 A HTTP/1 2002-02-12 21:22:28 [8] DEBUG: data: 2e 31 0d 0a 48 6f 73 74 .1..Host 2002-02-12 21:22:28 [8] DEBUG: data: 3a 20 77 77 77 2e 66 75 : www.fu 2002-02-12 21:22:28 [8] DEBUG: data: 74 75 72 65 6c 61 6e 64 tureland 2002-02-12 21:22:28 [8] DEBUG: data: 2e 69 74 0d 0a 55 73 65 .it..Use 2002-02-12 21:22:28 [8] DEBUG: data: 72 2d 41 67 65 6e 74 3a r-Agent: 2002-02-12 21:22:28 [8] DEBUG: data: 20 4b 61 6e 6e 65 6c 20 Kannel 2002-02-12 21:22:28 [8] DEBUG: data: 63 76 73 0d 0a 0d 0a cvs.... 2002-02-12 21:22:28 [8] DEBUG: Octet string dump ends. 2002-02-12 21:22:34 [7] DEBUG: HTTP: Status line: <HTTP/1.1 200 OK> 2002-02-12 21:22:34 [5] INFO: No reply sent, denied. 2002-02-12 21:50:16 [4] INFO: Starting to service <RING> from <+393299070245> to <2234> 2002-02-12 21:50:16 [8] ERROR: Error reading from fd 25: 2002-02-12 21:50:16 [8] ERROR: System error 104: Connection reset by peer 2002-02-12 21:50:16 [8] DEBUG: HTTP: Opening connection to `www.futureland.it:80'. 2002-02-12 21:50:16 [8] DEBUG: HTTP: Sending request: 2002-02-12 21:50:16 [8] DEBUG: Octet string at 0x10044c88: 2002-02-12 21:50:16 [8] DEBUG: len: 135 2002-02-12 21:50:16 [8] DEBUG: size: 136 2002-02-12 21:50:16 [8] DEBUG: immutable: 0 2002-02-12 21:50:16 [8] DEBUG: data: 47 45 54 20 2f 73 6d 73 GET /sms 2002-02-12 21:50:16 [8] DEBUG: data: 2f 69 6e 73 65 72 74 5f /insert_ 2002-02-12 21:50:16 [8] DEBUG: data: 72 65 63 65 69 76 65 64 received 2002-02-12 21:50:16 [8] DEBUG: data: 2e 61 73 70 3f 74 65 73 .asp?tes 2002-02-12 21:50:16 [8] DEBUG: data: 74 6f 3d 52 49 4e 47 26 to=RING& 2002-02-12 21:50:16 [8] DEBUG: data: 73 65 6e 64 65 72 3d 25 sender=% 2002-02-12 21:50:16 [8] DEBUG: data: 32 42 33 39 33 32 39 39 2B393299 2002-02-12 21:50:16 [8] DEBUG: data: 30 37 30 32 34 35 26 72 070245&r 2002-02-12 21:50:16 [8] DEBUG: data: 65 63 65 69 76 65 72 3d eceiver= 2002-02-12 21:50:16 [8] DEBUG: data: 43 20 48 54 54 50 2f 31 C HTTP/1 2002-02-12 21:50:16 [8] DEBUG: data: 2e 31 0d 0a 48 6f 73 74 .1..Host 2002-02-12 21:50:16 [8] DEBUG: data: 3a 20 77 77 77 2e 66 75 : www.fu 2002-02-12 21:50:16 [8] DEBUG: data: 74 75 72 65 6c 61 6e 64 tureland 2002-02-12 21:50:16 [8] DEBUG: data: 2e 69 74 0d 0a 55 73 65 .it..Use 2002-02-12 21:50:16 [8] DEBUG: data: 72 2d 41 67 65 6e 74 3a r-Agent: 2002-02-12 21:50:16 [8] DEBUG: data: 20 4b 61 6e 6e 65 6c 20 Kannel 2002-02-12 21:50:16 [8] DEBUG: data: 63 76 73 0d 0a 0d 0a cvs.... 2002-02-12 21:50:16 [8] DEBUG: Octet string dump ends. 2002-02-12 21:50:37 [7] DEBUG: HTTP: Status line: <HTTP/1.1 200 OK> 2002-02-12 21:50:37 [5] INFO: No reply sent, denied. 2002-02-12 22:51:13 [4] INFO: Starting to service <MATRIX> from <393393297830> to <1234> 2002-02-12 22:51:13 [8] ERROR: Error reading from fd 25: 2002-02-12 22:51:13 [8] ERROR: System error 104: Connection reset by peer 2002-02-12 22:51:13 [8] DEBUG: HTTP: Opening connection to `www.futureland.it:80'. 2002-02-12 22:51:13 [8] DEBUG: HTTP: Sending request: 2002-02-12 22:51:13 [8] DEBUG: Octet string at 0x1001eea0: 2002-02-12 22:51:13 [8] DEBUG: len: 134 2002-02-12 22:51:13 [8] DEBUG: size: 135 2002-02-12 22:51:13 [8] DEBUG: immutable: 0 2002-02-12 22:51:13 [8] DEBUG: data: 47 45 54 20 2f 73 6d 73 GET /sms 2002-02-12 22:51:13 [8] DEBUG: data: 2f 69 6e 73 65 72 74 5f /insert_ 2002-02-12 22:51:13 [8] DEBUG: data: 72 65 63 65 69 76 65 64 received 2002-02-12 22:51:13 [8] DEBUG: data: 2e 61 73 70 3f 74 65 73 .asp?tes 2002-02-12 22:51:13 [8] DEBUG: data: 74 6f 3d 4d 41 54 52 49 to=MATRI 2002-02-12 22:51:13 [8] DEBUG: data: 58 26 73 65 6e 64 65 72 X&sender 2002-02-12 22:51:13 [8] DEBUG: data: 3d 33 39 33 33 39 33 32 =3933932 2002-02-12 22:51:13 [8] DEBUG: data: 39 37 38 33 30 26 72 65 97830&re 2002-02-12 22:51:13 [8] DEBUG: data: 63 65 69 76 65 72 3d 41 ceiver=A 2002-02-12 22:51:13 [8] DEBUG: data: 20 48 54 54 50 2f 31 2e HTTP/1. 2002-02-12 22:51:13 [8] DEBUG: data: 31 0d 0a 48 6f 73 74 3a 1..Host: 2002-02-12 22:51:13 [8] DEBUG: data: 20 77 77 77 2e 66 75 74 www.fut 2002-02-12 22:51:13 [8] DEBUG: data: 75 72 65 6c 61 6e 64 2e ureland. 2002-02-12 22:51:13 [8] DEBUG: data: 69 74 0d 0a 55 73 65 72 it..User 2002-02-12 22:51:13 [8] DEBUG: data: 2d 41 67 65 6e 74 3a 20 -Agent: 2002-02-12 22:51:13 [8] DEBUG: data: 4b 61 6e 6e 65 6c 20 63 Kannel c 2002-02-12 22:51:13 [8] DEBUG: data: 76 73 0d 0a 0d 0a vs.... 2002-02-12 22:51:13 [8] DEBUG: Octet string dump ends. 2002-02-12 22:51:24 [7] DEBUG: HTTP: Status line: <HTTP/1.1 200 OK> 2002-02-12 22:51:24 [5] INFO: No reply sent, denied. 2002-02-12 23:53:40 [4] INFO: Starting to service <> from <393487013207> to <1234> 2002-02-12 23:53:40 [8] ERROR: Error reading from fd 25: 2002-02-12 23:53:40 [8] ERROR: System error 104: Connection reset by peer 2002-02-12 23:53:40 [8] DEBUG: HTTP: Opening connection to `www.futureland.it:80'. 2002-02-12 23:53:40 [8] DEBUG: HTTP: Sending request: 2002-02-12 23:53:40 [8] DEBUG: Octet string at 0x1003fa48: 2002-02-12 23:53:40 [8] DEBUG: len: 128 2002-02-12 23:53:40 [8] DEBUG: size: 129 2002-02-12 23:53:40 [8] DEBUG: immutable: 0 2002-02-12 23:53:40 [8] DEBUG: data: 47 45 54 20 2f 73 6d 73 GET /sms 2002-02-12 23:53:40 [8] DEBUG: data: 2f 69 6e 73 65 72 74 5f /insert_ 2002-02-12 23:53:40 [8] DEBUG: data: 72 65 63 65 69 76 65 64 received 2002-02-12 23:53:40 [8] DEBUG: data: 2e 61 73 70 3f 74 65 73 .asp?tes 2002-02-12 23:53:40 [8] DEBUG: data: 74 6f 3d 26 73 65 6e 64 to=&send 2002-02-12 23:53:40 [8] DEBUG: data: 65 72 3d 33 39 33 34 38 er=39348 2002-02-12 23:53:40 [8] DEBUG: data: 37 30 31 33 32 30 37 26 7013207& 2002-02-12 23:53:40 [8] DEBUG: data: 72 65 63 65 69 76 65 72 receiver 2002-02-12 23:53:40 [8] DEBUG: data: 3d 42 20 48 54 54 50 2f =B HTTP/ 2002-02-12 23:53:40 [8] DEBUG: data: 31 2e 31 0d 0a 48 6f 73 1.1..Hos 2002-02-12 23:53:40 [8] DEBUG: data: 74 3a 20 77 77 77 2e 66 t: www.f 2002-02-12 23:53:40 [8] DEBUG: data: 75 74 75 72 65 6c 61 6e uturelan 2002-02-12 23:53:40 [8] DEBUG: data: 64 2e 69 74 0d 0a 55 73 d.it..Us 2002-02-12 23:53:40 [8] DEBUG: data: 65 72 2d 41 67 65 6e 74 er-Agent 2002-02-12 23:53:40 [8] DEBUG: data: 3a 20 4b 61 6e 6e 65 6c : Kannel 2002-02-12 23:53:40 [8] DEBUG: data: 20 63 76 73 0d 0a 0d 0a cvs.... 2002-02-12 23:53:40 [8] DEBUG: Octet string dump ends. 2002-02-12 23:53:40 [7] DEBUG: HTTP: Status line: <HTTP/1.1 500 Internal Server Error> 2002-02-12 23:53:40 [5] ERROR: Start marker was damaged for area 0x10024cf8 2002-02-12 23:53:40 [5] ERROR: Could not find area information. 2002-02-12 23:53:40 [5] PANIC: gwlib/octstr.c:2034: seems_valid_real: Assertion `gw_check_is_allocated(ostr)' failed. (Called from gw/smsbox.c:698:url_result_thread.)