Re: Xorg server segmentation fault when monitor is not connected.

Jan Beich <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>
Chung-Yeol Lee <[email protected]> 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?
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.