[Bug 267606] x11-drivers/xf86-video-nv: Segmentation Fault post update from 1.20.14,1 to 21.1.4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 29 Jan 2024 21:16:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267606 --- Comment #48 from Sergiy <Black_N@ukr.net> --- (In reply to Yusuf Khan from comment #44) OK !! It will probably be difficult with me... I'm sorry. I installed FreeBSD 13.2 on another drive (goodbye OpenBSD), updated it, installed a port tree, compiled xorg-server, xorg, xf86-video-nv with debug flags: root@T0sha2_db:/usr/local/libexec # file Xorg Xorg: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked , interpreter /libexec/ld-elf.so.1, for FreeBSD 13.2, FreeBSD-style, with debug_ info, not stripped root@T0sha2_db:/usr/local/lib/xorg/modules/drivers # file vesa_drv.so vesa_drv.so: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, for FreeBSD 13.2, with debug_info, not stripped root@T0sha2_db:/usr/local/lib/xorg/modules/drivers # file nv_drv.so nv_drv.so: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, for FreeBSD 13.2, with debug_info, not stripped When using vesa and startx I get a working TWM. Using the default NV has the same effects as the main drive. For information, I attach: - Xorg.0.log OpenBSD xorg-server 1.21.1.8, NV module version 2.1.22; - gdb result (driver xf86-video-nv-2.1.22 unchanged, default). ---- The next step. I wanted to apply the changes (post 42) to try to get the output from gdb. But the previous time when I modified the nv_driver.c file directly (adding 22 insertions) I did not pay attention to the contents of the ports tree directory (this is my fail): ... xf86-video-nv/files/patch-src-nv_driver.c with a patch file for exactly the same file and which I made changes to. Sorry for my ignorance and wasting your time, but the build will obviously use this patch as well. The first part concerns him @@ -911,6 +911,8 ... and apparently the changes (post 42) do not affect it. But after I changed the file nv_driver.c (post 42) -1339.6 +1339.27 ... increasing the number of lines by 21 and the second part of the port tree patch, which is about changes @@ -1543,7 +1546,11 ... will not be used where it is needed. Maybe I need to change this file patch-src-nv_driver.c Namely @@ -1543,7 +1546,11 ... on @@ -1564,7 +1567,11 ... I hope it works. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.