[karmic] Xorg (and anything GLX) crashes on startup

Bug #429003 reported by Pauli Virtanen
532
This bug affects 84 people
Affects Status Importance Assigned to Milestone
eglibc (Ubuntu)
Fix Released
High
Matthias Klose
Karmic
Fix Released
High
Matthias Klose
nvidia-graphics-drivers-180 (Ubuntu)
Invalid
High
Unassigned
Karmic
Invalid
High
Unassigned

Bug Description

As of after updates at 2009-09-13 ca. 16:00, Xorg and anything using GLX (eg. glxinfo) crashes on startup.
The only thing that seems to have been changed then is the upgrade of libc6 to 2.10.1-0ubuntu11.

Log of crashing Xorg run is attached. The corresponding gdb backtrace is:
$ gdb /usr/bin/Xorg CoreDump
...
(gdb) bt
#0 0x278da3c0 in ?? ()
#1 0x00289d8d in *__GI___backtrace (array=0xbfdab960, size=32) at ../sysdeps/i386/backtrace.c:121
#2 0x08133d1b in xorg_backtrace () at ../../os/backtrace.c:39
#3 0x080c7b95 in xf86SigHandler (signo=11) at ../../../../hw/xfree86/common/xf86Events.c:387
#4 <signal handler called>
#5 *__GI_____strtol_l_internal (nptr=0xbfdac02d "001 GLX", endptr=0xbfdac028, base=10, group=0, loc=0x0) at strtol_l.c:246
#6 0x001d6667 in *__GI_strtol (nptr=0xbfdac02d "001 GLX", endptr=0xbfdac028, base=10) at strtol.c:110
#7 0x0807355e in RegisterExtensionNames (extEntry=0x8387690) at ../../dix/registry.c:168
#8 0x0809e33a in AddExtension (name=0x635ebc "GLX", NumEvents=17, NumErrors=12, MainProc=0x6135f0, SwappedMainProc=0, CloseDownProc=0x613430,
    MinorOpcodeProc=0x809da10 <StandardMinorOpcode>) at ../../dix/extension.c:145
#9 0x006132f5 in ?? () from /usr/lib/xorg/modules/extensions//libglx.so
#10 0x00635ebc in ?? () from /usr/lib/xorg/modules/extensions//libglx.so
#11 0x00000011 in ?? ()
#12 0x0000000c in ?? ()
#13 0x006135f0 in ?? () from /usr/lib/xorg/modules/extensions//libglx.so
#14 0x00613560 in ?? () from /usr/lib/xorg/modules/extensions//libglx.so
#15 0x00613430 in ?? () from /usr/lib/xorg/modules/extensions//libglx.so
#16 0x0809da10 in ?? () at ../../dix/extension.c:219
#17 0x080ec7c5 in InitExtensions (argc=4, argv=0xbfdac2d4) at ../../../../mi/miinitext.c:551
#18 0x080722b8 in main (argc=4, argv=0xbfdac2d4, envp=0xbfdac2e8) at ../../dix/main.c:319

Glxinfo backtrace looks like this:
$ unset DISPLAY
$ gdb glxinfo
...
(gdb) run
Starting program: /usr/bin/glxinfo

Program received signal SIGSEGV, Segmentation fault.
*__GI_____strtol_l_internal (nptr=0xbffff57a "\t26782\n", endptr=0x0, base=0, group=0, loc=0x0) at strtol_l.c:246
246 strtol_l.c: No such file or directory.
 in strtol_l.c
(gdb) bt
#0 *__GI_____strtol_l_internal (nptr=0xbffff57a "\t26828\n", endptr=0x0, base=0, group=0, loc=0x0) at strtol_l.c:246
#1 0x0045b6b6 in *__GI___strtol_internal (nptr=0xbffff57a "\t26828\n", endptr=0x0, base=0, group=0) at strtol.c:99
#2 0x006bac15 in ?? () from /usr/lib/libGL.so.1
#3 0xbffff57a in ?? ()
#4 0x00000000 in ?? ()

Note that it crashes at a very early stage, not probably even contacting X server yet (since DISPLAY is unset).

Packages:

