pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/55464: update xf86-video-intel to git revision to fix segfault



>Number:         55464
>Category:       pkg
>Synopsis:       update xf86-video-intel to git revision to fix segfault
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 06 09:10:00 +0000 2020
>Originator:     Thomas Batten
>Release:        pkgsrc current 06/06/2020
>Organization:
NA
>Environment:
Linux localhost 5.4.49 #1 SMP PREEMPT Thu Jul 2 11:01:26 ACST 2020 i686 GNU/Linux
>Description:
running "startx" after building and installing "modular-xorg" on an i686 machine with Intel graphics produces a segmentation fault from "/usr/pkg/bin/X"

Relevant part of the log:
(EE) 
(EE) Backtrace:
(EE) 0: /usr/pkg/bin/X (xorg_backtrace+0x43) [0x81da823]
(EE) 1: /usr/pkg/bin/X (0x8048000+0x1964a2) [0x81de4a2]
(EE) 2: linux-gate.so.1 (__kernel_rt_sigreturn+0x0) [0xb7f7dc18]
(EE) 
(EE) Segmentation fault at address 0x0
(EE) 
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
>How-To-Repeat:
0. use an i686 Linux machine with Intel graphics
1. build and install "modular-xorg"
2. run "X"
>Fix:
I modified the "xf86-video-intel" Makefile:
1. use git revision "5ca3ac1a90af177eb111a965e9b4dd8a27cc58fc" from "https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel"; (based on the Gentoo ebuild)
2. added "aclocal autoconf autoreconf automake" to "USE_TOOLS"
3. add a "pre-configure" section containing "cd ${WRKSRC} && ${SH} autogen.sh"
4. removed all patches except "patch-src_sna_sna__display.c" which had to be modified due to changed line numbers


Home | Main Index | Thread Index | Old Index