I don't know if the following will help in tracking this down but I'm
developing code in openCV and sometimes see this. It happens after
creating a 'namedwindow()'. If the new window isn't loaded with an
image, it seems to time out and give the error. I was investigating some
timing issues in my code and decided to put a waitkey() delay to allow
window generation to finish before doing the timing checks and I started
getting the "G_IS_OBJECT (object)" failure. I got rid of it by inserting
an imshow() for each new window and the problem disappears.
The following snippet may help, if the three lines after the comment
are removed then the report occurs three times
namedWindow("Input-Gray", WINDOW_NORMAL);
createTrackbar("StdDevVal", "Input-Gray",&SDPosn,255, SDTBEvent);
createTrackbar("MeanVal", "Input-Gray",&MeanPosn,255, MeanEvent);
createTrackbar("Deriv", "Input-Gray",&DerivPosn,255, DerivEvent);
namedWindow("SDMasked", WINDOW_NORMAL);
namedWindow("MeanMasked", WINDOW_NORMAL);
namedWindow("DerivMasked", WINDOW_NORMAL);
imshow("Input-Gray", M_gray);
// the following stops the reporting of :-
//(Input:4135): GLib-GObject-CRITICAL **: g_object_unref:assertion
'G_IS_OBJECT (object)' failed
// seems to be associated with creating a window and not showing an
image!
imshow("SDMasked", M_gray);
imshow("MeanMasked", M_gray);
imshow("DerivMasked", M_gray);
if( cv::waitKey(0) != 0x20 ) // wait for windows to settle
.....
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-session in Ubuntu.
https://bugs.launchpad.net/bugs/1582496
Title:
GLib-GObject-CRITICAL failures during Ubuntu 16.04 bootup
Status in gnome-session package in Ubuntu:
Confirmed
Bug description:
I submitted this question a week but did not receive an answer or
advice to solving them. https://answers.launchpad.net/ubuntu/+source
/gnome-session/+question/293479
These failures are still plaguing my syslog every time I activate
Nautilus.
Appreciate help to resolve these failures.
============ Earlier question ============================
After a recent updating, I notice these failures in the systemlogs.
May 9 16:34:59 Eliot gnome-session[1562]: gnome-session-binary[1562]:
GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 9 16:34:59 Eliot gnome-session-binary[1562]: GLib-GObject-CRITICAL:
g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 9 16:34:59 Eliot gnome-session[1562]: gnome-session-binary[1562]:
GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 9 16:34:59 Eliot gnome-session-binary[1562]: GLib-GObject-CRITICAL:
g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 9 16:34:59 Eliot gnome-session[1562]: gnome-session-binary[1562]:
GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 9 16:34:59 Eliot gnome-session-binary[1562]: GLib-GObject-CRITICAL:
g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 9 16:34:59 Eliot gnome-session[1562]: gnome-session-binary[1562]:
GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 9 16:34:59 Eliot gnome-session-binary[1562]: GLib-GObject-CRITICAL:
g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 9 16:34:59 Eliot gnome-session[1562]: gnome-session-binary[1562]:
GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 9 16:34:59 Eliot gnome-session-binary[1562]: GLib-GObject-CRITICAL:
g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 9 16:34:59 Eliot gnome-session[1562]: gnome-session-binary[1562]:
GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 9 16:34:59 Eliot gnome-session-binary[1562]: GLib-GObject-CRITICAL:
g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 9 16:35:01 Eliot org.gnome.zeitgeist.Engine[1400]:
(zeitgeist-daemon:2197): GLib-GObject-CRITICAL **: g_object_unref: assertion
'object->ref_count > 0' failed
May 9 16:42:54 Eliot gnome-session[1576]: (nautilus:2606):
GLib-GObject-CRITICAL **: g_signal_connect_object: assertion
'G_TYPE_CHECK_INSTANCE (instance)' failed
May 9 16:59:53 Eliot gnome-session[1576]: (nautilus:2842):
GLib-GObject-CRITICAL **: g_signal_connect_object: assertion
'G_TYPE_CHECK_INSTANCE (instance)' failed
May 9 17:00:19 Eliot gnome-session[1576]: (nautilus:2857):
GLib-GObject-CRITICAL **: g_signal_connect_object: assertion
'G_TYPE_CHECK_INSTANCE (instance)' failed
The last three failures appears whenever I activate nautilus.
Nautilus will appear and work as usual.
How can I resolve these failure notices? Thanks in advance.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1582496/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp