Bug#913929: Bug #913929: pldd never stops

2018-11-17 Thread Bernhard Übelacker
Dear Maintainer,
this looks like a matching upstream bug:

   https://sourceware.org/bugzilla/show_bug.cgi?id=18035

Kind regards,
Bernhard



Bug#913929: pldd never stops

2018-11-17 Thread Jörg Sommer
Package: libc-bin
Version: 2.27-8
Severity: normal

Hi,

I've ran `pldd $$`, but it never comes to an end. I've killed the process
with SIGQUIT and got this backtrace:

```
   PID: 10556 (pldd)
   UID: 1000 (joerg)
   GID: 1000 (joerg)
Signal: 3 (QUIT)
 Timestamp: Sat 2018-11-17 08:33:56 CET (5min ago)
  Command Line: pldd 953
Executable: /usr/bin/pldd
 Control Group: /user.slice/user-1000.slice/session-1.scope
  Unit: session-1.scope
 Slice: user-1000.slice
   Session: 1
 Owner UID: 1000 (joerg)
   Boot ID: 87a38c39c06e4c36b4eebb33c4e3e2ac
Machine ID: 523cb54753234ed08c13ec497d0d3b64
  Hostname: zenbook
   Storage: 
/var/lib/systemd/coredump/core.pldd.1000.87a38c39c06e4c36b4eebb33c4e3e2ac.10556.154244003600.lz4
   Message: Process 10556 (pldd) of user 1000 dumped core.

Stack trace of thread 10556:
#0  0x7f81a7d6a7a7 __libc_pread64 (libc.so.6)
#1  0x557c5866224d n/a (pldd)
#2  0x557c58661792 n/a (pldd)
#3  0x7f81a7ca5b17 __libc_start_main (libc.so.6)
#4  0x557c5866184a n/a (pldd)

[New LWP 10556]
Core was generated by `pldd 953'.
Program terminated with signal SIGQUIT, Quit.
#0  0x7f81a7d6a7a7 in __libc_pread64 (fd=4, buf=0x7ffebbcd5900, count=16, 
offset=140221672822504) at ../sysdeps/unix/sysv/linux/pread64.c:29
29  ../sysdeps/unix/sysv/linux/pread64.c: Datei oder Verzeichnis nicht 
gefunden.
#0  0x7f81a7d6a7a7 in __libc_pread64 (fd=4, buf=0x7ffebbcd5900, count=16, 
offset=140221672822504) at ../sysdeps/unix/sysv/linux/pread64.c:29
resultvar = 16
sc_ret = 
sc_ret = 
resultvar = 
resultvar = 
__arg4 = 
__arg3 = 
__arg2 = 
__arg1 = 
_a4 = 
_a3 = 
_a2 = 
_a1 = 
sc_cancel_oldtype = 
resultvar = 
resultvar = 
__arg4 = 
__arg3 = 
__arg2 = 
__arg1 = 
_a4 = 
_a3 = 
_a2 = 
_a1 = 
#1  0x557c5866224d in find_maps64 (pid=, auxv=, auxv_size=) at pldd-xx.c:230
ln = {name = 140221672822528, next = 0}
m = {l_addr = 93944802607104, l_name = 140221672822528, l_ld = 
93944803440424, l_next = 140221672822544, l_prev = 0, l_real = 140221672821104, 
l_ns = 0, l_libname = 140221672822504}
name_offset = 140221672822528
phdr = 
phnum = 
phent = 
auxvXX = 
p = 
offset = 
list = 
interp = 
tmpbuf = {data = 0x7ffebbcd5960, length = 1024, __space = {__align = 
{__max_align_ll = 0, __max_align_ld = }, __c = '\000' 
, 
"\360\231\220\377\177\000\000\260\233\377\346\207\177\000\000H\363\231\220\377\177\000\000\000\260\372\346\207\177\000\000p\221\377\346\207\177\000\000\020\227\377\346\207\177\000\000\000\000\000\000\000\000\000\000\210\233\377\346\207\177",
 '\000' , 
"\240v\377\346\207\177\000\000\260v\377\346\207\177\000\000\300v\377\346\207\177",
 '\000' , 
"\250\363\231\220\377\177\000\000\270\363\231\220\377\177", '\000' , "H\363\231\220\377\177\000\000\000\000\000\000\000\000\000\000"...}}
status = 0
#2  0x557c58661792 in get_process_info (pid=953, dfd=3) at pldd.c:338
fd = 5
auxv = 0x557c59f6b480
retval = 
e_ident = "\177ELF\002\001\001\000\000\000\000\000\000\000\000"
auxv_size = 320
fd = 
e_ident = 
auxv_size = 
auxv = 
retval = 
n = 
#3  main (argc=, argv=) at pldd.c:193
remaining = 1
__PRETTY_FUNCTION__ = "main"
endp = 0x557c59f6b4f6 ""
pid = 953
buf = 
"/proc/953\000ͻ\376\177\000\000\001\000\000\000\000\000\000\000\265Iҧ\201\177"
dfd = 
exebuf = {data = 0x7ffebbcd5e20, length = 1024, __space = {__align = 
{__max_align_ll = 7526493746400682543, __max_align_ld = }, 
__c = 
"/bin/zsh\000_ͻ\376\177\000\000\210\t䧁\177\000\000\360\331见\177\000\000\000\000\000\000\000\000\000\000\027\362槁\177\000\000\001\000\000\000\000\000\000\000\210\t䧁\177\000\000\001",
 '\000' , 
"\001\000\000\000\000\000\000\000\360\331见\177\000\000\061Y槁\177\000\000\000\000\000\000\001\000\000\000\300^ͻ\376\177\000\000\320^ͻ\376\177\000\000\310\344见\177\000\000\000\000\000\000\000\000\000\000``ͻ\376\177\000\000
 @ʧ\201\177\000\000\377\377\377\377\000\000\000\000 
\240㧁\177\000\000X\201ȧ\201\177\000\000\000\000䧁\177", '\000' , 
"\001\000\000\000\376\177\000\000\330\321ֻ\376\177\000\000\000\000\000\000"...}}
nexe = 
thread_list = 0x7ffebbcd5db0
taskfd = 
dir = 
d = 
status = 
```

Regards Jörg


-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Lin