Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 343913 - app-admin/durep - closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246.
Summary: app-admin/durep - closedir() attempted on invalid dirhandle DIR at /usr/bin/d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: http://bugs.debian.org/cgi-bin/bugrep...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-02 23:06 UTC by Jesús Guerrero Botella (RETIRED)
Modified: 2012-03-03 16:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to fix the issue (durep-0.9-dirhandle.patch,848 bytes, text/plain)
2010-11-02 23:07 UTC, Jesús Guerrero Botella (RETIRED)
Details
diff for durep-0.9-r2.ebuild (durep.ebuild.patch,335 bytes, text/plain)
2010-11-02 23:08 UTC, Jesús Guerrero Botella (RETIRED)
Details
a unified diff with patch appended (new.patch,3.40 KB, text/plain)
2011-09-23 08:38 UTC, Ian Delaney (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesús Guerrero Botella (RETIRED) gentoo-dev 2010-11-02 23:06:18 UTC
When I run durep it just spits a message like this again and again, ad infinitum.

closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246.
closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246.
closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246.
closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246.
closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246.
closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246.
closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246.
closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246.
closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246.
closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246.
closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246.
closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246.
closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246.
closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246.

It seems to be some bug on the perl code, but perl is not really my field of action so I can't really comment on it. The attached patch seems to work, though.

Reproducible: Always

Steps to Reproduce:
1.emerge durep
2.run durep /etc (or whatever small dir)
3.it should spit that error
Comment 1 Jesús Guerrero Botella (RETIRED) gentoo-dev 2010-11-02 23:07:07 UTC
Created attachment 252971 [details]
Patch to fix the issue

Patch to fix the issue
Comment 2 Jesús Guerrero Botella (RETIRED) gentoo-dev 2010-11-02 23:08:24 UTC
Created attachment 252973 [details]
diff for durep-0.9-r2.ebuild
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2011-09-23 08:38:48 UTC
Created attachment 287475 [details]
a unified diff with patch appended
Comment 4 Pacho Ramos gentoo-dev 2012-03-03 16:07:56 UTC
+*durep-0.9-r3 (03 Mar 2012)
+
+  03 Mar 2012; Pacho Ramos <pacho@gentoo.org> +durep-0.9-r3.ebuild,
+  +files/durep-0.9-dirhandle.patch:
+  Fix dirhandle errors, bug #343913 by Jesús Guerrero and Ian Delaney.
+