nm-applet crashed with SIGSEGV in gtk_icon_source_set_pixbuf()

Bug #797498 reported by Eliah Kagan
96
This bug affects 12 people
Affects Status Importance Assigned to Milestone
gtk+3.0 (Ubuntu)
Fix Released
High
Canonical Desktop Team

Bug Description

On a Lubuntu i386 system in a Lubuntu Desktop session, gnome-network-manager 0.8.9997+git.20110529t170033.9ec4c5d-0ubuntu1 crashed twice with SIGSEGV in gtk_icon_source_set_pixbuf() shortly after logging in. Since the crashes, it seems that attempts to load the applet are happening continuously--a new (blank) icon is constantly added then removed from my lxpanel (at a rate of slightly more than once per second). It looks like the whole lxpanel (not just the notification area) is redrawn each time this happens. In case it's relevant, lxpanel is at version 0.5.6-1ubuntu4.

However, this bug is not specific to LXDE. It also happened to Sam Tygier in a unity-2d session (see bug 797434) on a live CD.

The first bug report was Sam Tygier's bug 797434. Then I reported bug 797494, which was a duplicate. Then I installed some debug symbols, and this bug report has a complete stack trace. Since no significant work has been done in the original bug (bug 797434), I'm marking it (and thus also bug 797494) a duplicate of this bug.

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: network-manager-gnome 0.8.9997+git.20110529t170033.9ec4c5d-0ubuntu1
ProcVersionSignature: Ubuntu 3.0-0.1-generic 3.0.0-rc2
Uname: Linux 3.0-0-generic i686
Architecture: i386
CRDA: Error: [Errno 2] No such file or directory
CrashCounter: 1
Date: Tue Jun 14 22:29:06 2011
ExecutablePath: /usr/bin/nm-applet
Gconf:

IfupdownConfig:
 auto lo
 iface lo inet loopback
InstallationMedia: Lubuntu 11.04 "Natty Narwhal" - i386 (20101203)
IpRoute:
 default via 192.168.1.1 dev eth0 proto static
 192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.114 metric 1
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
Keyfiles: Error: [Errno 2] No such file or directory
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
 WimaxEnabled=true
ProcCmdline: nm-applet
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
RfKill: Error: [Errno 2] No such file or directory
SegvAnalysis:
 Segfault happened at: 0x2c0429 <gtk_icon_source_set_pixbuf+57>: cmp %eax,(%edx)
 PC (0x002c0429) ok
 source "%eax" ok
 destination "(%edx)" (0x00000006) not located in a known VMA region (needed writable region)!
SegvReason: writing NULL VMA
Signal: 11
SourcePackage: network-manager-applet
StacktraceTop:
 gtk_icon_source_set_pixbuf (source=0x9768cc8, pixbuf=0x96fa7b0) at /build/buildd/gtk+3.0-3.1.6/./gtk/gtkiconfactory.c:2187
 ensure_stated_icon_from_info (image=<value optimized out>, info=0x0) at /build/buildd/gtk+3.0-3.1.6/./gtk/gtkimage.c:1528
 ensure_pixbuf_for_icon_name (image=0x96fa738, state=<value optimized out>) at /build/buildd/gtk+3.0-3.1.6/./gtk/gtkimage.c:1584
 gtk_image_calc_size (image=0x96fa738) at /build/buildd/gtk+3.0-3.1.6/./gtk/gtkimage.c:1916
 gtk_image_get_preferred_height (widget=0x96fa738, minimum=0xbfa90300, natural=0xbfa90304) at /build/buildd/gtk+3.0-3.1.6/./gtk/gtkimage.c:1972
Title: nm-applet crashed with SIGSEGV in gtk_icon_source_set_pixbuf()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Eliah Kagan (degeneracypressure) wrote :
visibility: private → public
Changed in network-manager-applet (Ubuntu):
status: New → Confirmed
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report. Same crash with gnome setting daemon (bug 797575)
Moving to gtk+3.0

affects: network-manager-applet (Ubuntu) → gtk+3.0 (Ubuntu)
Changed in gtk+3.0 (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
Changed in gtk+3.0 (Ubuntu):
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
Revision history for this message
Martin Pitt (pitti) wrote :

I confirm that merely downgrading libgtk-3-0 to 3.1.4 fixes this, so it's a regression in core GTK.

Martin Pitt (pitti)
Changed in gtk+3.0 (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I confirm that:
gtk+3.0 (3.1.6-0ubuntu2) oneiric; urgency=low

  * Add 00git_image_init_variable.patch: Fix crash in
    ensure_stated_icon_from_info() due to uninitialized variable. Patch taken
    from upstream git head.

fixed this bug. I'm closing.

Changed in gtk+3.0 (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
jerrylamos (jerrylamos) wrote :

That fix is apparently not in 15 June daily build. Will try again when next daily build comes in.

Jerry

Revision history for this message
jerrylamos (jerrylamos) wrote :

Tried changing managed=false to managed=true in /etc/NetworkManager/NetworkManager.conf seemed to have no effect, still failed.

Jerry

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 797498] Re: nm-applet crashed with SIGSEGV in gtk_icon_source_set_pixbuf()

jerrylamos [2011-06-16 1:00 -0000]:
> That fix is apparently not in 15 June daily build.

Right, as it was only uploaded yesterday afternoon. It will be in
today's dailies (June 16).

Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)

Revision history for this message
jerrylamos (jerrylamos) wrote :

Hooray! Just zsync 16 June and nm applet stayed up and really connected! Acer Aspire one netbook.

Do note this is from .iso booted directly from a folder on the hard drive, persistent.

Jerry

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Glad to hear the problem is gone. Thanks for verifying Jerry.

---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
Greg Faith (gregfaith) wrote :

I can also confirm the bug fix worked and my network-indicator is working well after Oneiric updates today. Fully installed 32-bit testing version on HD. Thanks

Revision history for this message
Pierre-Olivier Megret (sorrodje) wrote :

So am I : bug fixed for my network-indicator .

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.