Package: gdb
Version: 8.0-1
Severity: normal

Dear Maintainer,

I have problems debugging kdesu with gdb. Debugging fails with this
message:

$ gdb /usr/lib/i386-linux-gnu/libexec/kf5/kdesu
GNU gdb (Debian 8.1-4+b1) 8.1
Copyright (C) 2018 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".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib/i386-linux-gnu/libexec/kf5/kdesu...Reading 
symbols from 
/usr/lib/debug/.build-id/d8/59440907cb9b64a346797293b75d544beba51c.debug...done.
done.
(gdb) break SuProcess::exec
Breakpoint 1 at 0x4540
(gdb) run ls
Starting program: /usr/lib/i386-linux-gnu/libexec/kf5/kdesu ls
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Cannot find user-level thread for LWP 7254: generic error

I have tried googling for some solutions, but found nothing that turned
out to be of value. Also, all reports of similar problems turned out to
be rather old.

Please note that kdesu is normal program, not suid or something.

Regards
    Jiri Palecek

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 4.20.0-trunk-686-pae (SMP w/2 CPU cores)
Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2), LANGUAGE=cs_CZ 
(charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gdb depends on:
pn  libbabeltrace-ctf1  <none>
ii  libbabeltrace1      1.5.6-1
ii  libc6               2.28-4
ii  libexpat1           2.2.6-1
ii  liblzma5            5.2.2-1.3
pn  libncurses5         <none>
pn  libpython3.5        <none>
ii  libreadline7        7.0-5
pn  libtinfo5           <none>
ii  zlib1g              1:1.2.11.dfsg-1

Versions of packages gdb recommends:
ii  libc6-dbg [libc-dbg]  2.28-4

Versions of packages gdb suggests:
ii  gdb-doc    8.2-1
pn  gdbserver  <none>

Reply via email to