Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jun 2002 22:49:21 -0400
From:      Randall Hopper <aa8vb@nc.rr.com>
To:        Jari Kirma <kirma@cs.hut.fi>
Cc:        multimedia@freebsd.org
Subject:   Re: FXTV 1.04beta leaking SHM segments
Message-ID:  <20020606024921.GA2470@nc.rr.com>
In-Reply-To: <Pine.GSO.4.44.0206050946360.5564-100000@hutcs.cs.hut.fi>
References:  <Pine.GSO.4.44.0206050946360.5564-100000@hutcs.cs.hut.fi>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020606024921.GA2470>