Re: [PATCH] Smsbox Crash
Wake up reviewers! :) M On 1/10/07, Mi Reflejo [EMAIL PROTECTED] wrote: How to reproduce it: # curl -H Content-type: text/html -d uelfrom=1010to=11text=Invalid Keywordbinfo= http://127.0.0.1:13002/cgi-bin/sendsms Logs: 2007-01-10 15:56:05 [13414] [3] PANIC: gwlib/octstr.c:2476: seems_valid_real: Assertion `ostr-data != NULL' failed. (Called from gwlib/octstr.c:318:octstr_destroy.) 2007-01-10 15:56:05 [13414] [1] DEBUG: HTTP: Destroying HTTPClient area 0x8159a90. 2007-01-10 15:56:05 [13414] [1] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'. 2007-01-10 15:56:05 [13414] [3] PANIC: gw/smsbox(gw_panic+0xcc) [0x808845c] 2007-01-10 15:56:05 [13414] [3] PANIC: gw/smsbox [0x80896e8] 2007-01-10 15:56:05 [13414] [3] PANIC: gw/smsbox(octstr_destroy+0x2a) [0x8089dfa] 2007-01-10 15:56:05 [13414] [3] PANIC: gw/smsbox [0x805b3ff] 2007-01-10 15:56:05 [13414] [3] PANIC: gw/smsbox [0x807f070] 2007-01-10 15:56:05 [13414] [3] PANIC: /lib/libpthread.so.0 [0xb7f2e604] 2007-01-10 15:56:05 [13414] [3] PANIC: /lib/libc.so.6(__clone+0x5e) [0xb7c5c09e] Problem: The var body is filled with the pointer to text and then destroyed twice- Fixed in the attached Patch. Martin.
WAP Box dies with latest CVS 20070115
Hi, If you run the wapbox manually in a command prompt: gw/wapbox /etc/kannel.conf It dies at: 2007-01-17 07:14:08 [4206] [0] PANIC: Trying to fetch variable `ssl-client-certkey-file' in group `core', not allowed. 2007-01-17 07:14:08 [4206] [0] PANIC: gw/wapbox(gw_panic+0xa3) [0x80ab1f3] 2007-01-17 07:14:08 [4206] [0] PANIC: gw/wapbox(cfg_get_real+0xb1) [0x80992bd] 2007-01-17 07:14:08 [4206] [0] PANIC: gw/wapbox(conn_config_ssl+0x2f) [0x80a0b63] 2007-01-17 07:14:08 [4206] [0] PANIC: gw/wapbox(main+0x18d) [0x80559f5] 2007-01-17 07:14:08 [4206] [0] PANIC: /lib/tls/libc.so.6(__libc_start_main+0xd3) [0x71fde3] 2007-01-17 07:14:08 [4206] [0] PANIC: gw/wapbox [0x8054881] We now added wapbox-port-ssl = no to the core group as we are not using ssl for WAP or SMS hoping the wapbox it would not die, but it does not help. Have any new configuration paramaters been added that can affect the wapbox? We would prefer to not move back to a later CVS. Any ideas appreciated.