Re: [dev] slock segfault on rhel7

From: Johan Guldmyr <johan.guldmyr_AT_csc.fi>
Date: Mon, 10 Nov 2014 15:31:26 +0200 (EET)

Steps:

git clone http://git.suckless.org/slock
edit config.mk:
change X11INC and X11LIB to /usr/include/X11
change CFLAGS to include -g
make
sudo make install
/usr/local/bin/slock

Press ENTER
Segmentation fault

End of steps.

-

Running it as sudo it doesn't segfault on enter, but doesn't accept pw either. I have to switch ttys to kill the process to get desktop back.

-

Perhaps this helps?:

$ gdb -q slock
Reading symbols from /usr/local/bin/slock...(no debugging symbols found)...done.
(gdb)
(gdb) run
Starting program: /usr/local/bin/slock
cannot disable the out-of-memory killer for this process
[Inferior 1 (process 4979) exited with code 01]

no bt full output.
Received on Mon Nov 10 2014 - 14:31:26 CET

This archive was generated by hypermail 2.3.0 : Mon Nov 10 2014 - 14:36:08 CET