public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "manuel.lauss at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug malloc/30301] New: "memalign: Support scanning for aligned chunks" causes regression in game "factorio"
Date: Sat, 01 Apr 2023 12:31:56 +0000	[thread overview]
Message-ID: <bug-30301-131@http.sourceware.org/bugzilla/> (raw)

https://sourceware.org/bugzilla/show_bug.cgi?id=30301

            Bug ID: 30301
           Summary: "memalign: Support scanning for aligned chunks" causes
                    regression in game "factorio"
           Product: glibc
           Version: 2.38
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: malloc
          Assignee: unassigned at sourceware dot org
          Reporter: manuel.lauss at gmail dot com
  Target Milestone: ---

Commit 24cdd6c71debfd10a9f7cb217fe2a2c4c486ed6f ("memalign: Support scanning
for aligned chunks.")  causes the game "factorio" (demo here:
https://factorio.com/get-download/1.1.76/demo/linux64) to abort when loading a
saved game:

Fatal glibc error: malloc.c:3617 (_mid_memalign): assertion failed: !p ||
chunk_is_mmapped (mem2chunk (p)) || ar_ptr == arena_for_chunk (mem2chunk (p))

Reverting 24cdd6c71d on top of current git head fixes the issue for me.
My system otherwise boots up and runs just fine, so this commit might expose
a bug in the factorio codebase. I'll report it to them as well.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

             reply	other threads:[~2023-04-01 12:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-01 12:31 manuel.lauss at gmail dot com [this message]
2023-04-02 18:42 ` [Bug malloc/30301] " sam at gentoo dot org
2023-04-02 18:42 ` [Bug malloc/30301] "memalign: Support scanning for aligned chunks" (24cdd6c71debfd10a9f7cb217fe2a2c4c486ed6f) causes regression in game "factorio" (malloc.c:3617 (_mid_memalign): assertion failed: !p || chunk_is_mmapped (mem2chunk (p)) || ar_ptr == arena_for_chunk (mem2chun sam at gentoo dot org
2023-04-02 18:42 ` [Bug malloc/30301] "memalign: Support scanning for aligned chunks" (24cdd6c71debfd10a9f7cb217fe2a2c4c486ed6f) causes regression in game "factorio" (malloc.c:3617 (_mid_memalign): assertion failed: ...) sam at gentoo dot org
2023-04-03 13:06 ` fweimer at redhat dot com
2023-04-03 18:50 ` crrodriguez at opensuse dot org
2023-04-03 19:01 ` dj at redhat dot com
2023-04-10 18:36 ` manuel.lauss at gmail dot com
2023-04-11  6:56 ` manuel.lauss at gmail dot com
2023-04-11  8:04 ` manuel.lauss at gmail dot com
2023-04-12  6:42 ` manuel.lauss at gmail dot com
2023-04-20 20:12 ` manuel.lauss at gmail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-30301-131@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).