Date: Mon, 29 Jan 2024 21:16:15 +0000 From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 267606] x11-drivers/xf86-video-nv: Segmentation Fault post update from 1.20.14,1 to 21.1.4 Message-ID: <bug-267606-7141-Lc3jol1Q7m@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-267606-7141@https.bugs.freebsd.org/bugzilla/> References: <bug-267606-7141@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267606 --- 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=20 Xorg: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked=20 , interpreter /libexec/ld-elf.so.1, for FreeBSD 13.2, FreeBSD-style, with debug_=20 info, not stripped=20=20 root@T0sha2_db:/usr/local/lib/xorg/modules/drivers # file vesa_drv.so=20 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=20 root@T0sha2_db:/usr/local/lib/xorg/modules/drivers # file nv_drv.so=20 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 direc= tory (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. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267606-7141-Lc3jol1Q7m>