Hello Ivan,
On 10/25/2012 10:14 AM, Ivan Loskutov wrote:
Hello,
I have an issue in lwip again. I ported the xmlrpc++ library to genode but simple test is failed. I have messages in log:
no RM attachment (READ pf_addr=28 pf_ip=1183823 from 2df000) invalid signal-context capability virtual void Genode::Pager_activation_base::entry(): Could not resolve pf=28 ip=1183823
I tried to trace the error and found then the issue occurred in select function in lwip. Xmlrpc++ server does this call and sometime occurred this error. The error occurred in select function and control doesn't return to server code. The same code on host worked without issues. Sample code is in commit https://github.com/Ksys-labs/genode/commit/f567619f5f0a50e7eed74e9565ddae132... I ran the server in qemu and client from xmlrpc++ on my host. Any ideas?
I've tried your test and could reproduce the error, it seems not to occur in LWIP but rather in 'stdcxx.lib.so' (I attached the backtrace, you can observe that eax is 0x28). The last XmlRpc functions called are: 'XmlRpc::XmlRpcServerConnection::parseRequest' and the 'XmlRpc::XmlRpcValue::operator='. Maybe the provided data is corrupt. Unfortunately I cannot investigate this further right now.
Greetings,
Sebastian