ii libc6 2.10.1-0ubuntu11 GNU C Library: Shared libraries
ii libc6-dbg 2.10.1-0ubuntu11 GNU C Library: detached debugging symbols
ii libc6-dev 2.10.1-0ubuntu11 GNU C Library: Development Libraries and Hea
ii libc6-i686 2.10.1-0ubuntu11 GNU C Library: Shared libraries [i686 optimi
ii libgl1-mesa-glx 7.6.0~git20090817.7c422387-0ubuntu3 A free implementation of the OpenGL API -- G
ii mesa-utils 7.6.0~git20090817.7c422387-0ubuntu3 Miscellaneous Mesa GL utilities
ii mesa-utils-dbgsym 7.6.0~git20090817.7c422387-0ubuntu3 debug symbols for package mesa-utils
ii nvidia-185-kernel-source 185.18.36-0ubuntu2 NVIDIA binary kernel module source
ii nvidia-185-libvdpau 185.18.36-0ubuntu2 Video Decode and Presentation API for Unix
ii nvidia-glx-185 185.18.36-0ubuntu2 NVIDIA binary Xorg driver
ii nvidia-settings 180.25-0ubuntu1 Tool of configuring the NVIDIA graphics driv
ii rss-glx 0.9.0-2ubuntu3 Really Slick Screensavers GLX Port
ii xorg-docs-core 1:1.4-5 Core documentation for the X.org X Window Sy
ii xserver-xorg-core 2:1.6.3-1ubuntu6 Xorg X server - core server
ii xserver-xorg-core-dbg 2:1.6.3-1ubuntu6 Xorg - the X.Org X server (debugging symbols

Revision history for this message
Pauli Virtanen (pauli-virtanen) wrote :
Revision history for this message
Pauli Virtanen (pauli-virtanen) wrote :
Revision history for this message
Pauli Virtanen (pauli-virtanen) wrote :

Switching to the "nv" driver, and uninstalling nvidia-glx-185 makes glxinfo and Xorg not crash any more, so it seems this problem is localized to the non-free drivers.

Daniel Hahler (blueyed)
Changed in nvidia-graphics-drivers-180 (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Pauli Virtanen (pauli-virtanen) wrote :

Also, as expected, downgrading libc6 and libc6-i686 to 2.10.1-0ubuntu9 made glxinfo not crash when nvidia-glx-185 is installed. Upgrading the two packages to 2.10.1-0ubuntu11 made the crash reappear, and removing nvidia-glx-185 to disappear again. So, this is some kind of mismatch between the new libc packages and Nvidia's drivers.

Revision history for this message
3vi1 (launchpad-net-eternaldusk) wrote :

Pauli's observations match with my own: I noticed the problem right after upgrading the libc6 packages. taking them back to the ubuntu9 versions made the issue disappear.

Revision history for this message
Gary Butters (gbutters) wrote :

downgrading libc6 and libc6-i686 to 2.10.1-0ubuntu9 also fixed the problem for me.

Revision history for this message
Nick B. (futurepilot) wrote :

This also affects nvidia-glx-96. glxinfo crashes, compiz can't be started, X gets stuck in a continuous crashing loop on bootup.

adam (ajudd4u)
Changed in eglibc (Ubuntu):
status: New → Confirmed
Revision history for this message
Matthew Brooks (mjbrooks) wrote :

If you're stuck with a black screen on boot because of this and can't seem to CTRL_ALT+F1 press ALT+PRINTSCREEN+R to release the keyboard from the Xserver. You can then hit CTRL+ALT+F1 to get a TTY

If you just want to get around the issue you can use the NV driver by editing xorg.conf

sudo nano /etc/X11/xorg.conf

Then edit the part that reads:

Section "Device"
Driver "nvidia"

to:

Section "Device"
Driver "nv"

Save the file and then reboot (or in Kubuntu /etc/init.d/kdm restart or in Ubuntu /etc/init.d/gdm restart). That should get your desktop up and running, minus any extra video effects requiring compositing

At least some people reported that that works, however, although I could see the KDM login screen, X would crash when I tried getting in, so I had to remove nvidia altogether. Again at the terminal (and assuming you are using v185):

sudo apt-get purge nvidia-glx-185 nvidia-185-kernel-source

and then after a /etc/init.d/kdm restart I was good to go

For those interested in downgrading the troublesome packages temporarily so they can keep using compositing, but aren't sure how:

If you've been on Karmic for a bit, you probably already have the packages needed in /var/cache/apt/archives/

sudo dpkg -i --force-downgrade /var/cache/apt/archives/libc6_2.10.1-0ubuntu9_i386.deb
sudo dpkg -i --force-downgrade /var/cache/apt/archives/libc6-i686_2.10.1-0ubuntu9_i386.deb

If not you can grab them from http://archive.ubuntulinux.org/ubuntu/pool/main/e/eglibc/

I also had the dev package installed, so I needed to downgrade that due to dependencies:

sudo dpkg -i --force-downgrade /var/cache/apt/archives/libc6-dev_2.10.1-0ubuntu9_i386.deb

Keep in mind, that unless you pin these they will be updated back to the broken ones if you apply an update (and it will be reported as there being an update available as soon as you do this), so either pin them or wait for this bug to be reported as resolved before doing another update.

Lastly, I heard a couple of people say that manually installing the NVidia driver from NVidia's website fixed their troubles, however I can't confirm this personally and it would really only be a last resort solution for an end user anyways. So since the point of Alpha 5 is to work out the bugs, going this route means you aren't at all interested in helping to fix the issue or identify others down the road and really shouldn't be on Karmic in the first place... let alone complaining about things getting broken in an "ALPHA DEVELOPMENT" release.

Revision history for this message
Alberto Milone (albertomilone) wrote :

Please don't install the NVidia driver from NVidia's website. Downgrading libc6 is sufficient.

Changed in eglibc (Ubuntu):
importance: Undecided → High
Steve Langasek (vorlon)
Changed in eglibc (Ubuntu Karmic):
assignee: nobody → Matthias Klose (doko)
Revision history for this message
Matthew Brooks (mjbrooks) wrote :

Sorry Alberto, I hope I wasn't giving the impression that I was recommending the driver from NVidia's website. I was just putting the information out there since some people were already mentioning it. In fact, I was trying to frame it as best I could as a "you probably don't want to do this, but...."

Revision history for this message
Daemonk (1-daemonk-gmail-com) wrote :

Hi, I am having this. My problem with the nv driver is that I cannot get my dual screens to work properly. Only the restricted driver works as it should. Thanks for the instructions on the downgrading.

Revision history for this message
Lane Lester (llester) wrote :

The site http://archive.ubuntulinux.org/ubuntu/pool/main/e/eglibc/ only has ubuntu11 files, not ubuntu9. I went ahead and tried them after switching back to "nv" in xorg.conf. But I got the black screen again.

Revision history for this message
Loïc Martin (loic-martin3) wrote :
Revision history for this message
Loïc Martin (loic-martin3) wrote :

Just for those that need the proprietary drivers back urgently ;)

Revision history for this message
Marco da Silva (igama) wrote :
Revision history for this message
Michael Favia (michaelfavia) wrote :

Issue and workaround confirmed locally. Cause and solution unknown.

Revision history for this message
Alberto Milone (albertomilone) wrote :

You can simply go here: https://launchpad.net/ubuntu/+source/eglibc/2.10.1-0ubuntu8

Get to the "Builds" section and select the architecture (e.g. karmic i386) that you're using.

Revision history for this message
juancarlospaco (juancarlospaco) wrote :

This also affects nvidia Beta (190.32, 190.18) and Old drivers (96.x 170.x)

This is the reason why nVidia drivers need to be open source.

Revision history for this message
bazookatooth (wesley-hall) wrote : RE: [Bug 429003] Re: [karmic] Xorg (and anything GLX) crashes on startup
Download full text (5.0 KiB)

No, this is the reason that Synaptic needs to have a rollback feature.

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
juancarlospaco
Sent: Monday, September 14, 2009 10:16 AM
To: Hall, Wesley
Subject: [Bug 429003] Re: [karmic] Xorg (and anything GLX) crashes on
startup

This also affects nvidia Beta (190.32, 190.18) and Old drivers (96.x
170.x)

This is the reason why nVidia drivers need to be open source.

--
[karmic] Xorg (and anything GLX) crashes on startup
https://bugs.launchpad.net/bugs/429003
You received this bug notification because you are a direct subscriber
of the bug.

Status in "eglibc" package in Ubuntu: Confirmed Status in
"nvidia-graphics-drivers-180" package in Ubuntu: Triaged Status in
eglibc in Ubuntu Karmic: Confirmed Status in nvidia-graphics-drivers-180
in Ubuntu Karmic: Triaged

Bug description:
As of after updates at 2009-09-13 ca. 16:00, Xorg and anything using GLX
(eg. glxinfo) crashes on startup.
The only thing that seems to have been changed then is the upgrade of
libc6 to 2.10.1-0ubuntu11.

Log of crashing Xorg run is attached. The corresponding gdb backtrace
is:
$ gdb /usr/bin/Xorg CoreDump
...
(gdb) bt
#0 0x278da3c0 in ?? ()
#1 0x00289d8d in *__GI___backtrace (array=0xbfdab960, size=32) at
../sysdeps/i386/backtrace.c:121
#2 0x08133d1b in xorg_backtrace () at ../../os/backtrace.c:39
#3 0x080c7b95 in xf86SigHandler (signo=11) at
../../../../hw/xfree86/common/xf86Events.c:387
#4 <signal handler called>
#5 *__GI_____strtol_l_internal (nptr=0xbfdac02d "001 GLX",
endptr=0xbfdac028, base=10, group=0, loc=0x0) at strtol_l.c:246
#6 0x001d6667 in *__GI_strtol (nptr=0xbfdac02d "001 GLX",
endptr=0xbfdac028, base=10) at strtol.c:110
#7 0x0807355e in RegisterExtensionNames (extEntry=0x8387690) at
../../dix/registry.c:168
#8 0x0809e33a in AddExtension (name=0x635ebc "GLX", NumEvents=17,
NumErrors=12, MainProc=0x6135f0, SwappedMainProc=0,
CloseDownProc=0x613430,
    MinorOpcodeProc=0x809da10 <StandardMinorOpcode>) at
