After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 785327 - occasional crash on exit after long sessions (three days or more)
occasional crash on exit after long sessions (three days or more)
Status: RESOLVED OBSOLETE
Product: mutter
Classification: Core
Component: general
3.25.x
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2017-07-24 06:24 UTC by Hussam Al-Tayeb
Modified: 2021-07-05 13:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Hussam Al-Tayeb 2017-07-24 06:24:23 UTC
I occasionally see this in coredumpctl after long gnome sessions. the timestamp suggests it happened on exit.
Not knowing the root cause, I asked on irc.
ptomato[m]> hussam: looks like a bug in mutter. MetaSurfaceActorX11's dispose method is being called after its XDisplay is already freed


Here is the crash trace. Maybe there needs to be a check somewhere?

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/bin/gnome-shell'.
Program terminated with signal SIGSEGV, Segmentation fault.

Thread 9 (Thread 0x7f0044f1c700 (LWP 7650))

  • #0 syscall
  • #1 g_cond_wait
    at gthread-posix.c line 1395
  • #2 threaded_swap_wait
    at winsys/cogl-winsys-glx.c line 1854
  • #3 g_thread_proxy
    at gthread.c line 784
  • #4 start_thread
  • #5 clone

Thread 6 (Thread 0x7f003ffff700 (LWP 26965))

  • #0 syscall
  • #1 g_cond_wait_until
    at gthread-posix.c line 1442
  • #2 g_async_queue_pop_intern_unlocked
    at gasyncqueue.c line 422
  • #3 g_async_queue_timeout_pop
    at gasyncqueue.c line 543
  • #4 g_thread_pool_wait_for_new_pool
    at gthreadpool.c line 167
  • #5 g_thread_pool_thread_proxy
    at gthreadpool.c line 364
  • #6 g_thread_proxy
    at gthread.c line 784
  • #7 start_thread
  • #8 clone

Thread 1 (Thread 0x7f00b488f9c0 (LWP 765))

  • #0 XFreePixmap
    at FreePix.c line 38
  • #1 detach_pixmap
    at compositor/meta-surface-actor-x11.c line 101
  • #2 meta_surface_actor_x11_dispose
    at compositor/meta-surface-actor-x11.c line 360
  • #3 g_object_unref
    at gobject.c line 3277
  • #4 release_native_object(ObjectInstance*)
    at gi/object.cpp line 1066
  • #5 disassociate_js_gobject
    at gi/object.cpp line 1244
  • #6 update_heap_wrapper_weak_pointers(JSContext*, JSCompartment*, gpointer)
    at gi/object.cpp line 1154
  • #7 0x00007f00ad2a019c in
  • #8 0x00007f00ad2a166c in
  • #9 0x00007f00ad2a88e3 in
  • #10 0x00007f00ad2a972b in
  • #11 0x00007f00ad2a9b9f in
  • #12 0x00007f00ad2a9e39 in
  • #13 gjs_context_dispose(GObject*)
    at gjs/context.cpp line 234
  • #14 g_object_unref
    at gobject.c line 3277
  • #15 main
    at main.c line 457

Comment 1 GNOME Infrastructure Team 2021-07-05 13:48:17 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/mutter/-/issues/

Thank you for your understanding and your help.