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 782463 - Crash: gnome-shell (11) __GI___libc_free → g_free → gweather_location_unref → g_boxed_free → boxed_finalize
Crash: gnome-shell (11) __GI___libc_free → g_free → gweather_location_unref →...
Status: RESOLVED OBSOLETE
Product: libgweather
Classification: Core
Component: general
3.24.x
Other Linux
: Normal major
: future
Assigned To: libgweather-maint
libgweather-maint
Depends on:
Blocks:
 
 
Reported: 2017-05-10 17:02 UTC by Jeremy Bicha
Modified: 2021-06-09 21:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jeremy Bicha 2017-05-10 17:02:46 UTC
Ubuntu has received over 200 semi-automated error reports from Ubuntu 17.04 with this crash signature. The crash appears new to gnome-shell 3.24.1.

This error is one of several keeping gnome-shell 3.24.1 from reaching all Ubuntu 17.04 users because Ubuntu has a phased-update system for users who install updates using Ubuntu's update-manager tool.

gnome-shell (11) __GI___libc_free → g_free → gweather_location_unref → g_boxed_free → boxed_finalize

  • #0 __GI___libc_free
    at malloc.c line 2963
  • #1 g_free
    at ../../../../glib/gmem.c line 189
  • #2 gweather_location_unref
    at gweather-location.c line 396
  • #3 g_boxed_free
    at ../../../../gobject/gboxed.c line 407
  • #4 boxed_finalize
    at gi/boxed.cpp line 505
  • #5 ??
  • #6 ??
  • #7 ??
  • #8 ??
  • #9 ??
  • #10 ??
  • #11 ??
  • #12 ??
  • #13 ??
  • #14 ??
  • #15 ??
  • #16 ??
    from /tmp/apport_sandbox_htubtl/usr/lib/libgjs.so.0
  • #17 ??
  • #18 ??
  • #19 ??
  • #20 ??
  • #21 ??
  • #22 ??
  • #23 ??
  • #24 ??
  • #25 ??
  • #26 ??

Comment 1 Jeremy Bicha 2017-05-10 17:04:07 UTC
.

Thread 12 (Thread 0x7fe10e87a700 (LWP 2113))

  • #0 syscall
    at ../sysdeps/unix/sysv/linux/x86_64/syscall.S line 38
  • #1 g_cond_wait_until
    at ../../../../glib/gthread-posix.c line 1442
  • #2 g_async_queue_pop_intern_unlocked
    at ../../../../glib/gasyncqueue.c line 422
  • #3 g_async_queue_timeout_pop_unlocked
    at ../../../../glib/gasyncqueue.c line 570
  • #4 g_thread_pool_wait_for_new_task
    at ../../../../glib/gthreadpool.c line 262
  • #5 g_thread_pool_thread_proxy
    at ../../../../glib/gthreadpool.c line 296
  • #6 g_thread_proxy
    at ../../../../glib/gthread.c line 784
  • #7 start_thread
    at pthread_create.c line 456
  • #8 clone
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S line 105

Thread 11 (Thread 0x7fe11007d700 (LWP 2103))

  • #0 syscall
    at ../sysdeps/unix/sysv/linux/x86_64/syscall.S line 38
  • #1 g_cond_wait_until
    at ../../../../glib/gthread-posix.c line 1442
  • #2 g_async_queue_pop_intern_unlocked
    at ../../../../glib/gasyncqueue.c line 422
  • #3 g_async_queue_timeout_pop_unlocked
    at ../../../../glib/gasyncqueue.c line 570
  • #4 g_thread_pool_wait_for_new_task
    at ../../../../glib/gthreadpool.c line 262
  • #5 g_thread_pool_thread_proxy
    at ../../../../glib/gthreadpool.c line 296
  • #6 g_thread_proxy
    at ../../../../glib/gthread.c line 784
  • #7 start_thread
    at pthread_create.c line 456
  • #8 clone
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S line 105

Thread 1 (Thread 0x7fe17df42ac0 (LWP 1447))

  • #0 __GI___libc_free
    at malloc.c line 2963
  • #1 g_free
    at ../../../../glib/gmem.c line 189
  • #2 gweather_location_unref
    at gweather-location.c line 396
  • #3 g_boxed_free
    at ../../../../gobject/gboxed.c line 407
  • #4 boxed_finalize
    at gi/boxed.cpp line 505
  • #5 ??
  • #6 ??
  • #7 ??
  • #8 ??
  • #9 ??
  • #10 ??
  • #11 ??
  • #12 ??
  • #13 ??
  • #14 ??
  • #15 ??
  • #16 ??
    from /tmp/apport_sandbox_htubtl/usr/lib/libgjs.so.0
  • #17 ??
  • #18 ??
  • #19 ??
  • #20 ??
  • #21 ??
  • #22 ??
  • #23 ??
  • #24 ??
  • #25 ??
  • #26 ??

Comment 2 Giovanni Campagna 2017-05-10 18:54:32 UTC
The problem appears to be a double free or free of invalid memory caused by gjs. It might be an annotation problem in one of libgweather methods, but it's hard to say which one.
Comment 3 GNOME Infrastructure Team 2021-06-09 21:08:00 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/libgweather/-/issues/137.