../../dix/extension.c:145
#9 0x006132f5 in ?? () from /usr/lib/xorg/modules/extensions//libglx.so
#10 0x00635ebc in ?? () from /usr/lib/xorg/modules/extensions//libglx.so
#11 0x00000011 in ?? ()
#12 0x0000000c in ?? ()
#13 0x006135f0 in ?? () from /usr/lib/xorg/modules/extensions//libglx.so
#14 0x00613560 in ?? () from /usr/lib/xorg/modules/extensions//libglx.so
#15 0x00613430 in ?? () from /usr/lib/xorg/modules/extensions//libglx.so
#16 0x0809da10 in ?? () at ../../dix/extension.c:219
#17 0x080ec7c5 in InitExtensions (argc=4, argv=0xbfdac2d4) at
../../../../mi/miinitext.c:551
#18 0x080722b8 in main (argc=4, argv=0xbfdac2d4, envp=0xbfdac2e8) at
../../dix/main.c:319

Glxinfo backtrace looks like this:
$ unset DISPLAY
$ gdb glxinfo
...
(gdb) run
Starting program: /usr/bin/glxinfo

Program received signal SIGSEGV, Segmentation fault.
*__GI_____strtol_l_internal (nptr=0xbffff57a "\t26782\n", endptr=0x0,
base=0, group=0, loc=0x0) at strtol_l.c:246
246 strtol_l.c: No such file or directory.
 in strtol_l.c
