[Bug 18293] hald caught in infinite loop while scanning directory
bugzilla-daemon at bugzilla.ubuntu.com
bugzilla-daemon at bugzilla.ubuntu.com
Tue Oct 25 12:02:22 UTC 2005
Please do not reply to this email. You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=18293
Ubuntu | hal
------- Additional Comments From torsten.scheck at gmx.de 2005-10-25 13:02 UTC -------
(In reply to comment #1)
> Thank you for the analysis. I never saw this, though. What file system are you
> using?
I use an 'out of the box' Ubuntu 5.10 "Breezy Badger" with ext3. Therefore I'm a
bit confused that nobody else has had this problem.
With Ubuntu 5.04 I had no problems, and the filesystems of the two systems are
obviously the same:
Ubuntu 5.04
hal 0.4.7-1ubuntu15 Hardware Abstraction Layer
> grep rootfs /proc/mounts
rootfs / rootfs rw 0 0
> mount | grep /dev/hda1
/dev/hda1 on / type ext3 (rw,errors=remount-ro)
Ubuntu 5.10
> dpkg -l hal
hal 0.5.3-0ubuntu14 Hardware Abstraction Layer
> grep rootfs /proc/mounts
rootfs / rootfs rw 0 0
> mount | grep /dev/hda2
/dev/hda2 on / type ext3 (rw,errors=remount-ro)
Maybe some packages or my configuration caused the problem to occur? But IMO I
don't use anything special:
My box is an HP nc6120.
Additionally I installed the following packages:
855resolution ion3 rxvt-unicode-ml links elinks lynx ssh xlibs-dev
libcdparanoia0-dev xmms-crossfade gnupg-doc gqview album aspell-de blender bmv
cowsay figlet gnuplot gnuplot-nox gnuplot-x11 imagemagick ircii libsvga1 recode
sidplay smbfs stella tetex-base texinfo tidy traceroute tree xaw3dg xfig
xlockmore psi cabber perlindex gv gnugo cgoban dict dict-de-en dict-foldoc
dict-freedict-deu-eng dict-freedict-eng-deu dict-freedict-fra-deu
dict-freedict-deu-fra dict-jargon dict-vera diction aspell-bg aspell-fr
wbulgarian wfrench wngerman audacity xclip host mpage rar unrar-nonfree elinks
nmap samba samba-doc w3c-dtd-xhtml mailutils cdrtools-doc cdda2wav perl-doc
apache-doc bvi vche rcs sodipodi inkscape noflushd tcpflow tcpreen minicom
usemod-wiki jack nfs-common tpp analog vim-latexsuite apt-file atop sysstat
libssl-dev libgmp3c2 libgmpxx3 openssl devhelp-books libgtk2-perl-doc rsh-client
stereograph units mp3gain mp3splt mp3wrap tetex-doc tetex-extra xaos sox rawrec
xpp bittornado ncftp mboxgrep pdftk qiv xtightvncviewer lostirc sirc ardour-gtk
usbview xkeycaps lua50 cplay lsdvd glibc-doc manpages-dev manpages-posix-dev
vim-scripts apache2 php4 php4-mysql mysql-client mysql-server libhtml-mason-perl
parsewiki devscripts html2ps smartmontools wine frozen-bubble mldonkey-server
cdrdao gtklp sl-modem-daemon mozilla-thunderbird-enigmail
mozilla-thunderbird-offline libqt3-compat-headers xpdf qt3-qtconfig
bluez-hcidump festival speech-dispatcher-festival festvox-rablpc16k checkinstall
Maybe it's an locale issue, which accidentally prevented a recursion on most
systems?
But my I haven't tweaked anything here: LC_COLLATE="POSIX" should be normal.
Do you get the same output when you run the program below?
.
..
fdi.dtd
fdi.rng
information
policy
preprobe
--------------------8<--------------------
#include <stdio.h>
#include <dirent.h>
int
main (void)
{
struct dirent **namelist;
int n,i;
n = scandir("/usr/share/hal/fdi", &namelist, 0, alphasort);
if (n < 0)
perror("scandir");
else {
for (i=0; i<n; i++) {
printf("%s\n", namelist[i]->d_name);
free(namelist[n]);
}
free(namelist);
}
}
--------------------8<--------------------
When I have some more time, I'll reinstall the original hald and debug it.
Cheers,
Torsten
--
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the desktop-bugs
mailing list