From owner-freebsd-multimedia Wed Jun 5 19:47:34 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail-virtual.nc.rr.com (rdu26-231-240.nc.rr.com [66.26.231.240]) by hub.freebsd.org (Postfix) with ESMTP id 91AC237B404 for ; Wed, 5 Jun 2002 19:47:30 -0700 (PDT) Received: by mail-virtual.nc.rr.com (Postfix, from userid 26374) id 1C76D12BE18; Wed, 5 Jun 2002 22:49:21 -0400 (EDT) Date: Wed, 5 Jun 2002 22:49:21 -0400 From: Randall Hopper To: Jari Kirma Cc: multimedia@freebsd.org Subject: Re: FXTV 1.04beta leaking SHM segments Message-ID: <20020606024921.GA2470@nc.rr.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Jari Kirma: |Observed after usage of several weeks (and numerous restarts of FXTV), |FXTV beta seems to leak a shared memory segment after quitting. |Segments show up afterwards like this: ... |To repeat, just start FXTV and select Quit from File menu. Thanks for the bug report. It appears this might be the result of an Xt bug to me. I've added hack to take care of this case. I see the same behavior here, but only when quitting via File->Quit. If I use the Quit action routine (e.g. hit ESC when your cursor is over the video window), or send a WM_DELETE_WINDOW event to the Fxtv window (depending on your WM, click on the "X" WM icon), then I don't. Apparently, the atexit routines aren't being called in some circumstances when exit(0) is called. However, they are being called when exit(0) is invoked in action routines or key event handlers...go figure. Randall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message