Bug 72479 - Crash in g_variant_type_info_check() when calling zeitgeist_log_install_monitor()
Summary: Crash in g_variant_type_info_check() when calling zeitgeist_log_install_monit...
Status: RESOLVED FIXED
Alias: None
Product: Zeitgeist
Classification: Unclassified
Component: libzeitgeist (show other bugs)
Version: unspecified
Hardware: Other All
: medium critical
Assignee: zeitgeist-bugs@lists.freedesktop.org
QA Contact: zeitgeist-bugs@lists.freedesktop.org
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-08 14:45 UTC by Philip Withnall
Modified: 2014-01-15 10:11 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Philip Withnall 2013-12-08 14:45:07 UTC
Upstreaming from https://bugzilla.gnome.org/show_bug.cgi?id=720055:

"
When running gnome-contacts or empathy I run into the following abort() :

GLib:ERROR:gvarianttypeinfo.c:165:g_variant_type_info_check: assertion failed:
(info->alignment == 0 || info->alignment == 1 || info->alignment == 3 ||
info->alignment == 7)

(gdb) run
Starting program: /usr/local/bin/gnome-contacts 
**
GLib:ERROR:gvarianttypeinfo.c:165:g_variant_type_info_check: assertion failed:
(info->alignment == 0 || info->alignment == 1 || info->alignment == 3 ||
info->alignment == 7)

Program received signal SIGABRT, Aborted.
0x0000155721d8420a in kill () at <stdin>:2
2       <stdin>: No such file or directory.
        in <stdin>
Current language:  auto; currently asm
(gdb) bt

#0  0x0000155721d8420a in kill () at <stdin>:2
#1  0x0000155721de461a in abort () at /usr/src/lib/libc/stdlib/abort.c:70
#2  0x000015571a114af5 in _g_log_abort () at gmessages.c:255
#3  0x000015571a13823f in g_assertion_message (domain=Could not find the frame base for "g_assertion_message".
) at gtestutils.c:2278
#4  0x000015571a1382b3 in g_assertion_message_expr (domain=0x15571a2b6760 "GLib", file=0x15571a2b674d "gvarianttypeinfo.c", line=165, func=0x15571a2b66f0 "g_variant_type_info_check", 
    expr=0x15571a2b6768 "info->alignment == 0 || info->alignment == 1 || info->alignment == 3 || info->alignment == 7") at gtestutils.c:2293
#5  0x000015571a15d03d in g_variant_type_info_check (info=0x15570867a110, container_class=0 '\0') at gvarianttypeinfo.c:164
#6  0x000015571a15d198 in g_variant_type_info_get_type_string (info=0x15570867a110) at gvarianttypeinfo.c:200
#7  0x000015571a14e801 in g_variant_get_type (value=0x15570c0dc000) at gvariant.c:2073
#8  0x000015570c9d58cd in append_value_to_blob (value=0x15570c0dc870, type=0x15570867a440, mbuf=0x7f7ffffc9540, out_padding_added=0x0, error=0x7f7ffffc96b8) at gdbusmessage.c:2426
#9  0x000015570c9d5c7b in append_body_to_blob (value=0x15570c0dcaf0, mbuf=0x7f7ffffc9540, error=0x7f7ffffc96b8) at gdbusmessage.c:2542
#10 0x000015570c9d61ff in g_dbus_message_to_blob (message=0x15570eac8190, out_size=0x7f7ffffc9658, capabilities=G_DBUS_CAPABILITY_FLAGS_UNIX_FD_PASSING, error=0x7f7ffffc96b8)
    at gdbusmessage.c:2711
#11 0x000015570c9c7d61 in g_dbus_connection_send_message_unlocked (connection=0x155715ebe090, message=0x15570eac8190, flags=G_DBUS_SEND_MESSAGE_FLAGS_NONE, out_serial=0x7f7ffffc96d4, 
    error=0x7f7ffffc96b8) at gdbusconnection.c:1662
#12 0x000015570c9c85c4 in g_dbus_connection_send_message_with_reply_unlocked (connection=0x155715ebe090, message=0x15570eac8190, flags=G_DBUS_SEND_MESSAGE_FLAGS_NONE, timeout_msec=25000, 
    out_serial=0x7f7ffffc96d4, cancellable=0x0, callback=0x15571c057a99 <_vala_g_async_ready_callback>, user_data=0x1557086b6c40) at gdbusconnection.c:1996
