GNOME Bugzilla – Bug 585887
"Publish my location" causes a crash
Last modified: 2009-06-17 17:29:18 UTC
Steps to reproduce: 1. edit 2. preferences 3. location 4. public my location = crash! Stack trace:
+ Trace 216013
Thread 1 (Thread 0x7f27a4d5e810 (LWP 777))
Other information: libgeoclue 0.11.1-3 (no -dbg is installable)
This stack trace is not helping very much. Could you try reproducing it again and include the segfault messages? Also, is there any messages printed on the console before the crash?
Here's the only thing that I see in the console (I call empathy through run.sh) (empathy:5295): GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion `instance != NULL && instance->g_class != NULL' failed ./run.sh: line 22: 5295 Segmentation fault ./install/bin/empathy
Ok, I found a place where Empathy could crash if Dbus fails to connect to the geoclue service. Is you geoclue setup working with other applications? In the mean time, I'll submit a patch to empathy.
Well, I don't know. I've just installed it. can you point me to a test I can do? (also a piece of code if you want)
If you built geoclue, there is an example folder. If not, you can have a try at http://git.gnome.org/cgit/geoclue-properties/ but it isn't installable for now.
I've found the trick: it needs the "geoclue" package (not only libgeoclue) For sure the crash was the dbus service check! Don't forget to add a dialog to explain what's happening. I've a question: how can I use geolocation? I've enabled network usage and I'm connected to MSN, what will other users see? and how can I see where are other people located?
See the Geolocation section on http://live.gnome.org/Empathy/FAQ :) As for what will the other see, there bug 584234 and 584519 will address that by giving more feedback.
Created attachment 136665 [details] [review] Fix on branch fix-geoclue-init http://git.collabora.co.uk/?p=user/pierlux/empathy.git;a=shortlog;h=refs/heads/fix-geoclue-init libempathy-gtk/empathy-location-manager.c | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-)
Looks good.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
With this patch, whenever I start empathy I get a geoclue crash. (also when I disable and re-enable location support from the preferences dialog) Here's the link with debugging information https://bugs.launchpad.net/ubuntu/+source/geoclue/+bug/388549
I am getting Not allowed here Sorry, you don't have permission to access this page. You are logged in as Pierre-Luc Beaudoin. Can you put that info somewhere really public? :)
Do you mean that you can't view launchpad pages? can you see this file? http://launchpadlibrarian.net/28033111/Stacktrace.txt anyway I suspect that it is a geoclue problem
Yes I can. It is definitively a Geoclue bug. You can fill it on bugs.freedesktop.org.