🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Kevin Blackwell Wed, 28 Jan 2004 22:05
innd crashing
#67807
Author: Kevin Blackwell
Date: Wed, 28 Jan 2004 22:05
160 lines
9331 bytes
OK, I have looked and looked and can find no answer to this problem. 
Innd is crashing on me. Are there messages in the logs about this, no. 
I've been doing an strace of the process and here's what it looks like 
at the end. Any help would be appreciated. The last line is where it 
dies at. For the life of me I can't figure out why.

Keivn Blackwell

write(1, "Jan 28 15:55:46.520 - localhost "..., 278) = 278
gettimeofday({1075327217, 307813}, NULL) = 0
gettimeofday({1075327217, 308035}, NULL) = 0
time([1075327217])                      = 1075327217
rt_sigaction(SIGPIPE, {0x401c28f0, [], SA_RESTORER, 0x40231aa8}, 
{0x401c28f0, [], SA_RESTORER|SA_RESTART, 0x40231aa8}, 8) = 0
send(4, "<61>Jan 28 16:00:17 innd: ME tim"..., 206, 0) = 206
rt_sigaction(SIGPIPE, {0x401c28f0, [], SA_RESTORER|SA_RESTART, 
0x40231aa8}, NULL, 8) = 0
time([1075327217])                      = 1075327217
rt_sigaction(SIGPIPE, {0x401c28f0, [], SA_RESTORER, 0x40231aa8}, 
{0x401c28f0, [], SA_RESTORER|SA_RESTART, 0x40231aa8}, 8) = 0
send(4, "<60>Jan 28 16:00:17 innd: ME HIS"..., 70, 0) = 70
rt_sigaction(SIGPIPE, {0x401c28f0, [], SA_RESTORER|SA_RESTART, 
0x40231aa8}, NULL, 8) = 0
gettimeofday({1075327217, 311427}, NULL) = 0
select(16, [3 13 15], [], NULL, {300, 0}) = 1 (in [3], left {80, 7000})
gettimeofday({1075327437, 306247}, NULL) = 0
gettimeofday({1075327437, 306425}, NULL) = 0
gettimeofday({1075327437, 306598}, NULL) = 0
accept(3, {sa_family=AF_INET, sin_port=htons(1849), 
sin_addr=inet_addr("127.0.0.1")}, [16]) = 17
open("/etc/protocols", O_RDONLY)        = 25
fcntl64(25, F_GETFD)                    = 0
fcntl64(25, F_SETFD, FD_CLOEXEC)        = 0
fstat64(25, {st_mode=S_IFREG|0644, st_size=6561, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0x40979000
read(25, "#\n# protocols\tThis file describe"..., 4096) = 4096
close(25)                               = 0
munmap(0x40979000, 4096)                = 0
getsockopt(17, SOL_IP, IP_OPTIONS, "", [0]) = 0
fcntl64(17, F_GETFD)                    = 0
fcntl64(17, F_SETFD, FD_CLOEXEC)        = 0
fcntl64(17, F_GETFL)                    = 0x2 (flags O_RDWR)
fcntl64(17, F_SETFL, O_RDWR|O_NONBLOCK) = 0
setsockopt(17, SOL_SOCKET, SO_SNDBUF, [24576], 4) = 0
setsockopt(17, SOL_SOCKET, SO_RCVBUF, [49152], 4) = 0
setsockopt(17, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
write(17, "200 morpheus.speedsite.com Inter"..., 64) = 64
time([1075327437])                      = 1075327437
rt_sigaction(SIGPIPE, {0x401c28f0, [], SA_RESTORER, 0x40231aa8}, 
{0x401c28f0, [], SA_RESTORER|SA_RESTART, 0x40231aa8}, 8) = 0
send(4, "<60>Jan 28 16:03:57 innd: localh"..., 66, 0) = 66
rt_sigaction(SIGPIPE, {0x401c28f0, [], SA_RESTORER|SA_RESTART, 
0x40231aa8}, NULL, 8) = 0
gettimeofday({1075327437, 312024}, NULL) = 0
gettimeofday({1075327437, 312112}, NULL) = 0
select(18, [3 13 15 17], [], NULL, {80, 0}) = 1 (in [17], left {79, 993000})
gettimeofday({1075327437, 319787}, NULL) = 0
gettimeofday({1075327437, 319989}, NULL) = 0
gettimeofday({1075327437, 320161}, NULL) = 0
gettimeofday({1075327437, 320349}, NULL) = 0
read(17, "ihave <E1Alxhg-0002OB-5h@globalt"..., 8192) = 50
gettimeofday({1075327437, 320999}, NULL) = 0
gettimeofday({1075327437, 321432}, NULL) = 0
gettimeofday({1075327437, 321639}, NULL) = 0
gettimeofday({1075327437, 341952}, NULL) = 0
write(17, "335\r\n", 5)                 = 5
gettimeofday({1075327437, 342264}, NULL) = 0
gettimeofday({1075327437, 342353}, NULL) = 0
gettimeofday({1075327437, 342448}, NULL) = 0
gettimeofday({1075327437, 342532}, NULL) = 0
select(18, [3 13 15 17], [], NULL, {80, 0}) = 1 (in [17], left {79, 999000})
gettimeofday({1075327437, 343443}, NULL) = 0
gettimeofday({1075327437, 343530}, NULL) = 0
gettimeofday({1075327437, 343614}, NULL) = 0
gettimeofday({1075327437, 343708}, NULL) = 0
read(17, "Path: MAILER-DAEMON\r\nFrom: Maile"..., 8142) = 4096
gettimeofday({1075327437, 344239}, NULL) = 0
gettimeofday({1075327437, 344332}, NULL) = 0
gettimeofday({1075327437, 344529}, NULL) = 0
gettimeofday({1075327437, 344624}, NULL) = 0
gettimeofday({1075327437, 344790}, NULL) = 0
select(18, [3 13 15 17], [], NULL, {80, 0}) = 1 (in [17], left {80, 0})
gettimeofday({1075327437, 346192}, NULL) = 0
gettimeofday({1075327437, 346363}, NULL) = 0
gettimeofday({1075327437, 346533}, NULL) = 0
gettimeofday({1075327437, 346713}, NULL) = 0
read(17, "tafOEnVcn/////EmC+GGXVOJ4Xc+JUiU"..., 4046) = 4046
gettimeofday({1075327437, 347370}, NULL) = 0
gettimeofday({1075327437, 347545}, NULL) = 0
gettimeofday({1075327437, 347867}, NULL) = 0
gettimeofday({1075327437, 348075}, NULL) = 0
gettimeofday({1075327437, 348245}, NULL) = 0
select(18, [3 13 15 17], [], NULL, {80, 0}) = 1 (in [17], left {80, 0})
gettimeofday({1075327437, 349076}, NULL) = 0
gettimeofday({1075327437, 349248}, NULL) = 0
gettimeofday({1075327437, 349418}, NULL) = 0
gettimeofday({1075327437, 349597}, NULL) = 0
gettimeofday({1075327437, 349786}, NULL) = 0
gettimeofday({1075327437, 350186}, NULL) = 0
read(17, "9IsYjPWoihpgkwpk5jsXmAkeP/m0srpx"..., 8192) = 8192
gettimeofday({1075327437, 350710}, NULL) = 0
gettimeofday({1075327437, 350885}, NULL) = 0
gettimeofday({1075327437, 351223}, NULL) = 0
gettimeofday({1075327437, 351591}, NULL) = 0
gettimeofday({1075327437, 351853}, NULL) = 0
gettimeofday({1075327437, 352057}, NULL) = 0
gettimeofday({1075327437, 352228}, NULL) = 0
select(18, [3 13 15 17], [], NULL, {80, 0}) = 1 (in [17], left {80, 0})
gettimeofday({1075327437, 353044}, NULL) = 0
gettimeofday({1075327437, 353225}, NULL) = 0
gettimeofday({1075327437, 353395}, NULL) = 0
gettimeofday({1075327437, 353655}, NULL) = 0
gettimeofday({1075327437, 353842}, NULL) = 0
gettimeofday({1075327437, 354040}, NULL) = 0
read(17, "BqoOQOek/o3qRlCNZ2dA1wNTRNSRz2oM"..., 16434) = 16434
gettimeofday({1075327437, 354756}, NULL) = 0
gettimeofday({1075327437, 354956}, NULL) = 0
gettimeofday({1075327437, 355408}, NULL) = 0
gettimeofday({1075327437, 355580}, NULL) = 0
gettimeofday({1075327437, 355952}, NULL) = 0
gettimeofday({1075327437, 356171}, NULL) = 0
gettimeofday({1075327437, 356342}, NULL) = 0
select(18, [3 13 15 17], [], NULL, {80, 0}) = 1 (in [17], left {79, 971000})
gettimeofday({1075327437, 385318}, NULL) = 0
gettimeofday({1075327437, 385490}, NULL) = 0
gettimeofday({1075327437, 385660}, NULL) = 0
gettimeofday({1075327437, 385841}, NULL) = 0
gettimeofday({1075327437, 386052}, NULL) = 0
gettimeofday({1075327437, 386437}, NULL) = 0
read(17, "\r\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"..., 32768) = 158
gettimeofday({1075327437, 386924}, NULL) = 0
gettimeofday({1075327437, 387107}, NULL) = 0
gettimeofday({1075327437, 387287}, NULL) = 0
gettimeofday({1075327437, 387662}, NULL) = 0
gettimeofday({1075327437, 387966}, NULL) = 0
gettimeofday({1075327437, 388101}, NULL) = 0
gettimeofday({1075327437, 388205}, NULL) = 0
gettimeofday({1075327437, 388294}, NULL) = 0
time(NULL)                              = 1075327437
time(NULL)                              = 1075327437
time(NULL)                              = 1075327437
time(NULL)                              = 1075327437
time(NULL)                              = 1075327437
time(NULL)                              = 1075327437
open("/var/log/news/cleanfeed.stats", 
O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 25
ioctl(25, SNDCTL_TMR_TIMEBASE, 0xbfffefa0) = -1 ENOTTY (Inappropriate 
ioctl for device)
_llseek(25, 0, [0], SEEK_CUR)           = 0
fstat64(25, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
fcntl64(25, F_SETFD, FD_CLOEXEC)        = 0
time([1075327437])                      = 1075327437
write(25, "Filter started: Wed Jan 28 13:55"..., 3420) = 3420
close(25)                               = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG) = 11776
waitpid(-1, 0xbff40e70, WNOHANG)        = 0
sigreturn()                             = ? (mask now [RTMIN])
Re: innd crashing
#67810
Author: Paul Tomblin
Date: Wed, 28 Jan 2004 22:18
20 lines
2003 bytes
In a previous article, Kevin Blackwell <akblackwel@yahoo.dot.com> said:
>open("/var/log/news/cleanfeed.stats", 
>O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 25
>ioctl(25, SNDCTL_TMR_TIMEBASE, 0xbfffefa0) = -1 ENOTTY (Inappropriate 
>ioctl for device)
>_llseek(25, 0, [0], SEEK_CUR)           = 0
>fstat64(25, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
>fcntl64(25, F_SETFD, FD_CLOEXEC)        = 0
>time([1075327437])                      = 1075327437
>write(25, "Filter started: Wed Jan 28 13:55"..., 3420) = 3420
>close(25)                               = 0
>--- SIGCHLD (Child exited) @ 0 (0) ---

It's dying the first time it tries to write to
/var/log/news/cleanfeed.stats.  Check the permssions on that file.


-- 
Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/
"God be between you and harm, in all the empty places that you must walk"
Re: innd crashing
#67808
Author: Kevin Blackwell
Date: Wed, 28 Jan 2004 22:46
26 lines
2363 bytes

-rw-rw-r--    1 news     news         3.4K Jan 28 16:45 cleanfeed.stats

Paul Tomblin wrote:

> In a previous article, Kevin Blackwell <akblackwel@yahoo.dot.com> said:
> 
>>open("/var/log/news/cleanfeed.stats", 
>>O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 25
>>ioctl(25, SNDCTL_TMR_TIMEBASE, 0xbfffefa0) = -1 ENOTTY (Inappropriate 
>>ioctl for device)
>>_llseek(25, 0, [0], SEEK_CUR)           = 0
>>fstat64(25, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
>>fcntl64(25, F_SETFD, FD_CLOEXEC)        = 0
>>time([1075327437])                      = 1075327437
>>write(25, "Filter started: Wed Jan 28 13:55"..., 3420) = 3420
>>close(25)                               = 0
>>--- SIGCHLD (Child exited) @ 0 (0) ---
> 
> 
> It's dying the first time it tries to write to
> /var/log/news/cleanfeed.stats.  Check the permssions on that file.
> 
> 
Re: innd crashing
#67812
Author: Jeffrey M. Vinocur
Date: Wed, 28 Jan 2004 22:56
18 lines
1790 bytes
In article <qKOdnZsZaIW-r4XdRVn-ug@speedsite.com>,
Kevin Blackwell  <akblackwel@yahoo.dot.com> wrote:
>OK, I have looked and looked and can find no answer to this problem. 
>Innd is crashing on me. Are there messages in the logs about this, no. 
>I've been doing an strace of the process and here's what it looks like 
>at the end.

strace of innd is often really hard to make sense of, because the
control flow gets awfully complicated.  I've had much better luck
attaching gdb and getting a backtrace from the crash.  You may
need to recompile with debugging information (`make warnings`
does this as a side effect, or `make COPT=-g` might do it but I
could be misremembering).


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: innd crashing
#67813
Author: Russ Allbery
Date: Wed, 28 Jan 2004 23:07
17 lines
1858 bytes
Kevin Blackwell <akblackwel@yahoo.dot.com> writes:

> OK, I have looked and looked and can find no answer to this
> problem. Innd is crashing on me. Are there messages in the logs about
> this, no. I've been doing an strace of the process and here's what it
> looks like at the end. Any help would be appreciated. The last line is
> where it dies at. For the life of me I can't figure out why.

If you've compiled INN with Python support, try upgrading to the latest
STABLE snapshot.  I fixed a memory clobber that could be causing this
problem.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: innd crashing
#67891
Author: Kevin Blackwell
Date: Wed, 04 Feb 2004 17:41
55 lines
3797 bytes
OK, I don't know if this helps, but heres the backtrace

#1583 0x400fa6aa in S_regmatch () from 
/usr/lib/perl5/5.8.1/i586-linux-thread-multi/CORE/libperl.so
#1584 0x400fa82c in S_regmatch () from 
/usr/lib/perl5/5.8.1/i586-linux-thread-multi/CORE/libperl.so
#1585 0x400f9cc5 in S_regtry () from 
/usr/lib/perl5/5.8.1/i586-linux-thread-multi/CORE/libperl.so
#1586 0x400f8d70 in Perl_regexec_flags () from 
/usr/lib/perl5/5.8.1/i586-linux-thread-multi/CORE/libperl.so
#1587 0x400a1d61 in Perl_pp_match () from 
/usr/lib/perl5/5.8.1/i586-linux-thread-multi/CORE/libperl.so
#1588 0x4009e239 in Perl_runops_standard () from 
/usr/lib/perl5/5.8.1/i586-linux-thread-multi/CORE/libperl.so
#1589 0x4003e319 in S_call_body () from 
/usr/lib/perl5/5.8.1/i586-linux-thread-multi/CORE/libperl.so
#1590 0x4003e241 in Perl_call_sv () from 
/usr/lib/perl5/5.8.1/i586-linux-thread-multi/CORE/libperl.so
#1591 0x08062633 in PLartfilter (data=0x4037126c,
     artBody=0x80f44d6 "Hi. This is the qmail-send program at 
octo.speedsite.com.\r\nI'm afraid I wasn't able to deliver your message 
to the following addresses.\r\nThis is a permanent error; I've given up. 
Sorry it didn't work "..., artLen=0, lines=442)
     at perl.c:114
#1592 0x080540d3 in ARTpost (cp=0x40370dcc) at art.c:1899
#1593 0x0805d015 in NCpostit (cp=0x40370dcc) at nc.c:196
#1594 0x0805e655 in NCproc (cp=0x40370dcc) at nc.c:985
#1595 0x0805a77a in CHANreadloop () at chan.c:1062
#1596 0x0805c8c4 in main (ac=2, av=0x80c8a88) at innd.c:666

Alll lines above 1583 repeat to line 1.


Kevin


Jeffrey M. Vinocur wrote:
> In article <qKOdnZsZaIW-r4XdRVn-ug@speedsite.com>,
> Kevin Blackwell  <akblackwel@yahoo.dot.com> wrote:
> 
>>OK, I have looked and looked and can find no answer to this problem. 
>>Innd is crashing on me. Are there messages in the logs about this, no. 
>>I've been doing an strace of the process and here's what it looks like 
>>at the end.
> 
> 
> strace of innd is often really hard to make sense of, because the
> control flow gets awfully complicated.  I've had much better luck
> attaching gdb and getting a backtrace from the crash.  You may
> need to recompile with debugging information (`make warnings`
> does this as a side effect, or `make COPT=-g` might do it but I
> could be misremembering).
> 
> 
Re: innd crashing
#67890
Author: Russ Allbery
Date: Thu, 05 Feb 2004 00:15
13 lines
1693 bytes
Kevin Blackwell <akblackwel@yahoo.dot.com> writes:

> OK, I don't know if this helps, but heres the backtrace

Is INN configured with Python filter support (regardless of whether you
actually use that support or not)?  If so, you may be encountering a bug
which is fixed in current STABLE snapshots.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads