hit SIGTRAP errors after glib 2.37 update

Bug #1180302 reported by Sebastien Bacher
88
This bug affects 19 people
Affects Status Importance Assigned to Milestone
Messaging Menu
Fix Released
High
Lars Karlitski
indicator-messages (Ubuntu)
Fix Released
High
Lars Karlitski

Bug Description

In saucy, thunderbird is unhappy since the glib update:

Program received signal SIGTRAP, Trace/breakpoint trap.
g_logv (log_domain=log_domain@entry=0xb4aaa6d8 "GLib-GIO",
    log_level=log_level@entry=G_LOG_LEVEL_ERROR,
    format=format@entry=0xb4ac48c8 "g_menu_item_set_detailed_action: %s",
    args=args@entry=0xbfffb2ac "\200\016ە\030\342\202\234\060\233\b\226\060\247\223\233\221\362E\265") at /build/buildd/glib2.0-2.37.0/./glib/gmessages.c:981
981 /build/buildd/glib2.0-2.37.0/./glib/gmessages.c: Aucun fichier ou dossier de ce type.
#0 g_logv (log_domain=log_domain@entry=0xb4aaa6d8 "GLib-GIO",
    log_level=log_level@entry=G_LOG_LEVEL_ERROR,
    format=format@entry=0xb4ac48c8 "g_menu_item_set_detailed_action: %s",
    args=args@entry=0xbfffb2ac "\200\016ە\030\342\202\234\060\233\b\226\060\247\223\233\221\362E\265") at /build/buildd/glib2.0-2.37.0/./glib/gmessages.c:981
#1 0xb5397bf3 in g_log (log_domain=log_domain@entry=0xb4aaa6d8 "GLib-GIO",
    log_level=log_level@entry=G_LOG_LEVEL_ERROR,
    format=format@entry=0xb4ac48c8 "g_menu_item_set_detailed_action: %s")
    at /build/buildd/glib2.0-2.37.0/./glib/gmessages.c:1010
#2 0xb4a54c5a in g_menu_item_set_detailed_action (
    menu_item=menu_item@entry=0x9c82e218,
    detailed_action=detailed_action@entry=0x95db2528 "mailbox:///home/user/.thunderbird/idprofile.default/Mail/pop.orange.fr/Inbox")
    at /build/buildd/glib2.0-2.37.0/./gio/gmenu.c:1106
#3 0xb4a54cf1 in g_menu_item_new (
    label=label@entry=0x95dba258 "Courrier entrant (<email address hidden>)",
    detailed_action=detailed_action@entry=0x95db2528 "mailbox:///home/user/.thunderbird/idprofile.default/Mail/pop.orange.fr/Inbox")
    at /build/buildd/glib2.0-2.37.0/./gio/gmenu.c:1144
#4 0xad319e5e in messaging_menu_app_insert_source_action (app=0xb2ec15a0,
    app@entry=0xac264a20, position=position@entry=-1,
    id=0x95db2528 "mailbox:///home/user/.thunderbird/idprofile.default/Mail/pop.orange.fr/Inbox", icon=0x0,
    label=0x95dba258 "Courrier entrant (<email address hidden>)", state=0x9bb3b760)
    at messaging-menu.c:647
#5 0xad31a5b2 in messaging_menu_app_insert_source_with_count (app=0x95db2528,
    app@entry=0xb2ec15a0, position=0, position@entry=-1,
    id=0x95dba258 "Courrier entrant (<email address hidden>)",
    id@entry=0x95db2528 "mailbox:///home/user/.thunderbird/idprofile.default/Mail/pop.orange.fr/Inbox", icon=0x9bb3b760, icon@entry=0x0,
    label=label@entry=0x95dba258 "Courrier entrant (<email address hidden>)",
    count=count@entry=1) at messaging-menu.c:800
#6 0xad31a603 in messaging_menu_app_append_source_with_count (app=0xb2ec15a0,
    id=0x95db2528 "mailbox:///home/user/.thunderbird/idprofile.default/Mail/pop.orange.fr/Inbox", icon=0x0,
    label=0x95dba258 "Courrier entrant (<email address hidden>)", count=1)
    at messaging-menu.c:826

Related branches

Revision history for this message
Sebastien Bacher (seb128) wrote :

this error is printed on the sterr before hitting the sigtrap:

GLib-GIO-ERROR **: g_menu_item_set_detailed_action: Detailed action name 'mailbox:///home/user/.thunderbird/idprofile.default/Mail/pop.orange.fr/Inbox' has invalid format

Changed in indicator-messages (Ubuntu):
importance: Undecided → High
Changed in indicator-messages:
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in indicator-messages (Ubuntu):
status: New → Confirmed
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

