Bug 1563587

Summary: slock crashes on "Enter" after screen is locked
Product: [Fedora] Fedora Reporter: ojab <bugzilla.redhat.com>
Component: slockAssignee: Petr Šabata <psabata>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 28CC: psabata
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: slock-1.4-8.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-17 00:16:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
backtrace none

Description ojab 2018-04-04 08:53:37 UTC
Created attachment 1417150 [details]
backtrace

Description of problem:
slock crashes on "Enter" press. 


Version-Release number of selected component (if applicable):
slock-1.4-7.fc28.x86_64

How reproducible:


Steps to Reproduce:
1. Run `slock`
2. Press "Enter"

Actual results:
Crash and screen is unlocked

Expected results:
Screen is locked

Additional info:
glibc-2.27-8.fc28.x86_64

Comment 1 Petr Šabata 2018-04-09 10:41:07 UTC
So I've upgraded to F28 and can reproduce it now.  Will look into it.

Comment 2 Petr Šabata 2018-04-09 14:15:36 UTC
This is related to the libxcrypt change in F28.  Handling the output of libxcrypt's crypt() causes the segfault.  This could be either a libxcrypt bug or perhaps slock is doing something wrong here and it just used to work by accident.

I'll try to resolve this with the libxcrypt / glibc maintainers.

Comment 3 Fedora Update System 2018-04-10 16:43:39 UTC
slock-1.4-8.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-4b943401e3

Comment 4 Fedora Update System 2018-04-11 22:57:27 UTC
slock-1.4-8.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-4b943401e3

Comment 5 Fedora Update System 2018-04-17 00:16:33 UTC
slock-1.4-8.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.