| Summary: | =gnome-extra/cinnamon-session-2.8.3 - crashes when watching html5 videos in web browsers | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Antoine Lemoine <mail> |
| Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | xepher |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
xsession-errors
Ugly patch to disable inhibitor/idle behavior in csm-session |
||
|
Description
Antoine Lemoine
2016-06-11 15:16:54 UTC
We need a proper backtrace: https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces Thanks I will provide a backtrace. What are the packages I need to rebuild with debug flags? I imagine there are at least all *cinnamon* packages to rebuild. Well, I usually know the needed packages when I look for the packages providing the libs with "???" in the backtrace :/ Thanks. This is the backtrace of cinnamon-session:
#0 0x00000000004138b2 in csm_system_add_inhibitor (system=0x0, id=0x25cc7d0 "/org/gnome/SessionManager/Inhibitor1",
flag=(CSM_INHIBITOR_FLAG_SUSPEND | CSM_INHIBITOR_FLAG_IDLE)) at csm-system.c:133
#1 0x000000000041cba7 in on_store_inhibitor_added (store=0x23d8450, id=0x25cc7d0 "/org/gnome/SessionManager/Inhibitor1",
manager=0x23802d0) at csm-manager.c:2615
#2 0x00007f3d8c9a3b0a in g_cclosure_marshal_VOID__STRINGv () from /usr/lib64/libgobject-2.0.so.0
#3 0x00007f3d8c9a1284 in _g_closure_invoke_va () from /usr/lib64/libgobject-2.0.so.0
#4 0x00007f3d8c9bba66 in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0
#5 0x00007f3d8c9bc157 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
#6 0x000000000041a270 in csm_store_add (store=0x23d8450, id=0x246ce00 "/org/gnome/SessionManager/Inhibitor1",
object=object@entry=0x25b36e0) at csm-store.c:250
#7 0x0000000000420d0b in csm_manager_inhibit (manager=0x23802d0, app_id=<optimized out>, toplevel_xid=0, reason=<optimized out>,
flags=12, context=0x2414e60) at csm-manager.c:3762
#8 0x000000000041c915 in dbus_glib_marshal_csm_manager_VOID__STRING_UINT_STRING_UINT_POINTER (closure=0x7fff46588ca0,
return_value=<optimized out>, n_param_values=<optimized out>, param_values=0x25e7c60, invocation_hint=<optimized out>,
marshal_data=0x420b00 <csm_manager_inhibit>) at csm-manager-glue.h:382
#9 0x00007f3d8ce399bd in object_registration_message () from /usr/lib64/libdbus-glib-1.so.2
#10 0x00007f3d8cc062a3 in _dbus_object_tree_dispatch_and_unlock () from /usr/lib64/libdbus-1.so.3
#11 0x00007f3d8cbfaa25 in dbus_connection_dispatch () from /usr/lib64/libdbus-1.so.3
#12 0x00007f3d8ce36dc5 in message_queue_dispatch () from /usr/lib64/libdbus-glib-1.so.2
#13 0x00007f3d8c48dea7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#14 0x00007f3d8c48e100 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#15 0x00007f3d8c48e422 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#16 0x00007f3d8ddfa805 in gtk_main () from /usr/lib64/libgtk-3.so.0
#17 0x000000000040b879 in main (argc=1, argv=0x7fff465892b8) at main.c:425
exactly the same behaviour (crash with identical backtrace) when deleting a file in nemo Created attachment 438384 [details, diff]
Ugly patch to disable inhibitor/idle behavior in csm-session
I can confirm this happens with my system as well.
I have attached a patch with a relatively ugly workaround. It simply makes the add/remove inhibitor and session idle functions into no-ops. Been running for several days without issues (save the expected, that the screensaver will still activate when videos are playing, and you might be able to suspend/reboot while a copy/delete is in progress.)
Just to be clear, this is a WORKAROUND patch, not a correction for the underlying issue (which I haven't had time to track down.)
please try with 3.0.1 |