From owner-freebsd-x11@freebsd.org Sat Jan 19 15:54:09 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 101B9148472C for ; Sat, 19 Jan 2019 15:54:09 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A9674877F5; Sat, 19 Jan 2019 15:54:08 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 7A3FECD0C; Sat, 19 Jan 2019 15:54:08 +0000 (UTC) From: Jan Beich To: Chung-Yeol Lee Cc: freebsd-x11@freebsd.org Subject: Re: Xorg server segmentation fault when monitor is not connected. References: Date: Sat, 19 Jan 2019 16:54:02 +0100 In-Reply-To: (Chung-Yeol Lee's message of "Fri, 18 Jan 2019 22:28:13 -0800") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: A9674877F5 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_SHORT(-0.95)[-0.954,0]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jan 2019 15:54:09 -0000 Chung-Yeol Lee writes: > Hi! > > Since I updated Xorg server from 1.18.4_10,1 -> 1.18.4_11,1, > the server does not start up when the monitor is not connected. > (I actually updated bunch of other ports at that time, including mesa-dri > etc, so it might be something else). Can you track down the exact cause? Try downgrading mesa-dri to 18.2.8 first then to 18.1.9. > I'm on 12-STABLE / AMD Radeon 7450 with radeonkms.ko. > The server works fine as soon as I connect the monitor. radeonkms from drm-fbsd12.0-kmod with xf86-video-ati? Can you try drm-fbsd11.2-kmod first then xf86-video-ati-legacy? Can you try "DRI" "2" or "AccelMethod" "EXA" in xorg.conf per radeon(4x) manpage? Can you show pciconf output to avoid ambiguity? $ pciconf -lvcb | sed -n '/vgapci/,/@pci/p' > Is this a known issue? Not enough details. The crash fingerprint is obscured by lack of symbols, so it's not possible to search if anyone reported a similar issue upstream. > > Thanks, > Chung-yeol > > * Here's backtrace from Xorg.0.log: > [ 3601.265] (EE) Backtrace: > [ 3601.268] (EE) 0: /usr/local/lib/libunwind.so.8 (?+0x423a13) > [0x800824413] > [ 3601.271] (EE) 1: /lib/libthr.so.3 (pthread_sigmask+0x544) [0x800adc7b4] > [ 3601.273] (EE) 2: /lib/libthr.so.3 (pthread_getspecific+0xe0f) > [0x800adc62f] > [ 3601.276] (EE) 3: ? (?+0xe0f) [0x7fffffffff82] To get a clue what 3rd frame contains you may need to rebuild more ports WITH_DEBUG=1 starting with xorg-server and xf86-video-ati. > [ 3601.278] (EE) 4: /lib/libc.so.7 (memcpy+0x2b) [0x800ca32a6] > [ 3601.281] (EE) 5: /usr/local/lib/dri/r600_dri.so (?+0x2b) [0x802361b1b] > [ 3601.284] (EE) 6: /usr/local/lib/dri/r600_dri.so (?+0x2b) [0x8024be15b] > [ 3601.286] (EE) 7: /usr/local/lib/dri/r600_dri.so (?+0x2b) [0x8024bdecb] > [ 3601.289] (EE) 8: /usr/local/lib/dri/r600_dri.so (?+0x2b) [0x80263b6bb] > [ 3601.291] (EE) 9: /usr/local/lib/dri/r600_dri.so (?+0x2b) [0x801ebc21b] > [ 3601.294] (EE) 10: /usr/local/lib/dri/r600_dri.so (?+0x2b) [0x802464d4b] > [ 3601.297] (EE) 11: /usr/local/lib/dri/r600_dri.so (?+0x2b) [0x8022d4afb] > [ 3601.299] (EE) 12: /usr/local/lib/dri/r600_dri.so (?+0x2b) [0x8022d0f7b] Can you build graphics/mesa-dri WITH_DEBUG=1 to get symbols in the stacktrace, not just their addresses?