[Bug 1208198] New: tumblweed from 20230213 has stack protector triggering in libdl of libGLX_nvidia.so.0
https://bugzilla.suse.com/show_bug.cgi?id=1208198 Bug ID: 1208198 Summary: tumblweed from 20230213 has stack protector triggering in libdl of libGLX_nvidia.so.0 Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: openSUSE Tumbleweed Status: NEW Severity: Critical Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: meissner@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Starting after Sundays Tumbleweed update lots of apps using libGLX_nvidia.so.0 crash. basically everything that uses libGL. sample backtrace from "firefox -d gdb" #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 #1 0x00007ffff7a95503 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78 #2 0x00007ffff7a42e16 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #3 0x00007ffff7a2b89c in __GI_abort () at abort.c:79 #4 0x00007ffff7a2c5d7 in __libc_message (fmt=fmt@entry=0x7ffff7bb0552 "*** %s ***: terminated\n") at ../sysdeps/posix/libc_fatal.c:150 #5 0x00007ffff7b2ac4b in __GI___fortify_fail (msg=msg@entry=0x7ffff7bb053a "stack smashing detected") at fortify_fail.c:24 #6 0x00007ffff7b2ac16 in __stack_chk_fail () at stack_chk_fail.c:24 #7 0x00007ffff7a8ebc5 in _dlerror_run (operate=operate@entry=0x7ffff7a8ef7e <dlopen_doit>, args=args@entry=0x7fffe097f570) at dlerror.c:198 #8 0x00007ffff7a8f0a1 in dlopen_implementation (dl_caller=<optimized out>, mode=<optimized out>, file=<optimized out>) at dlopen.c:71 #9 ___dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:81 #10 0x00007ffff5486b6d in __glXLookupVendorByName (vendorName=0x7fffbc75db60 "nvidia") at /usr/src/debug/libglvnd-1.6.0/src/GLX/libglxmapping.c:428 #11 0x00007ffff5489315 in __glXLookupVendorByScreen (dpy=dpy@entry=0x7ffff78ec000, screen=screen@entry=0) at /usr/src/debug/libglvnd-1.6.0/src/GLX/libglxmapping.c:572 #12 0x00007ffff5489a98 in glXGetClientString (dpy=0x7ffff78ec000, name=1) at /usr/src/debug/libglvnd-1.6.0/src/GLX/libglx.c:1398 #13 0x00007ffff12e9d9f in mozilla::gl::GLXLibrary::fGetClientString(_XDisplay*, int) const () at /usr/src/debug/firefox-109.0.1/gfx/gl/GLXLibrary.h:126 #14 mozilla::gl::GLXLibrary::EnsureInitialized(_XDisplay*) [clone .constprop.0] () at /usr/src/debug/firefox-109.0.1/gfx/gl/GLContextProviderGLX.cpp:185 This means that the init of libGLX_nvidia.so.0 somehow corrupted the stack. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208198 Lubos Kocman <lubos.kocman@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lubos.kocman@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208198 https://bugzilla.suse.com/show_bug.cgi?id=1208198#c1 --- Comment #1 from Marcus Meissner <meissner@suse.com> --- Created attachment 864859 --> https://bugzilla.suse.com/attachment.cgi?id=864859&action=edit yy.c reproducer: gcc -O2 -o yy yy.c -ldl ./yy *** stack smashing detected ***: terminated -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208198 Martin Li��ka <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.liska@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208198 https://bugzilla.suse.com/show_bug.cgi?id=1208198#c2 --- Comment #2 from Lubos Kocman <lubos.kocman@suse.com> --- actually that would explain some of the reboots during recent driver "build/installation". I suppose it was built against libgl -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208198 https://bugzilla.suse.com/show_bug.cgi?id=1208198#c3 --- Comment #3 from Marcus Meissner <meissner@suse.com> --- rpm -qf /usr/lib64/libGLX_nvidia.so.0 nvidia-glG04-390.157-17.5.x86_64 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208198 https://bugzilla.suse.com/show_bug.cgi?id=1208198#c4 --- Comment #4 from Marcus Meissner <meissner@suse.com> --- valgrind not helping, sanitize address not helping :/ -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208198 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sndirsch@suse.com Assignee|screening-team-bugs@suse.de |schwab@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208198 https://bugzilla.suse.com/show_bug.cgi?id=1208198#c5 --- Comment #5 from Marcus Meissner <meissner@suse.com> --- it started with glibc update :/ -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208198 Martin Li��ka <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mjambor@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208198 https://bugzilla.suse.com/show_bug.cgi?id=1208198#c6 --- Comment #6 from Stefan Dirsch <sndirsch@suse.com> --- Ok. I can reproduce this. Does happen with libGLX_nvidia.so.0 of G04 driver but not with the one of G05. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208198 https://bugzilla.suse.com/show_bug.cgi?id=1208198#c7 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.suse.com/s | |how_bug.cgi?id=1208204 Summary|tumblweed from 20230213 has |Tumbleweed from 20230213 |stack protector triggering |(glibc 2.37) has stack |in libdl of |protector triggering in |libGLX_nvidia.so.0 |libdl of libGLX_nvidia.so.0 --- Comment #7 from Stefan Dirsch <sndirsch@suse.com> --- Most likely a dup: boo#1208204 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208198 https://bugzilla.suse.com/show_bug.cgi?id=1208198#c8 --- Comment #8 from Stefan Dirsch <sndirsch@suse.com> --- JFYI, we're talking about a driver (G04/390.x), which is needed to support Fermi-based nvidia GPUs (year 2010-2012) or older. The driver is EOL since end of 2022. No update planned. No idea what would be required to address that issue from nvidia side. Personally I could live with dropping it for Tumbleweed. And maybe after more than 10 years it's time to replace the gfx card. Meanwhile there are small, affordable Turing cards available like "NVIDIA Quadro T400" for about $200. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208198 https://bugzilla.suse.com/show_bug.cgi?id=1208198#c9 --- Comment #9 from Stefan Dirsch <sndirsch@suse.com> --- Date: Mon, 13 Feb 2023 19:54:01 -0600 From: "David C. Rankin" <drankinatty@suddenlinkmail.com> To: users@lists.opensuse.org Subject: Re: No Login, no Graphics after update to Tumbleweed 20230211-0 X-Spam-Level: X-Spam-Status: No X-Original-To: paka User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Organization: Rankin Law Firm, PLLC On 2/13/23 14:49, Peter Maffter wrote:
Is that the beginning of the things that are named in Subject "Nvidia 390x driver users - glibc 2.37 will bring bad news" ?
The glibc 2.37 TLS change is the culprit See: https://bbs.archlinux.org/viewtopic.php?pid=2083569 For history and solution. The last 390XX driver is compiled with glibc 2.36 and the TLS handling of xauth tokens is not the same in 2.37. The solution is to make the nvidia driver use the tls lib from 2.37. Simplest fix is to create /etc/ld.so.conf.d/nvidia and include /usr/lib/tls so the glibc 2.37 driver has precedence (works fine here with the G04 driver on Arch) -- David C. Rankin, J.D.,P.E. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208198 https://bugzilla.suse.com/show_bug.cgi?id=1208198#c10 --- Comment #10 from Stefan Dirsch <sndirsch@suse.com> --- This fixes the dlopen issue for me: cat > /etc/ld.so.conf.d/nvidia.conf << EOF /usr/lib64/tls /usr/lib/tls EOF ldconfig -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208198 https://bugzilla.suse.com/show_bug.cgi?id=1208198#c11 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paka@opensuse.org --- Comment #11 from Stefan Dirsch <sndirsch@suse.com> --- *** Bug 1208204 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208198 https://bugzilla.suse.com/show_bug.cgi?id=1208198#c12 --- Comment #12 from Stefan Dirsch <sndirsch@suse.com> --- So seems to be this one: ------------------------------------------------------------------- Wed Feb 1 16:06:35 UTC 2023 - Andreas Schwab <schwab@suse.de> - Update to glibc 2.37 [...] * The dynamic linker no longer loads shared objects from the "tls" subdirectories on the library search path or the subdirectory that corresponds to the AT_PLATFORM system name, or employs the legacy AT_HWCAP search mechanism, which was deprecated in version 2.33 [...] -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208198 https://bugzilla.suse.com/show_bug.cgi?id=1208198#c13 --- Comment #13 from Stefan Dirsch <sndirsch@suse.com> --- Ok. It's easier to replace existing /usr/lib64/libnvidia-tls.so.390.157 with /usr/lib64/tls/libnvidia-tls.so.390.157. Works as well. No need to change the dynamic linker runtime environment. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208198 https://bugzilla.suse.com/show_bug.cgi?id=1208198#c14 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED CC|sndirsch@suse.com |schwab@suse.com Component|Other |X11 3rd Party Driver QA Contact|qa-bugs@suse.de |sndirsch@suse.com --- Comment #14 from Stefan Dirsch <sndirsch@suse.com> --- Reassigning to myself. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208198 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High Assignee|schwab@suse.com |gfx-bugs@suse.de -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208198 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|gfx-bugs@suse.de |sndirsch@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208198 https://bugzilla.suse.com/show_bug.cgi?id=1208198#c15 --- Comment #15 from Stefan Dirsch <sndirsch@suse.com> --- ------------------------------------------------------------------- Tue Feb 14 09:14:27 UTC 2023 - Stefan Dirsch <sndirsch@suse.com> - Tumbleweed: move the latest libnvidia-tls.so (previously installed to /usr/lib{,64}/tls) to /usr/lib{,64} since glibc 2.37 no longer prefers libs in tls/ subdir (boo#1208198) -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208198 https://bugzilla.suse.com/show_bug.cgi?id=1208198#c16 --- Comment #16 from Stefan Dirsch <sndirsch@suse.com> --- Marcus, could you give the updated packages a try? --> https://build.suse.de/package/binaries/Proprietary:X11:Drivers/x11-video-nvi... https://download.suse.de/ibs/Proprietary:/X11:/Drivers/openSUSE_Tumbleweed/x... https://download.suse.de/ibs/Proprietary:/X11:/Drivers/openSUSE_Tumbleweed/x... -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208198 https://bugzilla.suse.com/show_bug.cgi?id=1208198#c17 --- Comment #17 from Stefan Dirsch <sndirsch@suse.com> --- Not sure how to test the -32bit support. Maybe easiest with the new Mesa-demo-32bit packages. --> https://download.opensuse.org/repositories/X11:/XOrg/openSUSE_Tumbleweed/x86... https://download.opensuse.org/repositories/X11:/XOrg/openSUSE_Tumbleweed/x86... -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208198 https://bugzilla.suse.com/show_bug.cgi?id=1208198#c18 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #18 from Stefan Dirsch <sndirsch@suse.com> --- Fixed packages now submitted towards nvidia. Repositories should be updated soon. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208198 Ra�l Osuna <rosuna@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rosuna@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208198 Andreas Schwab <schwab@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|schwab@suse.com | -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1208198 Martin Li��ka <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|martin.liska@suse.com | -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com