All pastes #66467 Raw Edit

Someone

public text v1 · immutable
#66467 ·published 2006-06-17 06:55 UTC
rendered paste body
venkat@linux:~/softwares/ldtp/ldtp/src> ./ldtp
Sat Jun 17 12:26:32 2006: Client connection: accepted
Client packet len: 183
i = 0
Data read 183, packet-len = 183, bytes read = 183, data: <?xml version="1.0"?><REQUEST><RECORD><ID>1138992229</ID><ACTION>startrecord</ACTION><APPLICATION>gedit</APPLICATION><ARGUMENTS><ARGUMENT>ALL</ARGUMENT></ARGUMENTS></RECORD></REQUEST>
PACKET LENGTH: 0
Received packet [<?xml version="1.0"?><REQUEST><RECORD><ID>1138992229</ID><ACTION>startrecord</ACTION><APPLICATION>gedit</APPLICATION><ARGUMENTS><ARGUMENT>ALL</ARGUMENT></ARGUMENTS></RECORD></REQUEST>] through 16
==Debug Statement in ClientHandler== Packet =<?xml version="1.0"?><REQUEST><RECORD><ID>1138992229</ID><ACTION>startrecord</ACTION><APPLICATION>gedit</APPLICATION><ARGUMENTS><ARGUMENT>ALL</ARGUMENT></ARGUMENTS></RECORD></REQUEST>, Langth=183
==Debug statement== Packet=  <?xml version="1.0"?><REQUEST><RECORD><ID>1138992229</ID><ACTION>startrecord</ACTION><APPLICATION>gedit</APPLICATION><ARGUMENTS><ARGUMENT>ALL</ARGUMENT></ARGUMENTS></RECORD></REQUEST> Length =183
==DEBUG== Root element is REQUEST
==DEBUG== Nodename is RECORD :
request_id: 1138992229
==DEBUG== Action if
action_name: startrecord
==DEBUG== Nodename is APPLICATION :
Has childrens
Argument value: ALL
==DEBUG== Empty Node ...         Quitting loop
Command: startrecord
==DEBUG== in ldtp_command_get_command_id startrecord
Get command id: startrecord
Entered LDTP_CMD_STARTRECORD
==DEBUG== in record_main command for the application gedit  136
==DEBUG== Opening file name of /tmp/ldtp-record-venkat-p4QIDy
resp_len = 117
Sending..
150
Response packet: <?xml version="1.0" encoding="utf-8"?><RESPONSE><ID>1138992229</ID><STATUS><CODE>0</CODE><MESSAGE>Successfully completed</MESSAGE></STATUS></RESPONSE>
Msg:
Bytes sent: 154
Sat Jun 17 12:26:32 2006: ldtp-utils.c:46:ldtp_read_data() : Connection reset by peer
<cause>Error occurred while receiving response from client</cause>
handle_client: error:
resp_len = 117
Sending..
182
Response packet: <?xml version="1.0" encoding="utf-8"?><RESPONSE><ID>1138992229</ID><STATUS><CODE>-993</CODE><MESSAGE>Error occurred while receiving response from client</MESSAGE></STATUS></RESPONSE>
Msg:
Bytes sent: -1
Sat Jun 17 12:26:32 2006: Client disconnected
The window title is Unsaved Document 2 - gedit
Focus callback by  of type text
==DEBUG== As of now the text area name is **
Still null
Pushing 0 to the stack
Pushing 0 to the stack
Pushing 1 to the stack
Pushing 1 to the stack
Pushing 0 to the stack
*** glibc detected *** realloc(): invalid next size: 0x0807e460 ***
Aborted (core dumped)
venkat@linux:~/softwares/ldtp/ldtp/src>



This happens when i do 

venkat@linux:~/softwares/ldtp/ldtp> python client.py start gedit all
The Return XML from server is  <?xml version="1.0" encoding="utf-8"?><RESPONSE><ID>1138992229</ID><STATUS><CODE>0</CODE><MESSAGE>Successfully completed</MESSAGE></STATUS></RESPONSE>