(gdb) bt
#0 *__GI_____strtol_l_internal (nptr=0xbffff57a "\t26828\n",
endptr=0x0, base=0, group=0, loc=0x0) at strtol_l.c:246
#1 0x0045b6b6 in *__GI__...

Read more...

Revision history for this message
Lane Lester (llester) wrote :

Thanks for all the tips and links, guys. I downgraded the two non-dev packages and now the 185 driver is doing its thing.

Synaptic sure wants to put those newer libs back; is there a way to block that?

Revision history for this message
3vi1 (launchpad-net-eternaldusk) wrote :

There definitely needs to be a rollback feature, but not one specific to synaptic (it's not even installed by default in Kubuntu, no?).

It should probably be an option from the recovery menu: "roll back packages since [time|last-successful-boot]".

This probably won't happen much to non-alpha/beta ("average") users, but would be a nice feature just in case someone hoses their production system with a 3rd party package.

Oh well, hopefully the Ubuntu gurus are working out the problems and we either get new libc6 or nvidia-glx-* packages soon. Until then I'm just pinning the libc6 packages to ubuntu9.

Revision history for this message
Lane Lester (llester) wrote :

I guess my question, "...is there a way to block that?" should have been, "How do I pin the older libraries?" I did a search and found this:
Edit /etc/apt/preferences with something like this:
   1. Package: ruby
   2. Pin: release a=hardy
   3. Pin-Priority: 900

Is that what needs to be done? If so, is this what goes in the lines?
   1. Package: eglibc
   2. Pin: release a=jaunty
   3. Pin-Priority: 900
Or something else?

Revision history for this message
Loïc Martin (loic-martin3) wrote :

System>Administration>Synaptic Package Manager

Look for the package you pant lo lock, select it, then Package>Lock Version

Revision history for this message
Lane Lester (llester) wrote :

Thanks, that's much easier!

Synaptic said I had broken packages and wanted to remove libc6-dev (11), nvidia-185-kernel-source, and nvidia-glx-185. Since I'm using the 185 driver, I think I'll leave things alone.

Revision history for this message
3vi1 (launchpad-net-eternaldusk) wrote :

Locking them in Synaptic will only effect upgrades done through Synaptic. Pinning the versions will prevent any of the utilities from seeing the updates.

After you backlevel the following packages to the 9 release, create a new file called '/etc/apt/preferences' which contains everything between the following dotted lines:
-------------------------------------------------------

Package: libc6
Pin: release
Pin-Priority: 999

Package: libc6-dev
Pin: release
Pin-Priority: 999

Package: libc6-dev-i386
Pin: release
Pin-Priority: 999

Package: libc6-i386
Pin: release
Pin-Priority: 999

-----------------------------------------

When a fix for the issue is released, simply delete or rename /etc/apt/preferences.

Revision history for this message
Vincent DAVY (vincentdavy) wrote :

I confirm that downgrading to to the previous version of libc6 and libc6-i686 worked fine for me.
hope the fix will come quickly

Revision history for this message
Hans van den Bogert (hbogert) wrote :

I've been pulling hairs the whole day of frustation. Even installed the vanilla nvidia driver from their website. Well that didn't work.
Thank god I found this bugreport.
many kudo's for well explained downgrade/workaround

Revision history for this message
Matthias Klose (doko) wrote :

I have put some test packages at

  deb http://people.canonical.com/~doko/tmp/eglibc/test1 ./
  deb http://people.canonical.com/~doko/tmp/eglibc/test2 ./
  deb http://people.canonical.com/~doko/tmp/eglibc/test3 ./

'tseliot' on irc did confirm this behaviour with the test1 packages as well, but I didn't get any feedback on the test2 and test3 packages. Can't test this myself, no nvidia hardware available.

Revision history for this message
Niklas M (niklas-mattisson) wrote :

Downgrading libc6 solved my problems with getting into X also.

Revision history for this message
Neil Woolford (neil-neilwoolford) wrote :

Me too with the older nvidia 96 drivers.

Thanks very much to mjbrooks for the downgrade libc6xxx tip which has restored function for me.

Revision history for this message
John Yates (andyfranyates) wrote :

I tried the "test2" packages from #28 above and they work like a charm with the
"NVIDIA-Linux-x86-173.14.20-pkg1.run" from Nvidia site.
Harware here is Nvidia FX-5900.
I am running Karmic with kernel 2.6.31-10-generic.

Revision history for this message
Nick B. (futurepilot) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Matthias Klose wrote:
> I have put some test packages at
>
> deb http://people.canonical.com/~doko/tmp/eglibc/test1 ./
> deb http://people.canonical.com/~doko/tmp/eglibc/test2 ./
> deb http://people.canonical.com/~doko/tmp/eglibc/test3 ./
>
> 'tseliot' on irc did confirm this behaviour with the test1 packages as
> well, but I didn't get any feedback on the test2 and test3 packages.
> Can't test this myself, no nvidia hardware available.
>
test2 and test3 have the same problem. X fails to start and gets
caught in a crashing loop.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJKrqypAAoJEIltSrFpUGteakUIAJcIRhEU84cU94Jum9mTQsMc
+KR2DYUfzOUPnkmFvB3thH2Rvmt+x5YGuhSlm2/OqBJph8aMeoaaYZ6d5gIJDBBt
zcnHEIwSBKVLipDPeyoLrkVmhI97ond8Qmp50/mrt/zharqNQHzY+pb7/Wp4c417
WA3Ajmj1mNUUKMc3DiFqFABvuHDO6Nbm7B1admawrvXLWrrHiUFqtshzX3YKNb0M
ApoQLcGKB2SbWO9B3y9aAZYTTLCoKo4dis6lcNJ7kBZTszeMLTjY41pkgysZOUhO
ZeA8IC5IBUDc4+4+Ekv8/k4Nz8u6+bDBzuoQ9YUxuXVugyWrhbloeyDkYxPqIX0=
=h54N
-----END PGP SIGNATURE-----

Revision history for this message
Christian Mangold (neversfelde) wrote :

test3 packages are not working for me, same problem.

Revision history for this message
Loïc Martin (loic-martin3) wrote :

test2 packages not working with Ubuntu's 185 nvidia drivers.

I also noticed that after installing the test2 packages and before rebooting, glxinfo and glxgears both segfault.

Revision history for this message
Neil Woolford (neil-neilwoolford) wrote :

Sorry to say that the test3 packages didn't work here either, sorry...

Revision history for this message
Fahim Abdun-Nur (fahim-a) wrote :

Thanks mjbrooks for the downgrade libc6 instructions...

Revision history for this message
Reuben (reub2000) wrote :

This also seems to affect KDE/QT programs. KDE would not start when using the nv driver, and trying launch amarok from fluxbox resulted in a segfault. After downgrading glibc to ubuntu9, all of the issues with QT apps have gone away.

Revision history for this message
Pauli Virtanen (pauli-virtanen) wrote :

@Matthias Klose:

I think it is well possible to test this without any Nvidia hardware: you probably can just do

    $ dpkg-deb -x nvidia-glx-185_185.18.36-0ubuntu2_i386.deb xxx
    $ LD_LIBRARY_PATH=$PWD/xxx/usr/lib glxinfo

and observe the crash -- it occurs on shared library load, very likely before Nvidia's GL library even tries to access the HW. Consider also:

    $ cat test.c
    int main() { return 0; }
    $ gcc -o test test.c -lGL
    $ LD_LIBRARY_PATH=$PWD/xxx/usr/lib ./test
    Segmentation fault (core dumped)

It crashes before reaching main(). Also, something strange is going on here:

    $ LD_DEBUG=all LD_LIBRARY_PATH=$PWD/xxx/usr/lib ./test
    [clip]
    6922: symbol=pthread_key_create; lookup in file=/usr/lib/libXdmcp.so.6 [0]
    6922: ./test: error: symbol lookup error: undefined symbol: pthread_key_create (fatal)
    Segmentation fault (core dumped)

I don't know (as of now) how to debug the .init section code of a shared library, so I'll have to stop here.

Revision history for this message
Steve Langasek (vorlon) wrote :

The latest eglibc upload is believed to fix this bug. Changelog:

eglibc (2.10.1-0ubuntu12) karmic; urgency=low

  [ Steve Langasek ]
  * Restore missing depends/conflicts/replaces handling for findutils and
    belocs-locales-bin, lost in the latest merge.
  * Move ldconfig trigger handling to libc-bin postinst, since that's where
    ldconfig and the trigger are actually located.
  * Drop debian/local/etc_init.d from the source, which is no longer shipped
    in the package having been dropped in Debian
  * debian/rules.d/debhelper.mk: revert breakage from Debian experimental;
    pulling in file substitutions from script.in has to happen before
    substituting other tokens, since script.in/nohwcap.sh contains other
    tokens that have to be replaced. LP: #427288.

  [ Matthias Klose ]
  * Don't apply hppa patches, don't apply
    any/local-linuxthreads-kill_other.diff.

Please reopen if you still see problems after upgrading.

Changed in eglibc (Ubuntu Karmic):
status: Confirmed → Fix Released
Changed in nvidia-graphics-drivers-180 (Ubuntu Karmic):
status: Triaged → Invalid
Revision history for this message
Dan Andreșan (danyer) wrote :

Updated, rebooted, fix confirmed!

Thanks Steve, Matthias and all who commented/subscribed to this bug.

fmr (fmrbastien)
Changed in eglibc (Ubuntu Karmic):
status: Fix Released → Fix Committed
status: Fix Committed → Fix Released
Revision history for this message
Neil Woolford (neil-neilwoolford) wrote :

Updated, rebooted, fix works fine here using the 96 series (legacy) nvidia drivers. Thanks to all for workarounds and fixes.

Revision history for this message
aftertaf (david-wooffindin) wrote :

with -185 driver working ok now too.
libc version-12 is good for me too :)
thanks all

