Hi, I run this combination.
Heartbeat changeset: 3aa6bea6a251
Pacemaker changeset: 01ca13de726c
When I execute crm_standby, it would say like this;
(process:10181): GLib-CRITICAL **: g_source_remove: assertion `tag > 0'
failed
It just display an error, crm_standby command do well.
By the way, is it needed to "sig_src->gsourceid" as 0?
/lib/clplumbing/GSource.c
gboolean
G_main_del_SignalHandler(GSIGSource* sig_src)
{
GSource* source = (GSource*) sig_src;
if (sig_src->gsourceid <= 0) {
return FALSE;
}
if(_NSIG <= sig_src->signal) {
g_assert(_NSIG > sig_src->signal);
return FALSE;
}
CL_SIGNAL(sig_src->signal, NULL);
sig_src->gsourceid = 0; /* ????? */
sig_src->signal_triggered = FALSE;
g_source_remove(sig_src->gsourceid); /* ????? */
G_main_signal_list[sig_src->signal] = NULL;
g_source_unref(source);
return TRUE;
}
g_source_remove() function checks the tag value.
gboolean
g_source_remove (guint tag)
{
GSource *source;
g_return_val_if_fail (tag > 0, FALSE); /* !!!!! */
source = g_main_context_find_source_by_id (NULL, tag);
if (source)
g_source_destroy (source);
return source != NULL;
}
Best Regards,
Junko Ikeda
NTT DATA INTELLILINK CORPORATION
# crm_standby -U prec370e -v on (process:10181): GLib-CRITICAL **: g_source_remove: assertion `tag > 0' failed (process:10181): GLib-CRITICAL **: g_source_remove: assertion `tag > 0' failed (process:10181): GLib-CRITICAL **: g_source_remove: assertion `tag > 0' failed # crm_standby -U prec370e -v off (process:10183): GLib-CRITICAL **: g_source_remove: assertion `tag > 0' failed (process:10183): GLib-CRITICAL **: g_source_remove: assertion `tag > 0' failed (process:10183): GLib-CRITICAL **: g_source_remove: assertion `tag > 0' failed
ha-log
Description: Binary data
GSource.patch
Description: Binary data
_______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
