From nobody Mon Jan 29 21:16:15 2024 X-Original-To: x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TP1Ll6PwPz59Qvk for ; Mon, 29 Jan 2024 21:16:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TP1Ll5FkFz4Rpj for ; Mon, 29 Jan 2024 21:16:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706562975; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YO6+7YhuF65sFM8OdogEDHO0vrgNOj84qPS/+zFPv2s=; b=meQqQA0A7FHLMSxiKTAglaeHjebjPMJ8VWvtdXSfGYRXhiMMC0UWON6vyRgeX2FJUOm5L9 6CFEkHRQSyTCtP3PooZkMRJnzYPq8a1Q55/x7DcmN8Fbj42sQjQFnq8QWBLZe1nxTvqTTq jCM7aA/QfDOpIOmR1tgvYTztEIaQ4V4vMHHtzisJ4FVhIZDVolT1guENP9PX2jPzuiJxXj sgusv3dNq1po7DpXsadeTwbC3SyKqdcQUUHvhfVsAln8cNH6WpVpwokZTxZq/EHItr7Ig0 b9phgQmurhIBuFSO4FdBJ5yxqPniOiMT4QygBOSgE9cM/mjso4aGht7nQnDsMw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706562975; a=rsa-sha256; cv=none; b=JFm0Lm3k1iOB3rYdQPHreiHEW+D+ideiXZVWqNQpijzOT2OYou7vw8DuBJIluJv2lOk7h8 pym3SRYkjX4uQYlHIGhj8XXH5d7tOlMR+q3AhN32/tuXxFtQ2eRckTHyaRgbdFpw/SIXD/ 8zujW43GMwzHyVp4M27lKHojcfkyxSP3bPdyTOhTkbohEmg170xPwcJvWfcnR69IanK5cR 16gO5K+nIa32nHHYIk9fLjkdRl9rh3ROPDrKX18SkwaozY/q4oQS+8moH2PIACVzzxlKKY hRUclxI8ArXEFPKnDzeZJE3+Xfvu50k0FZI8J+SOqZEonfbG5Lr5kIuswXjshA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TP1Ll4KN4z16yb for ; Mon, 29 Jan 2024 21:16:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 40TLGFrP092827 for ; Mon, 29 Jan 2024 21:16:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40TLGFLL092824 for x11@FreeBSD.org; Mon, 29 Jan 2024 21:16:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Mon, 29 Jan 2024 21:16:15 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: Black_N@ukr.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267606 --- Comment #48 from Sergiy --- (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.=