pamckpasswd

Graeme Mathieson graeme+inn-workers at mathie.cx
Sun Jan 13 14:55:10 UTC 2002


On Sun, Jan 13, 2002 at 11:11:37PM +0900, Katsuhiro Kondou wrote:
> 
> I thought you want pamckpasswd to be included in
> authprogs.  I'll apply patch for ckpasswd, if not.

Ah, right.  I think the patch for ckpasswd is fine.

> Can you find any core and get back trace of it?

Well.  It turns out that gdb-5.x doesn't behave very well on Sparc
Linux.  I'm playing around with gdb-4.18 again now and I'm getting
somewhere if I attach to the running process before it dies.  Examining
a core file is still a dead loss though...

There have been two separate causes of segfaults.  One stopped somewhere
in ov3.c when I had tradindexed configured.  Unfortunately, I've lost
the backtrace and subsequently switched to ovdb to see if that solved
the problem.  It did.  I'll switch back sometime today and test it
again.

The other one is in the Perl filter:

Program received signal SIGSEGV, Segmentation fault.
0x70355f20 in malloc () from /lib/libc.so.6
(gdb) bt
#0  0x70355f20 in malloc () from /lib/libc.so.6
#1  0x70355440 in malloc () from /lib/libc.so.6
#2  0x7018b780 in Perl_safemalloc () from /usr/lib/libperl.so.5.6
#3  0x701a8038 in Perl_sv_grow () from /usr/lib/libperl.so.5.6
#4  0x701ac638 in Perl_sv_setpvn () from /usr/lib/libperl.so.5.6
#5  0x701b00d4 in Perl_newSVpv () from /usr/lib/libperl.so.5.6
#6  0x2c848 in PLartfilter (data=0x714abf74,
    artBody=0x19d5ce "Because it would sound pretty silly called
\"Snickers\" or \"Twix\". No =\r\nseriously the name `Milky Way' comes
from the band of light that is seen =\r\noverhead on very dark nights.
The ancients called it "...,
    artLen=486, lines=12) at perl.c:89
#7  0x1c388 in ARTpost (cp=0x714aba08) at art.c:2124
#8  0x26d38 in NCpostit (cp=0x714aba08) at nc.c:193
#9  0x28614 in NCproc (cp=0x714aba08) at nc.c:973
#10 0x28d94 in NCreader (cp=0x714aba08) at nc.c:1175
#11 0x242c8 in CHANreadloop () at chan.c:1089
#12 0x26710 in main (ac=2, av=0x7d128) at innd.c:643

Switching off the Perl filter (adding 'innflags: -N' to inn.conf) solves
the problem.  The filter_innd.pl is still the default from the inn
distribution.  Perl libraries are 5.6.1.  I'll play around with it
again this afternoon and see what else I can come up with...
-- 
graeme+sig at mathie.cx                          http://www.mathie.cx/~graeme/


More information about the inn-workers mailing list