[Xastir] Lockup Troubles (Mac)

Chip G. n1mie at ct.metrocast.net
Thu Mar 29 09:57:00 EDT 2007


On Mar 28, 2007, at 10:44, Curt, WE7U wrote:

> On Tue, 27 Mar 2007, Chip G. wrote:
>
>> Things had been going well, but recently I've started having  
>> periodic lockups. The symptoms are that I will come along and  
>> check the machine and find that it Xastir is frozen.
>
> What version of Xastir?

The about box reports 1.8.5 compiled on 3/11/07 using the latest CVS  
update.

>> So my first question is if there is another command other than  
>> "kill" to abort a process (I've tried nearly every variation on  
>> "kill" and none of them work).
>
>     ps -aux | grep xastir | grep -v grep
>     kill -9 <pid>

I'm pretty sure I tried this, but I will try again the next time it  
happens. It has been running for more than 12hrs now without a  
lockup. In fact I just sent a message to a friend, a reply to a  
message he sent at 1945 last night.

>>> ***** WARNING *****
>>> Berkeley DB header files/shared library file do NOT match!
>>> Disabling use of map cache.
>>>  Header file: Sleepycat Software: Berkeley DB 4.2.52: (December  
>>> 3, 2003)
>>> Library file: Sleepycat Software: Berkeley DB 4.4.20: (January  
>>> 10, 2006)
>>> ***** WARNING *****
>
> The "Disabling use of map cache." line lets you know that it is  
> _not_ using the Berkeley library for map caching.  If it were to be  
> enabled with headers that don't match the libraries, the likely  
> result would be Xastir crashing entirely and disappearing from your  
> screen.  It is unrelated to the issue you're currently having.

Bummer. But I'd still like to fix it.

>> I'd like to straighten out the Berkeley DB issue and I would also  
>> like to isolate the lockup problem if it's not related.
>
> Typically you'd:
>
> *) Remove any older Berkeley header and/or library files.

Any more advice here on how to tell which belong and which don't?

> *) Make sure that the sets you do have installed match.

According to Fink (package management software) I have version 4.4  
installed (and no other). Looking at the libdir I have portions of at  
least versions: 3.3, 4.2, 4.3, 4.4. What should I look for in incdir?  
The only thing I see there that seems to relate is a db4 directory.  
In the db4 directory is a db.h file which lists it's version as 4.4.20.

> *) Make sure that you pass flags to configure if necessary in order
>    to help Xastir find them if it can't find them automatically.

I'm pretty sure they're finding them. I have a prefix command which  
gets them there. It's been working for over a year, so I hesitate to  
suspect this. Rather I think the db4 problem relates to periodic  
upgrades that left fragments behind that need cleaning.

> On OpenSuSE-10.0 I don't have to pass any flags to configure to get  
> map caching compiled in.

Using Mac OS X here. Since I use Fink, which installs everything in  
a /sw directory, I need to use the prefix flag to tell the compiler  
where to find those fragments installed by Fink. I know DarwinPorts  
installs in the 'proper' location, but I've been using Fink for a  
long time and am happy with it's performance so why switch.

> Regarding your lockups, did you compile Xastir against Lesstif or  
> OpenMotif?  I've had more issues with Lesstif.

This might relate to the problem. I have Lesstif installed and have  
been using it successfully since Sept 06. If you look in the message  
archives you will see we had an exchange then (09/06) regarding a  
problem I was having which was resolved by abandoning OpenMotif and  
embracing Lesstif.

Is there something more I can do to help narrow down the cause of the  
crash? I have profiling off (because of the large files it creates)  
but I can turn it back on if it will help. I have libgc also off, but  
I'm sure I can enable it if necessary.


73,
--de Chip (N1MIE) FN41bn





More information about the Xastir mailing list