GNOME Bugzilla – Bug 773711
Totem crashes with SIGBUS, when network status is toggled.
Last modified: 2018-09-24 09:49:52 UTC
+ Trace 236784
Steps to reproduce: ------------------- 1. Open totem and select 'Channels' tab. 2. Go to 'System Settings -> Network -> Wired' and toggle ON state to OFF, and back to ON. 3. Totem crashes.
Created attachment 341300 [details] [review] icon-helpers: GFile is owned by GFileIcon. Do not unref it.
Ran into another crash after the above fix.
+ Trace 236913
Created attachment 341328 [details] [review] core: Check for source deletion after emitting SIG_SOURCE_ADDED signal grl_source_get_id (source) cannot be used as a key to the hash, as the source might have already been deleted. Hence the minor refactor around grl_source_get_id.
Created attachment 341329 [details] [review] core: Check for source deletion after emitting SIG_SOURCE_ADDED signal Duplicate source_id and use it.
Comment on attachment 341300 [details] [review] icon-helpers: GFile is owned by GFileIcon. Do not unref it. The commit subject and logs could do with some work. Thanks for the patch though!
(In reply to vrishab from comment #5) > Created attachment 341329 [details] [review] [review] > core: Check for source deletion after emitting SIG_SOURCE_ADDED signal > > Duplicate source_id and use it. Probably, a better way would be to allow the apps to convey the "supported_media" during registry initialization. That way, the registry can ignore loading unsupported plugins. I don't see a point in registering and unregistering sources for unsupported media. Thoughts ?
No, because that still wouldn't cover all possible use cases.
-- 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/grilo/issues/104.