Revision history for this message
Eric Casteleijn (thisfred) wrote :

Upgraded my laptop just now (after downgrading the libc6 packages yesterday which worked) and xorg no longer crashes on startup, but after logging in, I get an empty desktop. Not sure if that's related to this bug or if I should open a new one.

Revision history for this message
Brian Curtis (bcurtiswx) wrote :

Eric,

What do you mean by empty desktop? Is there icons but no taskbars? no icons or taskbars? no desktop image?

I had a blank taskbar, but all I needed to do was click where I knew something was and it reappeared.

Try that, if not then its probably a different bug and should be reported separately

Revision history for this message
Christian Mangold (neversfelde) wrote :

I can confirm that latest packages fixed this problem.

Revision history for this message
Timothy Pearson (kb9vqf) wrote :

Confirmed fixed here!

Revision history for this message
Eric Casteleijn (thisfred) wrote :

Brian:

No icons, no taskbars, desktop background is there. When I click somewhere the taskbars seem to appear very briefly and then disappear again, so I guess something's crashing. Will investigate more, and file a new bug, if it's not already there.

Revision history for this message
SRElysian (srelysian) wrote : Re: [Bug 429003] Re: [karmic] Xorg (and anything GLX) crashes on startup
Download full text (5.4 KiB)

Confirmed fixed here on my end as well, prior to that I had the package
versions locked in synaptic.

