[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Leafnode segfaulting in texpire & fetch



Texpire started segfaulting on me a couple days ago, right
at the very beginning of the program.  Today, fetch also started
segfaulting.  It's working now, but I just wanted to let people know in
case it happens to anyone else.

Purging and reinstalling leafnode (1.4-10) did not help, but deleting
/var/spool/news (230MB) and reinstalling fixed it.  I suspect one of the
configuration files got corrupted, but I'm not sure.  (I'll have to
re-download all the news, but a lot of it was supposed to have expired
anyway.)

The strace from both programs looks similar:

TEXPIRE:
execve("/usr/sbin/texpire", ["texpire"], [/* 38 vars */]) = 0
brk(0)                                  = 0x805298c
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=10882, ...}) = 0
[2899 lines deleted]
open("/var/lib/leafnode/groupinfo", O_RDONLY) = 3
stat("/var/lib/leafnode/groupinfo", {st_mode=S_IFREG|0664, st_size=7168, ...}) = 0
brk(0x8056000)                          = 0x8056000
open("/var/lib/leafnode/groupinfo", O_RDONLY) = 4
read(4, "Very 0 1 1 -x-\nalabama 18 17 26"..., 7168) = 7168
close(4)                                = 0
brk(0x8057000)                          = 0x8057000
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

FETCH:
execve("/usr/sbin/fetch", ["fetch"], [/* 46 vars */]) = 0
brk(0)                                  = 0x8054c7c
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
[193 lines deleted]
lseek(7, 0, SEEK_CUR)                   = 0
getdents(7, /* 2 entries */, 3933)      = 28
stat(".", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat("..", {st_mode=S_IFDIR|0775, st_size=1024, ...}) = 0
lseek(7, 0, SEEK_CUR)                   = 1024
getdents(7, /* 0 entries */, 3933)      = 0
close(7)                                = 0
open("/var/lib/leafnode/groupinfo", O_RDONLY) = 7
stat("/var/lib/leafnode/groupinfo", {st_mode=S_IFREG|0664, st_size=7168, ...}) = 0
open("/var/lib/leafnode/groupinfo", O_RDONLY) = 8
read(8, "Very 0 1 1 -x-\nalabama 18 17 26"..., 7168) = 7168
close(8)                                = 0
brk(0x805b000)                          = 0x805b000
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

I wondered if the /var/lib/leafnode/groupinfo file could be the culprit,
but I don't have it anymore.  I pulled a copy from yesterday morning's
backup and fed it to leafnode, but no segfault.  

-- 
************** MIKE ORR <mso@jimpick.com> **************************
*    *     Russki   Deutsch   Esperanto                *           *
*    *                                                 *           * 
*    *                                                 *           *
***************** (Insert silly quote here) ************************


--  
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null


Reply to: