Re: [Xastir] Problem with Xastir Server Ports

2008-09-22 Thread Curt, WE7U

On Mon, 22 Sep 2008, Curt, WE7U wrote:


The "p = NULL;" at x_spider.c line 544 is the culprit.  Comment that
line out and the server ports seem to be as solid as they ever were.


Fixed in CVS of course.

--
Curt, WE7U. archer at eskimo dot com
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!"
___
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir


Re: [Xastir] Problem with Xastir Server Ports

2008-09-22 Thread Curt, WE7U


1.9.2  OK (w/error output when client disconnects)
1.9.3-2008-Jun-09  OK (w/error output when client disconnects)
1.9.3-2008-Jul-07  Problem
1.9.4  Problem
1.9.5  Problem

I see this on the xterm I started the server from
w/"1.9.3-2008-Jun-09", but it continues to run ok.  Might be a
good clue:

*** glibc detected *** xastir: free(): invalid pointer: 0x08361900 ***

That above text happens when you disconnect the client.  When you
try to reconnect on 1.9.3-2008-Jul-07 or later, you can't, unless
you disable/reenable the server ports again.

Looks like the problem started between June 9th and July 7th.

All right, there were changes made to src/x_spider.c on June 11th,
and one or more of these contributed to the problem.  If I revert
the file to a pre-June 11th state the problem disappears.  There
were nine lines added to the file.  One or more of them is the
culprit.

The "p = NULL;" at x_spider.c line 544 is the culprit.  Comment that
line out and the server ports seem to be as solid as they ever were.

--
Curt, WE7U. archer at eskimo dot com
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!"
___
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir


Re: [Xastir] Problem with Xastir Server Ports

2008-09-22 Thread Curt, WE7U

On Sun, 21 Sep 2008, Josh Housey wrote:


Its been running fine from 190 and even with this version, but I
cannot reconnect it by getting "connected refused".

For example, I just did a regular telnet connection to it through
the console (works the same through the other Xastir). and it
states that "x_spider connected to 127.0.0.1". That is fine and
simply stating I am connected to Xastir and receiving activity.
However, when I disconnect I get the following:

UpDateTime: Writen Error (TNC Send x_spider): 32


Any time I get that "writen error 32" I know that there are some
threads running that won't accept connections.  I used to run into
that while writing/debugging the server ports, and still sometimes
run into it if Xastir crashes or is forceably crashed by me.  The
only way I could recover from that was to close all of the Xastir
threads/processes, sometimes needing to do that forceably.



This keeps repeating until I close Xastir on the laptop. When I
relaunch it, it is fine. I have recently had this problem with
1.94 and nothing before it. I tried the very latest development of
1.9.5 and it is the same.


I've noticed frailty in the server ports as of late but haven't had
the time to investigate.  The server ports used to be rock solid.

A place to start:  Check the CVS differences for those bits of code
once we figure out which versions are good and which aren't.  It's
possible some very minor change caused a side-effect.

I'm still catching up.  Just got back out of the woods yesterday.

--
Curt, WE7U. archer at eskimo dot com
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!"
___
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir


RE: [Xastir] Problem with Xastir Server Ports

2008-09-21 Thread Mike Loebl
I think I am also seeing something similiar.  I have an app that I
wrote that connects to the Xastir port and parses out the incoming APRS. If
I disconnect that, very often I will see the same symptom where I can't
reconnect until I restart Xastir.  Like you it also started at some point
with 1.94 and with 1.95 as well.  I believe I'm using Debian on that box,
but cannot remember the version.

-Mike
KB1MTS

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Josh Housey
Sent: Sunday, September 21, 2008 1:37 PM
To: xastir@xastir.org
Subject: [Xastir] Problem with Xastir Server Ports 

Dear All,

I have been running Xastir on a Linux laptop running Slackware 11.0 for my
packet "server" and also run it on a Mac Mini as well.

I use the Mac mini's Xastir to view the traffic and get on to APRS via
laptop through Xastir's Server Ports.

Its been running fine from 190 and even with this version, but I cannot
reconnect it by getting "connected refused".

For example, I just did a regular telnet connection to it through the
console (works the same through the other Xastir). and it states that
"x_spider connected to 127.0.0.1". That is fine and simply stating I am
connected to Xastir and receiving activity. However, when I disconnect I get
the following:

UpDateTime: Writen Error (TNC Send x_spider): 32

This keeps repeating until I close Xastir on the laptop. When I relaunch it,
it is fine. I have recently had this problem with 1.94 and nothing before
it. I tried the very latest development of 1.9.5 and it is the same.

Any suggestions will be appreciated to this. This is a pain to relaunch
everytime I want to do this.

73
Josh, AB9FT



  
___
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir

___
Xastir mailing list
Xastir@xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir