You are not logged in.

#1 2013-07-03 00:44:46

icanthearyou
Member
Registered: 2013-07-02
Posts: 2

i3-wm segfaults at startup

I have "exec i3" (have also tried "exec i3 -V >> ~/.config/i3/i3log 2>&1" but it makes no difference) in my .xinitrc file. Starting X with startx fails and exits with nothing useful in stout or xorg log file. Running i3 by itself produces the following:

mkdir(): Permission denied
07/02/2013 08:23:18 PM - ERROR: Could not initialize errorlog
zsh: segmentation fault (core dumped)   i3 

I initially thought my permissions with i3 were screwed up, but they seem to be fine.

~]$ ls -la `which i3`
-rwxr-xr-x 1 root root 343567 Mar 19 05:15 /usr/bin/i3*

checking dmesg, I see

i3[19582]: segfault at 0 ip b72440ba sp bfda04e0 error 4 in libc-2.17.so[b7145000+1a8000]

which appears to be just some gibberish that gets spit out when the actual error message is too long. Xorg runs fine by itself by the way. What am i missing here?

Offline

#2 2013-07-03 00:49:58

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

Re: i3-wm segfaults at startup

You're missing what we are missing: all those error messages that you've concluded are not useful.

The one you do show is not gibberish, but is already indiciative of a problem.  However, without seeing the others, it would only be a guess.  So show the actual error output.

I have a few potential suspicions which could be narrowed down by seeing output.  First, the permission error need not be from the i3 binary, but is likely from one of the config files that it reads at startup.  Also, the libc error makes me wonder if you are fully up to date - have you ran a `pacman -Syu` recently? (as in today).


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

Online

#3 2013-07-03 01:01:27

icanthearyou
Member
Registered: 2013-07-02
Posts: 2

Re: i3-wm segfaults at startup

What error are you specifically looking for? I don't believe I've held out on anything. This is coming from a fresh install yesterday, but ran pacman -Syyu anyway and confirmed I have nothing to upgrade.

Offline

#4 2013-07-03 01:07:24

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: i3-wm segfaults at startup

Did you modify your ~/.i3/config, does it run with the default?
Is i3 able to create its config files and directories if they do not exist, are the permissions set correctly?

Last edited by progandy (2013-07-03 01:08:52)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#5 2013-07-03 01:07:52

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

Re: i3-wm segfaults at startup

The xorg log/output would be useful.  You claimed there was nothing useful there - but generally when someone needs help solving a problem it's because they are not seeing the useful information among all the rest.

In the meantime, the output of the following may be useful:

ls -l $XDG_CONFIG_HOME/i3
ls -l $XDG_CONFIG_DIRS/i3
ls -l ~/.i3
ls -l /etc/i3

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

Online

#6 2013-07-03 07:43:54

msthev
Member
Registered: 2012-04-05
Posts: 177

Re: i3-wm segfaults at startup

errorlog is created in $XDG_RUNTIME_DIR/i3/errorlog.$$; this error message indicates (imo) that the directory ($XDG_RUNTIME_DIR/i3/) can't be created. What directory is $XDG_RUNTIME_DIR pointing at? What permissions / ownerships are set for this directory?

Offline

Board footer

Powered by FluxBB