|
From: Chris F. <cd...@fo...> - 2010-09-17 05:45:04
|
On Thu, Sep 16, 2010 at 01:46:51PM -0700, Emanoil Kotsev wrote:
> [1284668404.203389] ERROR: Broken Pipe
Hi Emanoil,
This usually means one of the plugins crashed. Make sure to turn on
core dumps, be sure to set your plugin to run as a process, and then
it is usually something like this to get a backtrace:
gdb /path/to/osplugin core
You can set to run as process with a patch like this in your
get_sync_info() function:
@@ -220,6 +220,7 @@ osync_bool get_sync_info(OSyncPluginEnv *env, OSyncError **error)
osync_plugin_set_initialize(plugin, evo2_initialize);
osync_plugin_set_finalize(plugin, evo2_finalize);
osync_plugin_set_discover(plugin, evo2_discover);
+ osync_plugin_set_start_type(plugin, OSYNC_START_TYPE_PROCESS);
if (!osync_plugin_env_register_plugin(env, plugin, error))
goto error;
- Chris
|