innfeed: segmentation fault
Mirek Luc
mirecki at nask.pl
Wed May 23 13:34:55 UTC 2001
INN 2.3.2 (release).
Core was generated by `/news/bin/innfeed'.
Program terminated with signal 11, Segmentation Fault.
(gdb) bt
#0 0x7f9329ec in strlen () from /usr/lib/libc.so.1
#1 0x7f9812c0 in _doprnt () from /usr/lib/libc.so.1
#2 0x7f983434 in vsnprintf () from /usr/lib/libc.so.1
#3 0x7f94f78c in vsyslog () from /usr/lib/libc.so.1
#4 0x7f94f2e0 in syslog () from /usr/lib/libc.so.1
#5 0x14bbc in fillContents (article=0x211878) at article.c:568
^^^^^^^^^^^^^
#6 0x149a8 in artGetContents (article=0x211878) at article.c:493
#7 0x1535c in prepareArticleForNNTP (article=0x211878) at article.c:789
#8 0x1482c in artContentsOk (article=0x211878) at article.c:399
#9 0x1f954 in buildTakethisBuffers (cxn=0x214468, checkBuffer=0x0)
at connection.c:3818
#10 0x1f6c4 in issueStreamingCommands (cxn=0x214468) at connection.c:3680
#11 0x1f05c in doSomeWrites (cxn=0x214468) at connection.c:3473
#12 0x1acf8 in cxnTakeArticle (cxn=0x214468, art=0x211878) at connection.c:951
#13 0x26338 in hostSendArticle (host=0x214228, article=0x211878) at host.c:1717
#14 0x2bc88 in giveArticleToPeer (lis=0x1efcb8, article=0x211878,
peerName=0x1fa0cc "atman") at innlistener.c:661
#15 0x2b960 in newArticleCommand (ep=0x37800, i=32, buffs=0x207970,
data=0x1efcb8) at innlistener.c:572
#16 0x22220 in Run () at endpoint.c:789
#17 0x2cbfc in main (argc=0, argv=0xffbefea8) at main.c:536
563 opened = ((article->arthandle = SMretrieve(TextToToken(article->fname), RETR_ALL)) != NULL) ? true : false;
564 if (opened)
565 articlesize = article->arthandle->len;
566 else {
567 if (SMerrno != SMERR_NOENT && SMerrno != SMERR_UNINIT) {
568 syslog(LOG_ERR, "Could not retrieve %s: %s",
^^^
569 article->fname, SMerrorstr);
570 article->articleOk = false;
571 return false;
572 }
SMerrorstr passed to syslog() was NULL. Any ideas?
-Mirek
More information about the inn-workers
mailing list