On Tue, Sep 15, 2009 at 10:42 AM, Eric Casteleijn <
<email address hidden>> wrote:

> Brian:
>
> No icons, no taskbars, desktop background is there. When I click
> somewhere the taskbars seem to appear very briefly and then disappear
> again, so I guess something's crashing. Will investigate more, and file
> a new bug, if it's not already there.
>
> --
> [karmic] Xorg (and anything GLX) crashes on startup
> https://bugs.launchpad.net/bugs/429003
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “eglibc” package in Ubuntu: Fix Released
> Status in “nvidia-graphics-drivers-180” package in Ubuntu: Invalid
> Status in eglibc in Ubuntu Karmic: Fix Released
> Status in nvidia-graphics-drivers-180 in Ubuntu Karmic: Invalid
>
> Bug description:
> As of after updates at 2009-09-13 ca. 16:00, Xorg and anything using GLX
> (eg. glxinfo) crashes on startup.
> The only thing that seems to have been changed then is the upgrade of libc6
> to 2.10.1-0ubuntu11.
>
> Log of crashing Xorg run is attached. The corresponding gdb backtrace is:
> $ gdb /usr/bin/Xorg CoreDump
> ...
> (gdb) bt
> #0 0x278da3c0 in ?? ()
> #1 0x00289d8d in *__GI___backtrace (array=0xbfdab960, size=32) at
> ../sysdeps/i386/backtrace.c:121
> #2 0x08133d1b in xorg_backtrace () at ../../os/backtrace.c:39
> #3 0x080c7b95 in xf86SigHandler (signo=11) at
> ../../../../hw/xfree86/common/xf86Events.c:387
> #4 <signal handler called>
> #5 *__GI_____strtol_l_internal (nptr=0xbfdac02d "001 GLX",
> endptr=0xbfdac028, base=10, group=0, loc=0x0) at strtol_l.c:246
> #6 0x001d6667 in *__GI_strtol (nptr=0xbfdac02d "001 GLX",
> endptr=0xbfdac028, base=10) at strtol.c:110
> #7 0x0807355e in RegisterExtensionNames (extEntry=0x8387690) at
> ../../dix/registry.c:168
> #8 0x0809e33a in AddExtension (name=0x635ebc "GLX", NumEvents=17,
> NumErrors=12, MainProc=0x6135f0, SwappedMainProc=0, CloseDownProc=0x613430,
> MinorOpcodeProc=0x809da10 <StandardMinorOpcode>) at
> ../../dix/extension.c:145
> #9 0x006132f5 in ?? () from /usr/lib/xorg/modules/extensions//libglx.so
> #10 0x00635ebc in ?? () from /usr/lib/xorg/modules/extensions//libglx.so
> #11 0x00000011 in ?? ()
> #12 0x0000000c in ?? ()
> #13 0x006135f0 in ?? () from /usr/lib/xorg/modules/extensions//libglx.so
> #14 0x00613560 in ?? () from /usr/lib/xorg/modules/extensions//libglx.so
> #15 0x00613430 in ?? () from /usr/lib/xorg/modules/extensions//libglx.so
> #16 0x0809da10 in ?? () at ../../dix/extension.c:219
> #17 0x080ec7c5 in InitExtensions (argc=4, argv=0xbfdac2d4) at
> ../../../../mi/miinitext.c:551
> #18 0x080722b8 in main (argc=4, argv=0xbfdac2d4, envp=0xbfdac2e8) at
> ../../dix/main.c:319
>
> Glxinfo backtrace looks like this:
> $ unset DISPLAY
> $ gdb glxinfo
> ...
> (gdb) run
> Starting program: /usr/bin/glxinfo
>
> Program received signal SIGSEGV, Segmentation fault.
> *__GI_____strtol_l_internal (nptr=0xbffff57a "\t26782\n", endptr=0x0,
> base=0, group=0, loc=0x0) at strtol_l.c:246
> 246 strtol_l.c: No such file or directory.
> in strtol_l.c
> (gdb) bt
> #0 *__GI__...

