RE: SAR
"Damir Salantic" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Denzel, hi Igor I don't know if this is related, but here is the part of wapbox.log, after my wapbox crashed. Note that this is a kannel with Danzel's patch applied. If you want, I can send you more data from log. Note that this happened after few hours of normal operation. bye Damir -----Original Message----- From: [email protected] [mailto:[email protected]]On Behalf Of [email protected] Sent: 6. prosinac 2002 21:26 To: Igor Ivoilov; [email protected] Cc: kannel-mailing-list Subject: Re: SAR Hi Damir/Igor, As you have seen, my implementation is done based on State Machine in WTP Response Layer. Also to my knowledge, I implemented all the functionalities in SAR (Segmentation/Re-Assembly/NACK/ACK). One thing I like to ask from Igor is is there any efficiency problem or anything when you do it using the Sate Machines? The problem was with my implementation is little funny one. Actually I'm not sure if that's cause of a bug in the SAR implementation or related to some other part. The problem was, when a phone initiate a WAP session, WTP state changes to INVOKE_RESP_WAIT and waits for a Response from WSP layer. And this continues for a long time or indefinitely. Also this problem occurs only occationally. The funny thing here is, this happens prior to the start of SAR packets, so I guess this couldn't be because of my coding. Igor, I know you are in a much greater level to understand what this problem can be. Please help me to sort this. If any other person has tried my coding please give me your comments. Thanks, Denzel
wapbox.log
(application/octet-stream, 2.9 KB)
2002-12-05 17:21:08 [0] DEBUG: Octet string dump ends. 2002-12-05 17:21:08 [0] DEBUG: tid = 1183 2002-12-05 17:21:08 [0] DEBUG: gtr = 0 2002-12-05 17:21:08 [0] DEBUG: ttr = 1 2002-12-05 17:21:08 [0] DEBUG: psn = 62 2002-12-05 17:21:08 [0] DEBUG: rid = 0 2002-12-05 17:21:08 [0] DEBUG: WAPAddrTuple 0x8607110 = <192.168.0.35:1369> - <0.0.0.0:9201> 2002-12-05 17:21:08 [0] DEBUG: WAPEvent dump ends. 2002-12-05 17:21:08 [0] DEBUG: XXXXXXX: wtp_event_is_for_responder 2002-12-05 17:21:08 [0] DEBUG: XXXXXXX: wtp_resp_dispatch_event 2002-12-05 17:21:08 [5] DEBUG: XXXXXXX: resp_machine_find_or_create 2002-12-05 17:21:08 [5] DEBUG: XXXXXXX: erroneous_field_in 2002-12-05 17:21:08 [5] DEBUG: XXXXXXX: resp_machine_find 2002-12-05 17:21:08 [5] DEBUG: XXXXXXX: is_wanted_resp_machine 2002-12-05 17:21:08 [5] DEBUG: XXXXXXX: is_wanted_resp_machine 2002-12-05 17:21:08 [5] DEBUG: XXXXXXX: name_resp_state 2002-12-05 17:21:08 [5] DEBUG: WTP: resp_machine 86, state SEGMENT_WAIT, event RcvSegmInvoke. 2002-12-05 17:21:08 [5] DEBUG: XXXXXXX: wtp_check_group 2002-12-05 17:21:08 [5] DEBUG: XXXXXXX: wtp_check_segments 2002-12-05 17:21:08 [5] DEBUG: XXXXXXX: wtp_pack_segmnack 2002-12-05 17:21:08 [5] DEBUG: WTP Negative_ack PDU at 0x85beee0: 2002-12-05 17:21:08 [5] DEBUG: Continue flag (CON): 0 2002-12-05 17:21:08 [5] DEBUG: Re-transmission indicator (RID): 0 2002-12-05 17:21:08 [5] DEBUG: Transaction ID (TID): 33951 2002-12-05 17:21:08 [5] DEBUG: Number of missing packets: 6 2002-12-05 17:21:08 [5] DEBUG: Missing packet PSNs: 2002-12-05 17:21:08 [5] DEBUG: Octet string at 0x85c1160: 2002-12-05 17:21:08 [5] DEBUG: len: 6 2002-12-05 17:21:08 [5] DEBUG: size: 7 2002-12-05 17:21:08 [5] DEBUG: immutable: 0 2002-12-05 17:21:08 [5] DEBUG: data: 35 36 37 38 39 3a 56789: 2002-12-05 17:21:08 [5] DEBUG: Octet string dump ends. 2002-12-05 17:21:08 [5] DEBUG: XXXXXXX: start_timer_A 2002-12-05 17:21:08 [5] DEBUG: WTP 86: New state SEGMENT_WAIT 2002-12-05 17:21:08 [0] DEBUG: XXXXXXX: wap_dispatch_datagram 2002-12-05 17:21:08 [0] DEBUG: XXXXXXX: wtp_unpack_wdp_datagram 2002-12-05 17:21:08 [0] DEBUG: XXXXXXX: unpack_wdp_datagram_real 2002-12-05 17:21:08 [0] DEBUG: XXXXXXX: truncated_datagram 2002-12-05 17:21:08 [0] WARNING: WTP PDU with unknown type -1 2002-12-05 17:21:08 [0] ERROR: pdu unpacking returned NULL 2002-12-05 17:21:08 [0] DEBUG: XXXXXXX: pack_error 2002-12-05 17:21:08 [0] DEBUG: XXXXXXX: wap_dispatch_datagram <--------------- 2002-12-05 17:21:08 [0] DEBUG: Dumping WAPEvent 0x85e2b58 2002-12-05 17:21:08 [0] DEBUG: type = RcvErrorPDU 2002-12-05 17:21:08 [0] DEBUG: tid = 56797 2002-12-05 17:21:08 [0] DEBUG: WAPAddrTuple 0x85b8e10 = <192.168.0.35:1369> - <0.0.0.0:9201> 2002-12-05 17:21:08 [0] DEBUG: WAPEvent dump ends. 2002-12-05 17:21:08 [0] DEBUG: XXXXXXX: wtp_event_is_for_responder 2002-12-05 17:21:08 [0] DEBUG: XXXXXXX: wtp_initiator_dispatch_event 2002-12-05 17:21:08 [0] PANIC: gwlib/list.c:425: lock: Assertion `list != NULL' failed.