From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 29625 invoked from network); 19 Mar 1999 20:35:30 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 19 Mar 1999 20:35:30 -0000 Received: from adler.unix-ag.uni-siegen.de (root@adler.unix-ag.uni-siegen.de [141.99.42.52]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id PAA03142 for ; Fri, 19 Mar 1999 15:23:13 -0500 Received: from vmax.unix-ag.uni-siegen.de (vmax.unix-ag.uni-siegen.de [141.99.42.43]) by adler.unix-ag.uni-siegen.de (Mailhost) with ESMTP id VAA06717 for ; Fri, 19 Mar 1999 21:22:51 +0100 Received: (from nils@localhost) by vmax.unix-ag.uni-siegen.de (Spoolhost) id VAA40046 for axp-list@redhat.com; Fri, 19 Mar 1999 21:21:11 +0100 From: Nils Faerber Message-Id: <199903192021.VAA40046@vmax.unix-ag.uni-siegen.de> Subject: Re: Remember MTV crashes .... To: axp-list@redhat.com Date: Fri, 19 Mar 1999 21:21:11 +0100 (NFT) In-Reply-To: <199903190223.TAA03123@ellpspace.math.ualberta.ca> from "Michal Jaegermann" at Mar 18, 99 07:23:47 pm X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit > Nils Faerber wrote: > > Test was: Playing a video-CD using xreadvcd and mtvp with option '-a0' which > > disables audio completely. I also checked with qps that mtvp did not open > > the audio device at all -> it did not. > > So audio is out of the game and we are back where we started. > > My favourite guess are still pthreads. Any further opinions? > Today Ivan Kokshaysky posted on linux-kernel > list patches to semaphore code for Alpha. The problem was that threads > on Alpha which were sleeping after down_interruptible() were never woken > after up() in another part of a kernel (in 2.2.3 kernel). The patch is > supposedly solving that problem. I have no idea at this moment if the > code is even really correct. > Does the above rings a bell? Hmm ... at least it is realted in some way. But I do not think that this is the problem because this would cause, if I understood correctly, that one thread would stop working, correct? In case of these MM applications either the soundplaying thread, the display thread or any other thread would just stop working - not crash and especially not causing other threads and/or processes to crash. On the other hand I checked through x11amp's sources just a few minutes ago and looked for used pthread calls. Roughly x11amp only uses pthread_create, pthread_join and (!!!) pthread_mutex_lock, pthread_mutex_unlock. So mutex code is used ... strange. Could you send this patch to me please? Or a reference to find it? I am not (yet) subscribed to the kernel list... > Michal CU nils -- Nils Faerber (Linux Nils) eMail: nils@unix-ag.org Student of computer science http://www.si.unix-ag.org/~nils/ Unix user group, University of Siegen, Germany Siegen ... the arctic rain forest! --