From: Emanoil K. <del...@ya...> - 2010-09-17 09:37:21
|
Hi --- On Fri, 9/17/10, Chris Frey <cd...@fo...> wrote: > 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 how do I turn on core dumps? > 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; > thanks |