Read more...

Revision history for this message
KeenEars (fl-blade) wrote :

Thanks, fix helped me too with nvidia-glx-185. Just installed last updates.

Revision history for this message
Vernz (vernon-rowe) wrote :
Download full text (5.2 KiB)

Confirmed also. Problem has been fixed.

Thanks for the good work.

On Wed, Sep 16, 2009 at 12:20 AM, KeenEars <email address hidden> wrote:

> Thanks, fix helped me too with nvidia-glx-185. Just installed last
> updates.
>
> --
> [karmic] Xorg (and anything GLX) crashes on startup
> https://bugs.launchpad.net/bugs/429003
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in “eglibc” package in Ubuntu: Fix Released
> Status in “nvidia-graphics-drivers-180” package in Ubuntu: Invalid
> Status in eglibc in Ubuntu Karmic: Fix Released
> Status in nvidia-graphics-drivers-180 in Ubuntu Karmic: Invalid
>
> Bug description:
> As of after updates at 2009-09-13 ca. 16:00, Xorg and anything using GLX
> (eg. glxinfo) crashes on startup.
> The only thing that seems to have been changed then is the upgrade of libc6
> to 2.10.1-0ubuntu11.
>
> Log of crashing Xorg run is attached. The corresponding gdb backtrace is:
> $ gdb /usr/bin/Xorg CoreDump
> ...
> (gdb) bt
> #0 0x278da3c0 in ?? ()
> #1 0x00289d8d in *__GI___backtrace (array=0xbfdab960, size=32) at
> ../sysdeps/i386/backtrace.c:121
> #2 0x08133d1b in xorg_backtrace () at ../../os/backtrace.c:39
> #3 0x080c7b95 in xf86SigHandler (signo=11) at
> ../../../../hw/xfree86/common/xf86Events.c:387
> #4 <signal handler called>
> #5 *__GI_____strtol_l_internal (nptr=0xbfdac02d "001 GLX",
> endptr=0xbfdac028, base=10, group=0, loc=0x0) at strtol_l.c:246
> #6 0x001d6667 in *__GI_strtol (nptr=0xbfdac02d "001 GLX",
> endptr=0xbfdac028, base=10) at strtol.c:110
> #7 0x0807355e in RegisterExtensionNames (extEntry=0x8387690) at
> ../../dix/registry.c:168
> #8 0x0809e33a in AddExtension (name=0x635ebc "GLX", NumEvents=17,
> NumErrors=12, MainProc=0x6135f0, SwappedMainProc=0, CloseDownProc=0x613430,
> MinorOpcodeProc=0x809da10 <StandardMinorOpcode>) at
> ../../dix/extension.c:145
> #9 0x006132f5 in ?? () from /usr/lib/xorg/modules/extensions//libglx.so
> #10 0x00635ebc in ?? () from /usr/lib/xorg/modules/extensions//libglx.so
> #11 0x00000011 in ?? ()
> #12 0x0000000c in ?? ()
> #13 0x006135f0 in ?? () from /usr/lib/xorg/modules/extensions//libglx.so
> #14 0x00613560 in ?? () from /usr/lib/xorg/modules/extensions//libglx.so
> #15 0x00613430 in ?? () from /usr/lib/xorg/modules/extensions//libglx.so
> #16 0x0809da10 in ?? () at ../../dix/extension.c:219
> #17 0x080ec7c5 in InitExtensions (argc=4, argv=0xbfdac2d4) at
> ../../../../mi/miinitext.c:551
> #18 0x080722b8 in main (argc=4, argv=0xbfdac2d4, envp=0xbfdac2e8) at
> ../../dix/main.c:319
>
> Glxinfo backtrace looks like this:
> $ unset DISPLAY
> $ gdb glxinfo
> ...
> (gdb) run
> Starting program: /usr/bin/glxinfo
>
> Program received signal SIGSEGV, Segmentation fault.
> *__GI_____strtol_l_internal (nptr=0xbffff57a "\t26782\n", endptr=0x0,
> base=0, group=0, loc=0x0) at strtol_l.c:246
> 246 strtol_l.c: No such file or directory.
> in strtol_l.c
> (gdb) bt
> #0 *__GI_____strtol_l_internal (nptr=0xbffff57a "\t26828\n", endptr=0x0,
> base=0, group=0, loc=0x0) at strtol_l.c:246
> #1 0x0045b6b6 in *__GI___strtol_internal (nptr=0xbffff57a "\t26828\n",
> endptr=0x0, base=0, group=0) at strtol.c:99
...

