From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 760DE3858404; Tue, 11 Apr 2023 08:04:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 760DE3858404 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1681200243; bh=rRKZaSxQ5dWmU0OQminwP96s2kl7DS49pzDhF6f1ZEU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RGF43cazk3HXIqP7TsCe5tsTZJDIbzj85JWZwgGc72YVAYyP8KdrhSrtINi5X5bVv OHWI+mQQUyAIzRIgI5YTm33QO+LJ2V+K9Yo4cSRCXg1IAgD9fDqhlED0Y8pNMBbNie xeTAOtRwAYPVa2oGXH6ngtWVPcdXWjZbnw/XMbTw= From: "manuel.lauss at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug malloc/30301] "memalign: Support scanning for aligned chunks" (24cdd6c71debfd10a9f7cb217fe2a2c4c486ed6f) causes regression in game "factorio" (malloc.c:3617 (_mid_memalign): assertion failed: ...) Date: Tue, 11 Apr 2023 08:04:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: 2.38 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manuel.lauss at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- 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: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30301 --- Comment #5 from Manuel Lauss --- (In reply to Manuel Lauss from comment #4) > (In reply to Manuel Lauss from comment #3) > > DJ's latest patch does fix the issue for me. >=20 > Ok I have to take that back: With DJ's fix applied on top of git head, > Factorio now works, but mpv/ffmpeg now throw this error on any video file: > (ffmpeg-5.1.2, apologies for the missing symbol names, but it should > illustrate the issue): >=20 > #0 0x00007ffff5d53bfc in () at /usr/lib64/libc.so.6 > #1 0x00007ffff5d03572 in raise () at /usr/lib64/libc.so.6 > #2 0x00007ffff5cec49f in abort () at /usr/lib64/libc.so.6 > #3 0x00007ffff5ced3a4 in () at /usr/lib64/libc.so.6 > #4 0x00007ffff5cfbba3 in () at /usr/lib64/libc.so.6 > #5 0x00007ffff5d61b40 in () at /usr/lib64/libc.so.6 > #6 0x00007ffff5d62102 in () at /usr/lib64/libc.so.6 > #7 0x00007ffff5d6395d in posix_memalign () at /usr/lib64/libc.so.6 > #8 0x00007ffff6663f0f in av_malloc () at /usr/lib64/libavutil.so.57 > #9 0x00007ffff71490fa in () at /usr/lib64/libavcodec.so.59 > #10 0x00007ffff7141d2f in () at /usr/lib64/libavcodec.so.59 > #11 0x00007ffff7141ef8 in () at /usr/lib64/libavcodec.so.59 > #12 0x00007ffff714cde6 in () at /usr/lib64/libavcodec.so.59 > #13 0x00007ffff6e9cb6c in () at /usr/lib64/libavcodec.so.59 > #14 0x00007ffff6eb9a04 in () at /usr/lib64/libavcodec.so.59 > #15 0x00007ffff6f7d599 in avcodec_open2 () at /usr/lib64/libavcodec.so.59 Fatal glibc error: malloc.c:5197 (_int_memalign): assertion failed: newsize= >=3D nb && (((unsigned long) (chunk2mem (p))) % alignment) =3D=3D 0 --=20 You are receiving this mail because: You are on the CC list for the bug.=