From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 68085] New: Xorg crash in do_winsys_init Date: Wed, 14 Aug 2013 01:25:45 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0999852371==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 31FB5E77E3 for ; Tue, 13 Aug 2013 18:25:45 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0999852371== Content-Type: multipart/alternative; boundary="1376443545.5b7cB0.27945"; charset="us-ascii" --1376443545.5b7cB0.27945 Date: Wed, 14 Aug 2013 01:25:45 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=68085 Priority: medium Bug ID: 68085 Assignee: dri-devel@lists.freedesktop.org Summary: Xorg crash in do_winsys_init Severity: normal Classification: Unclassified OS: All Reporter: luto@mit.edu Hardware: Other Status: NEW Version: git Component: Drivers/DRI/Radeon Product: Mesa Created attachment 84033 --> https://bugs.freedesktop.org/attachment.cgi?id=84033&action=edit Relevant bits of dmesg My box has mgag200 primary and radeon (HD7750) secondary. Xorg crashes on startup in do_winsys_init, which is passed fd = -1. The crash is because drmGetVersion returns NULL. 'rmmod radeon' allows X to start (but without the radeon device). This is Fedora 19, fully up to date. The install disk has the same problem. I'm not sure where fd is supposed to be set to something real, so this bug might be targeting the wrong thing. (gdb) bt full [10/139] #0 do_winsys_init (ws=0x2ff7f20) at radeon_drm_winsys.c:212 gem_info = {gart_size = 0, vram_size = 0, vram_visible = 0} retval = version = #1 radeon_drm_winsys_create (fd=-1) at radeon_drm_winsys.c:617 ws = 0x2ff7f20 #2 0x00007fc2dd8fd359 in create_screen (fd=) at target.c:11 radeon = screen = #3 0x00007fc2ddbc5c32 in dri2_init_screen (sPriv=0x2ff7e00) at dri2.c:888 configs = screen = 0x2ff7e90 pscreen = throttle_ret = 0x0 #4 0x00007fc2dae2e2dd in driCreateNewScreen (scrn=0, extensions=0x7fc2df941b50 , driver_configs=0x2f76700, data=0x2f76660) at ../../../../src/mesa/drivers/dri/common/drisw_util.c:70 emptyExtensionList = {0x0} psp = 0x2ff7e00 #5 0x00007fc2df713b91 in __glXDRIscreenProbe (pScreen=0x2f473b0) at glxdriswrast.c:458 driverName = 0x7fc2df72e2a6 "swrast" screen = 0x2f76660 #6 0x00007fc2df71315a in GlxExtensionInit () at glxext.c:355 glxScreen = extEntry = pScreen = 0x2f473b0 i = 0 p = 0x7fc2df941b20 <__glXDRISWRastProvider> stack = glx_provided = 0 #7 0x00000000004ba1a1 in InitExtensions (argc=argc@entry=1, argv=argv@entry=0x7fff9f7860a8) at ../../../mi/miinitext.c:337 i = ext = #8 0x00000000004262e0 in main (argc=1, argv=0x7fff9f7860a8, envp=) at main.c:208 i = alwaysCheckForInput = {0, 1} -- You are receiving this mail because: You are the assignee for the bug. --1376443545.5b7cB0.27945 Date: Wed, 14 Aug 2013 01:25:45 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 68085
Assignee dri-devel@lists.freedesktop.org
Summary Xorg crash in do_winsys_init
Severity normal
Classification Unclassified
OS All
Reporter luto@mit.edu
Hardware Other
Status NEW
Version git
Component Drivers/DRI/Radeon
Product Mesa

Created attachment 84033 [details]
Relevant bits of dmesg

My box has mgag200 primary and radeon (HD7750) secondary.  Xorg crashes on
startup in do_winsys_init, which is passed fd = -1.  The crash is because
drmGetVersion returns NULL.  'rmmod radeon' allows X to start (but without the
radeon device).

This is Fedora 19, fully up to date.  The install disk has the same problem.

I'm not sure where fd is supposed to be set to something real, so this bug
might be targeting the wrong thing.

(gdb) bt full                                                                  
                          [10/139]
#0  do_winsys_init (ws=0x2ff7f20) at radeon_drm_winsys.c:212
        gem_info = {gart_size = 0, vram_size = 0, vram_visible = 0}
        retval = <optimized out>
        version = <optimized out>
#1  radeon_drm_winsys_create (fd=-1) at radeon_drm_winsys.c:617
        ws = 0x2ff7f20
#2  0x00007fc2dd8fd359 in create_screen (fd=<optimized out>) at target.c:11
        radeon = <optimized out>
        screen = <optimized out>
#3  0x00007fc2ddbc5c32 in dri2_init_screen (sPriv=0x2ff7e00) at dri2.c:888
        configs = <optimized out>
        screen = 0x2ff7e90
        pscreen = <optimized out>
        throttle_ret = 0x0
#4  0x00007fc2dae2e2dd in driCreateNewScreen (scrn=0, extensions=0x7fc2df941b50
<loader_extensions>, 
    driver_configs=0x2f76700, data=0x2f76660) at
../../../../src/mesa/drivers/dri/common/drisw_util.c:70
        emptyExtensionList = {0x0}
        psp = 0x2ff7e00
#5  0x00007fc2df713b91 in __glXDRIscreenProbe (pScreen=0x2f473b0) at
glxdriswrast.c:458
        driverName = 0x7fc2df72e2a6 "swrast"
        screen = 0x2f76660
#6  0x00007fc2df71315a in GlxExtensionInit () at glxext.c:355
        glxScreen = <optimized out>
        extEntry = <optimized out>
        pScreen = 0x2f473b0
        i = 0
        p = 0x7fc2df941b20 <__glXDRISWRastProvider>
        stack = <optimized out>
        glx_provided = 0
#7  0x00000000004ba1a1 in InitExtensions (argc=argc@entry=1,
argv=argv@entry=0x7fff9f7860a8)
    at ../../../mi/miinitext.c:337
        i = <optimized out>
        ext = <optimized out>
#8  0x00000000004262e0 in main (argc=1, argv=0x7fff9f7860a8, envp=<optimized
out>) at main.c:208
        i = <optimized out>
        alwaysCheckForInput = {0, 1}


You are receiving this mail because:
  • You are the assignee for the bug.
--1376443545.5b7cB0.27945-- --===============0999852371== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0999852371==--