Bug 253796 - misc/mc: GLib-ERROR **: 15:55:28.036: ../glib/gmem.c:113: failed to allocate 18446744073709551588 bytes
Summary: misc/mc: GLib-ERROR **: 15:55:28.036: ../glib/gmem.c:113: failed to allocate ...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ben Woods
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-23 15:07 UTC by Marco Beishuizen
Modified: 2021-02-23 15:07 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (woodsb02)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Beishuizen 2021-02-23 15:07:11 UTC
Hi,

I get a glib error when trying to save a file by hitting F2 in mc. But it only happens when mc is running as root in an xterm, it doesn't happen when mc runs as user. As soon as I hit F2 I get:

...
(mc:73921): GLib-ERROR **: 15:55:28.036: ../glib/gmem.c:113: failed to allocate 18446744073709551588 bytes
                          Trace/BPT trap
...


Seems a lot of bytes what it's trying to allocate.
After the crash the xterm is also broken, scrolling with the mouse etc.

Regards,
Marco