In Thunderbird, we pass the mailbox URI as the unique identifier parameter to messaging_menu_app_append_source_with_count(), and libmessagingmenu uses this as the action name. But it seems that the new glib version is more strict, and the mailbox URI is not valid as an action name (but it ought to be valid as a unique identifier required by libmessagingmenu)

Revision history for this message
Gökçen Eraslan (gkcn) wrote :

Here is a backtrace of thunderbird.

Revision history for this message
Gökçen Eraslan (gkcn) wrote :

I have many other traps in dmesg inclucing libproxy(pxgsettings), notify-osd, skype(?), indicator-datetime-service:

[ 52.670906] traps: notify-osd[1959] general protection ip:411ae6 sp:7fffabc7a770 error:0 in notify-osd[400000+32000]
[ 87.442096] traps: pxgsettings[2633] general protection ip:4014fa sp:7fffcc6a3820 error:0 in pxgsettings[400000+2000]
[ 87.443831] traps: pxgsettings[2639] general protection ip:4014fa sp:7fff89057bc0 error:0 in pxgsettings[400000+2000]
[ 128.972282] traps: indicator-datet[7103] general protection ip:7f0b2ccd79d0 sp:7fff14e9adb0 error:0 in libdbusmenu-glib.so.4.0.12[7f0b2cccf000+1a000]
[ 143.200509] traps: thunderbird[7012] trap int3 ip:7fdcd504e23d sp:7fff48ff6840 error:0
[ 204.482533] traps: pxgsettings[7284] general protection ip:4014fa sp:7fff4c6008a0 error:0 in pxgsettings[400000+2000]
[ 729.697767] traps: thunderbird[10097] trap int3 ip:7f231cf4e23d sp:7fff499490e0 error:0
[ 869.852771] traps: skype[10766] general protection ip:8075f44 sp:ff804dcc error:0 in skype[8048000+1a7c000]
[ 984.300551] traps: pxgsettings[10935] general protection ip:4014fa sp:7fffc4fa98c0 error:0 in pxgsettings[400000+2000]
[ 1454.611327] traps: unity-panel-ser[2055] general protection ip:7f400abe0789 sp:7fffc3ea1430 error:0 in libgobject-2.0.so.0.3700.0[7f400abad000+50000]
[ 1535.628317] traps: notify-osd[7274] general protection ip:411ae6 sp:7fff9f469fa0 error:0 in notify-osd[400000+32000]
[ 1884.119602] traps: pxgsettings[12016] general protection ip:4014fa sp:7fffee6500b0 error:0 in pxgsettings[400000+2000]
[ 2783.738444] traps: pxgsettings[12148] general protection ip:4014fa sp:7fffd6de81c0 error:0 in pxgsettings[400000+2000]
[ 3683.531267] traps: pxgsettings[12755] general protection ip:4014fa sp:7fffad3ce3a0 error:0 in pxgsettings[400000+2000]
[ 3758.454493] traps: thunderbird[12833] trap int3 ip:7fc6f854e23d sp:7fff10967620 error:0
[ 3758.625980] traps: unity-panel-ser[11545] general protection ip:7f77e8c86789 sp:7fffc651fda0 error:0 in libgobject-2.0.so.0.3700.0[7f77e8c53000+50000]
[ 3773.565075] traps: notify-osd[12006] general protection ip:411ae6 sp:7fff869589b0 error:0 in notify-osd[400000+32000]

Revision history for this message
Gökçen Eraslan (gkcn) wrote :
Download full text (6.0 KiB)

Here is the notify-osd trace:

