From: bugtrack@alsa-project.org Subject: [ALSA - lib 0002124]: snd_config_update_free_global kills applications using user space alsa plugins Date: Mon, 15 May 2006 11:01:36 +0200 Message-ID: <621761692f7e2f66c4a927e819341320@bugtrack.alsa-project.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [85.132.177.35]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id 69BD711B for ; Mon, 15 May 2006 11:01:36 +0200 (MEST) Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A NOTE has been added to this issue. ====================================================================== ====================================================================== Reported By: fchevalier Assigned To: ====================================================================== Project: ALSA - lib Issue ID: 2124 Category: 0_general Reproducibility: always Severity: crash Priority: normal Status: new ====================================================================== Date Submitted: 05-14-2006 19:10 CEST Last Modified: 05-15-2006 11:01 CEST ====================================================================== Summary: snd_config_update_free_global kills applications using user space alsa plugins Description: Calling snd_config_update_free_global will make applications using user space alsa plugins SIGSEGV in hard to disover way. This is due due the fact that snd_config_update_free_global calls snd_dlobj_cache_cleanup, which in turns unloads the user space plugins, even if symbols are still in use. The result is that the next call to *any* alsa function is likely to crash if it ends up calling a plugin function. It took me a whole day to troubleshoot the issue in ekiga 2.0.1 :-) ====================================================================== ---------------------------------------------------------------------- tiwai - 05-15-06 11:01 ---------------------------------------------------------------------- Maybe we should add a refcount so that the objects won't be released when used. Issue History Date Modified Username Field Change ====================================================================== 05-14-06 19:10 fchevalier New Issue 05-15-06 11:01 tiwai Note Added: 0009817 ====================================================================== ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642