Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218860 - x11-base/xorg-server crashes when getting an IP/Network plugin while using Network Manager
Summary: x11-base/xorg-server crashes when getting an IP/Network plugin while using Ne...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Robert Piasek (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-22 10:13 UTC by Spider
Modified: 2012-01-29 10:02 UTC (History)
3 users (show)

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


Attachments
Xorg log file (Xorg.0.log.old,43.83 KB, text/plain)
2008-04-22 10:14 UTC, Spider
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Spider 2008-04-22 10:13:42 UTC
I can somewhat reliably reproduce a crash in Xorg when I enable PCMCIA (plug the card in) while logged into X, or hook in the tp-cable. 

After an X restart, it seems stable.

Reproducible: Sometimes

Steps to Reproduce:
1.start X via gdm, log in
2.plug in pcmcia card
3.watch NetworkManager hook up, then get a restart of X

Actual Results:  
Crash


Backtrace:
0: /usr/bin/X(xf86SigHandler+0xa1) [0x80b064d]
1: [0xffffe420]
2: /usr/bin/X(miSetShape+0x1a5) [0x81140f7]
3: /usr/bin/X [0x811d0db]
4: /usr/bin/X [0x811d254]
5: /usr/bin/X [0x812840d]
6: /usr/bin/X(Dispatch+0x1c1) [0x808a16e]
7: /usr/bin/X(main+0x574) [0x8076f4e]
8: /lib/libc.so.6(__libc_start_main+0xdc) [0xb7cd3fdc]
9: /usr/bin/X(FontFileCompleteXLFD+0x1f9) [0x80762e1]


I tried to run gdb on it, but no such luck.

wavelet:~# emerge --info
Portage 2.1.4.4 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r3 i686)
=================================================================
System uname: 2.6.24-gentoo-r3 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz
Timestamp of tree: Sun, 20 Apr 2008 10:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-Os -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage-distfiles"
FEATURES="collision-protect distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_GB.UTF-8"
MAKEOPTS="-j1"
PKGDIR="/usr/portage-packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acpi alsa apache2 avahi berkdb bzip2 cairo cdr cli cracklib crypt cups curl dbus dlloader dri dvdr eds emboss encode esd fam fbcon ffmpeg firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg libnotify libsamplerate lm_sensors mad midi mikmod mmx mmxext mono mp3 mpeg mudflap ncurses networkmanager new-login nls nptl nptlonly ogg openmp oss pam pcmcia pcre perl png ppds pppd pulseaudio python quicktime readline real reflection rtc samba sdl session spell spl sse sse2 ssl startup-notification svg tcpd theora truetype unicode vorbis win32codecs x262 x86 xcb xml xorg xv xvid xvmc zip2 zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="synaptics mouse keyboard evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="ati vesa radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Spider 2008-04-22 10:14:32 UTC
Created attachment 150576 [details]
Xorg log file

The log after a restart
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-04-22 16:07:37 UTC
Could be a HAL problem, but certainly appears to be a networkmanager problem. Doesn't look like an actual x11 problem right now. networkmanager maintainers may decide otherwise. :)

As for the reporter: Why did you explicitly mention the xorg-server version? Does X not crash when you use a different version? What if you use another version of HAL or networkmanager? In other words, does the summary need to mention xorg-server at all?
Comment 3 Spider 2008-04-22 21:56:33 UTC
I haven't tried with others, however there were other reports on suddenly disappearing X servers associated with the 1.4 and 1.4-pre releases in bugzilla, so I figured it was best to specify that it was the "current stable"  release, and not the ~x86 version that I found other reports about.

I haven't swapped around with HAL/NetworkManager at all, so I can't say if different versions would work differently.  I did however try the dbus restart (other bugreport about hal enabled xorg-servers crashing) and that does -not- bring the box down.
Comment 4 Spider 2008-04-23 07:23:10 UTC
upgraded hal+networkmanager to ~x86 versions and the crash still happens. Say, why does X crash if its NetworkManagers problem??
Comment 5 Steev Klimaszewski (RETIRED) gentoo-dev 2008-11-01 04:46:00 UTC
Does this issue still happen? I deeply apologize for missing this bug, I am not quite sure how I did but I did - I've never experienced this myself, what are your useflags on X?  and can I see your xorg.conf?
Comment 6 Steev Klimaszewski (RETIRED) gentoo-dev 2008-11-01 04:49:01 UTC
Also, when this was happening... was your hostname changing?  And was NetworkManager itself crashing too?
Comment 7 Spider 2008-11-02 07:52:13 UTC
I doubt the hostname was changing (it shouldn't)    as for current, let me dig up the machine and see what I can deal with. 

Any specific versions you want me to try with? ( The machine is more or less unused as of the time this bug appeared, simply because it turned unusable.)

Comment 8 Spider 2008-11-02 08:53:14 UTC
Verified that the hostname /Domainname do NOT change.
Comment 9 Spider 2008-11-02 09:12:12 UTC
Checked again: on console did a strace -p `pidof NetworkManager` and plugged in the card. Got activity, And it didn't crash.  X however restarted.

Comment 10 Tomáš Chvátal (RETIRED) gentoo-dev 2009-11-28 09:18:02 UTC
Please try with new xinit-1.2.0
Comment 11 Pacho Ramos gentoo-dev 2012-01-29 10:02:38 UTC
(In reply to comment #10)
> Please try with new xinit-1.2.0