← Back to team overview

desktop-packages team mailing list archive

[Bug 795871] Re: nm-applet crashed with SIGSEGV in g_hash_table_foreach()

 

Hi,

I would like to share some informations with you related to this bug. I
am working on Ubuntu 11.04 and I reproduce the bug not directly with
the nm-applet but in a different context when  I try to link a basic QT
application with an other library (in my case the Orfeo ToolBox
library).

Basically, the declaration of a QApplication app(argc, argv) linked with
an other library provoke the same crash with SIGSEGV in
g_hash_table_foreach(). Note that if I call the program through a remote
terminal (with ssh for example) the problem does not appear.

I'm really stuck in finding from where the problem can come from. I'll
be interested if you have information on how this bug was solved in the
case of the nm-applet (I saw similar problems with other Ubuntu
applications like empathy, ekiga but I didn't find really informations
on where the problem comes from (the shared library? glib? Qt?...)

Thank you in advance.

the corresponding backtrace:

0x00007fffe76c5a00 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#1  0x00007fffe7bc9473 in g_hash_table_foreach () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffe76c7980 in g_param_spec_pool_list () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#3  0x00007fffe76bcfe4 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#4  0x00007fffe76da333 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5  0x00007fffe76dcf44 in g_type_class_ref () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6  0x00007fffe76c11be in g_object_new_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7  0x00007fffe76c1621 in g_object_new () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8  0x00007fffd720012b in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#9  0x00007fffd720732b in g_bus_get_sync () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#10 0x00007fffd749ab54 in ?? () from /usr/lib/libgconf-2.so.4
#11 0x00007fffd749adc2 in gconf_activate_server () from /usr/lib/libgconf-2.so.4
#12 0x00007fffd74a48b4 in ?? () from /usr/lib/libgconf-2.so.4
#13 0x00007fffd74a517f in ?? () from /usr/lib/libgconf-2.so.4
#14 0x00007fffd74a5674 in gconf_engine_get_default () from /usr/lib/libgconf-2.so.4
#15 0x00007fffd74ab671 in gconf_client_get_default () from /usr/lib/libgconf-2.so.4
#16 0x00007fffed9c2aa3 in ?? () from /usr/lib/libQtGui.so.4
#17 0x00007fffed6b648b in ?? () from /usr/lib/libQtGui.so.4
#18 0x00007fffed63e4f6 in QApplicationPrivate::construct(_XDisplay*, unsigned long, unsigned long) () from /usr/lib/libQtGui.so.4
#19 0x00007fffed63edd1 in QApplication::QApplication(int&, char**, int) () from /usr/lib/libQtGui.so.4
#20 0x000000000041b078 in otbWrapperQtWidgetParameterGroup (argc=1, argv=0x7fffffffddc0) at /home/grizonnetm/projets/otb/src/OTB/Testing/Code/Wrappers/Qt/otbWrapperQtWidgetParameterFactory.cxx:140
#21 0x0000000000415e2c in main (ac=2, av=0x7fffffffddb8) at /home/grizonnetm/projets/otb/src/OTB/Code/Testing/otbTestMain.h:295

Manuel

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/795871

Title:
  nm-applet crashed with SIGSEGV in g_hash_table_foreach()

Status in The "G" Library - GLib:
  Fix Released
Status in “glib2.0” package in Ubuntu:
  Invalid
Status in “network-manager” package in Ubuntu:
  Fix Released

Bug description:
  Hello
  Testing build 2011/06/11

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: network-manager-gnome 0.8.9997+git.20110529t170033.9ec4c5d-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.39-3.10-generic 2.6.39
  Uname: Linux 2.6.39-3-generic x86_64
  Architecture: amd64
  CRDA: Error: [Errno 2] No such file or directory
  Date: Sat Jun 11 09:32:27 2011
  ExecutablePath: /usr/bin/nm-applet
  Gconf:
   
  IfupdownConfig:
   auto lo
   iface lo inet loopback
  IpRoute:
   default via 192.168.1.1 dev eth0  proto static 
   169.254.0.0/16 dev eth0  scope link  metric 1000 
   192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.102  metric 1
  Keyfiles: Error: [Errno 2] No such file or directory
  LiveMediaBuild: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110610)
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
   WimaxEnabled=true
  ProcCmdline: nm-applet
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  RfKill:
   0: phy0: Wireless LAN
   	Soft blocked: no
   	Hard blocked: no
  SegvAnalysis:
   Segfault happened at: 0x7fcedac6ba3a <g_hash_table_foreach+26>:	mov    0x44(%rdi),%r13d
   PC (0x7fcedac6ba3a) ok
   source "0x44(%rdi)" (0x00000044) not located in a known VMA region (needed readable region)!
   destination "%r13d" ok
  SegvReason: reading NULL VMA
  Signal: 11
  SourcePackage: network-manager-applet
  StacktraceTop:
   g_hash_table_foreach () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
   ?? () from /usr/lib/libdbus-glib-1.so.2
   ?? () from /usr/lib/libdbus-glib-1.so.2
   ?? () from /usr/lib/libdbus-glib-1.so.2
   ?? () from /usr/lib/libdbus-glib-1.so.2
  Title: nm-applet crashed with SIGSEGV in g_hash_table_foreach()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

To manage notifications about this bug go to:
https://bugs.launchpad.net/glib/+bug/795871/+subscriptions