[
https://issues.apache.org/jira/browse/THRIFT-3567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15105837#comment-15105837
]
Chandler May commented on THRIFT-3567:
--------------------------------------
Actually, GWeakNotify looks like the tool to use, rather than checking
G_IS_OBJECT. Although the assertion clearly uses the latter, there's nothing I
can see in the documentation that indicates it returns true only if the
reference count is above one.
> GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)'
> failed
> ---------------------------------------------------------------------------------
>
> Key: THRIFT-3567
> URL: https://issues.apache.org/jira/browse/THRIFT-3567
> Project: Thrift
> Issue Type: Bug
> Components: C glib - Library
> Affects Versions: 0.9.3
> Reporter: Chandler May
>
> When running cross language tests with a c_glib server, I see g_object_unref
> assertion errors like these in the output logs:
> (lt-test_server:54378): GLib-GObject-CRITICAL **: g_object_unref: assertion
> 'G_IS_OBJECT (object)' failed
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)