[Bug 448084] Re: gnome-panel crashed with SIGSEGV in gtk_widget_show()

2010-03-24 Thread Kalle Valo
I have investigated this a bit. Based on stack traces the crash happens
here:

void
gtk_widget_show (GtkWidget *widget)
{
  g_return_if_fail (GTK_IS_WIDGET (widget)); < line 3005

I'm assuming that the signal for this is attached here in gnome-panel
/panel-toplevel.c (line 2740):

signals [i++] = g_signal_connect_swapped (
   toplevel->priv->attach_widget, "show",
   G_CALLBACK (gtk_widget_show), toplevel);

And before the "show" signal is emitted, panel_applet_destroy() is
called from gnome-panel/applet.c. I'm guessing there's a race condition
which makes it possible to destroy PanelToplevel object and after that
send a show signal to the destroyed object.

I haven't been able to reproduce the problem myself, all tips how to do
it would help.

-- 
gnome-panel crashed with SIGSEGV in gtk_widget_show()
https://bugs.launchpad.net/bugs/448084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-panel in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 448084] Re: gnome-panel crashed with SIGSEGV in gtk_widget_show()

2010-03-26 Thread Kalle Valo
I tried to reproduce over an hour, without luck. I was able to crash
gnome-panel once with a different strack trace, it crashed in
gtk_widget_hide(). Might be related to this, though. I'll file a
separate bug report about that one.

Back to this bug. The event was emitted from applet.c line 741:

static void
panel_applet_destroy (GtkWidget  *widget,
  AppletInfo *info)
{
GList *l;

g_return_if_fail (info != NULL);

info->widget = NULL;

registered_applets = g_slist_remove (registered_applets, info);
panel_applet_signaler_remove_applet(info);   < line 741

queued_position_saves =
g_slist_remove (queued_position_saves, info);

if (info->type == PANEL_OBJECT_DRAWER) {
Drawer *drawer = info->data;

panel_applet_signaler_remove_applet() emits applet removed signal:

+   g_signal_emit(signaler, signals[APPLET_REMOVED], NULL, applet);

But as I said in comment #17, the crash seems to happen in "show" event
handler. I don't yet understand how this happens.

-- 
gnome-panel crashed with SIGSEGV in gtk_widget_show()
https://bugs.launchpad.net/bugs/448084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-panel in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 448084] Re: gnome-panel crashed with SIGSEGV in gtk_widget_show()

2010-03-26 Thread Kalle Valo
I have tried still to reproduce this, but no luck. The timing, or the
combination of events, to trigger this seems to very tricky.

-- 
gnome-panel crashed with SIGSEGV in gtk_widget_show()
https://bugs.launchpad.net/bugs/448084
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-panel in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 704387] [NEW] Network state from connman not followed

2011-01-18 Thread Kalle Valo
Public bug reported:

Binary package hint: empathy

Empathy has support for connman, but it can be only enabled during
compilation time with --with-connectivity=connman. Also nm and connman
cannot be enabled at the same time and because of this connman support
in ubuntu is disabled. Connman has a compatibility mode for network-
manager, which can be enabled with '-c' switch, but empathy uses libnm-
glib which does a lot more than just queries the network status and
hence it doesn't work with connman at all.

A better solution is to have a runtime check for connman and nm,
compared to the awkward compile time check used currently. Actually the
easiest might be to remove libnm and connman support altogether from
empathy and instead use network-manager's GetStatus() method and
StatusChanged signal. That way empathy would work with both network-
manager and connman and no recompilation is needed. For example pidgin
works just like this.

empathy 2.32.1-0ubuntu1 on maverick

** Affects: empathy (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to empathy in ubuntu.
https://bugs.launchpad.net/bugs/704387

Title:
  Network state from connman not followed

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 598780] Re: Gtk-WARNING **: Failed to load type module: (null)

2011-02-21 Thread Kalle Valo
*** This bug is a duplicate of bug 674047 ***
https://bugs.launchpad.net/bugs/674047

Marking again as a duplicate of bug 674047, which is already fixed.

** This bug has been marked a duplicate of bug 674047
   the xsession script should set the variable only if the needed file is 
installed
 * You can subscribe to bug 674047 by following this link: 
https://bugs.launchpad.net/ubuntu/+source/appmenu-gtk/+bug/674047/+subscribe

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gtk+2.0 in ubuntu.
https://bugs.launchpad.net/bugs/598780

Title:
  Gtk-WARNING **: Failed to load type module: (null)

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 590243] Re: Add "blank screen now" option

2011-02-22 Thread Kalle Valo
IIRC you can configure lock to switch off the screen.

** Also affects: indicator-session
   Importance: Undecided
   Status: New

** Changed in: gnome-power-manager (Ubuntu)
   Status: New => Triaged

** Changed in: indicator-session (Ubuntu)
   Status: New => Triaged

** Changed in: gnome-power-manager (Ubuntu)
   Importance: Undecided => Wishlist

** Changed in: gnome-power-manager (Ubuntu)
   Status: Triaged => New

** Changed in: gnome-power-manager (Ubuntu)
   Importance: Wishlist => Undecided

** Changed in: indicator-session
   Importance: Undecided => Wishlist

** Changed in: indicator-session
   Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.
https://bugs.launchpad.net/bugs/590243

Title:
  Add "blank screen now" option

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 658216] Re: Clicking "Modify meetings" in Calendar applet should open Calendar view in Evolution

2011-02-23 Thread Kalle Valo
** Changed in: indicator-applet
   Importance: Undecided => Wishlist

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evolution in ubuntu.
https://bugs.launchpad.net/bugs/658216

Title:
  Clicking "Modify meetings" in Calendar applet should open Calendar
  view in Evolution

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs