Bug#897316: gcc-6: Readdir gets stuck
Package: gcc-6
Version: 6.3.0-18+deb9u1
Severity: normal
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
I was studying directory traversal using opendir and readdir
* What exactly did you do (or not do) that was effective (or ineffective)?
In program, I called readdir function after opening directory usinig
opendir
* What was the outcome of this action?
Program was taking too long to give me the output.
While debuging, I found that readdir is taking too long to execute for a
directory of 2 files
* What outcome did you expect instead?
the response time should have been less than the current executing time
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: 9.3
APT prefers proposed-updates
APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-6-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8), LANGUAGE=en_IN:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages gcc-6 depends on:
ii binutils 2.28-5
ii cpp-6 6.3.0-18+deb9u1
ii gcc-6-base 6.3.0-18+deb9u1
ii libc6 2.24-11+deb9u3
ii libcc1-0 6.3.0-18+deb9u1
ii libgcc-6-dev 6.3.0-18+deb9u1
ii libgcc1 1:6.3.0-18+deb9u1
ii libgmp10 2:6.1.2+dfsg-1
ii libisl15 0.18-1
ii libmpc3 1.0.3-1+b2
ii libmpfr4 3.1.5-1
ii libstdc++6 6.3.0-18+deb9u1
ii zlib1g 1:1.2.8.dfsg-5
Versions of packages gcc-6 recommends:
ii libc6-dev 2.24-11+deb9u3
Versions of packages gcc-6 suggests:
ii gcc-6-doc 6.3.0-1
pn gcc-6-locales <none>
ii gcc-6-multilib 6.3.0-18+deb9u1
pn libasan3-dbg <none>
pn libatomic1-dbg <none>
pn libcilkrts5-dbg <none>
pn libgcc1-dbg <none>
pn libgomp1-dbg <none>
pn libitm1-dbg <none>
pn liblsan0-dbg <none>
pn libmpx2-dbg <none>
pn libquadmath0-dbg <none>
pn libtsan0-dbg <none>
pn libubsan0-dbg <none>
-- no debconf information
Reply to: