Dear All: I use red hat 8.0, with openssl 0.9.7 and kannel 1.2.1 stable to setup a box which surpport wtls. I got a core dump message when I use nokia mobile internet toolkit 3.1 simulator to view a wml page via wtls in lan. After using gdb to trace where is the core dump source. I find wtls_event_handle() may be the one. Could any one help me or show me how to indetify the bug? the following is the log from wapbox. BTW, may be my configuration is wrong. If my configuration is wrong, could any one give my some hints do make it? Thanks in Advance!!
Beast Regards, Nikle 2003-02-06 20:00:09 [0] DEBUG: Started thread 10 (gw/heartbeat.c:heartbeat_thread) 2003-02-06 20:00:29 [0] DEBUG: Msg object at 0x81999f0: 2003-02-06 20:00:29 [0] DEBUG: type: wdp_datagram 2003-02-06 20:00:29 [0] DEBUG: wdp_datagram.source_address: 2003-02-06 20:00:29 [0] DEBUG: Octet string at 0x8199a78: 2003-02-06 20:00:29 [0] DEBUG: len: 15 2003-02-06 20:00:29 [0] DEBUG: size: 16 2003-02-06 20:00:29 [0] DEBUG: immutable: 0 2003-02-06 20:00:29 [0] DEBUG: data: 31 39 32 2e 31 36 38 2e 192.168. 2003-02-06 20:00:29 [0] DEBUG: data: 31 30 30 2e 31 39 36 100.196 2003-02-06 20:00:29 [0] DEBUG: Octet string dump ends. 2003-02-06 20:00:29 [0] DEBUG: wdp_datagram.source_port: 1414 2003-02-06 20:00:29 [0] DEBUG: wdp_datagram.destination_address: 2003-02-06 20:00:29 [0] DEBUG: Octet string at 0x8199aa8: 2003-02-06 20:00:29 [0] DEBUG: len: 7 2003-02-06 20:00:29 [0] DEBUG: size: 8 2003-02-06 20:00:29 [0] DEBUG: immutable: 0 2003-02-06 20:00:29 [0] DEBUG: data: 30 2e 30 2e 30 2e 30 0.0.0.0 2003-02-06 20:00:29 [0] DEBUG: Octet string dump ends. 2003-02-06 20:00:29 [0] DEBUG: wdp_datagram.destination_port: 9203 2003-02-06 20:00:29 [0] DEBUG: wdp_datagram.user_data: 2003-02-06 20:00:29 [0] DEBUG: Octet string at 0x8199ad0: 2003-02-06 20:00:29 [0] DEBUG: len: 59 2003-02-06 20:00:29 [0] DEBUG: size: 60 2003-02-06 20:00:29 [0] DEBUG: immutable: 0 2003-02-06 20:00:29 [0] DEBUG: data: c3 00 00 00 36 01 00 33 ....6..3 2003-02-06 20:00:29 [0] DEBUG: data: 01 3e 4b 87 b3 98 2c 42 .>K...,B 2003-02-06 20:00:29 [0] DEBUG: data: 3e b5 da d3 8d 02 4c c7 >.....L. 2003-02-06 20:00:29 [0] DEBUG: data: 3b 00 00 12 08 00 00 0a ;....... 2003-02-06 20:00:29 [0] DEBUG: data: 00 00 09 00 00 05 00 00 ........ 2003-02-06 20:00:29 [0] DEBUG: data: 07 00 00 06 00 00 00 00 ........ 2003-02-06 20:00:29 [0] DEBUG: data: 06 03 03 02 02 01 01 01 ........ 2003-02-06 20:00:29 [0] DEBUG: data: 00 02 04 ... 2003-02-06 20:00:29 [0] DEBUG: Octet string dump ends. 2003-02-06 20:00:29 [0] DEBUG: Msg object ends. 2003-02-06 20:00:29 [0] INFO: Event created 2003-02-06 20:00:29 [0] INFO: Set address and stuff 2003-02-06 20:00:29 [0] DEBUG: Offset is now : 0 2003-02-06 20:00:29 [0] DEBUG: Finished, found 1 PDUs 2003-02-06 20:00:29 [0] INFO: Datagram unpacked! 2003-02-06 20:00:29 [9] DEBUG: event->type = 0 2003-02-06 20:00:29 [9] DEBUG: WTLS: Created WTLSMachine 0x81999f0 (0) 2003-02-06 20:00:29 [9] DEBUG: WTLS: wtls_machine 0, state NULL_STATE, event T-Unitdata.ind. 2003-02-06 20:00:29 [9] DEBUG: listLen = 6 2003-02-06 20:00:29 [9] DEBUG: Key 0 2003-02-06 20:00:29 [9] DEBUG: Key Exchange Id: 2003-02-06 20:00:29 [9] DEBUG: Key Exch Suite: 8 2003-02-06 20:00:29 [9] DEBUG: ParameterSpecifier: 2003-02-06 20:00:29 [9] DEBUG: Parameter Index: 0 2003-02-06 20:00:29 [9] DEBUG: Identifier: 2003-02-06 20:00:29 [9] DEBUG: Ident type: 0 2003-02-06 20:00:29 [9] DEBUG: Key 1 2003-02-06 20:00:29 [9] DEBUG: Key Exchange Id: 2003-02-06 20:00:29 [9] DEBUG: Key Exch Suite: 10 2003-02-06 20:00:29 [9] DEBUG: ParameterSpecifier: 2003-02-06 20:00:29 [9] DEBUG: Parameter Index: 0 2003-02-06 20:00:29 [9] DEBUG: Identifier: 2003-02-06 20:00:29 [9] DEBUG: Ident type: 0 2003-02-06 20:00:29 [9] DEBUG: Key 2 2003-02-06 20:00:29 [9] DEBUG: Key Exchange Id: 2003-02-06 20:00:29 [9] DEBUG: Key Exch Suite: 9 2003-02-06 20:00:29 [9] DEBUG: ParameterSpecifier: 2003-02-06 20:00:29 [9] DEBUG: Parameter Index: 0 2003-02-06 20:00:29 [9] DEBUG: Identifier: 2003-02-06 20:00:29 [9] DEBUG: Ident type: 0 2003-02-06 20:00:29 [9] DEBUG: Key 3 2003-02-06 20:00:29 [9] DEBUG: Key Exchange Id: 2003-02-06 20:00:29 [9] DEBUG: Key Exch Suite: 5 2003-02-06 20:00:29 [9] DEBUG: ParameterSpecifier: 2003-02-06 20:00:29 [9] DEBUG: Parameter Index: 0 2003-02-06 20:00:29 [9] DEBUG: Identifier: 2003-02-06 20:00:29 [9] DEBUG: Ident type: 0 2003-02-06 20:00:29 [9] DEBUG: Dispatching SEC_Create_Res event 2003-02-06 20:00:29 [9] DEBUG: WTLS 0: New state CREATING 2003-02-06 20:00:29 [9] DEBUG: You need to create wtls_pdulist_destroy! 2003-02-06 20:00:29 [9] DEBUG: event->type = 5 2003-02-06 20:00:29 [9] DEBUG: WTLS: wtls_machine 0, state CREATING, event SEC-Create.res. 2003-02-06 20:00:29 [9] DEBUG: Setting msg size to : 24 2003-02-06 20:00:29 [9] DEBUG: Packed PDU Length: 27 2003-02-06 20:00:29 [9] DEBUG: Dispatching SEC_Exchange_Req event 2003-02-06 20:00:29 [9] DEBUG: WTLS 0: New state CREATED 2003-02-06 20:00:29 [9] DEBUG: event->type = 6 2003-02-06 20:00:29 [9] DEBUG: WTLS: wtls_machine 0, state CREATED, event SEC-Exchange.req. 2003-02-06 20:00:29 [9] DEBUG: Going to get the RSA public key... 2003-02-06 20:00:29 [9] DEBUG: ...got it. 2003-02-06 20:00:29 [9] DEBUG: Packing ServerKeyExchange 2003-02-06 20:00:29 [9] DEBUG: Setting msg size to : 136 2003-02-06 20:00:29 [9] DEBUG: Packed PDU Length: 139 2003-02-06 20:00:29 [9] DEBUG: in CREATED - just added pdu... 2003-02-06 20:00:29 [9] DEBUG: Setting msg size to : 0 2003-02-06 20:00:29 [9] DEBUG: Packed PDU Length: 3 2003-02-06 20:00:29 [9] DEBUG: adding address 2003-02-06 20:00:29 [9] DEBUG: WTLS 0: New state EXCHANGE 2003-02-06 20:00:30 [0] DEBUG: Msg object at 0x819a9f0: 2003-02-06 20:00:30 [0] DEBUG: type: wdp_datagram 2003-02-06 20:00:30 [0] DEBUG: wdp_datagram.source_address: 2003-02-06 20:00:30 [0] DEBUG: Octet string at 0x819a430: 2003-02-06 20:00:30 [0] DEBUG: len: 15 2003-02-06 20:00:30 [0] DEBUG: size: 16 2003-02-06 20:00:30 [0] DEBUG: immutable: 0 2003-02-06 20:00:30 [0] DEBUG: data: 31 39 32 2e 31 36 38 2e 192.168. 2003-02-06 20:00:30 [0] DEBUG: data: 31 30 30 2e 31 39 36 100.196 2003-02-06 20:00:30 [0] DEBUG: Octet string dump ends. 2003-02-06 20:00:30 [0] DEBUG: wdp_datagram.source_port: 1414 2003-02-06 20:00:30 [0] DEBUG: wdp_datagram.destination_address: 2003-02-06 20:00:30 [0] DEBUG: Octet string at 0x819a298: 2003-02-06 20:00:30 [0] DEBUG: len: 7 2003-02-06 20:00:30 [0] DEBUG: size: 8 2003-02-06 20:00:30 [0] DEBUG: immutable: 0 2003-02-06 20:00:30 [0] DEBUG: data: 30 2e 30 2e 30 2e 30 0.0.0.0 2003-02-06 20:00:30 [0] DEBUG: Octet string dump ends. 2003-02-06 20:00:30 [0] DEBUG: wdp_datagram.destination_port: 9203 2003-02-06 20:00:30 [0] DEBUG: wdp_datagram.user_data: 2003-02-06 20:00:30 [0] DEBUG: Octet string at 0x819aba0: 2003-02-06 20:00:30 [0] DEBUG: len: 11 2003-02-06 20:00:30 [0] DEBUG: size: 12 2003-02-06 20:00:30 [0] DEBUG: immutable: 0 2003-02-06 20:00:30 [0] DEBUG: data: c2 00 01 00 06 01 0a 0a ........ 2003-02-06 20:00:30 [0] DEBUG: data: e6 94 3c ..< 2003-02-06 20:00:30 [0] DEBUG: Octet string dump ends. 2003-02-06 20:00:30 [0] DEBUG: Msg object ends. 2003-02-06 20:00:30 [0] INFO: Event created 2003-02-06 20:00:30 [0] INFO: Set address and stuff 2003-02-06 20:00:30 [0] DEBUG: Offset is now : 0 2003-02-06 20:00:30 [0] DEBUG: Finished, found 1 PDUs 2003-02-06 20:00:30 [0] INFO: Datagram unpacked! 2003-02-06 20:00:30 [9] DEBUG: event->type = 0 2003-02-06 20:00:30 [9] DEBUG: WTLS: wtls_machine 0, state EXCHANGE, event T-Unitdata.ind.