Hi Jaroslav & all, > Maybe. I guess it's a glibc bug which might be Fedora specific. Could you > try glibc from different distribution (or maybe rawhide) using LD_PRELOAD > hack if this bug can be reproduced? Just unpack glibc rpm with rpm2cpio > and use libc.so, libdl.so and libphread.so files for LD_PRELOAD. Well, these are manipulations I am not used to :( In particular, I never installed rawhide. But I tried the pre compiled libraries in http://download.fedora.redhat.com then used the downloaded libc.so, libdl.so and libphread.so at run time. -> Fedora development version glibc-2.9.90-8.1.i686.rpm Newer than mine. Found in : http://download.fedora.redhat.com/pub/fedora/linux/development/i386/os/Packages/ -> Fedora release version glibc-2.9-2.i686.rpm Older than mine. Found in : http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Everything/i386/os/Packages/ The bug is still there with both these versions. I've tried using another glibc (eg ubuntu), but I must say I have difficulties looking into them... Perhaps someone has Fedora Rawhide installed, and could test ? If this is possible he sample program is alsa_main.cpp, available at : https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4426 Cheers, Nicolas > On Mon, 9 Mar 2009 Nicolas.Castagne@xxxxxxx wrote: > >> Hi Jaroslav, Takashi and all, >> >> thx for you answers. >> >> >> Takashi : >> > Hm, I don't see any reason, and I cannot reproduce a crash on my >> machine... >> >> I can reproduce it on my three Fedora10 machines, using 2 hardware. >> >> Jaroslav >> > I would suggest to comment out code from >> snd_config_update_free_global(). >> > Try to comment out snd_dlobj_cache_cleanup() at first. You may compile >> > alsa-lib from the tar ball on www.alsa-project.org and use >> > LD_PRELOAD=alsa-lib/src/.libs/libasound.so.2.0.0 <your_program> for >> tests. >> >> Done. >> >> * First, no more bug when commenting snd_dlobj_cache_cleanup >> >> * Also, no more bug when commenting dlclose >> in snd_dlclose >> called from snd_dlobj_cache_cleanup >> >> >> >> The only dynamically loaded lib is _snd_pcm_pulse_open >> >> >> Seems once again that pulse is involved somewhere. > > Maybe. I guess it's a glibc bug which might be Fedora specific. Could you > try glibc from different distribution (or maybe rawhide) using LD_PRELOAD > hack if this bug can be reproduced? Just unpack glibc rpm with rpm2cpio > and use libc.so, libdl.so and libphread.so files for LD_PRELOAD. > > Jaroslav > > ----- > Jaroslav Kysela <perex@xxxxxxxx> > Linux Kernel Sound Maintainer > ALSA Project, Red Hat, Inc. > > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@xxxxxxxxxxxxxxxx > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel > _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel