Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 476988 - net-misc/networkmanager-0.9.8.2-r1 - segmentation fault in ?
Summary: net-misc/networkmanager-0.9.8.2-r1 - segmentation fault in ?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-16 00:24 UTC by walt
Modified: 2013-07-16 13:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description walt 2013-07-16 00:24:45 UTC
NetworkManager was working perfectly on 14 July 2013 but on the first reboot after the NetworkManager update (on ~amd64) I see this in dmesg:

NetworkManager[1201]: segfault at 0 ip           (null) sp 00007fff20ed1a38 error 14 in NetworkManager[400000+fe000]

Naturally I re-emerged the previous version but the segfaulting still happens :(

So, what changed?  

#qlop -l | tail -n 12
Sat Jul 13 09:07:48 2013 >>> app-misc/mc-4.8.9
Sun Jul 14 05:24:52 2013 >>> sys-kernel/gentoo-sources-3.10.1
Sun Jul 14 05:25:16 2013 >>> x11-drivers/xf86-input-evdev-2.8.1
Sun Jul 14 05:27:06 2013 >>> net-misc/networkmanager-0.9.8.2-r1
Sun Jul 14 16:39:43 2013 >>> net-analyzer/wireshark-1.10.0-r1
Mon Jul 15 05:00:27 2013 >>> dev-ruby/json-1.8.0
Mon Jul 15 05:05:41 2013 >>> dev-vcs/git-1.8.3.2
Mon Jul 15 05:25:10 2013 >>> dev-libs/libgee-0.10.2
Mon Jul 15 05:26:00 2013 >>> sys-block/thin-provisioning-tools-0.2.1
Mon Jul 15 05:26:47 2013 >>> app-arch/file-roller-3.6.4
Mon Jul 15 15:21:43 2013 >>> net-misc/networkmanager-0.9.8.2-r1
Mon Jul 15 16:07:54 2013 >>> net-misc/networkmanager-0.9.8.2

Yes, gentoo-sources was updated but I'm still running 3.9.8-gentoo (not 3.10.1
until ati-drivers is updated).

I had to use the -f flag for strace to show the segfault, so NetworkManager seems to be starting another thread, which is the process that actually segfaults.

I don't know enough about gdb to tell it to follow spawned threads, so I can't give you a backtrace (yet).  Any hints welcome!

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-07-16 00:38:43 UTC
1) The gdb command you want is `thread apply all backtrace full'.
2) Please post your `emerge --info net-misc/networkmanager' output in a comment.
Comment 2 walt 2013-07-16 01:21:48 UTC
#emerge --info net-misc/networkmanager
Portage 2.1.12.13 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.17, 3.9.8-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.9.8-gentoo-x86_64-AMD_A6-3600_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.2
KiB Mem:     3534448 total,   2174808 free
KiB Swap:    4144732 total,   4144732 free
Timestamp of tree: Mon, 15 Jul 2013 11:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r1, 3.2.5-r1, 3.3.2-r1
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23, 2.23.1, 2.23.2
sys-devel/gcc:            4.6.3, 4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -floop-block -floop-strip-mine -floop-interchange"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -floop-block -floop-strip-mine -floop-interchange"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit X X509 a52 aac acl adns aio alsa amd64 amr apng aspell audio automount avahi bash-completion berkdb bittorrent bluetooth boost bufferevents bzip2 cairo cdda cdparanoia cdr cdrom cjk cli client clutter consolekit corefonts cracklib crypt css cups cxx dane dbus dconf device-mapper dhcpcd dri drm dts dv dvd dvdr ecc eds elisp emboss enca encode evo exceptions exif extensions fame fat fax ffmpeg flac fltk fontconfig fpx ftp fts3 g3dvl gallium gcj gcrypt gdbm gdu geoip geoloc gif gimp gles gles2 glib glut gmp gnome gnome-keyring gnome-online-accounts gnome-print gnutls gpg graphite gstreamer gtk gtk3 gudev h323 hpcups html http hwdb iconv icu imagemagick imap imlib introspection iplayer ipv6 java java6 javascript jbig jbootstrap jce jit jpeg jpeg2k kqemu kvm lame lcms libburn libkms libnotify libssh2 libwww live llvm-gcc logrotate lua lzma lzo mad madwifi md5sum mdev mdnsresponder-compat mime mimencode minizip mjpeg mms mmx mmxext mng modperl modplug modules mozdom mp3 mp4 mpeg mplayer mta multilib multislot nat-pmp nautilus ncurses net netpbm network networking networkmanager nfs nfsv3 nfsv4 nfsv41 nntp nocd nptl nsplugin offensive ogg ogg123 opengl openmp openntpd openrc opensslcrypt opus oss pam pam_ssh pango parted passfile passwordsave pcap pcre pdf pdfimport perl pgf pkcs11 playlist png pnm policykit pop posix postproc ppds ppp pppd pulseaudio pvr python python2 qemu qt4 quicktime quvi rar rdesktop rdp readline real regex rtsp samba scanner secure-delete security sendto session sha512 sharedmem sip smime smp smtp sockets spell sqlite sqlite3 sse sse2 ssh ssl startup-notification stream svg swat symlink sysfs syslog system-boost system-sqlite sysvipc tcpd templtes tga tgif theora threads threadsafe thunderbird tiff tk tls tor tor-hardening transcode truetype twolame type3 udev udisks unicode unlock-ntify upower usb utils uudeview uuencode vala vga video vorbis vte wav weather webgl webkit webm webp win32codecs wma wxwidgets x264 xanim xcb ft xine xml xorg xpm xrandr xterm xv xvid xvmc youtube yv12 zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca010 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APAHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file auth_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env epires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling statusunique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="pp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 gamin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tn ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTNSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHO_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx vga vesa" XTABLES_ADDONS="quota2 psd pknock lsca length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SE_PYTHON

=================================================================
                        Package Settings
=================================================================

net-misc/networkmanager-0.9.8.2 was built with the following:
USE="avahi bluetooth consolekit dhcpcd gnutls introspection ppp vala -connection-sharing -dhclient -modemmanager -nss -resolvconf -systemd -tet -wext"
Comment 3 Alex Brandt (RETIRED) gentoo-dev 2013-07-16 13:48:38 UTC
I'm seeing the same issues and the only dependency I see changed is a revbump on libnl from dev-libs/libnl-3.2.22 → dev-libs/libnl-3.2.22-r1.  Not sure if this is related or not but providing the small amount of extra information I have.
Comment 4 walt 2013-07-16 13:56:00 UTC
Today's update 0.9.8.2-r1 -> 0.9.8.2-r2 fixed the segfaulting.

Thanks for the gdb help Jeroen.  I didn't have time to use it this time, but the next bug is ready to strike any minute now ;)