GNOME Bugzilla – Bug 671231
GNOME Shell often segfaults on NetworkManager reconnect
Last modified: 2012-04-09 16:25:52 UTC
GNOME Shell segfaults when NetworkManager reconnects and the corresponding notification is about to be rendered. GNOME Shell 3.3.90, Clutter 1.9.12, Mageia Linux. That "Вы подключены к сети «XXXXXXXX connection 1»." messages mean "You are connected to «XXXXXXXX connection 1»." Can't remember GNOME Shell segfaulting after the very first connection attempt (per session) - notification is displayed OK. Inside clutter_text_buffer_normal_insert_text, pv->normal_text_bytes is 0xffffffff.
+ Trace 229786
Looks to be an issue with ClutterTextBuffer, moving to Clutter.
...and it has just segfaulted on the very first connection :) I'm keeping coredumps, so feel free to ask for any clarifications.
Thanks for taking the time to report this bug. Unfortunately, that stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash. Can you get us a stack trace with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so and reopen this bug or report a new one. Thanks in advance!
Here's the stack trace with full debug info. It looks slightly different from my initial report (unfortunately, I've lost the original core file), but it was taken at similar circumstances - GNOME Shell segfaulted when NetworkManager has just connected to 3G network. With 3G networks, two successive notifications are issued by NetworkManager applet (could this be the cause?)
+ Trace 229795
*** Bug 673737 has been marked as a duplicate of this bug. ***
seems like some memory corruption - probably because the input is not valid UTF-8.
Dimitri: I notice you're on a Russian locale, so it's potential that this is a translator bug... right? Alexey: are you on a foreign locale?
alternatively: are you guys using KOI8-R instead of a UTF-8 locale?
It's unlikely that invalid UTF-8 as input would get through the GMarkup parser without causing an error - and this crash like all duplicates involves clutter_text_set_markup_internal(). See bug 673783 for my patch. *** This bug has been marked as a duplicate of bug 673783 ***