Hi

I am testing latest OpenHPI (2.12.0) with our own proprietary plugin (based
on the static_plugin). The plugin is cross-compiled for ppc platform (gcc
4.0.0).
What is happening is that the daemon works fine when connecting to it with
client programs locally (from the same machine). If I try to connect to it
remotely (prom PC with OPENHPI_DAEMON_HOST set)
AS soon as I run hpitop or any other clien program the deamon exits with a
segmentation fault.  The last two things it prints are:

 openhpid.cpp:393:service_thread: 0x10089290 Servicing connection.
 openhpid.cpp:398:service_thread: ### service_thread, thrdid [0x10089290]
###

I think I have isolated the problem in line: 
thrdinst->MessageHeaderInit((tMessageType) thrdinst->header.m_type, 0,
                                        thrdinst->header.m_id,
hm->m_reply_len );

In function HandleMsg in openhpid.cpp.

If anybody knows how to fix this please help.

Marko
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel

Reply via email to