Hello
I have some problem with Kannel as PPG.
When I use the test_ppg tools the wapbox crashed.
./test_ppg -q http://localhost:10000/push?user=smssendr'&'password=futurelab
sl.txt smstestppg.txt
2002-08-21 09:10:33 [0] INFO: an input without a configuration file assumed
2002-08-21 09:10:33 [0] DEBUG: using sl.txt as a content file
2002-08-21 09:10:33 [0] DEBUG: using smstestppg.txt as a control file
2002-08-21 09:10:33 [1] DEBUG: Started thread 2 (gwlib/fdset.c:poller)
2002-08-21 09:10:33 [0] DEBUG: Started thread 1 (test/test_ppg.c:push_thread)
2002-08-21 09:10:33 [1] DEBUG: Started thread 3 (gwlib/http.c:write_request_thread)
2002-08-21 09:10:33 [1] DEBUG: TEST_PPG: started pushing job 0
2002-08-21 09:10:33 [3] DEBUG: HTTP: Opening connection to `localhost:10000'
(fd=13).
2002-08-21 09:10:33 [3] DEBUG: HTTP: Sending request:
2002-08-21 09:10:33 [3] DEBUG: Octet string at 0x81e0328:
2002-08-21 09:10:33 [3] DEBUG: len: 1178
2002-08-21 09:10:33 [3] DEBUG: size: 1179
2002-08-21 09:10:33 [3] DEBUG: immutable: 0
2002-08-21 09:10:33 [3] DEBUG: data: 50 4f 53 54 20 2f 70 75 POST /pu
2002-08-21 09:10:33 [3] DEBUG: data: 73 68 3f 75 73 65 72 3d
........................................................................................................................
2002-08-21 09:10:33 [3] DEBUG: data: 67 68 22 3e 0a 3c 2f 73 gh">.</s
2002-08-21 09:10:33 [3] DEBUG: data: 6c 3e 0d 0a 2d 2d 61 73 l>..--as
2002-08-21 09:10:33 [3] DEBUG: data: 64 6c 66 6b 6a 69 75 72 dlfkjiur
2002-08-21 09:10:33 [3] DEBUG: data: 77 67 68 61 73 66 2d 2d wghasf--
2002-08-21 09:10:33 [3] DEBUG: data: 0d 0a ..
2002-08-21 09:10:33 [3] DEBUG: Octet string dump ends.
2002-08-21 09:10:33 [3] ERROR: connect failed
2002-08-21 09:10:33 [3] ERROR: System error 111: Connection refused
2002-08-21 09:10:33 [3] ERROR: error connecting to server `localhost' at
port `10000'
2002-08-21 09:10:33 [3] DEBUG: HTTP: Opening NEW connection to `localhost:10000'
(fd=0).
2002-08-21 09:10:33 [3] ERROR: Couldn't send request to <http://localhost:10000/push?user=smssendr&password=futurelab>
2002-08-21 09:10:33 [1] ERROR: push failed, no reason found
2002-08-21 09:10:33 [1] INFO: TEST_PPG: In thread 1 0 succeeded, 1 failed
2002-08-21 09:10:33 [1] DEBUG: Thread 1 (test/test_ppg.c:push_thread) terminates.
2002-08-21 09:10:33 [0] INFO: TEST_PPG: 1 requests in 0.000000 seconds, inf
requests per second
2002-08-21 09:10:33 [0] DEBUG: Waiting for 3 (gwlib/http.c:write_request_thread)
to terminate
2002-08-21 09:10:33 [3] DEBUG: Thread 3 (gwlib/http.c:write_request_thread)
terminates.2002-08-21 09:10:33 [2] DEBUG: Thread 2 (gwlib/fdset.c:poller)
terminates.
2002-08-21 09:10:33 [0] DEBUG: Immutable octet strings: 8.
2002-08-21 09:10:33 [0] DEBUG: Current allocations: 0 areas, 0 bytes
2002-08-21 09:10:33 [0] DEBUG: Highest number of allocations: 154 areas
2002-08-21 09:10:33 [0] DEBUG: Highest memory usage: 24082 bytes
I use cvs from 19.08. Here are the logs from bearerbox and wapbox
wapbox.log
2002-08-21 09:08:59 [0] INFO: Kannel wapbox version cvs-20020819 starting
up.
2002-08-21 09:08:59 [0] DEBUG: Started thread 1 (wap/wsp_session.c:main_thread)
2002-08-21 09:08:59 [0] DEBUG: Started thread 2 (wap/wsp_unit.c:main_thread)
2002-08-21 09:08:59 [0] DEBUG: Started thread 3 (wap/wsp_push_client.c:main_thread)
2002-08-21 09:08:59 [0] DEBUG: Started thread 4 (wap/timers.c:watch_timers)
2002-08-21 09:08:59 [0] DEBUG: Started thread 5 (wap/wtp_init.c:main_thread)
2002-08-21 09:08:59 [0] DEBUG: Started thread 6 (wap/wtp_resp.c:main_thread)
2002-08-21 09:08:59 [0] DEBUG: Started thread 7 (gw/wap-appl.c:main_thread)
2002-08-21 09:08:59 [0] DEBUG: Started thread 8 (gw/wap-appl.c:return_replies_thread)
2002-08-21 09:08:59 [0] DEBUG: Started thread 9 (gw/wap_push_ota.c:main_thread)
2002-08-21 09:08:59 [0] DEBUG: HTTP: Opening server at port 10000.
2002-08-21 09:08:59 [0] DEBUG: Started thread 10 (gwlib/fdset.c:poller)
2002-08-21 09:08:59 [0] DEBUG: Started thread 11 (gwlib/http.c:server_thread)
2002-08-21 09:08:59 [0] DEBUG: Started thread 12 (gw/wap_push_ppg.c:ota_read_thread)
2002-08-21 09:08:59 [0] DEBUG: Started thread 13 (gw/wap_push_ppg.c:http_read_thread)
2002-08-21 09:08:59 [0] DEBUG: Started thread 14 (gw/wap_push_ppg.c:pap_request_thread)
2002-08-21 09:08:59 [0] INFO: Connected to bearerbox at localhost port 14002.
2002-08-21 09:08:59 [0] DEBUG: Started thread 15 (gw/heartbeat.c:heartbeat_thread)
2002-08-21 09:10:33 [11] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'.
2002-08-21 09:10:33 [14] ERROR: Start marker was damaged for area 0x8246a70
2002-08-21 09:10:33 [14] ERROR: Could not find area information.
2002-08-21 09:10:33 [14] PANIC: gwlib/octstr.c:2106: seems_valid_real: Assertion
`gw_check_is_allocated(ostr)' failed. (Called from gwlib/octstr.c:247:octstr_destroy.)
bearerbox.log
2002-08-21 09:08:50 [0] DEBUG: HTTP: Opening server at port 14000.
2002-08-21 09:08:50 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2002-08-21 09:08:50 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2002-08-21 09:08:50 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
2002-08-21 09:08:50 [0] DEBUG: starting smsbox connection module
2002-08-21 09:08:50 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run)
2002-08-21 09:08:50 [0] DEBUG: Started thread 5 (gw/smsc/smsc_smpp.c:io_thread)
2002-08-21 09:08:50 [0] DEBUG: Started thread 6 (gw/smsc/smsc_smpp.c:io_thread)
2002-08-21 09:08:50 [0] DEBUG: HTTP: Opening server at port 10100.
2002-08-21 09:08:50 [0] DEBUG: Started thread 7 (gw/smsc/smsc_http.c:httpsmsc_receiver)
2002-08-21 09:08:50 [0] DEBUG: Started thread 8 (gw/smsc/smsc_http.c:httpsmsc_send_cb)
2002-08-21 09:08:50 [0] INFO: httpsmsc 'HTTP:kannel' initiated and ready
2002-08-21 09:08:50 [0] DEBUG: Started thread 9 (gw/bb_smscconn.c:sms_router)
2002-08-21 09:08:50 [0] DEBUG: starting UDP sender/receiver module
2002-08-21 09:08:50 [0] DEBUG: udpc_create: Bound to UDP <0.0.0.0:9200>
2002-08-21 09:08:50 [0] DEBUG: Started thread 10 (gw/bb_udp.c:udp_receiver)
2002-08-21 09:08:50 [9] DEBUG: sms_router: time to sleep
2002-08-21 09:08:50 [0] DEBUG: Started thread 11 (gw/bb_udp.c:udp_sender)
2002-08-21 09:08:50 [0] DEBUG: udpc_create: Bound to UDP <0.0.0.0:9201>
2002-08-21 09:08:50 [0] DEBUG: Started thread 12 (gw/bb_udp.c:udp_receiver)
2002-08-21 09:08:50 [0] DEBUG: Started thread 13 (gw/bb_udp.c:udp_sender)
2002-08-21 09:08:50 [0] DEBUG: starting wapbox connection module
2002-08-21 09:08:50 [0] DEBUG: Started thread 14 (gw/bb_boxc.c:wdp_to_wapboxes)
2002-08-21 09:08:50 [0] DEBUG: Started thread 15 (gw/bb_boxc.c:wapboxc_run)
2002-08-21 09:08:50 [0] DEBUG: starting WDP router
2002-08-21 09:08:50 [0] DEBUG: Started thread 16 (gw/bearerbox.c:wdp_router)
2002-08-21 09:08:50 [0] INFO: ----------------------------------------
2002-08-21 09:08:50 [0] INFO: Kannel bearerbox II version cvs-20020819 starting
2002-08-21 09:08:50 [0] INFO: MAIN: Start-up done, entering mainloop
2002-08-21 09:08:50 [9] DEBUG: sms_router: list_len = 0
2002-08-21 09:08:52 [4] DEBUG: Started thread 17 (gw/bb_boxc.c:function)
2002-08-21 09:08:52 [17] INFO: Client connected from <127.0.0.1>
2002-08-21 09:08:52 [17] DEBUG: Started thread 18 (gw/bb_boxc.c:boxc_sender)
2002-08-21 09:08:59 [15] DEBUG: Started thread 19 (gw/bb_boxc.c:function)
2002-08-21 09:08:59 [19] INFO: Client connected from <127.0.0.1>
2002-08-21 09:08:59 [19] DEBUG: setting up systems for new wapbox
2002-08-21 09:08:59 [19] DEBUG: Started thread 20 (gw/bb_boxc.c:boxc_sender)
2002-08-21 09:10:33 [19] INFO: Connection closed by the box <127.0.0.1>
2002-08-21 09:10:33 [20] DEBUG: Thread 20 (gw/bb_boxc.c:boxc_sender) terminates.
2002-08-21 09:10:33 [19] DEBUG: Thread 19 (gw/bb_boxc.c:function) terminates.
Could anyone help me?
Ignat
