You are not logged in.

#1 2012-11-23 15:50:03

Mappi
Member
Registered: 2012-11-23
Posts: 8

GLib error with uninitialized memory

Hi,

Maybe I have stupid problem but I have problem with call MC (Midnight Commander) application. I'm login as root in SSH console and after login to other user account, ex. su USER I have error during call MC application:

(mc:5397): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Cannot create /root/.cache/mc directory

(mc:5397): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Cannot create /root/.local/share/mc directory
Failed to run:
Cannot create /root/.config/mc directory


Pawel

Offline

#2 2012-11-23 16:05:00

wirr
Member
Registered: 2009-10-25
Posts: 70

Re: GLib error with uninitialized memory

Hi Pawel

Just a thought:
Maybe you have to add the - to set some user specific variables?

su - USER

Offline

#3 2012-11-25 10:33:45

Mappi
Member
Registered: 2012-11-23
Posts: 8

Re: GLib error with uninitialized memory

Hi,

Thank Member user, it's work smile. In Ubuntu and SuSe I couldn't use option - .

Last edited by Mappi (2012-11-25 10:34:22)

Offline

Board footer

Powered by FluxBB