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

Re: [leafnode-list] fetchnews fails to download bodies



* Juergen Salk <juergen.salk@xxxxxx> [010122 21:24]:
 
> Will try to fix that and see what happens. 

Done. 

Changed fetchnews.c:689: 

from:

        fprintf( f, "\n[ Thread has been marked for download ]\n" );

to:
        fprintf( f, "[ Thread has been marked for download ]\n" );

and removed superfluous newlines in older dummy articles. Marked some
articles for download. Seems to work now.  Next fetchnews run ends up 
with a segfault.

Maybe I'll check that tomorrow. 

Best regards - Juergen.

---- snip ----

(gdb) file /usr/local/sbin/fetchnews
Reading symbols from /usr/local/sbin/fetchnews...done.
(gdb) run -vvv
Starting program: /usr/local/sbin/fetchnews -vvv
2.0b8: verbosity level is 3
Trying to connect to news.extension.net ... connected.
Getting new newsgroups from news.extension.net
Read server info from /var/spool/news/leaf.node/news.extension.net
Getting bodies of marked messages for group de.comp.os.unix.linux.misc ...
 de.comp.os.unix.linux.misc: no new articles
Getting bodies of marked messages for group de.comp.os.unix.misc ...
 de.comp.os.unix.misc: no new articles

[...]

Disconnected from news.extension.net.
Trying to connect to News.CIS.DFN.DE ... connected.
Getting new newsgroups from News.CIS.DFN.DE
Read server info from /var/spool/news/leaf.node/News.CIS.DFN.DE
Getting bodies of marked messages for group de.comp.os.unix.linux.misc ...
 Wrong reply to ARTICLE command: 412 Not in a newsgroup
de.comp.os.unix.linux.misc: considering articles 187414-187416
storing <3a6ca101@xxxxxxxxxxxxxxxxxxx>: de.comp.os.unix.linux.misc
.as article 85104 in de.comp.os.unix.linux.misc
storing <94i71l$tlo$1@xxxxxxxxxxxxxxx>: de.comp.os.unix.linux.misc
.as article 85105 in de.comp.os.unix.linux.misc

Program received signal SIGSEGV, Segmentation fault.
0x400a8ef5 in chunk_alloc (ar_ptr=0x40141ba0, nb=184) at malloc.c:2707
2707    malloc.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  0x400a8ef5 in chunk_alloc (ar_ptr=0x40141ba0, nb=184) at malloc.c:2707
#1  0x400a8e14 in __libc_malloc (bytes=176) at malloc.c:2651
#2  0x400a185b in _IO_new_fopen (filename=0x8200f20 "/var/spool/news/message.id/860/<94i78a$1kd6$1@xxxxxxxxxxxxxxx>", mode=0x8058ac1 "w") at iofopen.c:42
#3  0x804a289 in fopenmsgid (filename=0x8200f20 "/var/spool/news/message.id/860/<94i78a$1kd6$1@xxxxxxxxxxxxxxx>", overwrite=0) at ./fetchnews.c:376
#4  0x804ac38 in doxover (stufftoget=0xbffff6fc, first=187414, last=187416, filter=0x0, groupname=0x80fc9e8 "de.comp.os.unix.linux.misc") at ./fetchnews.c:687
#5  0x804b546 in getgroup (g=0x4034dff0, first=187414) at ./fetchnews.c:998
#6  0x804c398 in processupstream (server=0x8060c70 "News.CIS.DFN.DE", port=0, lastrun=980194549) at ./fetchnews.c:1362
#7  0x804c7d3 in do_server (msgid=0x0, lastrun=980194549, newsgroup=0x0) at ./fetchnews.c:1502
#8  0x804d055 in main (argc=2, argv=0xbffff7d4) at ./fetchnews.c:1736
(gdb)


-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list