Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3555618rwi; Sun, 16 Oct 2022 13:21:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4dqS2l8SpS3XGBtl7+52YcV7ZQaX/9v3L7rCQnHAQRzSIBw24x6eeGbcEAIEP2VkYtUhYa X-Received: by 2002:a05:6402:3588:b0:45d:7d14:baf2 with SMTP id y8-20020a056402358800b0045d7d14baf2mr3541166edc.1.1665951686013; Sun, 16 Oct 2022 13:21:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665951686; cv=none; d=google.com; s=arc-20160816; b=zJDdulcathfwVfap43LhV/x/7gU8BmwntXQB/2qoYkVsuJJgvHSvnW5EwChbFTs4Wx 636q91hCVbRFOjGiSxIizPafQcKT5yYtSIVykT+4utwfG1OVLU8qDm7RwZa3Z+/hyUPk gmWV9utnIwPLa3w/yETWPDkC2bKnip801x5gbtlooCspoVuOjnD/5pqJ8t+Ll3L3QYr9 c272z36sgrY0zBYGtNLRc57bW6h+laBsKsNrXU8x+k9pbZZAf22zHsB5sk0Q+5OMHxD7 xQEUkIcjskXHvRfYauUa44VN7W9O8nvZtEfEY2bQH77hHmjyW4I/xU0lJ4V7i5AiwPRl xUGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=lkdifAbI8U6E8iWjei3/J5btb1V+dXNoQHRt4w7ABNE=; b=nXE6VyjSLCgvrQRaVXa6FKsNmRn/iBPfbbS27KpjEhIojQibQbEThnhRcYVZibrlq7 ivISJvMn2UOERqOt3JE+ywhKZZbSxYgq5ysbi/rOahAdK9eLw+bUcQZetCY2hfQ7huKL C56AoBMAobeUNvlmsyVPN28cf47uuT1Mh2OexIgtNc2LMriBAhNbxcz59txD/nWT2Z/a os8evT130R7IJuLSh2GDbkMGTpy46tqS2FonRDvApJJUZnkqluS1XdKeMBZ1ucyq4EOZ 0wNev5SMPXpTSskU03cbpIZh0bHZ1JaXwQJv2zlIwAysTePK7Fi9Ras59uKHaK3RQ1d3 XT9A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t9-20020aa7db09000000b0045ca3642c4esi6391199eds.145.2022.10.16.13.21.00; Sun, 16 Oct 2022 13:21:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229794AbiJPT6n (ORCPT + 99 others); Sun, 16 Oct 2022 15:58:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229789AbiJPT6l (ORCPT ); Sun, 16 Oct 2022 15:58:41 -0400 X-Greylist: delayed 165 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 16 Oct 2022 12:58:37 PDT Received: from p3plwbeout21-04.prod.phx3.secureserver.net (p3plsmtp21-04-2.prod.phx3.secureserver.net [68.178.252.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4BD9C43151 for ; Sun, 16 Oct 2022 12:58:37 -0700 (PDT) Received: from mailex.mailcore.me ([94.136.40.142]) by :WBEOUT: with ESMTP id k9jiow97oS0zGk9jjoqYO9; Sun, 16 Oct 2022 12:55:51 -0700 X-CMAE-Analysis: v=2.4 cv=KsCIZUaN c=1 sm=1 tr=0 ts=634c61c8 a=s1hRAmXuQnGNrIj+3lWWVA==:117 a=84ok6UeoqCVsigPHarzEiQ==:17 a=ggZhUymU-5wA:10 a=IkcTkHD0fZMA:10 a=Qawa6l4ZSaYA:10 a=lAgNKBcoAAAA:8 a=VwQbUJbxAAAA:8 a=e5mUnYsNAAAA:8 a=JfrnYn6hAAAA:8 a=VVckCmprt_wDnl1H82AA:9 a=QEXdDO2ut3YA:10 a=drE6d5tx1tjNRBs8zHOc:22 a=AjGcO6oz07-iQ99wixmX:22 a=Vxmtnl_E_bksehYqCbjh:22 a=1CNFftbPRP8L7MoqJWF3:22 X-SECURESERVER-ACCT: phillip@squashfs.org.uk X-SID: k9jiow97oS0zG Received: from 82-69-79-175.dsl.in-addr.zen.co.uk ([82.69.79.175] helo=[192.168.178.33]) by smtp10.mailcore.me with esmtpa (Exim 4.94.2) (envelope-from ) id 1ok9jg-00005P-87; Sun, 16 Oct 2022 20:55:50 +0100 Message-ID: Date: Sun, 16 Oct 2022 20:55:41 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 Subject: Re: BISECT result: 6.0.0-RC kernels trigger Firefox snap bug with 6.0.0-rc3 through 6.0.0-rc7 To: Mirsad Goran Todorovac , regressions@leemhuis.info Cc: bagasdotme@gmail.com, linux-kernel@vger.kernel.org, marcmiltenberger@gmail.com, regressions@lists.linux.dev, srw@sladewatkins.net, phillip.lougher@gmail.com References: <8702a833-e66c-e63a-bfc8-1007174c5b3d@leemhuis.info> <20221015205936.5735-1-phillip@squashfs.org.uk> From: Phillip Lougher In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Mailcore-Auth: 439999529 X-Mailcore-Domain: 1394945 X-123-reg-Authenticated: phillip@squashfs.org.uk X-Originating-IP: 82.69.79.175 X-CMAE-Envelope: MS4xfFKsIbwzsRFzQgSEIXhvdHAR/kC0JMbQgsaB9igPwPFoPtpwGTQd2yt2wCyCuHTkYimsckVeBEgbF73UtuFPYcRY2NkW1F0bwMUzpIzZ8LGa6bvKEoQy mpH0e2HchzRMUek0ha9SaFhuF0kTExOUUIWYaKX4w3C0sL0sXOAozhi3bygjxghwnWz6t93wlma+PUwW5LoWqfsj//buLQ0rv08= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16/10/2022 16:55, Mirsad Goran Todorovac wrote: > On 15. 10. 2022. 22:59, Phillip Lougher wrote: > >> Thorsten Leemhuis  wrote: >>> Topposting, to make this easier to access for everyone. >>> >>> @Mirsad, thx for bisecting. >>> >>> @Phillip: if you want to see a problem description and the whole >>> backstory of the problem that apparently is caused by     b09a7a036d20 >>> ("squashfs: support reading fragments in readahead call"), see this >>> thread (Mirsad sadly started a new one with the quoted mail below): >>> https://lore.kernel.org/all/b0c258c3-6dcf-aade-efc4-d62a8b3a1ce2@alu.unizg.hr/ >>> >> The above backstory tends to suggest data corruption which is happening >> after a couple of hours especially on heavy loads, e.g. the comment >> >>> On 10/3/22 at 4:18 AM, Mirsad Goran Todorovac wrote: >>> The bug usually isn't showing immediately, but after a couple of hours >>> of running (especially with multimedia running inside Firefox). >> Which is typically caused by double freed buffers or race conditions in >> freeing and reusing. >> >> Thanks Mirsad for the following >> >> On Sat, 15 Oct 2022 16:59:44 +0200, Mirsad Goran Todorovac wrote: >>> Here are the results of the requested bisect on the bug involving the >>> Firefox snap build 104.x, 105.0.x, squashfs and which was manifested on >>> both Ubuntu snap and with snapd in AlmaLinux 8.6 (CentOS fork): >>> >>> mtodorov@domac:~/linux/kernel/linux_stable$ git bisect log >>> git bisect start >>> # bad: [568035b01cfb107af8d2e4bd2fb9aea22cf5b868] Linux 6.0-rc1 >>> git bisect bad 568035b01cfb107af8d2e4bd2fb9aea22cf5b868 >>> # good: [51dd976781da8c0b47e106ed59a96d7c28972ce4] Linux 5.19.15 >>> git bisect good 51dd976781da8c0b47e106ed59a96d7c28972ce4 >>> # good: [3d7cb6b04c3f3115719235cc6866b10326de34cd] Linux 5.19 >>> git bisect good 3d7cb6b04c3f3115719235cc6866b10326de34cd >>> # good: [b44f2fd87919b5ae6e1756d4c7ba2cbba22238e1] Merge tag >>> 'drm-next-2022-08-03' of git://anongit.freedesktop.org/drm/drm >>> git bisect good b44f2fd87919b5ae6e1756d4c7ba2cbba22238e1 >>> # good: [6614a3c3164a5df2b54abb0b3559f51041cf705b] Merge tag >>> 'mm-stable-2022-08-03' of >>> git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm >>> git bisect good 6614a3c3164a5df2b54abb0b3559f51041cf705b >>> # bad: [eb5699ba31558bdb2cee6ebde3d0a68091e47dce] Merge tag >>> 'mm-nonmm-stable-2022-08-06-2' of >>> git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm >>> git bisect bad eb5699ba31558bdb2cee6ebde3d0a68091e47dce >>> # good: [24df5428ef9d1ca1edd54eca7eb667110f2dfae3] ALSA: hda/realtek: >>> Add quirk for HP Spectre x360 15-eb0xxx >>> git bisect good 24df5428ef9d1ca1edd54eca7eb667110f2dfae3 >>> # good: [c993e07be023acdeec8e84e2e0743c52adb5fc94] Merge tag >>> 'dma-mapping-5.20-2022-08-06' of >>> git://git.infradead.org/users/hch/dma-mapping >>> git bisect good c993e07be023acdeec8e84e2e0743c52adb5fc94 >>> # good: [4cfa6ff24a9744ba484521c38bea613134fbfcb3] powerpc/64e: Fix >>> kexec build error >>> git bisect good 4cfa6ff24a9744ba484521c38bea613134fbfcb3 >>> # good: [24cb958695724ffb4488ef4f65892c0767bcd2f2] Merge tag >>> 's390-5.20-1' of >>> git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux >>> git bisect good 24cb958695724ffb4488ef4f65892c0767bcd2f2 >>> # good: [db98b43086275350294f5c6f797249b714d6316d] squashfs: always >>> build "file direct" version of page actor >>> git bisect good db98b43086275350294f5c6f797249b714d6316d >>> # good: [6ba592fa014f21f35a8ee8da4ca7b95a018f13e8] video: fbdev: s3fb: >>> Check the size of screen before memset_io() >>> git bisect good 6ba592fa014f21f35a8ee8da4ca7b95a018f13e8 >>> # good: [b5a8466d37d30cfcc8015789f4a3f0c44b6c7bc6] Merge tag >>> 'for-5.20/fbdev-1' of >>> git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev >>> git bisect good b5a8466d37d30cfcc8015789f4a3f0c44b6c7bc6 >>> # bad: [97d3b2676fc6bc4865eb825037f4492f0fb804eb] ocfs2: remove some >>> useless functions >>> git bisect bad 97d3b2676fc6bc4865eb825037f4492f0fb804eb >>> # bad: [591c32bddbe20ba0e172d9def3c7f22b9c926ad9] kernel/hung_task: fix >>> address space of proc_dohung_task_timeout_secs >>> git bisect bad 591c32bddbe20ba0e172d9def3c7f22b9c926ad9 >>> # bad: [b09a7a036d2035b14636cd4c4c69518d73770f65]  squashfs: support >>> reading fragments in readahead call >>> git bisect bad b09a7a036d2035b14636cd4c4c69518d73770f65 >>> mtodorov@domac:~/linux/kernel/linux_stable$ >>> >>> The git bisect stopped at the squashfs commit >>> b09a7a036d2035b14636cd4c4c69518d73770f65, so I included Phillip in Cc:, >>> according to the Code of Conduct. >> Which identified the "squashfs: support reading fragments in readahead >> call" >> patch. >> >> There is a race-condition introduced in that patch, which involves cache >> releasing and reuse. >> >> The following diff will fix that race-condition.  It would be great if >> someone could test and verify before sending it out as a patch. >> >> Thanks >> >> Phillip >> >> diff --git a/fs/squashfs/file.c b/fs/squashfs/file.c >> index e56510964b22..6cc23178e9ad 100644 >> --- a/fs/squashfs/file.c >> +++ b/fs/squashfs/file.c >> @@ -506,8 +506,9 @@ static int squashfs_readahead_fragment(struct page >> **page, >>           squashfs_i(inode)->fragment_size); >>       struct squashfs_sb_info *msblk = inode->i_sb->s_fs_info; >>       unsigned int n, mask = (1 << (msblk->block_log - PAGE_SHIFT)) - 1; >> +    int error = buffer->error; >> -    if (buffer->error) >> +    if (error) >>           goto out; >>       expected += squashfs_i(inode)->fragment_offset; >> @@ -529,7 +530,7 @@ static int squashfs_readahead_fragment(struct page >> **page, >>   out: >>       squashfs_cache_put(buffer); >> -    return buffer->error; >> +    return error; >>   } >>   static void squashfs_readahead(struct readahead_control *ractl) > > Dear Phillip, > > I am sorry to have to disappoint you. > > Having applied the patch to the version 6.0.1. The first run succeeded, > but the second (after quit and restart from toolbar) run's results are > still not good: > Tracking down bugs of this sort is always a process of elimination, and gathering information to pinpoint the exact circumstances of why it is triggering. Next step is to download the exact snap(s) where the problems are occurring, as this may provide some insights. I don't run Ubuntu, and I don't use snaps. Can you provide the download link(s) of the snap(s) that cause problems? If there's any firefox snaps that don't cause problems those will be useful too. You don't mention if there's any errors present in "dmesg" when this happens, and so I'm assuming there aren't any? Phillip > marvin@marvin-IdeaPad-3-15ITL6:~$ sudo tail -300f /var/log/syslog | grep > firefox > Oct 16 17:23:17 marvin-IdeaPad-3-15ITL6 systemd[1795]: Started > snap.firefox.firefox.41ac7adc-efbd-4c47-bccb-06711efb7a2e.scope. > Oct 16 17:23:18 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[2556]: > update.go:85: cannot change mount namespace according to change mount > (/var/lib/snapd/hostfs/usr/share/cups/doc-root /usr/share/cups/doc-root > none bind,ro 0 0): cannot create directory "/usr/share/cups/doc-root": > permission denied > Oct 16 17:23:18 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[2556]: > update.go:85: cannot change mount namespace according to change mount > (/var/lib/snapd/hostfs/usr/share/gimp/2.0/help /usr/share/gimp/2.0/help > none bind,ro 0 0): cannot create directory "/usr/share/gimp/2.0": > permission denied > Oct 16 17:23:18 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[2556]: > update.go:85: cannot change mount namespace according to change mount > (/var/lib/snapd/hostfs/usr/share/libreoffice/help > /usr/share/libreoffice/help none bind,ro 0 0): cannot create directory > "/usr/share/libreoffice/help": permission denied > Oct 16 17:23:18 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[2556]: > update.go:85: cannot change mount namespace according to change mount > (/var/lib/snapd/hostfs/usr/share/xubuntu-docs /usr/share/xubuntu-docs > none bind,ro 0 0): cannot open directory "/var/lib": permission denied > Oct 16 17:23:18 marvin-IdeaPad-3-15ITL6 kernel: [   25.654344] audit: > type=1400 audit(1665933798.028:105): apparmor="DENIED" operation="mkdir" > profile="snap-update-ns.firefox" name="/usr/share/cups/doc-root/" > pid=2556 comm="5" requested_mask="c" denied_mask="c" fsuid=0 ouid=0 > Oct 16 17:23:18 marvin-IdeaPad-3-15ITL6 kernel: [   25.655141] audit: > type=1400 audit(1665933798.028:106): apparmor="DENIED" operation="mkdir" > profile="snap-update-ns.firefox" name="/usr/share/gimp/2.0/" pid=2556 > comm="5" requested_mask="c" denied_mask="c" fsuid=0 ouid=0 > Oct 16 17:23:18 marvin-IdeaPad-3-15ITL6 kernel: [   25.655528] audit: > type=1400 audit(1665933798.028:107): apparmor="DENIED" operation="mkdir" > profile="snap-update-ns.firefox" name="/usr/share/libreoffice/help/" > pid=2556 comm="5" requested_mask="c" denied_mask="c" fsuid=0 ouid=0 > Oct 16 17:23:18 marvin-IdeaPad-3-15ITL6 kernel: [   25.655671] audit: > type=1400 audit(1665933798.028:108): apparmor="DENIED" operation="open" > profile="snap-update-ns.firefox" name="/var/lib/" pid=2556 comm="5" > requested_mask="r" denied_mask="r" fsuid=0 ouid=0 > Oct 16 17:23:19 marvin-IdeaPad-3-15ITL6 firefox[2527]: Failed to load > module "canberra-gtk-module" > Oct 16 17:23:19 marvin-IdeaPad-3-15ITL6 firefox[2527]: Failed to load > module "canberra-gtk-module" > Oct 16 17:23:19 marvin-IdeaPad-3-15ITL6 kernel: [   27.287722] audit: > type=1326 audit(1665933799.660:110): auid=1000 uid=1000 gid=1000 ses=3 > subj=snap.firefox.firefox pid=2527 comm="firefox" > exe="/snap/firefox/1943/usr/lib/firefox/firefox" sig=0 arch=c000003e > syscall=314 compat=0 ip=0x7f54ec28673d code=0x50000 > Oct 16 17:23:20 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[2527]: > ATTENTION: default value of option mesa_glthread overridden by environment. > Oct 16 17:23:20 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[2527]: > message repeated 2 times: [ ATTENTION: default value of option > mesa_glthread overridden by environment.] > Oct 16 17:23:23 marvin-IdeaPad-3-15ITL6 snapd[817]: storehelpers.go:748: > cannot refresh: snap has no updates available: "bare", > "canonical-livepatch", "core", "core18", "core20", "firefox", > "gnome-3-34-1804", "gnome-3-38-2004", "gtk-common-themes", "slack", > "snap-store", "snapd", "zoom-client" > Oct 16 17:23:40 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[2527]: > Missing chrome or resource URL: > resource://gre/modules/UpdateListener.sys.mjs > Oct 16 17:23:55 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[3990]: > [2022-10-16T15:23:55Z ERROR mp4parse] Found 2 nul bytes in "\0\0" > Oct 16 17:23:55 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[3990]: > message repeated 3 times: [ [2022-10-16T15:23:55Z ERROR mp4parse] Found > 2 nul bytes in "\0\0"] > Oct 16 17:23:56 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[3990]: > [2022-10-16T15:23:56Z ERROR mp4parse] Found 2 nul bytes in "\0\0" > Oct 16 17:23:56 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[3990]: > message repeated 3 times: [ [2022-10-16T15:23:56Z ERROR mp4parse] Found > 2 nul bytes in "\0\0"] > Oct 16 17:23:58 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[3990]: > [2022-10-16T15:23:58Z ERROR mp4parse] Found 2 nul bytes in "\0\0" > Oct 16 17:23:58 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[3990]: > message repeated 3 times: [ [2022-10-16T15:23:58Z ERROR mp4parse] Found > 2 nul bytes in "\0\0"] > Oct 16 17:24:14 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[4942]: > XPCOMGlueLoad error for file > /snap/firefox/1943/usr/lib/firefox/libmozgtk.so: > Oct 16 17:24:14 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[4942]: > /snap/firefox/1943/gnome-platform/usr/lib/x86_64-linux-gnu/libXcomposite.so.1: unsupported version 0 of Verneed record > Oct 16 17:24:14 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[4942]: > Couldn't load XPCOM. > Oct 16 17:24:19 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[4995]: > XPCOMGlueLoad error for file > /snap/firefox/1943/usr/lib/firefox/libmozgtk.so: > Oct 16 17:24:19 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[4995]: > /snap/firefox/1943/gnome-platform/usr/lib/x86_64-linux-gnu/libXcomposite.so.1: unsupported version 0 of Verneed record > Oct 16 17:24:19 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[4995]: > Couldn't load XPCOM. > Oct 16 17:24:21 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5033]: > /snap/firefox/1943/usr/lib/firefox/firefox: > /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record > Oct 16 17:24:21 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5033]: > message repeated 2 times: [ /snap/firefox/1943/usr/lib/firefox/firefox: > /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record] > Oct 16 17:24:21 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5033]: > /snap/firefox/1943/usr/lib/firefox/firefox: error while loading shared > libraries: /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of > Verneed record > Oct 16 17:24:27 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[4480]: > Inconsistency detected by ld.so: ../elf/dl-runtime.c: 80: _dl_fixup: > Assertion `ELFW(R_TYPE)(reloc->r_info) == ELF_MACHINE_JMP_SLOT' failed! > Oct 16 17:24:31 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5163]: > /snap/firefox/1943/usr/lib/firefox/firefox: > /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record > Oct 16 17:24:31 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5163]: > message repeated 2 times: [ /snap/firefox/1943/usr/lib/firefox/firefox: > /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record] > Oct 16 17:24:31 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5163]: > /snap/firefox/1943/usr/lib/firefox/firefox: error while loading shared > libraries: /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of > Verneed record > Oct 16 17:24:36 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5205]: > /snap/firefox/1943/usr/lib/firefox/firefox: > /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record > Oct 16 17:24:36 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5205]: > message repeated 2 times: [ /snap/firefox/1943/usr/lib/firefox/firefox: > /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record] > Oct 16 17:24:36 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5205]: > /snap/firefox/1943/usr/lib/firefox/firefox: error while loading shared > libraries: /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of > Verneed record > Oct 16 17:24:42 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5372]: > /snap/firefox/1943/usr/lib/firefox/firefox: > /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record > Oct 16 17:24:42 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5372]: > message repeated 2 times: [ /snap/firefox/1943/usr/lib/firefox/firefox: > /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record] > Oct 16 17:24:42 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5372]: > /snap/firefox/1943/usr/lib/firefox/firefox: error while loading shared > libraries: /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of > Verneed record > Oct 16 17:24:45 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5396]: > /snap/firefox/1943/usr/lib/firefox/firefox: > /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record > Oct 16 17:24:45 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5396]: > message repeated 2 times: [ /snap/firefox/1943/usr/lib/firefox/firefox: > /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record] > Oct 16 17:24:45 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5396]: > /snap/firefox/1943/usr/lib/firefox/firefox: error while loading shared > libraries: /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of > Verneed record > Oct 16 17:24:53 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5483]: > /snap/firefox/1943/usr/lib/firefox/firefox: > /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record > Oct 16 17:24:53 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5483]: > message repeated 2 times: [ /snap/firefox/1943/usr/lib/firefox/firefox: > /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record] > Oct 16 17:24:53 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5483]: > /snap/firefox/1943/usr/lib/firefox/firefox: error while loading shared > libraries: /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of > Verneed record > Oct 16 17:25:02 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[2527]: > Missing chrome or resource URL: > resource://gre/modules/UpdateListener.sys.mjs > Oct 16 17:25:07 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5514]: > /snap/firefox/1943/usr/lib/firefox/pingsender: > /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record > Oct 16 17:25:07 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5514]: > /snap/firefox/1943/usr/lib/firefox/pingsender: > /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verdef record > Oct 16 17:25:07 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5514]: > /snap/firefox/1943/usr/lib/firefox/pingsender: error while loading > shared libraries: /lib/x86_64-linux-gnu/libdl.so.2: unsupported version > 0 of Verneed record > Oct 16 17:25:07 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[2764]: > /snap/firefox/1943/usr/lib/firefox/firefox: symbol lookup error: > /snap/firefox/1943/usr/lib/firefox/libmozsandbox.so: undefined symbol: , > version > Oct 16 17:25:07 marvin-IdeaPad-3-15ITL6 systemd[1795]: > snap.firefox.firefox.41ac7adc-efbd-4c47-bccb-06711efb7a2e.scope: > Consumed 6min 11.938s CPU time. > Oct 16 17:26:22 marvin-IdeaPad-3-15ITL6 systemd[1795]: Started > snap.firefox.firefox.8af6eb39-1ebc-4e81-a7c1-a6cc66e76eac.scope. > Oct 16 17:26:23 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5573]: > /bin/bash: /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of > Verdef record > Oct 16 17:26:23 marvin-IdeaPad-3-15ITL6 firefox_firefox.desktop[5573]: > /bin/bash: error while loading shared libraries: > /lib/x86_64-linux-gnu/libdl.so.2: unsupported version 0 of Verneed record > > I have double-checked that this version of the function is in my build > tree: > > static int squashfs_readahead_fragment(struct page **page, >         unsigned int pages, unsigned int expected) > { >         struct inode *inode = page[0]->mapping->host; >         struct squashfs_cache_entry *buffer = > squashfs_get_fragment(inode->i_sb, >                 squashfs_i(inode)->fragment_block, >                 squashfs_i(inode)->fragment_size); >         struct squashfs_sb_info *msblk = inode->i_sb->s_fs_info; >         unsigned int n, mask = (1 << (msblk->block_log - PAGE_SHIFT)) - 1; >         int error = buffer->error; > >         if (error) >                 goto out; > >         expected += squashfs_i(inode)->fragment_offset; > >         for (n = 0; n < pages; n++) { >                 unsigned int base = (page[n]->index & mask) << PAGE_SHIFT; >                 unsigned int offset = base + > squashfs_i(inode)->fragment_offset; > >                 if (expected > offset) { >                         unsigned int avail = min_t(unsigned int, > expected - >                                 offset, PAGE_SIZE); > >                         squashfs_fill_page(page[n], buffer, offset, > avail); >                 } > >                 unlock_page(page[n]); >                 put_page(page[n]); >         } > > out: >         squashfs_cache_put(buffer); >         return error; > } > > The same set of Firefox windows and tabs loaded correctly once switching > back to the 5.19.13 kernel image. > > The same applies for running the same setup with the home-built "Linux > 5.19.15-20221014-conf051913ub x86_64": No Verdef nor Verneed error > messages. > > Have a nice day, and good bug hunting! > > Regards, > Mirsad > > -- > Mirsad Goran Todorovac > Sistem inženjer > Grafički fakultet | Akademija likovnih umjetnosti > Sveučilište u Zagrebu