Re: [dev] slock segfault on rhel7

From: Johan Guldmyr <>
Date: Fri, 14 Nov 2014 09:36:33 +0200 (EET)

----- Original Message -----
> From: "Dimitris Papastamos" <>
> To: "dev mail list" <>
> 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:
> Can you also try to run it as a normal user via gdb?
> gdb ./slock
> run
> (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 <>
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:
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
Received on Fri Nov 14 2014 - 08:36:33 CET

This archive was generated by hypermail 2.3.0 : Fri Nov 14 2014 - 08:48:08 CET