- Original Message -
> From: "Dimitris Papastamos"
> To: "dev mail list"
> Sent: Friday, November 7, 2014 2:56:55 PM
> Subject: Re: [dev] slock segfault on rhel7
> Can you print out `pws' in readpw() on stderr and check the logs?
Couldn't with fast googling figure out how to do this, so
Please provide full steps of what you are doing, from building
to running.
Does it still crash?
On Sat, Nov 08, 2014 at 12:56:36PM -0500, Brandon Mulcahy wrote:
> By default abduco attempts to launch dvtm if `abduco -c` is run with no
> command argument. I didn't have dvtm installed, so the resulting error
> message was:
>
> server-execvp: No such file or directory
>
> My first though
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 accep
Hi.
On Mon, Nov 10, 2014 at 03:31:26PM +0200, Johan Guldmyr wrote:
> $ gdb -q slock
> Reading symbols from /usr/local/bin/slock...(no debugging symbols
> found)...done.
There are no symbols in your binary.
Adding '-g' to CFLAGS isn't sufficient.
You have to remove '-s' from LDFLAGS.
>From LD(1)
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
// Johan
>> I did a quick survey of a number of other terminal emulators: tmux,
>> xterm, GNU screen, rxvt and dvtm all check the SHELL environment
>> variable. Checking SHELL is expected behaviour, and it's a useful one at
>> that.
>>
>> Eric
>
> Checking SHELL is common behaviour and any user setting S
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.o
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.o
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:
I just tested this o
> Sorry, it is zsh.
>
It should work. I don't know why it doesn't work for you.
Do you have something in .zshrc?
Regards,
11 matches
Mail list logo