--- stack trace ---
#0 0x0000000000411ae6 in bubble_get_id ()
No symbol table info available.
#1 0x000000000041d77c in stack_notify_handler ()
No symbol table info available.
#2 0x000000000041c005 in dbus_glib_marshal_stack_VOID__STRING_UINT_STRING_STRING_STRING_BOXED_BOXED_INT_POINTER ()
No symbol table info available.
#3 0x00007f1e15e797dd in invoke_object_method (message=0xa1b260, connection=0x8a07b0, method=0x4299c0, object_info=0x429720 <dbus_glib_stack_object_info>, object=0x890800) at dbus-gobject.c:1899
        had_error = <optimized out>
        value_array = 0x8b0140
        gerror = 0x0
        closure = {ref_count = 0, meta_marshal_nouse = 0, n_guards = 0, n_fnotifiers = 0, n_inotifiers = 0, in_inotify = 0, floating = 0, derivative_flag = 0, in_marshal = 0, is_invalid = 0, marshal = 0x0, data = 0x0, notifiers = 0x0}
        out_param_pos = <optimized out>
        have_retval = 0
        send_reply = 1
        in_signature = 0x7d1ed0 "susssasa{sv}i"
        out_param_count = <optimized out>
        out_param_gvalue_pos = <optimized out>
        retval_signals_error = 0
        arg_metadata = <optimized out>
        is_async = <optimized out>
        out_param_values = 0x0
        return_value = {g_type = 0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
        out_param_gvalues = 0x0
        reply = 0x0
        retval_is_synthetic = 0
        retval_is_constant = 0
#4 object_registration_message (connection=0x8a07b0, message=0xa1b260, user_data=<optimized out>) at dbus-gobject.c:2161
        pspec = <optimized out>
        object = 0x890800
        setter = <optimized out>
        getter = <optimized out>
        getall = <optimized out>
        s = <optimized out>
        requested_propname = <optimized out>
        wincaps_propiface = <optimized out>
        iter = {dummy1 = 0x0, dummy2 = 0x0, dummy3 = 0, dummy4 = 0, dummy5 = 1, dummy6 = 0, dummy7 = 9047840, dummy8 = 0, dummy9 = 9065808, dummy10 = 0, dummy11 = 9065888, pad1 = 0, pad2 = 0, pad3 = 0x0}
        method = 0x4299c0
        object_info = 0x429720 <dbus_glib_stack_object_info>
        ret = <optimized out>
        o = <optimized out>
#5 0x00007f1e15c43126 in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
No symbol table info available.
#6 0x00007f1e15c35cd1 in dbus_connection_dispatch () from /lib/x86_64-linux-gnu/libdbus-1.so.3
No symbol table info available.
#7 0x00007f1e15e76c95 in message_queue_dispatch (source=source@entry=0x8a34b0, callback=<optimized out>, user_data=<optimized out>) at dbus-gmain.c:90
        connection = 0x8a07b0
#8 0x00007f1e13c8d226 in g_main_dispatch (context=0x7be1e0) at /build/buildd/glib2.0-2.37.0/./glib/gmain.c:3058
        dispatch = 0x7f1e15e76c80 <message_queue_dispatch>
        was_in_call = 0
        user_data = 0x0
        callback = 0x0
        cb_funcs = 0x0
        cb_data = 0x0
        need_destroy = <optimized out>
        current_source_link = {data = 0x8a34b0, next = 0x0}
        sourc...

Read more...

Revision history for this message
Gökçen Eraslan (gkcn) wrote :

Thunderbird works without crashing when the messaging menu add-on is disabled.

Lars Karlitski (larsu)
Changed in indicator-messages:
status: New → In Progress
assignee: nobody → Lars Uebernickel (larsu)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:indicator-messages at revision 344, scheduled for release in indicator-messages, milestone 13.10.0

Changed in indicator-messages:
status: In Progress → Fix Committed
Revision history for this message
Gökçen Eraslan (gkcn) wrote :

libdbusmenu 12.10.3daily13.05.15-0ubuntu1 update did not fix the problem. Is it supposed to fix this?

Revision history for this message
George Shuklin (george-shuklin) wrote :

last update to libc-bin did not fix issue. Same "Detailed action name 'imap://<email address hidden>/INBOX' has invalid format'".

Revision history for this message
George Shuklin (george-shuklin) wrote :

(libc-bin without fix - 2.17-0ubuntu5)

Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package indicator-messages - 12.10.6daily13.05.15-0ubuntu1

---------------
indicator-messages (12.10.6daily13.05.15-0ubuntu1) saucy; urgency=low

  [ Lars Uebernickel ]
  * libmessaging-menu: don't use detailed action names Detailed action
    names are of the form action::target or action(target), so they
    can't have colons or parens in them. This restriction does not apply
    to messaging menu ids. (LP: #1180302)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 344
 -- Ubuntu daily release <email address hidden> Wed, 15 May 2013 16:59:49 +0000

Changed in indicator-messages (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Chris West (faux) wrote :

I'm still getting this crash:

(thunderbird:4138): GLib-GIO-ERROR **: g_menu_item_set_detailed_action: Detailed action name 'imap://<email address hidden>/INBOX/somefolder' has invalid format

indicator-messages: 12.10.6+13.10.20130702-0ubuntu1 (saucy)
libglib2.0-0: 2.37.3-1ubuntu2 (saucy)
thunderbird: 17.0.7+build1-0ubuntu1

I'm guessing that 2013-07-02 is after the 2013-05-15 in the bug fix message?

Charles Kerr (charlesk)
Changed in indicator-messages:
status: Fix Committed → Fix Released
Revision history for this message
Machiel Richards (machiel-4) wrote :

Hi Guys, I am a bit lost here. I have the same issue as described here, and have downloaded the fix tarball, however there is no instructions on how to implement the new files. Can someone perhaps assist with this?

Thank you.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.