Read more...

Revision history for this message
Sven (brettschneider-sven) wrote :

The fix is working also for me!

Thanks, it's working perfect again!

Revision history for this message
srikumar (srikumar108) wrote :

I just installed Karmic beta and I have the same problem. nvidia v. 185.18 is unusable, flickering screen, random garbage and finally lockup. Please reopen the bug report

Changed in eglibc (Ubuntu Karmic):
status: Fix Released → Incomplete
Revision history for this message
Pauli Virtanen (pauli-virtanen) wrote :

@srikumar:

That doesn't sound like it's the same bug. For instance, I see this bug any more.

There can be more than one cause for why X would crash on startup, and this one has most likely been fixed.
Please file a separate bug report, thanks!

Changed in eglibc (Ubuntu Karmic):
status: Incomplete → Fix Released
Revision history for this message
Johannes (johannes-paradise) wrote :

Brave as I am, after a release upgrade from 9.04 to 9.10 am experiencing the exact same as post #53 even after downgrade of libc6 as suggested earlier in this thread. Using 'Trident Microsystems XGI Volari XP5 (rev 02) on pci 01:00.0

It IS an x-driver issue. I can say that much. Other unusual things happened like some messed up log files in /var/log and the .viminfo of the root account. Also the Xorg.0.log contained total garbage on occasion.

All happening on an ECS 532 notebook with transmeta TM8600. Everything, including wireless, worked fine under Kubuntu 9.04(jaunty). Any hints are much appreciated. Any way to revert to 9.04 short of a re-install?

What's a good way to go about to trace that bugger?

Cheers

Johannes

Revision history for this message
Reuben (reub2000) wrote :

Sounds like you've stumbled onto a new issue. The original issue was in the C libraries, and was fixed.

Also take a look at Xorg.0.log.old is Xorg.0.log is garbage.

Revision history for this message
Pablo Marchant (pamarca) wrote :

@Johannes

This bug is closed, and your bug is different, so you don't have to comment in this one. You should open a new bug (or search if anyone else has the same issue and posted another bug to avoid duplicates), and keep all the discussion there. Only if you think this bug isn't really solved, or there's a regression that makes this bug reappear you should add comments here.

Revision history for this message
Jack Deslippe (jdeslip) wrote :

I am pretty sure this bug (or something related) has been reborn in recent days. I have a up to date Karmic computer and after "installing" the 185 driver in "hardware drivers" the system boots to a black screen. I.e. X doesn't start. This both with a 8400 card and 9400 card.

Revision history for this message
Pablo Marchant (pamarca) wrote :

@Jack, there are millions of reasons why X might not start. The one that produced the bug in this case related to an update of libc6 that caused a problem, that was fixed in a later version. This bug affected all hardware that used the nvidia driver version 185. As I am using this driver in an up to date karmic, I am mostly sure this bug hasn't regressed. You should look if your bug has been reported by someone else, and if it hasn't, then report one yourself. Remember you should follow this guidelines in doing so:

https://wiki.ubuntu.com/X/Reporting

Revision history for this message
Carey Underwood (cwillu) wrote :

Updated today, and X broke. I then reverted to the libc6 packages linked above, and things started working again.

Changed in eglibc (Ubuntu Karmic):
status: Fix Released → Confirmed
Revision history for this message
Steve Langasek (vorlon) wrote :

This bug is resolved. File a new bug for problems you're seeing, this bug is unrelated.

Changed in eglibc (Ubuntu Karmic):
status: Confirmed → Fix Released
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.