Skip to content

“5 bytes” heap corruption #47

Description

@pigeonskiller

Hi developers, this is a repost of:
biglinux/ashyterm#3

ashyterm

(org.communitybig.ashyterm:21055): GLib-ERROR **: 16:55:53.487: ../glib/glib/gmem.c:106: failed to allocate 5 bytes
Annullato (core dump creato) ashyterm

What I tested:

✔ PyGObject is OK
from gi.repository import Vte, Gtk → OK
✔ GLib works at the basic level

(dconf, gio, gsettings → all OK)

❌ crash occurs ONLY when AshyTerm enters its flow

👉 so:

💥 the crash is NOT system
💥 it ​​is NOT GTK
💥 it ​​is NOT VTE
💥 it ​​is NOT real memory

🔥 Final Technical Verdict

The pattern:

GLib-ERROR: failed to allocate 5 bytes

After a successful GTK/GIO init, it only means one thing:

🎯 ASHYTERM INTERNAL LOGIC BUG

👉 AshyTerm is:

initializing GTK ✔
creating objects ✔
then entering an invalid state ❌
and doing a free/alloc on the pointer Corrupt
🧨 Crucial Point

I've already tried:

✔ Clean env
✔ Fix X11
✔ Software rendering
✔ GLib debug
✔ Rebuild PKGBUILD
✔ Manual VTE test

👉 and everything works outside of AshyTerm...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions