Bug 30865 - Segfault after upgrading xorg-edgers Nouveau a couple of commits
Summary: Segfault after upgrading xorg-edgers Nouveau a couple of commits
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-14 04:18 UTC by Nigel Cunningham
Modified: 2010-10-14 14:21 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Nigel Cunningham 2010-10-14 04:18:03 UTC
After upgrading xorg-edgers to the latest release, I'm unable to use...

Old versions:
libdrm2 2.4.22+git20100929.624e58e3-0ubuntu0sarvatt~lucid
libdrm-nouveau1 2.4.22+git20100929.624e58e3-0ubuntu0sarvatt~lucid
libkms1 2.4.22+git20100929.624e58e3-0ubuntu0sarvatt~lucid
xserver-xorg-video-nouveau 1:0.0.16+git20101003.9a5142fa-0ubuntu0sarvatt~lucid

New versions:
libdrm2 2.4.22+git20101012.09b10626-0ubuntu0sarvatt~lucid
libdrm-nouveau1 2.4.22+git20101012.09b10626-0ubuntu0sarvatt~lucid
libkms1 2.4.22+git20101012.09b10626-0ubuntu0sarvatt~lucid
xserver-xorg-video-nouveau 1:0.0.16+git20101003.9a5142fa-0ubuntu0sarvatt~lucid

Xorg's error log contains

[    11.642] (II) Initializing built-in extension COMPOSITE
[    11.642] (II) Initializing built-in extension DAMAGE
[    11.733] 
Backtrace:
[    11.733] 0: /usr/bin/X (xorg_backtrace+0x3b) [0x80ad18b]
[    11.733] 1: /usr/bin/X (0x8048000+0x60685) [0x80a8685]
[    11.733] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xb785640c]
[    11.733] 3: /usr/lib/dri/nouveau_dri.so (0xb618b000+0x15e291) [0xb62e9291]
[    11.734] Segmentation fault at address 0xa0
[    11.734] 
Fatal server error:
[    11.734] Caught signal 11 (Segmentation fault). Server aborting
Comment 1 Xavier 2010-10-14 05:01:21 UTC
Invalid.

You need to upgrade xserver-xorg-video-nouveau to latest git, up to this commit : 4f42708c26fa57bac7854701a6e757958c8d0654

See steps 8 and 9 here http://nouveau.freedesktop.org/wiki/InstallNouveau if you cannot find up-to-date packages.
Comment 2 Xavier 2010-10-14 05:08:39 UTC
Btw the segfault is in nouveau_dri.so but you didn't show mesa version..
Just like the ddx, you need latest git for mesa too if you want it to work with the new libdrm API.

Also 3d is completely unsupported, developers don't look at bugs reports related to 3d. It's also recommended to not install 3d system-wide as you did.
This is all on the wiki, if only people would bother to read it : http://nouveau.freedesktop.org/wiki/GalliumHowto

So if 3d causes a segfault and you cannot fix it, you just remove the broken 3d driver, and problem is solved.
Comment 3 Nigel Cunningham 2010-10-14 14:04:04 UTC
Thanks for the reply.

Sorry for missing mesa out - I didn't notice it when I looked at what had been upgraded in the dpkg log.

I do realise 3d is unsupported. This bug report wasn't intended as a complaint, but more as a FYI. I know, too, that you can't fix bugs if you don't know they exist, and I had searched but not seen any indication that anyone knew this one exists. The Nouveau page doesn't say how do you want bugs reported. Do you just want an email sent to the list?

Regards,

Nigel

(Marking invalid, since you said it is)
Comment 4 Sven Joachim 2010-10-14 14:21:03 UTC
The proper solution would have been to bump libdrm-nouveau's soname, since not only the API but also the ABI has changed.

But I guess nouveau is still in "not released yet, only the latest git of everything is supported at all" state, and distributions which ship it anyway have to find their way around that (e.g. by changing package names when the ABI breaks).


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.