Bug 17582 - Xv crashes with new common allocator
Summary: Xv crashes with new common allocator
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-15 02:53 UTC by Daniel Vetter
Modified: 2008-09-15 06:49 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
xorg.conf (4.55 KB, text/plain)
2008-09-15 02:54 UTC, Daniel Vetter
no flags Details
Xorg.0.log from a working driver (57.58 KB, text/x-log)
2008-09-15 02:56 UTC, Daniel Vetter
no flags Details
xorg log from a working driver, the _real_ one (47.26 KB, text/plain)
2008-09-15 04:16 UTC, Daniel Vetter
no flags Details
xorg log from a crashing driver (46.98 KB, text/plain)
2008-09-15 04:16 UTC, Daniel Vetter
no flags Details

Description Daniel Vetter 2008-09-15 02:53:31 UTC
Latest xf86-video-ati master git checkout crashes X when using Xv. Afterwards X starts up normally again, so there are no persistent effects to the crash.

Card is an X1950 Pro AGP on a 4 Core Opteron amd64 Linux machine:

05:00.0 VGA compatible controller: ATI Technologies Inc RV570 [Radeon X1950 Pro] (rev 9a)
        Subsystem: PC Partner Limited Device e190
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
        Memory at a0000000 (32-bit, prefetchable) [size=256M]
        I/O ports at c000 [size=256]
        Memory at ff5f0000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at ff5c0000 [disabled] [size=128K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] AGP version 3.0
        Capabilities: [80] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-

05:00.1 Display controller: ATI Technologies Inc RV570 [Radeon X1950 Pro] (secondary) (rev 9a)
        Subsystem: PC Partner Limited Device e191
        Flags: bus master, 66MHz, medium devsel, latency 64
        Memory at ff5e0000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [50] Power Management version 2

The whole xorg stack (xorg, drivers, mesa, drm) is more or less latest git master.

With git bisect I've tracked down the regression. It's introduced in the following commit:

7daba77ded1c718e93ae8c372a39a6e85228d513 is first bad commit
commit 7daba77ded1c718e93ae8c372a39a6e85228d513
Author: Alex Deucher <alexdeucher@gmail.com>
Date:   Fri Jul 11 02:02:38 2008 -0400

    Convert randr, Xv to a common allocator
Comment 1 Daniel Vetter 2008-09-15 02:54:09 UTC
Created attachment 18875 [details]
xorg.conf
Comment 2 Daniel Vetter 2008-09-15 02:56:09 UTC
Created attachment 18876 [details]
Xorg.0.log from a working driver

This is from xf86-video-ati-6.9.0-89-g610fe1a the last working rev.
Comment 3 Daniel Vetter 2008-09-15 03:09:50 UTC
(In reply to comment #2)
> Created an attachment (id=18876) [details]
> Xorg.0.log from a working driver
> 
> This is from xf86-video-ati-6.9.0-89-g610fe1a the last working rev.

Sorry, this was the wrong logfile. I'll post the right ones shortly.
Comment 4 Daniel Vetter 2008-09-15 04:16:13 UTC
Created attachment 18877 [details]
xorg log from a working driver, the _real_ one

git-rev: xf86-video-ati-6.9.0-89-g610fe1a
Comment 5 Daniel Vetter 2008-09-15 04:16:54 UTC
Created attachment 18878 [details]
xorg log from a crashing driver

git-rev: xf86-video-ati-6.9.0-90-g7daba77
Comment 6 Alex Deucher 2008-09-15 06:49:31 UTC
You need to re-run autogen.sh because new files were added and they won't be compiled (leading to missing symbols) if the Makefile isn't updated.


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.