Hi,

I installed the eiskaltdcpp-qt-dbg package. The binary's executable bit was 
missing.

user@localhost:~$ /usr/lib/debug/usr/bin/eiskaltdcpp-qt
bash: /usr/lib/debug/usr/bin/eiskaltdcpp-qt: Permission denied
user@localhost:~$ ls -l /usr/lib/debug/usr/bin/eiskaltdcpp-qt
-rw-r--r-- 1 root root 39187455 Mar 11 16:17 
/usr/lib/debug/usr/bin/eiskaltdcpp-qt
user@localhost:~$ gdb /usr/lib/debug/usr/bin/eiskaltdcpp-qt
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/lib/debug/usr/bin/eiskaltdcpp-qt...done.
(gdb) run
Starting program: /usr/lib/debug/usr/bin/eiskaltdcpp-qt 
/bin/bash: /usr/lib/debug/usr/bin/eiskaltdcpp-qt: Engedély megtagadva
/bin/bash: line 0: exec: /usr/lib/debug/usr/bin/eiskaltdcpp-qt: cannot execute: 
Engedély megtagadva
During startup program exited with code 126.
(gdb) bt
No stack.
(gdb) q


After fixing:


user@localhost:~$ su
Password: 
localhost:/home/user# chmod +x /usr/lib/debug/usr/bin/eiskaltdcpp-qt
localhost:/home/user# exit
user@localhost:~$ ls -l /usr/lib/debug/usr/bin/eiskaltdcpp-qt
-rwxr-xr-x 1 root root 39187455 Mar 11 16:17 
/usr/lib/debug/usr/bin/eiskaltdcpp-qt
user@localhost:~$ gdb /usr/lib/debug/usr/bin/eiskaltdcpp-qt
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/lib/debug/usr/bin/eiskaltdcpp-qt...done.
(gdb) run
Starting program: /usr/lib/debug/usr/bin/eiskaltdcpp-qt 
/bin/bash: /usr/lib/debug/usr/bin/eiskaltdcpp-qt: cannot execute binary file
/bin/bash: /usr/lib/debug/usr/bin/eiskaltdcpp-qt: Success
During startup program exited with code 1.
(gdb) bt
No stack.
(gdb) quit
user@localhost:~$ file /usr/lib/debug/usr/bin/eiskaltdcpp-qt
/usr/lib/debug/usr/bin/eiskaltdcpp-qt: ELF 32-bit LSB executable, Intel 80386, 
version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, 
not stripped
user@localhost:~$ ldd /usr/lib/debug/usr/bin/eiskaltdcpp-qt
        statically linked


Janos



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to