ctlinnd lowmark requires fully qualified filename?
Joe St Sauver
JOE at OREGON.UOREGON.EDU
Mon May 20 17:32:49 UTC 2002
#} When I try that, however, I get a very nice seg fault and a core dump...
#}
#} % echo rec.pyrotechnics | expireover -f - -Z /usr/local/news/tmp/lowmark
#} Segmentation fault (core dumped)
#
#Could you investigate where it fails?
Finally got a chance to take that core file into gdb... it looks like the
seg fault is at:
doing a where, I see:
#0 0x400d2bcd in __libc_free (mem=0xbffffb5b) at malloc.c:3143
#1 0x08049f95 in main (argc=5, argv=0xbffffa24) at expireover.c:147
#2 0x4006e507 in __libc_start_main (main=0x8049cf0 <main>, argc=5,
ubp_av=0xbffffa24, init=0x8049508 <_init>, fini=0x8069340 <_fini>,
rtld_fini=0x4000dc14 <_dl_fini>, stack_end=0xbffffa1c)
at ../sysdeps/generic/libc-start.c:129
expireover.c:147 is the free(active_path) in the chunk of code shown below...
/* Set up the path to the list of newsgroups we're going to use and open
that file. This could be stdin. */
if (active_path == NULL) {
active_path = concatpath(innconf->pathdb, _PATH_ACTIVE);
purge_deleted = true;
}
if (EQ(active_path, "-")) {
qp = QIOfdopen(fileno(stdin));
if (qp == NULL)
sysdie("can't reopen stdin");
} else {
qp = QIOopen(active_path);
if (qp == NULL)
sysdie("can't open active file (%s)", active_path);
}
free(active_path);
Regards,
Joe
More information about the inn-workers
mailing list