Duncan Webb wrote:
> Dirk Meyer wrote:
> | Duncan Webb wrote:
> |> Dirk Meyer wrote:
> |> | Duncan Webb wrote:
> |> |> Duncan Webb wrote:
> |> |>> Jason Tackaberry said the following, on 20/02/2008 00:13:
> |> |>>> On Tue, 2008-02-19 at 20:30 +0100, Duncan Webb wrote:
> |> |>>>> The first is definitely related to kaa and it is that a Ctrl-C
> is not
> |> |>>>> killing freevo, the process is still running and requires a
> kill -9 to
> |> |>>>> really kill it. With the 1.7 series it exits cleanly but in the 1.8
> |> |>>>> series it does not seem to be exiting. I'm pretty certain that
> it did
> |> |>>>> work with an earlier version of kaa.
> |> |>>> I have a hunch about this, though I'm not certain.  I committed
> what I
> |> |>>> hope is a fix.  It's pretty untested.  Give it a try and let me know
> |> |>>> what I broke or fixed. :)
> |> |>> Won't be able to try this until I'm back home this evening...
> |> |> I've just installed 1.8.0rc2 and the kaa packages from sf.net. Freevo
> |> |> with this version of kaa exits cleanly.
> |> |>
> |> |> With the svn version of kaa and freevo, it still hangs when it is
> |> |> shut-down or Ctrl-C'd.
> |> |
> |> | I cleaned up the complete shutdown code when dealing with external
> |> | mainloops. It should work now.
> |>
> |>
> |> Actually makes no difference to freevo, still need to run a kill -9
> on it.
> |>
> |> AFAIK freevo doesn't have an external main loop, and the recordserver
> |> doesn't either for the rel-1 branch.
> |
> | Does Freevo register an external unix signal handler? It should not do
> | that. Please try to find out using some debug code what happens in
> | kaa.notifier.main loop and stop.
> 
> 
> It does register an Unix signal handler, when I comment these out and
> press Ctrl-C I see:
> DJW:Starting kaa main run loop
> (!) [ 5832:   17.614] --> Caught signal 2, no siginfo available <--
> (!) [ 5832:   17.615] --> Caught signal 15, no siginfo available <--
> 
> These look like directfb messages which mean that kaa has not caught them.


I forgot to say, it is not just a problem with Ctrl-C freevo also 
doesn't exit when a normal shutdown is performed.

Duncan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to