#13 0x000015570c9c88ef in g_dbus_connection_send_message_with_reply (connection=0x155715ebe090, message=0x15570eac8190, flags=G_DBUS_SEND_MESSAGE_FLAGS_NONE, timeout_msec=-1, out_serial=0x0, 
    cancellable=0x0, callback=0x15571c057a99 <_vala_g_async_ready_callback>, user_data=0x1557086b6c40) at gdbusconnection.c:2099
#14 0x000015571c058d44 in zeitgeist_remote_log_proxy_install_monitor_async (self=0x15570eb490d0, monitor_path=0x155715eead60 "/org/gnome/zeitgeist/monitor/0", time_range=0x1557136e6b60, 
    event_templates=0x15570c0dc870, owner=0x0, _callback_=0, _user_data_=0x0) at remote.c:948
#15 0x000015571c0575a5 in zeitgeist_remote_log_install_monitor (self=0x15570eb490d0, monitor_path=0x155715eead60 "/org/gnome/zeitgeist/monitor/0", time_range=0x1557136e6b60, 
    event_templates=0x15570c0dc870, owner=0x0, _callback_=0, _user_data_=0x0) at remote.c:525
#16 0x000015571c05272f in zeitgeist_log_reinstall_monitor_co (_data_=0x15570bf6f4b0) at log.c:4214
#17 0x000015571c051dea in zeitgeist_log_reinstall_monitor (self=0x15570da1c4e0, monitor=0x155715ec0e60, _callback_=0, _user_data_=0x0) at log.c:4084
#18 0x000015571c051c89 in zeitgeist_log_install_monitor (self=0x15570da1c4e0, monitor=0x155715ec0e60, error=0x15570a11a850) at log.c:4056
#19 0x000015570d2b69b1 in folks_tp_zeitgeist_controller_populate_counters_co (_data_=0x15570a11a480) at tp-zeitgeist.vala:150
#20 0x000015570d2b4f71 in folks_tp_zeitgeist_controller_populate_counters_ready (source_object=0x15570da1c4e0, _res_=0x155715366640, _user_data_=0x15570a11a480) at tp-zeitgeist.vala:91
#21 0x000015570c964bcb in g_simple_async_result_complete (simple=0x155715366640) at gsimpleasyncresult.c:777
#22 0x000015571c04bb1f in zeitgeist_log_find_events_co (_data_=0x155716997270) at log.c:2117
#23 0x000015571c04ae65 in _zeitgeist_log_find_events_co_gsource_func (self=0x155716997270) at log.c:1874
#24 0x000015571a10e1b5 in g_idle_dispatch (source=0x15570c49df00, callback=0x15571c04ae50 <_zeitgeist_log_find_events_co_gsource_func>, user_data=0x155716997270) at gmain.c:5251
#25 0x000015571a10bba9 in g_main_dispatch (context=0x155708666000) at gmain.c:3066
#26 0x000015571a10c854 in g_main_context_dispatch (context=0x155708666000) at gmain.c:3642
#27 0x000015571a10ca0c in g_main_context_iterate (context=0x155708666000, block=1, dispatch=1, self=0x15570ea01a00) at gmain.c:3713
#28 0x000015571a10cabb in g_main_context_iteration (context=0x155708666000, may_block=1) at gmain.c:3774
#29 0x000015570c99d288 in g_application_run (application=0x1557153300d0, argc=1, argv=0x7f7ffffc9d78) at gapplication.c:1635
#30 0x00001555073a8007 in _vala_main (args=0x7f7ffffc9d78, args_length1=1) at main.c:71
#31 0x00001555073a8066 in main (argc=1, argv=0x7f7ffffc9d78) at main.c:81
"
Comment 1 Robert Nagy 2013-12-15 10:52:31 UTC
Hello

I am having the same issue that was described.
Comment 2 Antoine Jacoutot 2013-12-31 12:59:48 UTC
Hi.

It would be nice if a Zeitgeist developer could have a look at it, because it renders (at least) gnome-contacts and empathy unusable...
Thank you!
Comment 3 Seif Lotfy 2013-12-31 13:33:36 UTC
Will take a look at it this weekend. Can you tell me which version of
Zeitgeist you are using?
Cheers
Seif


