GNOME Bugzilla – Bug 416393
bonobo-activation-server crashed with SIGSEGV
Last modified: 2007-03-23 14:59:43 UTC
The bug has been opened on https://launchpad.net/ubuntu/+source/libbonobo/+bug/90781 "I updated my Ubuntu 7.04 Herd 4 as suggested by Update Manager. An applet in the Gnome 2.18.92 advised me to restart my computer in order that the security settings beome effective. I closed most of my running applications. I commanded restart. There the crash occurred. ProblemType: Crash Architecture: i386 Date: Fri Mar 9 06:36:08 2007 DistroRelease: Ubuntu 7.04 ExecutablePath: /usr/lib/bonobo-activation/bonobo-activation-server Package: libbonobo2-common 2.17.92-0ubuntu1 PackageArchitecture: i386 ProcCmdline: /usr/lib/bonobo-activation/bonobo-activation-server --ac-activate --ior-output-fd=16" Debug backtrace for the crash:
+ Trace 117145
Awesome backtrace. So it crashes around here: /* do the actual merging */ client_env = ((ClientContext *) g_hash_table_lookup (od->client_contexts, client))->env; Probably g_hash_table_lookup returns NULL, for some reason, and then ->env dereferences the NULL value and crashes. I think I should just fix that code to check for NULL. I mean, once the code freeze is over.
If that's enough to fix the crash I guess we should ask for freeze break permission. Can we reproduce this easily?
Created attachment 84307 [details] [review] patch
Sorry Kjartan, hadn't seen your comment. I personally don't know how to reproduce. Unless the reporter knows a easy way to reproduce, I prefer to leave it for GNOME 2.18.1.
There is no dup for the crash, it's likely it doesn't happen often or easy to trigger, I think it can be fixed after the freeze
Ok, let's leave it until after 2.18.0 then
Please commit this to both branches.
Done.