Bug#586530: emerillon: segfault on startup: g_type_instance_get_private: assertion `instance != NULL && instance->g_class != NULL' failed

2010-06-28 Thread Timo Juhani Lindfors
> ... but I think emerillon should still not crash. A wild guess led
> me towards creating the attached patch. Could you please test it
> and see if it solves the crash for you?

The patch avoids the crash. I get a window with Map, Edit, View and
Help. The window has no other contents.

If I start

/usr/lib/libgconf2-4/gconfd-2

manually then I also get "in", "out", "search results", "No" and
"Name". Shouldn't emerillon start gconfd if it is not running?

I am not running gnome, I just occasionally start GTK2 applications.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#586530: emerillon: segfault on startup: g_type_instance_get_private: assertion `instance != NULL && instance->g_class != NULL' failed

2010-06-28 Thread Andreas Henriksson
Hello Timo!

The real problem here probably has something to do with gconf

On Sun, Jun 20, 2010 at 02:22:11PM +0300, Timo Juhani Lindfors wrote:
[...]
> (Details -  1: Could not send message to GConf daemon: The name 
> org.gnome.GConf was not provided by any .service files)
[...]

... but I think emerillon should still not crash. A wild guess led
me towards creating the attached patch. Could you please test it
and see if it solves the crash for you?

--
Regards,
Andreas Henriksson
--- emerillon-0.1.1/emerillon/window.c.orig	2010-06-28 11:24:01.0 +0200
+++ emerillon-0.1.1/emerillon/window.c	2010-06-28 11:25:56.0 +0200
@@ -164,19 +164,22 @@
   client = geoclue_master_create_client (master, NULL, NULL);
   g_object_unref (master);
 
-  geoclue_master_client_set_requirements (client,
-  GEOCLUE_ACCURACY_LEVEL_COUNTRY, 0, FALSE, GEOCLUE_RESOURCE_ALL, NULL);
-  position = geoclue_master_client_create_position (client, NULL);
-  if (position)
+  if (client)
 {
-  g_object_set_data (G_OBJECT (position), "client", client);
-  geoclue_position_get_position_async (position,
-  (GeocluePositionCallback)position_changed_cb, self);
-}
-  else
-{
-  g_object_unref (client);
-  g_object_unref (position);
+  geoclue_master_client_set_requirements (client,
+  GEOCLUE_ACCURACY_LEVEL_COUNTRY, 0, FALSE, GEOCLUE_RESOURCE_ALL, NULL);
+  position = geoclue_master_client_create_position (client, NULL);
+  if (position)
+{
+  g_object_set_data (G_OBJECT (position), "client", client);
+  geoclue_position_get_position_async (position,
+  (GeocluePositionCallback)position_changed_cb, self);
+}
+  else
+{
+  g_object_unref (client);
+  g_object_unref (position);
+}
 }
 }
 


Bug#586530: emerillon: segfault on startup: g_type_instance_get_private: assertion `instance != NULL && instance->g_class != NULL' failed

2010-06-28 Thread Laurent Bigonville
tags 586530 + moreinfo
thanks

Hi,

Are you still able to reproduce this crash? Looks like DBUS or gconf
was not running properly.

Cheers

Laurent Bigonville



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#586530: emerillon: segfault on startup: g_type_instance_get_private: assertion `instance != NULL && instance->g_class != NULL' failed

2010-06-20 Thread Timo Juhani Lindfors
Package: emerillon
Version: 0.1.1-2
Severity: normal

$ emerillon

(emerillon:22630): ClutterGLX-CRITICAL **: Unable to find suitable GL visual.
GConf Error: Failed to contact configuration server; some possible causes are 
that you need to enable TCP/IP networking for ORBit, or you have stale NFS 
locks due to a system crash. See http://projects.gnome.org/gconf/ for 
information. (Details -  1: Could not send message to GConf daemon: The name 
org.gnome.GConf was not provided by any .service files)

(emerillon:22630): GLib-GObject-CRITICAL **: g_type_instance_get_private: 
assertion `instance != NULL && instance->g_class != NULL' failed
Segmentation fault (core dumped)

(gdb) bt
#0  0x762b4511 in geoclue_master_client_set_requirements () from 
/usr/lib/libgeoclue.so.0
#1  0x00408978 in ?? ()
#2  0x732ba868 in g_type_create_instance () from 
/usr/lib/libgobject-2.0.so.0
#3  0x7329e6dc in ?? () from /usr/lib/libgobject-2.0.so.0
#4  0x00407b0b in ?? ()
#5  0x7329f6e1 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#6  0x732a014d in g_object_new_valist () from 
/usr/lib/libgobject-2.0.so.0
#7  0x732a0391 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#8  0x004067ac in main ()


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-amd64-lindi2 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=fi_FI (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages emerillon depends on:
ii  gconf2  2.28.1-3 GNOME configuration database syste
ii  geoclue 0.12.0-1 Geographic information framework
ii  libatk1.0-0 1.30.0-1 The ATK accessibility toolkit
ii  libc6   2.10.2-9 Embedded GNU C Library: Shared lib
ii  libcairo2   1.8.10-4 The Cairo 2D vector graphics libra
ii  libchamplain-0.4-0  0.4.6-1  C library providing ClutterActor t
ii  libchamplain-gtk-0.4-0  0.4.6-1  A Gtk+ widget to display maps
ii  libclutter-1.0-01.0.8-1  Open GL based interactive canvas l
ii  libclutter-gtk-0.10-0   0.10.2-1 Open GL based interactive canvas l
ii  libdbus-1-3 1.2.24-1 simple interprocess messaging syst
ii  libdbus-glib-1-20.86-1   simple interprocess messaging syst
ii  libethos-1.0-0  0.2.2-1.1+b1 GObject library for application pl
ii  libethos-ui-1.0-0   0.2.2-1.1+b1 GObject library for application pl
ii  libfontconfig1  2.8.0-2.1generic font configuration library
ii  libfreetype62.3.11-1 FreeType 2 font engine, shared lib
ii  libgconf2-4 2.28.1-3 GNOME configuration database syste
ii  libgeoclue0 0.12.0-1 C API for GeoClue
ii  libgl1-mesa-glx [libgl1]7.7.1-2  A free implementation of the OpenG
ii  libglib2.0-02.24.1-1 The GLib library of C routines
ii  libgtk2.0-0 2.20.1-1 The GTK+ graphical user interface 
ii  libpango1.0-0   1.28.0-1 Layout and rendering of internatio
ii  librest-0.6-0   0.6.1-1  REST service access library
ii  libsoup2.4-12.30.1-1 an HTTP library implementation in 
ii  libx11-62:1.3.3-3X11 client-side library
ii  libxcomposite1  1:0.4.1-1X11 Composite extension library
ii  libxdamage1 1:1.1.2-1X11 damaged region extension libra
ii  libxext62:1.1.1-3X11 miscellaneous extension librar
ii  libxfixes3  1:4.0.4-2X11 miscellaneous 'fixes' extensio
ii  libxml2 2.7.7.dfsg-2 GNOME XML library

emerillon recommends no packages.

emerillon suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org