[Xastir] Now I've done it.
Matt Werner
kb0kqa at arrl.net
Fri Mar 5 21:56:38 EST 2004
I am using three port types.
Serial TNC (not KISS)
Serial TNC (KISS)
Internet (such as fourth.aprs.net).
73 - Matt
----- Original Message -----
From: "Curt, WE7U" <archer at eskimo.com>
To: "Matt Werner" <kb0kqa at arrl.net>
Cc: <xastir at xastir.org>
Sent: Friday, March 05, 2004 7:23 PM
Subject: Re: [Xastir] Now I've done it.
> On Thu, 4 Mar 2004, Matt Werner wrote:
>
> > interface.c:channel_data(4):Trying to unlock a resource that a different
> > thread locked originally 98310:262152
> > Caught Segfault! Xastir will terminate
> > Last incoming line was: Port6: etc etc etc
> >
> > Then:
> > interface.c:channel_data(4):Warning:Trying to unloack a resource that
hasn't
> > been locked:0
> > interface.c:channel_data(4):Trying to unlock a resource that a different
> > thread locked originally 0:98310
> > Caught Segfault! Xastir will terminate
> > Last incoming line was: Port6: etc etc etc
> >
> > There is nothing special about the data that was coming in. Last time
it
> > caught it on port4, which is the AX.25 interface. The line it displayed
> > then was a command that was being echoed (like "AUTOLF was off" or
something
> > like that).
> >
> > Xastir never does terminate - it just hangs. I have to do a kill -9 on
the
> > pid to get rid of it.
>
> The above can happen if code in interface.c performed a mutex lock
> and then forget to unlock it or perhaps vice-versa.. The
> lock's/unlock's have to come in pairs.
>
> Perhaps some of the recent changes ended up putting a return without
> an unlock or otherwise messed up the sequence. I'll try to look at
> that. Any idea what sorts of ports you were using? You mentioned
> AX.25 in your last message. Any other types?
>
> --
> Curt, WE7U archer at eskimo dot com
> Arlington, WA, USA http://www.eskimo.com/~archer
> "Lotto: A tax on people who are bad at math." -- unknown
> "Windows: Microsoft's tax on computer illiterates." -- WE7U
> "The world DOES revolve around me: I picked the coordinate system!"
More information about the Xastir
mailing list