Summary: | xorg crashes when v4l module is loaded on AMD64 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Frédéric Giquel <fgiquel> | ||||||
Component: | Driver/other | Assignee: | Xorg Project Team <xorg-team> | ||||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||||
Severity: | critical | ||||||||
Priority: | medium | CC: | ppaalanen, spam | ||||||
Version: | 7.1 (2006.05) | ||||||||
Hardware: | x86-64 (AMD64) | ||||||||
OS: | Linux (All) | ||||||||
Whiteboard: | |||||||||
i915 platform: | i915 features: | ||||||||
Attachments: |
|
Description
Frédéric Giquel
2007-03-13 04:32:02 UTC
We just got another report about this bug in the Debian BTS (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=422008). Same problem, xvinfo crashes the server when the v4l module is loaded. It was with the ATI driver instead of NV this time, still on AMD64. Since the submitter of this bug already posted an explanation of the bug and a possible fix, it'd be nice if somebody could look at it. Thanks, Brice the problem is also present in xorg 7.2 :-/ This bug is the closest match to what I experienced right now on Gentoo, using xorg-server 1.4.0.90 from Gentoo official packages. I have a tv-card which works with the bttv driver. If bttv is loaded when X starts, running xvinfo makes X segfault somewhere in dispatch(), the backtrace seems quite useless. If bttv is not loaded during X startup, xvinfo works fine. I can load bttv and xvinfo continues to work fine in the current X session. And I can watch tv with tvtime. And yes, this is amd64 architecture. Created attachment 15371 [details]
Xorg log with my crash
Created attachment 15372 [details]
Gdb session
Here's the gdb session I did today, with x11-base/xorg-server-1.4.0.90-r3 in Gentoo. It shows a NULL pointer dereference in Dispatch(), dispatch.c:459.
The crash goes away if I remove Load "v4l" from config, or unload bttv driver.
This code was completely changed in February. I suggest you try current git, and if that doesn't work, contact Mauro Carvalho Chehab <mchehab@redhat.com> |
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.