[Bug 851058] Re: xchat-gnome crashed with SIGSEGV in g_hash_table_foreach()

2011-10-26 Thread Bug Watch Updater
** Changed in: xchat-gnome
   Status: New = Invalid

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

Title:
  xchat-gnome crashed with SIGSEGV in g_hash_table_foreach()

To manage notifications about this bug go to:
https://bugs.launchpad.net/xchat-gnome/+bug/851058/+subscriptions

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


[Bug 851058] Re: xchat-gnome crashed with SIGSEGV in g_hash_table_foreach()

2011-09-28 Thread Bug Watch Updater
** Changed in: xchat-gnome
   Status: Unknown = New

** Changed in: xchat-gnome
   Importance: Unknown = Critical

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

Title:
  xchat-gnome crashed with SIGSEGV in g_hash_table_foreach()

To manage notifications about this bug go to:
https://bugs.launchpad.net/xchat-gnome/+bug/851058/+subscriptions

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


[Bug 851058] Re: xchat-gnome crashed with SIGSEGV in g_hash_table_foreach()

2011-09-25 Thread Launchpad Bug Tracker
This bug was fixed in the package xchat-gnome -
1:0.30.0~git20100421.29cc76-1ubuntu8

---
xchat-gnome (1:0.30.0~git20100421.29cc76-1ubuntu8) oneiric; urgency=low

  * debian/patches/117-fix-net-monitor-segfault.patch: fix segfault in
the net monitor plugin. (LP: #851058)
  * debian/patches/118-fix-net-monitor-reconnect.patch: correctly reconnect
after suspend and resume. (LP: #855853)
 -- Marc Deslauriers marc.deslauri...@ubuntu.com   Sat, 24 Sep 2011 12:31:58 
-0400

** Changed in: xchat-gnome (Ubuntu)
   Status: New = Fix Released

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

Title:
  xchat-gnome crashed with SIGSEGV in g_hash_table_foreach()

To manage notifications about this bug go to:
https://bugs.launchpad.net/xchat-gnome/+bug/851058/+subscriptions

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


[Bug 851058] Re: xchat-gnome crashed with SIGSEGV in g_hash_table_foreach()

2011-09-25 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/xchat-gnome

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

Title:
  xchat-gnome crashed with SIGSEGV in g_hash_table_foreach()

To manage notifications about this bug go to:
https://bugs.launchpad.net/xchat-gnome/+bug/851058/+subscriptions

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


[Bug 851058] Re: xchat-gnome crashed with SIGSEGV in g_hash_table_foreach()

2011-09-24 Thread Marc Deslauriers
** Bug watch added: GNOME Bug Tracker #660015
   https://bugzilla.gnome.org/show_bug.cgi?id=660015

** Also affects: xchat-gnome via
   https://bugzilla.gnome.org/show_bug.cgi?id=660015
   Importance: Unknown
   Status: Unknown

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

Title:
  xchat-gnome crashed with SIGSEGV in g_hash_table_foreach()

To manage notifications about this bug go to:
https://bugs.launchpad.net/xchat-gnome/+bug/851058/+subscriptions

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


[Bug 851058] Re: xchat-gnome crashed with SIGSEGV in g_hash_table_foreach()

2011-09-24 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-desktop/xchat-gnome/ubuntu

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

Title:
  xchat-gnome crashed with SIGSEGV in g_hash_table_foreach()

To manage notifications about this bug go to:
https://bugs.launchpad.net/xchat-gnome/+bug/851058/+subscriptions

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


[Bug 851058] Re: xchat-gnome crashed with SIGSEGV in g_hash_table_foreach()

2011-09-21 Thread Marc Deslauriers
Thanks for the patch. I'll upload it to xchat-gnome once the archive is
unfrozen.

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

Title:
  xchat-gnome crashed with SIGSEGV in g_hash_table_foreach()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xchat-gnome/+bug/851058/+subscriptions

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


[Bug 851058] Re: xchat-gnome crashed with SIGSEGV in g_hash_table_foreach()

2011-09-20 Thread Li Li
Update: backtrace in gdb


(gdb) bt
#0  0x00b6f61c in g_hash_table_foreach ()
   from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0x019be08c in set_network_mode (status=optimized out)
at net-monitor.c:179
#2  0x019be48f in determine_network_status () at net-monitor.c:215
#3  filter_func (connection=0x8316e40, message=0x8305800, data=0x0)
at net-monitor.c:238
#4  0x00fd6441 in dbus_connection_dispatch ()
   from /lib/i386-linux-gnu/libdbus-1.so.3
#5  0x0026e95d in ?? () from /usr/lib/i386-linux-gnu/libdbus-glib-1.so.2
#6  0x00b812ef in g_main_context_dispatch ()
   from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x00b81a20 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x00b8202b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x00442faf in gtk_main () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#10 0x080651b8 in fe_main () at fe-gnome.c:220
#11 0x0805e2e5 in main (argc=1, argv=0xb394) at xchat.c:1066
(gdb) 


** Visibility changed to: Public

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

Title:
  xchat-gnome crashed with SIGSEGV in g_hash_table_foreach()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xchat-gnome/+bug/851058/+subscriptions

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


[Bug 851058] Re: xchat-gnome crashed with SIGSEGV in g_hash_table_foreach()

2011-09-20 Thread Li Li
For some unknown reason, the plugin detect NETWORK_UP only without
NETWORK_DOWN, with networks being NULL, causing the segfault. Should
protect this by checking the value of networks before calling
g_hash_table_foreach.

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

Title:
  xchat-gnome crashed with SIGSEGV in g_hash_table_foreach()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xchat-gnome/+bug/851058/+subscriptions

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


[Bug 851058] Re: xchat-gnome crashed with SIGSEGV in g_hash_table_foreach()

2011-09-20 Thread Li Li
The following small patch fixes the segfault when network status is
changing.

--- xchat-gnome-0.30.0~git20100421.29cc76.orig/plugins/net-monitor/net-monitor.c
+++ xchat-gnome-0.30.0~git20100421.29cc76/plugins/net-monitor/net-monitor.c
@@ -176,7 +176,8 @@ set_network_mode (NetworkStatus status)
 */
res_init();
 
-   g_hash_table_foreach (networks, (GHFunc) connect_to_network, 
NULL);
+   if(networks)
+   g_hash_table_foreach (networks, (GHFunc) 
connect_to_network, NULL);
}
 }

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

Title:
  xchat-gnome crashed with SIGSEGV in g_hash_table_foreach()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xchat-gnome/+bug/851058/+subscriptions

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