On Tue, Dec 31, 2013 at 1:59 PM, <bugzilla-daemon@freedesktop.org> wrote:

>   *Comment # 2 <https://bugs.freedesktop.org/show_bug.cgi?id=72479#c2> on
> bug 72479 <https://bugs.freedesktop.org/show_bug.cgi?id=72479> from Antoine
> Jacoutot <ajacoutot@openbsd.org> *
>
> Hi.
>
> It would be nice if a Zeitgeist developer could have a look at it, because it
> renders (at least) gnome-contacts and empathy unusable...
> Thank you!
>
>  ------------------------------
> You are receiving this mail because:
>
>    - You are the QA Contact for the bug.
>    - You are the assignee for the bug.
>
>
> _______________________________________________
> Zeitgeist-bugs mailing list
> Zeitgeist-bugs@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/zeitgeist-bugs
>
>
Comment 4 Antoine Jacoutot 2013-12-31 14:02:09 UTC
(In reply to comment #3)
> Will take a look at it this weekend. Can you tell me which version of

Hi Seif. Thanks ;-)

> Zeitgeist you are using?

zeitgeist-0.9.14 (on OpenBSD) with this patch:
https://bugs.launchpad.net/libzeitgeist/+bug/1161565

Other pkgs loosely related, just in case:
vala-0.22.1
folks-0.9.6
glib2-2.38.2
gnome-contacts-3.10.1
telepathy-glib-0.22.0
dbus-1.6.18
Comment 5 Seif Lotfy 2013-12-31 14:03:01 UTC
Can you try current master if possible?


On Tue, Dec 31, 2013 at 3:02 PM, <bugzilla-daemon@freedesktop.org> wrote:

>   *Comment # 4 <https://bugs.freedesktop.org/show_bug.cgi?id=72479#c4> on
> bug 72479 <https://bugs.freedesktop.org/show_bug.cgi?id=72479> from Antoine
> Jacoutot <ajacoutot@openbsd.org> *
>
> (In reply to comment #3 <https://bugs.freedesktop.org/show_bug.cgi?id=72479#c3>)
> > Will take a look at it this weekend. Can you tell me which version of
>
>
> Hi Seif. Thanks ;-)
> > Zeitgeist you are using?
>
> zeitgeist-0.9.14 (on OpenBSD) with this patch:https://bugs.launchpad.net/libzeitgeist/+bug/1161565
>
> Other pkgs loosely related, just in case:
> vala-0.22.1
> folks-0.9.6
> glib2-2.38.2
> gnome-contacts-3.10.1
> telepathy-glib-0.22.0
> dbus-1.6.18
>
>  ------------------------------
> You are receiving this mail because:
>
>    - You are the QA Contact for the bug.
>    - You are the assignee for the bug.
>
>
> _______________________________________________
> Zeitgeist-bugs mailing list
> Zeitgeist-bugs@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/zeitgeist-bugs
>
>
Comment 6 Seif Lotfy 2013-12-31 14:09:39 UTC
Hmmm, seems to me like a libzeitgeist issue. I will look more into it. I suppose both use folks (and zeitgeist in folks might be broken). I will need to check which libzeitgeist folks is using
Comment 7 Antoine Jacoutot 2013-12-31 14:11:51 UTC
(In reply to comment #5)
> Can you try current master if possible?

Certainly, but are you referring to:
git://anongit.freedesktop.org/zeitgeist/zeitgeist

Because it does not seem to have any changes since 0.9.14.
Comment 8 Seif Lotfy 2013-12-31 14:20:12 UTC
interesint. Just noticed the direct tests are failing -.-
Comment 9 Seif Lotfy 2013-12-31 14:47:04 UTC
Fixing this.
Comment 10 Seif Lotfy 2013-12-31 14:50:40 UTC
ok seems like this broke with vala 22 -.-
So yeah will fix it
Comment 11 Antoine Jacoutot 2013-12-31 14:53:39 UTC
(In reply to comment #10)
> ok seems like this broke with vala 22 -.-
> So yeah will fix it

Awesome, I am staying tuned ;-)
Comment 12 Antoine Jacoutot 2014-01-02 09:36:12 UTC
Hi Seif. I just tried your recent commit (42f0f6b0) and it seems to fix it all \o/ :-)
Thank you!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.