[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: Wed, 18 Jan 2023 19:02:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267606 --- Comment #24 from Sergiy <Black_N@ukr.net> --- (In reply to Gary Jennejohn from comment #23) Okay! 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/ 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 <http://gnu.org/licenses/gpl.html> 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: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. 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.957'. 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=s@entry=6) at /usr/src/lib/libc/gen/raise.c:52 id = 100141 #2 0x0000000800c0e109 in abort () at /usr/src/lib/libc/stdlib/abort.c:67 act = {__sigaction_u = {__sa_handler = 0x0, __sa_sigaction = 0x0}, sa_flags = 4558896, sa_mask = {__bits = {4294967263, 4294967295, 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=0x239f21 "Caught signal %d (%s). Server aborting\n") at ../os/log.c:1017 beenhere = 1 args = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fffffffdb90, reg_save_area = 0x7fffffffda90}} args2 = {{gp_offset = 8, fp_offset = 48, overflow_arg_area = 0x7fffffffdb90, reg_save_area = 0x7fffffffda90}} #6 0x0000000000459143 in OsSigHandler (signo=11, sip=0x7fffffffe370, unused=0x7fffffffe000) at ../os/osinit.c:156 No locals. #7 0x0000000800a9458e in handle_signal (actp=actp@entry=0x7fffffffdf80, sig=sig@entry=11, info=info@entry=0x7fffffffe370, ucp=ucp@entry=0x7fffffffe000) at /usr/src/lib/libthr/thread/thr_sig.c:301 uc2 = {uc_sigmask = {__bits = {0, 4294967295, 0, 0}}, uc_mcontext = { --Type <RET> for more, q to quit, c to continue without paging--c mc_onstack = 0, mc_rdi = 0, mc_rsi = 34380784320, mc_rdx = 140737488345056, mc_rcx = 206158430216, mc_r8 = 140737488348416, mc_r9 = 140737488348176, mc_rax = 1024, mc_rbx = 0, mc_rbp = 34372941504, mc_r10 = 0, mc_r11 = 0, mc_r12 = 0, mc_r13 = 140737488345136, mc_r14 = 4398046511104, mc_r15 = 196616, mc_trapno = 4294957104, mc_fs = 32767, mc_gs = 0, mc_addr = 1024, mc_flags = 0, mc_es = 0, mc_ds = 0, mc_err = 34372941504, mc_rip = 0, mc_cs = 0, mc_rflags = 0, mc_rsp = 34372093968, mc_ss = 0, mc_len = 0, mc_fpformat = 0, mc_ownedfp = 0, mc_fpstate = {0, 0, 0, 0, 0, 0, -4294967296, 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 = 34372941504, mc_gsbase = 0, mc_xfpustate = 0, mc_xfpustate_len = 71776119061217280, mc_spare = {1, 0, 1631945823472715058, 0}}, uc_link = 0x200, uc_stack = {ss_sp = 0xff0, ss_size = 4096, ss_flags = 128}, uc_flags = -8368, __spare__ = {32767, 4609518, 0, 66}} curthread = 0x801412000 in_sigsuspend = 0 cancel_enable = 1 cancel_point = 0 sigfunc = 0x0 err = <optimized out> cancel_async = <optimized out> #8 0x0000000800a93b3f in thr_sighandler (sig=11, info=0x7fffffffe370, _ucp=0x7fffffffe000) at /usr/src/lib/libthr/thread/thr_sig.c:246 act = {__sigaction_u = {__sa_handler = 0x459030 <OsSigHandler>, __sa_sigaction = 0x459030 <OsSigHandler>}, sa_flags = 64, sa_mask = {__bits = {1024, 0, 0, 0}}} err = <optimized out> curthread = 0x801412000 ucp = <optimized out> usa = <optimized out> #9 <signal handler called> No symbol table info available. #10 strcmp () at /usr/src/lib/libc/amd64/string/strcmp.S:46 No locals. #11 0x000000000049b5ad in xf86LookupMode (scrp=0x8014e7e00, modep=0x801553b80, clockRanges=0x801453450, strategy=LOOKUP_BEST_REFRESH) at ../hw/xfree86/common/xf86Mode.c:511 type = 64 p = 0x801553ac0 bestMode = 0x0 cp = 0x0 i = 0 k = 0 gap = 0 minimumGap = 2001 refresh = 2.3860490291416954e-317 bestRefresh = 0 found = 0 extraFlags = 0 clockIndex = -1 MulFactor = 1 DivFactor = 1 ModePrivFlags = 0 status = MODE_NOMODE allowDiv2 = 0 n = 5 types = {9, 1, 40, 32, 72, 64, 0} ntypes = 7 #12 0x0000000000499b13 in xf86ValidateModes (scrp=0x8014e7e00, availModes=0x8014dc0c0, modeNames=0x801426730, clockRanges=0x801453450, linePitches=0x0, minPitch=256, maxPitch=4080, pitchInc=512, minHeight=128, maxHeight=4096, virtualX=0, virtualY=0, apertureSize=267845632, strategy=LOOKUP_BEST_REFRESH) at ../hw/xfree86/common/xf86Mode.c:1719 repeat = 0 p = 0x801553b80 q = 0x801553ac0 r = 0x6a8 new = 0x801553b80 last = 0x801553b80 endp = 0x801553b88 i = 1 numModes = 0 status = MODE_OK linePitch = -1 virtX = 0 virtY = 0 newLinePitch = 8 newVirtX = 17479688 newVirtY = 8 modeSize = 30250512 validateAllDefaultModes = 1 userModes = 1 saveType = 32 BankFormat = 0x8014e7e50 cp = 0x0 numTimings = 0 hsync = {{hi = -nan(0x7fe8a0), lo = 4.59163468e-41}, {hi = 7.55337567e-39, lo = 1.12103877e-44}, {hi = 0, lo = 0}, {hi = 0, lo = 0}, {hi = 3.58732407e-43, lo = 0}, {hi = 0, lo = 0}, {hi = 3.7926625e-38, lo = 1.12103877e-44}, {hi = 3.77908448e-38, lo = 1.12103877e-44}} vrefresh = {{hi = 6.75217347e-39, lo = 0}, {hi = 3.07550261e-39, lo = 0}, {hi = 4.64124064e-41, lo = 0}, {hi = 5.73971851e-42, lo = 0}, {hi = -nan(0x7fea40), lo = 4.59163468e-41}, {hi = 0, lo = 0}, {hi = 5.71729773e-42, lo = 0}, {hi = 5.60519386e-45, lo = 0}} inferred_virtual = 0 #13 0x0000000801ce73ca in NVPreInit (pScrn=0x8014e7e00, flags=0) at nv_driver.c:1975 pNv = 0x801462800 from = X_PROBED i = 17449632 max_width = 4080 max_height = 4096 clockRanges = 0x801453450 s = 0x0 config_mon_rates = 1 #14 0x0000000000482fcd in InitOutput (pScreenInfo=0x546e88 <screenInfo>, argc=4, argv=0x7fffffffea48) at ../hw/xfree86/common/xf86Init.c:478 i = 0 j = 0 k = 0 scr_index = 0 modulelist = 0x0 optionlist = 0x801426770 autoconfig = 0 sigio_blocked = 0 want_hw_access = 1 configured_device = 0x0 #15 0x00000000002f876a in dix_main (argc=4, argv=0x7fffffffea48, envp=0x7fffffffea70) at ../dix/main.c:190 i = 256 alwaysCheckForInput = {0, 1} #16 0x000000000050994a in main (argc=4, argv=0x7fffffffea48, envp=0x7fffffffea70) 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 -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.