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 785143 - segfault when reconnecting
segfault when reconnecting
Status: RESOLVED OBSOLETE
Product: gnome-mud
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME MUD Maintainers
GNOME MUD Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-07-19 18:06 UTC by shentino
Modified: 2017-12-06 16:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description shentino 2017-07-19 18:06:36 UTC
See downstream

https://bugs.gentoo.org/show_bug.cgi?id=625648
Comment 1 Mart Raudsepp 2017-07-19 18:10:48 UTC
So in general we just need to look over the self->priv->sound[MspType].play GstElement lifetime handling. It looks like some use-after-free case somewhere, where the element has gone away, but the pointer isn't properly updated or some such.
Crash from just disconnecting after some MSP stuff on use-gio:

  • #0 mud_telnet_msp_stop_playing
    at mud-telnet-msp.c line 484
  • #1 mud_telnet_msp_finalize
    at mud-telnet-msp.c line 219
  • #2 g_object_unref
    at /tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/gobject/gobject.c line 3185
  • #3 g_hash_table_remove_all_nodes
    at /tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/ghash.c line 548
  • #4 g_hash_table_remove_all_nodes
    at /tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/ghash.c line 1428
  • #5 g_hash_table_remove_all
    at /tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/ghash.c line 1431
  • #6 g_hash_table_destroy
    at /tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/ghash.c line 1124
  • #7 mud_telnet_finalize
    at mud-telnet.c line 255
  • #8 g_object_unref
    at /tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/gobject/gobject.c line 3185
  • #9 mud_connection_disconnected_cb
    at mud-connection-view.c line 417
  • #0 mud_telnet_msp_stop_playing
    at mud-telnet-msp.c line 484
$1 = {object = {g_type_instance = {g_class = 0xfefefe00fefefe}, ref_count = 16711422, qdata = 0xfefefe00fefefe}, lock = {p = 0xfefefe00fefefe, i = {16711422, 16711422}}, 
  name = 0xfefefe00fefefe <error: Cannot access memory at address 0xfefefe00fefefe>, parent = 0xfefefe00fefefe, flags = 16711422, control_bindings = 0xfefefe00fefefe, control_rate = 71775010976366334, 
  last_sync = 71775010976366334, _gst_reserved = 0xfefefe00fefefe}
Comment 2 GNOME Infrastructure Team 2017-12-06 16:29:25 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/gnome-mud/issues/20.