Re: [dev] [slock] segfault

From: Rob <robpilling_AT_gmail.com>
Date: Sun, 4 Dec 2011 22:55:27 +0000

On 4 December 2011 22:19, Arian Kuschki <arian.kuschki_AT_googlemail.com> wrote:
> I get a segfault when running slock via my acpi handler script:
>
> Dec  4 23:15:00 localhost kernel: [26284.789539] slock[13389]:
> segfault at 0 ip 00007f12b8b57879 sp 00007fff74d6d810 error 4 in
> libnss_files-2.14.1.so[7f12b8b50000+b000]

Can you get a coredump and give us a stack trace?

In your script:
ulimit -c unlimited
Then when slock segfaults, hunt around for a file named "core".
Probably in $HOME

Then:
$ gdb path/to/slock path/to/core
(gdb) bt


You might want to compile slock with debug flags too (replace -s with
-g in config.mk)

Rob
Received on Sun Dec 04 2011 - 23:55:27 CET

This archive was generated by hypermail 2.3.0 : Mon Dec 05 2011 - 00:00:10 CET