slock segfaults

Bug #604536 reported by Christoph Egger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dwm-tools (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: dwm-tools

(gdb) run
Starting program: /usr/bin/slock
Cannot access memory at address 0x439
(gdb) quit

Description: Ubuntu 10.04 LTS
Release: 10.04

dwm-tools:
  Installed: 31-1
  Candidate: 31-1
  Version table:
 *** 31-1 0
        500 http://de.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
Christoph Egger (christoph-egger) wrote :

% gdb slock
GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 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 "i686-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/bin/slock...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/slock
slock: cannot retrieve password entry (make sure to suid slock)
[Inferior 1 (process 22347) exited with code 01]
(gdb) bt full
No stack.
(gdb) set follow-fork-mode
Requires an argument. Valid arguments are child, parent.
(gdb) set follow-fork-mode 1
Undefined item: "1".
(gdb) set follow-fork-mode true
Undefined item: "true".
(gdb) set follow-fork-mode
child parent
(gdb) set follow-fork-mode child
(gdb) run
Starting program: /usr/bin/slock
slock: cannot retrieve password entry (make sure to suid slock)
[Inferior 1 (process 22503) exited with code 01]
(gdb) bt full
No stack.
(gdb) set follow-fork-mode parent
(gdb) run
Starting program: /usr/bin/slock
slock: cannot retrieve password entry (make sure to suid slock)
[Inferior 1 (process 22556) exited with code 01]
(gdb) bt full
No stack.
(gdb)

Revision history for this message
Christoph Egger (christoph-egger) wrote :

% ls -lha /usr/bin/slock
-rwsr-xr-x 1 root root 9.4K 2010-12-06 23:42 /usr/bin/slock

Same on Debian where it works

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.