You are not logged in.

#1 2014-07-15 12:47:40

ysetdng
Member
Registered: 2014-05-02
Posts: 42

[SOLVED] vifm puts segmentation fault

EDIT: Sorry, I accidentally clicked 'submit' instead of 'preview', I thought I'll delete the vifminfo and vifmrc files and post only when the problem reappears.  Now I deleted those files and vifm seems to work fine so far but I couldn't figure out how to delete a post, so I just added this line.

Hey, I started to use vifm recently, which is a file manager with tiled default view and you're supposed to start it via:

       vifm [OPTION]...
       vifm [OPTION]... LWIN_DIR
       vifm [OPTION]... LWIN_DIR RWIN_DIR

(So you can specify the directory for the left pane only or for both simultaneously.)

Now when I try out the second option, like

vifm ~

I often get the error

fish: Job 1, “vifm ~” terminated by signal SIGSEGV (Address boundary error)

in fish or just

Segmentation fault

in bash.  Specifying two directory arguments or non at all always works fine.

Now, does this look like a problem of vifm only or could it be something shell configuration or system related?

Last edited by ysetdng (2014-07-15 13:51:28)

Offline

#2 2014-07-15 12:49:50

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [SOLVED] vifm puts segmentation fault

It works fine for me.  What does your home directory expand to?

echo ~

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2014-07-15 12:57:17

ysetdng
Member
Registered: 2014-05-02
Posts: 42

Re: [SOLVED] vifm puts segmentation fault

echo ~

gives

/home/a

but when it had this quirk I tried different arguments, like /, /home/a, ~, etc. and it was always the same.  Well, maybe deleting .vifm/vifminfo the next time will solve it again

Offline

#4 2014-07-15 13:17:07

ysetdng
Member
Registered: 2014-05-02
Posts: 42

Re: [SOLVED] vifm puts segmentation fault

EDIT: Nah, it had nothing to do with the colorscheme.  Error just appears every now and then, deleting vifminfo always fixes it.  Must be related to vifm, not the shell, as far as I see it.

It could have something to do with updating the colorscheme from within vifm, I was tinkering on a colorscheme for light background terminals and often reloaded the Default scheme to watch the changes I made.  Then it again refused to start with one argument specified, but after deleting vifminfo it worked fine again.  I know, I lose some data when doing this but I think I can live with it and hope the error now won't reappear as long as I let the colorschemes rest aside.

Last edited by ysetdng (2014-07-15 14:06:19)

Offline

Board footer

Powered by FluxBB