Facing problems in xmlrpc-c-0.9.9

"coolnishant83" <[email protected]>
Newsgroups gmane.text.xml.rpc.specification
Message-ID <[email protected]>
Hi 

I have posted the similar problem earlier also....and i havent been 
able to find the solution or rather the exact problem.

I have two nodes master and slave. And switching off (shutdown -h now) 
the slave causes the subsequent xmlrpc_client_call to hang in select 
system call for long (check below from where this select has been 
called)

This time I have output of bt command (GDB,backtrace) with this mail 
to help you get along with this:-

GDB's bt commands's output::



Stack(as shown by bt) before slave machine (192.168.184.130)  was on.

Here xmlrpc_call_returns successfully ---------------->

#0  xmlrpc_client_call (env=0xbfff9bc0, server_url=0x9579680 "https://
192.168.184.130:8090/RPC2",
    method_name=0x81f4ae4 "server.saveGlobalConfiguration", 
format=0xbfff9c70 "") at xmlrpc_client.c:591
#1  0x08092d37 in bmcserver_saveGlobalConfig (env=0xbfff9c70, 
param_array=0x95a3b60, user_data=0x2) at bb_xmlserver1.c:23338
#2  0x080cb277 in dispatch_call (env=0xbfff9c70, registry=0x9534498, 
method_name=0x9540290 "server.saveGlobalConfiguration",
    param_array=0x95a3b60) at xmlrpc_registry.c:264
#3  0x080cb31c in xmlrpc_registry_process_call (env2=0xbfff9cd0, 
registry=0x9534498, host=0x0,
    xml_data=0x95a4328 "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?
><methodCall><methodName>server.saveGlobalConfiguration</
methodName><params><param><value>/etc/sslvpn-plus/default.conf</
value></param><param><value>admin9016"..., xml_len=242)
    at xmlrpc_registry.c:323
#4  0x080c3c4f in xmlrpc_server_abyss_rpc2_handler (r=0xbfff9d20) at 
xmlrpc_abyss.c:307
#5  0x080c8110 in ServerFunc (c=0xbfff9e30) at server.c:633
#6  0x080c8453 in ServerRun (srv=0x8255fa0) at server.c:771
#7  0x080c3f16 in xmlrpc_server_abyss_run () at xmlrpc_abyss.c:540
#8  0x0809954d in main (argc=3, argv=0xbfffb204) at bb_xmlserver1.c:
26208






Stack(as shown by bt) after slave machine was switched off (shutdown -
h now)::

Here xmlrpc_client_Call hangs in this select state (Stack here seems 
to have arbitrary characters in 
xmlrpc_client_call_server_params )--->


#0  0x081b6bf7 in select ()
#1  0x0824edec in __JCR_LIST__ ()
#2  0x082592e0 in FdArray ()
#3  0x0824db10 in WWWTrace ()
#4  0x081466c8 in HTEventList_loop (theRequest=0x0) at HTEvtLst.c:725
#5  0x081464da in HTEventList_newLoop () at HTEvtLst.c:606
#6  0x08140155 in xmlrpc_client_call_server_params (env=0xbfff9bc0, 
server=0x95a3fb0, method_name=0x95a4070 "ø\203X\t",
    param_array=0x1) at xmlrpc_client.c:734
#7  0x0813ffe9 in xmlrpc_client_call_params (env=0xbfff9bc0, 
server_url=0x95a3cb0 "È\204X\t",
    method_name=0x81f4ae4 "server.saveGlobalConfiguration", 
param_array=0x95a1c98) at xmlrpc_client.c:674
#8  0x0813fe8d in xmlrpc_client_call (env=0xbfff9bc0, 
server_url=0x9579680 "https://192.168.184.130:8090/RPC2",
    method_name=0x81f4ae4 "server.saveGlobalConfiguration", 
format=0x95a1c98 "\006") at xmlrpc_client.c:604
#9  0x08092d37 in bmcserver_saveGlobalConfig (env=0xbfff9c70, 
param_array=0x95a3b60, user_data=0x2) at bb_xmlserver1.c:23338
#10 0x080cb277 in dispatch_call (env=0xbfff9c70, registry=0x9534498, 
method_name=0x9540290 "server.saveGlobalConfiguration",
    param_array=0x95a3b60) at xmlrpc_registry.c:264
#11 0x080cb31c in xmlrpc_registry_process_call (env2=0xbfff9cd0, 
registry=0x9534498, host=0x0,
    xml_data=0x95a4328 "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?
><methodCall><methodName>server.saveGlobalConfiguration</
methodName><params><param><value>/etc/sslvpn-plus/default.conf</
value></param><param><value>admin9016"..., xml_len=242)
    at xmlrpc_registry.c:323
#12 0x080c3c4f in xmlrpc_server_abyss_rpc2_handler (r=0xbfff9d20) at 
xmlrpc_abyss.c:307
#13 0x080c8110 in ServerFunc (c=0xbfff9e30) at server.c:633
#14 0x080c8453 in ServerRun (srv=0x8255fa0) at server.c:771
#15 0x080c3f16 in xmlrpc_server_abyss_run () at xmlrpc_abyss.c:540
#16 0x0809954d in main (argc=3, argv=0xbfffb204) at bb_xmlserver1.c:
26208




thanks in advance for any sort of help

regards
Nish







 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/xml-rpc/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.