From nobody Wed Jan 18 19:02:26 2023 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 4Nxw9t41p0z2sk96 for ; Wed, 18 Jan 2023 19:02:26 +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 4Nxw9t0D7Mz3rLB for ; Wed, 18 Jan 2023 19:02:26 +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=1674068546; 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=aPOa6CINzlxErdq01cd6Oq9mqil7na+SfJxqnI0mT7U=; b=VWhfBIVpcxp5MOrWreFSnFlxWNPwMr48tHy/W6xJ0NNoceH3B6jjBTEP2VwCulmXYgxv7N reRJE94mxFZuX/e9LZP0reA6kqoxLOx/GCzsbcvYsKfzyxae4ZFLl2mLnqPX3tzXNnuWcT NB1N6opfhN9rKzLbGBICCsAgjAPWyeuPej3LNwZka0ovDB0DLhHar7Iy+Dg1HWidikpaoY fPpubSs4Pt/hRGB+3Adi5nWG+M997LiceLQ1qAukiki1rR9/5SmdroYoRYa+QIUHGf//Fe 73eH/pAXYQoUGgC93eiSgML2al6YdEbWWzp5NvEVyesjCEamesB5eBEK5fNlWA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674068546; a=rsa-sha256; cv=none; b=KtBtoeEp1X08k1zrpyNZXFScYZGskrAC9c279uDpR0rqcos1Mp7GDUcefgC7D4Ayh+SM1Y gDPnpCipmREBhF/FZaVfiiBnmBaWS0eLDPE+3wEqAv3winxxtc1XzLGuPrAviPfplS1qMa KrzJ9gInTjhMMHP1iT0OSw+rRoWGvDxD9IgbkdaegzWRtRobgT33UoALQikluvUinuLHQU FZ/4UY6eCVx9OSwUKyLQjThw5M3l+17SvVcj06sTROBUn2E0RJBxy6SgZE4pTRI5JokIOw sOgusSt3I4320yhQ1DJ3BM2hmr8KlsPzOJ0tf8fkXqulrprp6Cw3gf3E2N0vyw== 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 4Nxw9s6Q6GzMRr for ; Wed, 18 Jan 2023 19:02:25 +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 30IJ2P1u001618 for ; Wed, 18 Jan 2023 19:02:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 30IJ2PVD001616 for x11@FreeBSD.org; Wed, 18 Jan 2023 19:02:25 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: Wed, 18 Jan 2023 19:02:26 +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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267606 --- Comment #24 from Sergiy --- (In reply to Gary Jennejohn from comment #23) Okay!=20 If I understand correctly, I did this on T0sha_db: /usr/local/etc/X11/xorg.conf.d/ I created files: monitor0-freq.conf Section "Monitor" Identifier "Monitor0" HorizSync 29.37-49.31 # kHz VertRefresh 56.00-59.91 # Hz EndSection and screen-resolution.conf Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 Modes "1280x800" EndSubSection EndSection The result is the same, although now in Xorg.0.log: ... [ 154.128] (II) NV(0): Monitor0: Using hsync range of 29.37-49.31 kHz [ 154.128] (II) NV(0): Monitor0: Using vrefresh range of 56.00-59.91 Hz ... and gdb Script started on Wed Jan 18 19:48:11 2023 Xorg@T0sha_db:/home/Black_N # gdb -c /home/Black_N/Xorg.core /usr/local/libexec/=20 GNU gdb (GDB) 12.1 [GDB v12.1 for FreeBSD] Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-portbld-freebsd13.1". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/local/libexec/Xorg... [New LWP 100141] [New LWP 100142] warning: Could not load shared library symbols for [vdso]. Do you need "set solib-search-path" or "set sysroot"? Core was generated by `/usr/local/libexec/Xorg :0 -auth /root/.serverauth.9= 57'. Program terminated with signal SIGABRT, Aborted. Sent by thr_kill() from pid 970 and user 0. #0 thr_kill () at thr_kill.S:4 4 thr_kill.S: No such file or directory. [Current thread is 1 (LWP 100141)] (gdb) bt full #0 thr_kill () at thr_kill.S:4 No locals. #1 0x0000000800b5cc74 in __raise (s=3Ds@entry=3D6) at /usr/src/lib/libc/gen/raise.c:52 id =3D 100141 #2 0x0000000800c0e109 in abort () at /usr/src/lib/libc/stdlib/abort.c:67 act =3D {__sigaction_u =3D {__sa_handler =3D 0x0, __sa_sigaction = =3D 0x0},=20 sa_flags =3D 4558896, sa_mask =3D {__bits =3D {4294967263, 429496= 7295,=20 4294967295, 4294967295}}} #3 0x000000000045c82c in OsAbort () at ../os/utils.c:1352 No locals. #4 0x0000000000466ea6 in AbortServer () at ../os/log.c:879 No locals. #5 0x00000000004649c7 in FatalError ( f=3D0x239f21 "Caught signal %d (%s). Server aborting\n") at ../os/log.c= :1017 beenhere =3D 1 args =3D {{gp_offset =3D 24, fp_offset =3D 48,=20 overflow_arg_area =3D 0x7fffffffdb90,=20 reg_save_area =3D 0x7fffffffda90}} args2 =3D {{gp_offset =3D 8, fp_offset =3D 48,=20 overflow_arg_area =3D 0x7fffffffdb90,=20 reg_save_area =3D 0x7fffffffda90}} #6 0x0000000000459143 in OsSigHandler (signo=3D11, sip=3D0x7fffffffe370,=20 unused=3D0x7fffffffe000) at ../os/osinit.c:156 No locals. #7 0x0000000800a9458e in handle_signal (actp=3Dactp@entry=3D0x7fffffffdf80= ,=20 sig=3Dsig@entry=3D11, info=3Dinfo@entry=3D0x7fffffffe370,=20 ucp=3Ducp@entry=3D0x7fffffffe000) at /usr/src/lib/libthr/thread/thr_sig= .c:301 uc2 =3D {uc_sigmask =3D {__bits =3D {0, 4294967295, 0, 0}}, uc_mcon= text =3D { --Type for more, q to quit, c to continue without paging--c mc_onstack =3D 0, mc_rdi =3D 0, mc_rsi =3D 34380784320, mc_rdx = =3D 140737488345056, mc_rcx =3D 206158430216, mc_r8 =3D 140737488348416, mc_r9 = =3D 140737488348176, mc_rax =3D 1024, mc_rbx =3D 0, mc_rbp =3D 34372941504, mc_= r10 =3D 0, mc_r11 =3D 0, mc_r12 =3D 0, mc_r13 =3D 140737488345136, mc_r14 =3D 43980465= 11104, mc_r15 =3D 196616, mc_trapno =3D 4294957104, mc_fs =3D 32767, mc_gs =3D 0, = mc_addr =3D 1024, mc_flags =3D 0, mc_es =3D 0, mc_ds =3D 0, mc_err =3D 34372941504, mc_= rip =3D 0, mc_cs =3D 0, mc_rflags =3D 0, mc_rsp =3D 34372093968, mc_ss =3D 0, mc_len = =3D 0, mc_fpformat =3D 0, mc_ownedfp =3D 0, mc_fpstate =3D {0, 0, 0, 0, 0, 0, -429= 4967296, 0, 0, 0, 34380784320, 34377306376, 140737488346496, 34370814698, 0, 0, 0, 0= , 0, 34380784320, 0, 140737488346544, 34372880472, 34372985456, 140737488346848, 2309997, 140737488346528, 34370785888, 34372874032, 13, 140737488346656, 34372098038, 0, 34372094608, 34372941504, 0, 34380784320, 34377306376, 140737488346704, 34370814698, 66, 140737488347040, 140737488347040, 140737488346768, 0, 34380784320, 4294958864, 140737488346784, 1, 1, 66, 34372941504, 140737488346736, 34370785888, 34372874032, 66, 140737488346896, 34372076895, 140737488347040, 66, 140737488346752, 1, 0, 34372094608}, mc_fsbase =3D 34372941504, mc_gsbase =3D 0, mc_xfpustate =3D 0, mc_xfpustat= e_len =3D 71776119061217280, mc_spare =3D {1, 0, 1631945823472715058, 0}}, uc_link = =3D 0x200, uc_stack =3D {ss_sp =3D 0xff0, ss_size =3D 4096, ss_flags =3D 128}, uc_flag= s =3D -8368, __spare__ =3D {32767, 4609518, 0, 66}} curthread =3D 0x801412000 in_sigsuspend =3D 0 cancel_enable =3D 1 cancel_point =3D 0 sigfunc =3D 0x0 err =3D cancel_async =3D #8 0x0000000800a93b3f in thr_sighandler (sig=3D11, info=3D0x7fffffffe370, _ucp=3D0x7fffffffe000) at /usr/src/lib/libthr/thread/thr_sig.c:246 act =3D {__sigaction_u =3D {__sa_handler =3D 0x459030 , __sa_sigaction =3D 0x459030 }, sa_flags =3D 64, sa_mask =3D {= __bits =3D {1024, 0, 0, 0}}} err =3D curthread =3D 0x801412000 ucp =3D usa =3D #9 No symbol table info available. #10 strcmp () at /usr/src/lib/libc/amd64/string/strcmp.S:46 No locals. #11 0x000000000049b5ad in xf86LookupMode (scrp=3D0x8014e7e00, modep=3D0x801= 553b80, clockRanges=3D0x801453450, strategy=3DLOOKUP_BEST_REFRESH) at ../hw/xfree86/common/xf86Mode.c:511 type =3D 64 p =3D 0x801553ac0 bestMode =3D 0x0 cp =3D 0x0 i =3D 0 k =3D 0 gap =3D 0 minimumGap =3D 2001 refresh =3D 2.3860490291416954e-317 bestRefresh =3D 0 found =3D 0 extraFlags =3D 0 clockIndex =3D -1 MulFactor =3D 1 DivFactor =3D 1 ModePrivFlags =3D 0 status =3D MODE_NOMODE allowDiv2 =3D 0 n =3D 5 types =3D {9, 1, 40, 32, 72, 64, 0} ntypes =3D 7 #12 0x0000000000499b13 in xf86ValidateModes (scrp=3D0x8014e7e00, availModes=3D0x8014dc0c0, modeNames=3D0x801426730, clockRanges=3D0x80145345= 0, linePitches=3D0x0, minPitch=3D256, maxPitch=3D4080, pitchInc=3D512, minHeig= ht=3D128, maxHeight=3D4096, virtualX=3D0, virtualY=3D0, apertureSize=3D267845632, strategy=3DLOOKUP_BEST_REFRESH) at ../hw/xfree86/common/xf86Mode.c:1719 repeat =3D 0 p =3D 0x801553b80 q =3D 0x801553ac0 r =3D 0x6a8 new =3D 0x801553b80 last =3D 0x801553b80 endp =3D 0x801553b88 i =3D 1 numModes =3D 0 status =3D MODE_OK linePitch =3D -1 virtX =3D 0 virtY =3D 0 newLinePitch =3D 8 newVirtX =3D 17479688 newVirtY =3D 8 modeSize =3D 30250512 validateAllDefaultModes =3D 1 userModes =3D 1 saveType =3D 32 BankFormat =3D 0x8014e7e50 cp =3D 0x0 numTimings =3D 0 hsync =3D {{hi =3D -nan(0x7fe8a0), lo =3D 4.59163468e-41}, {hi =3D 7.55337567e-39, lo =3D 1.12103877e-44}, {hi =3D 0, lo =3D 0}, {hi =3D 0, lo= =3D 0}, {hi =3D 3.58732407e-43, lo =3D 0}, {hi =3D 0, lo =3D 0}, {hi =3D 3.7926625e-38, lo = =3D 1.12103877e-44}, {hi =3D 3.77908448e-38, lo =3D 1.12103877e-44}} vrefresh =3D {{hi =3D 6.75217347e-39, lo =3D 0}, {hi =3D 3.07550261= e-39, lo =3D 0}, {hi =3D 4.64124064e-41, lo =3D 0}, {hi =3D 5.73971851e-42, lo =3D 0}, {= hi =3D -nan(0x7fea40), lo =3D 4.59163468e-41}, {hi =3D 0, lo =3D 0}, {hi =3D 5.717= 29773e-42, lo =3D 0}, {hi =3D 5.60519386e-45, lo =3D 0}} inferred_virtual =3D 0 #13 0x0000000801ce73ca in NVPreInit (pScrn=3D0x8014e7e00, flags=3D0) at nv_driver.c:1975 pNv =3D 0x801462800 from =3D X_PROBED i =3D 17449632 max_width =3D 4080 max_height =3D 4096 clockRanges =3D 0x801453450 s =3D 0x0 config_mon_rates =3D 1 #14 0x0000000000482fcd in InitOutput (pScreenInfo=3D0x546e88 , argc=3D4, argv=3D0x7fffffffea48) at ../hw/xfree86/common/xf86Init.c:478 i =3D 0 j =3D 0 k =3D 0 scr_index =3D 0 modulelist =3D 0x0 optionlist =3D 0x801426770 autoconfig =3D 0 sigio_blocked =3D 0 want_hw_access =3D 1 configured_device =3D 0x0 #15 0x00000000002f876a in dix_main (argc=3D4, argv=3D0x7fffffffea48, envp=3D0x7fffffffea70) at ../dix/main.c:190 i =3D 256 alwaysCheckForInput =3D {0, 1} #16 0x000000000050994a in main (argc=3D4, argv=3D0x7fffffffea48, envp=3D0x7fffffffea70) at ../dix/stubmain.c:34 No locals. (gdb) exit root@T0sha_db:/home/Black_N # exit Script done on Wed Jan 18 19:48:54 2023 --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=