Bug 15188 - Segfault on startup with 7.3 + xf86-video-ati HEAD
Summary: Segfault on startup with 7.3 + xf86-video-ati HEAD
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.3 (2007.09)
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-24 05:12 UTC by martin f. krafft
Modified: 2018-06-12 18:43 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
xorg.conf (5.33 KB, text/plain)
2008-03-24 05:12 UTC, martin f. krafft
no flags Details
log file (66.75 KB, text/plain)
2008-03-24 05:12 UTC, martin f. krafft
no flags Details
correct log file (65.50 KB, text/plain)
2008-03-24 05:22 UTC, martin f. krafft
no flags Details

Description martin f. krafft 2008-03-24 05:12:02 UTC
Created attachment 15423 [details]
xorg.conf

My Xorg server segfaults on start when I use Debian sid's 7.3 packages
(1:7.3+10) together with the 7.4 ATI driver from Git (cd77ec1). I wouldn't be
surprised if that's the cause, since I am kinda asking for trouble, but I have
been asked to submit this report anyway.
Comment 1 martin f. krafft 2008-03-24 05:12:27 UTC
Created attachment 15424 [details]
log file
Comment 2 martin f. krafft 2008-03-24 05:19:52 UTC
Here's the backtrace with stderr output:


X.Org X Server 1.4.0.90
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.1~git20080131-2)
Current Operating System: Linux piper 2.6.24-1-amd64 #1 SMP Mon Feb 11 13:47:43 UTC 2008 x86_64
Build Date: 14 March 2008  03:21:16PM
 
  Before reporting problems, check http://wiki.x.org
  to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
  (++) from command line, (!!) notice, (II) informational,
  (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar 24 13:18:59 2008
(==) Using config file: "/etc/X11/xorg.conf"
[New Thread 0x2ad6cadeb2c0 (LWP 11183)]
[tcsetpgrp failed in terminal_inferior: Operation not permitted]
(WW) RADEON: No matching Device section for instance (BusID PCI:0:12:1) found
(WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1) found
(II) Module "ddc" already built-in
(II) Module "i2c" already built-in
NTSC PAL 
finished output detect: 0
finished output detect: 1
finished output detect: 2
finished all detect
before xf86InitialConfiguration
in RADEONProbeOutputModes
after xf86InitialConfiguration
(II) Module "ramdac" already built-in
(II) Module "ddc" already built-in
(II) Module "i2c" already built-in
NTSC PAL 
finished output detect: 0
finished all detect
before xf86InitialConfiguration
in RADEONProbeOutputModes
after xf86InitialConfiguration
(II) Module "ramdac" already built-in
(II) Module "ddc" already built-in
(II) Module "i2c" already built-in
NTSC PAL 
finished output detect: 0
finished all detect
before xf86InitialConfiguration
in RADEONProbeOutputModes
after xf86InitialConfiguration
(II) Module "ramdac" already built-in
Entering TV Save
Save TV timing tables
saveTimingTables: reading timing tables
TV Save done
disable montype: 3
(EE) RADEON(0): [dri] DRIScreenInit failed.  Disabling DRI.
disable montype: 1
disable montype: 3
disable montype: 5
disable montype: 3
init common
init crtc1
init pll1
freq: 108000000
best_freq: 108000000
best_feedback_div: 96
best_ref_div: 12
best_post_div: 2
restore common
restore crtc1
restore pll1
finished PLL1
restore FP
enable montype: 3
disable montype: 1
disable montype: 5
disable montype: 3

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2ad6cadeb2c0 (LWP 11183)]
RRCrtcSetRotations (crtc=0x0, rotations=63) at ../../randr/rrcrtc.c:108
108     ../../randr/rrcrtc.c: No such file or directory.
  in ../../randr/rrcrtc.c
(gdb) bt
#0  RRCrtcSetRotations (crtc=0x0, rotations=63) at ../../randr/rrcrtc.c:108
#1  0x00000000004b23a4 in xf86RandR12SetRotations (
    pScreen=<value optimized out>, rotations=63)
    at ../../../../hw/xfree86/modes/xf86RandR12.c:545
#2  0x00000000004adfb3 in xf86CrtcScreenInit (screen=0x8461d0)
    at ../../../../hw/xfree86/modes/xf86Crtc.c:680
#3  0x00002ad6cc0ba603 in RADEONScreenInit (scrnIndex=0, pScreen=0x0, 
    argc=<value optimized out>, argv=<value optimized out>)
    at radeon_driver.c:3470
#4  0x0000000000436148 in AddScreen (
    pfnInit=0x2ad6cc0b8c70 <RADEONScreenInit>, argc=1, argv=0x7fffe1b75e58)
    at ../../dix/main.c:769
#5  0x0000000000468306 in InitOutput (pScreenInfo=0x7e6d00, argc=1, 
    argv=0x7fffe1b75e58) at ../../../../hw/xfree86/common/xf86Init.c:850
#6  0x00000000004368ff in main (argc=1, argv=0x7fffe1b75e58, 
    envp=0x7fffe1b75e68) at ../../dix/main.c:369
Comment 3 martin f. krafft 2008-03-24 05:22:05 UTC
Comment on attachment 15424 [details]
log file

wrong log file
Comment 4 martin f. krafft 2008-03-24 05:22:40 UTC
Created attachment 15425 [details]
correct log file
Comment 5 martin f. krafft 2008-03-24 05:24:03 UTC
Also:

24 11:36 < jcristau> #0  RRCrtcSetRotations (crtc=0x0, rotations=63) at ../../randr/rrcrtc.c:108
24 11:36 < jcristau> hmm
24 11:37 < jcristau> that function does: 'crtc->rotations = rotations;'
24 11:37 < jcristau> so, err, "boom" :)
Comment 6 Simon C. Ion 2008-12-03 02:47:19 UTC
This sounds exactly like the issue that I'm having.  I have different versions of the server and xf86-video-ati package, though.

More information is here:
https://bugs.gentoo.org/show_bug.cgi?id=249156
Attached to that bug are a GDB backtrace, Xorg.log, and stderr+stdout output from a couple of failed startup attempts.

Xorg server reports a version of 1.3.0
Gentoo calls the installed xf86-video-ati package version 6.8.0-r1
Comment 7 Adam Jackson 2018-06-12 18:43:00 UTC
Mass closure: This bug has been untouched for more than six years, and is not obviously still valid. Please file a new report if you continue to experience issues with a current server.


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.