GNOME Bugzilla – Bug 736583
Segfault when showing turnPointMarker
Last modified: 2015-08-15 20:55:35 UTC
To reproduce: Search for a route. Click a round between different instructions. The log spews: (gnome-maps:5793): Clutter-CRITICAL **: clutter_actor_set_pivot_point: assertion 'CLUTTER_IS_ACTOR (self)' failed (gnome-maps:5793): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (gnome-maps:5793): Clutter-CRITICAL **: clutter_actor_remove_child: assertion 'CLUTTER_IS_ACTOR (child)' failed (gnome-maps:5793): Clutter-CRITICAL **: clutter_actor_add_child: assertion 'CLUTTER_IS_ACTOR (child)' failed (gnome-maps:5793): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (gnome-maps:5793): Clutter-CRITICAL **: clutter_actor_set_position: assertion 'CLUTTER_IS_ACTOR (self)' failed (gnome-maps:5793): GLib-GObject-WARNING **: gsignal.c:2579: instance '0x8cec350' has no handler with id '11252' Segmentation fault (core dumped) Core trace:Core was generated by `src/gnome-maps'. Program terminated with signal SIGSEGV, Segmentation fault.
+ Trace 234085
Created attachment 286076 [details] [review] Do not destroy marker from signal handler This tries to prevent a segfault seen when calling destroy in a signal handler. Instead destroy and re-create the marker when showing a turnPointMarker.
This needs testing. It might just be harder to reproduce with this approach.
What I don't understand is why I cannot reproduce the bug by using key arrows to navigate around instruction list, I was hitting the key arrows for 3 minutes like an idiot without experience a crash. Undesirable luck.
Comment on attachment 286076 [details] [review] Do not destroy marker from signal handler Attachment 286076 [details] pushed as 31adccf - Do not destroy marker from signal handler