----- Original Message -----
> From: "Dimitris Papastamos" <sin_AT_2f30.org>
> To: "dev mail list" <dev_AT_suckless.org>
> Sent: Monday, November 10, 2014 6:22:43 PM
> Subject: Re: [dev] slock segfault on rhel7
> On Mon, Nov 10, 2014 at 04:49:44PM +0200, Johan Guldmyr wrote:
>> Ah, removing -s from LDFLAGS helped. Now the "bt full" has more output.
>> So to recap I have to run the slock as user root for it to not crash on enter.
>> And I don't have root user password but here's the stack:
>>
>> https://pastee.org/dj4hs
>
> Can you also try to run it as a normal user via gdb?
>
> gdb ./slock
> run
> ENTER
> (expect segfault)
> bt
>
> Use -g without -s and post results.
$ gdb ./slock
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-51.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <
http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<
http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/slock...done.
(gdb) run
Starting program: /usr/local/bin/./slock
cannot disable the out-of-memory killer for this process
[Inferior 1 (process 16462) exited with code 01]
Missing separate debuginfos, use: debuginfo-install glibc-2.17-55.el7_0.1.x86_64 libX11-1.6.0-2.1.el7.x86_64 libXau-1.0.8-2.1.el7.x86_64 libXext-1.3.2-2.1.el7.x86_64 libxcb-1.9-5.el7.x86_64 nss-softokn-freebl-3.16.2-2.el7_0.x86_64
(gdb)
Received on Fri Nov 14 2014 - 08:36:33 CET