[Xastir] Can't write objects...

Mike Markowski mm at UDel.Edu
Mon Nov 15 09:52:03 EST 2004


Has anyone else seen this when starting xastir?

   Couldn't write objects to map index file: /home/mm/.xastir/config/map_index.sys
   Caught Segfault! Xastir will terminate
   Last incoming line was:
   09:35:39

I then did a 'chmod 666' to map_index.sys, but same output resulted.
An strace, showing only lines of interest, is pasted below.  To verify,

   mm at thing ~/xastir $ ll /home/mm/.xastir/config/map_index.sys
   -rw-rw-rw-  1 mm users 71 Nov 15 09:31 /home/mm/.xastir/config/map_index.sys

I'm stumped at the moment, and any ideas would be greatly
appreciated!  From the strace below, open() returns the file
descriptor, fstat succeeds, and mmap returns a ptr to the mapped
area.  It all looks good.  I'll start poking at the code but thought
I'd write first in case this has been seen.  (I couldn't search the
xastir archives for some reason.)

This is using the latest CVS version on an up to date gentoo linux box.
I've gotten the same results on an HP P-III laptop and an Athlon 3200+,
both gentoo boxes.

    Thanks!
    Mike  AB3AP

[...]
open("/home/mm/.xastir/config/map_index.sys", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7536000
write(2, "Couldn\'t write objects to map in"..., 80Couldn't write objects to map index file: /home/mm/.xastir/config/map_index.sys
) = 80
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
write(2, "Caught Segfault! Xastir will ter"..., 39Caught Segfault! Xastir will terminate
) = 39
write(2, "Last incoming line was: \n", 25Last incoming line was:
) = 25
time([1100529091])                      = 1100529091
open("/etc/localtime", O_RDONLY)        = 6
[...]



More information about the Xastir mailing list