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. But dunno where to look at from this point :/ I upload these new inputs on the tracker. Best- Nicolas > On Mon, 9 Mar 2009, Takashi Iwai wrote: > >> At Sun, 8 Mar 2009 16:11:45 -0000 (GMT), >> Nicolas.Castagne@xxxxxxx wrote: >> > >> > Hi folks, >> > >> > I'd need the help of some alsa developpers regarding the bug report : >> > https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4426 >> > >> > We've made a few progress on it, but we are stuck again. >> > >> > Basically, it seems that calling snd_config_update_free_global() from >> a >> > pthread causes the program to crash when the thread terminates. >> > >> > >> > >> > Questions are: >> > >> > Should config_update_free_global NOT be called from a thread ? >> > >> > In other words, is the following code valid (though dumb :=)) ? >> > Or is there some reason for it to crash ? >> >> Hm, I don't see any reason, and I cannot reproduce a crash on my >> machine... > > 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. > > 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