Thread View: news.software.readers
4 messages
4 total messages
Started by Rob Lingelbach
Sun, 20 Sep 1992 22:53
mthreads: interrupt 11?
Author: Rob Lingelbach
Date: Sun, 20 Sep 1992 22:53
Date: Sun, 20 Sep 1992 22:53
20 lines
1494 bytes
1494 bytes
mthreads is bombing out when trying to thread all the groups here with "interrupt 11". Anybody know what this means? I am running the mthreads that came with trn2.2. This appears to have been precipitated last night by my editing the explist file, and then writing it with a missing field in two of the entries. Doexpire dutifully mailed me an error message (running cnews 15-Dec-1990), but the system crashed about half an hour later, possibly when mthreads woke up for an enhanced pass. I fixed explist, ran doexpire again, ran upact, and mthreads is still exiting with the "interrupt 11" complaint about two-thirds of the way through its pass. Thanks for any help... --Rob -- Rob Lingelbach KB6CUN | 2660 Hollyridge Dr LA CA 90068 213 464 6266 (voice) rob@xyzoom.info.com | "I care not much for a man's religion whose dog or robl@netcom.com | cat are not the better for it." --Abraham Lincoln
Re: mthreads: interrupt 11?
Author: Geoff Collyer
Date: Mon, 21 Sep 1992 01:25
Date: Mon, 21 Sep 1992 01:25
63 lines
2945 bytes
2945 bytes
Rob Lingelbach:
>mthreads is bombing out when trying to thread all the groups here with
>"interrupt 11". Anybody know what this means? I am running the
>mthreads that came with trn2.2.
It means you've hit one of mthread's bugs and it is dereferencing a wild
pointer. This patch fixes the one bug of this sort that I've found (with
help from Mark Moraes's debugging malloc):
*** mt-process.c.old Sat Jul 25 21:29:20 1992
--- mt-process.c Sat Jul 25 21:24:46 1992
***************
*** 1,9 ****
! /* $Id: mt-process.c,v 1.2 92/07/23 22:49:24 geoff Exp $
**
! ** $Log: mt-process.c,v $
! * Revision 1.2 92/07/23 22:49:24 geoff
! * minor code tweaks for speed
! *
** Revision 4.4.3.1 1991/11/22 04:12:15 davison
** Trn Release 2.0
**
--- 1,6 ----
! /* $Id: mt-process.c,v 4.4.3.1 1991/11/22 04:12:15 davison Trn $
**
! ** $Log: mt-process.c,v $
** Revision 4.4.3.1 1991/11/22 04:12:15 davison
** Trn Release 2.0
**
***************
*** 840,847 ****
** than the child that faked us initially. Free the fake reference-
** chain and process our references as usual.
*/
! for (node = article->parent; node; node = node->parent) {
unlink_child(node);
free_article(node);
}
article->parent = Nullart; /* neaten up */
--- 837,845 ----
** than the child that faked us initially. Free the fake reference-
** chain and process our references as usual.
*/
! for (node = article->parent; node; node = last) {
unlink_child(node);
+ last = node->parent;
free_article(node);
}
article->parent = Nullart; /* neaten up */
>This appears to have been precipitated last night by my editing the
>explist file, and then writing it with a missing field in two of the entries.
I'm skeptical; mthreads has no knowledge of the explist file. It was
probably a coincidence.
The good news is that we shouldn't need mthreads for much longer (I'm
still working on nnmaster, but mthreads is next in my sights).
--
Geoff Collyer world!geoff, world.std.com!geoff
``closed is Open'' - not George Orwell on ``Open'' Systems
open, a. admitting visitors or customers; not yet settled or decided (OPD)
``and it's Open For Business like a cheap bordello'' - Bruce Cockburn
Re: mthreads: interrupt 11?
Author: Rob Lingelbach
Date: Mon, 21 Sep 1992 02:31
Date: Mon, 21 Sep 1992 02:31
41 lines
2507 bytes
2507 bytes
In article <BuwMM3.ICt@world.std.com> geoff@world.std.com (Geoff Collyer) writes: >Rob Lingelbach: >>mthreads is bombing out when trying to thread all the groups here with >>"interrupt 11". Anybody know what this means? I am running the >>mthreads that came with trn2.2. > >It means you've hit one of mthread's bugs and it is dereferencing a wild >pointer. This patch fixes the one bug of this sort that I've found (with >help from Mark Moraes's debugging malloc): Many thanks for the patch. I will apply it forthwith. > >>This appears to have been precipitated last night by my editing the >>explist file, and then writing it with a missing field in two of the entries. > >I'm skeptical; mthreads has no knowledge of the explist file. It was >probably a coincidence. It must have been a coincidence, but an explainable one: I just did a full restore of /usr/spool/news from before the system crash, and mthreads ran without complaint. I surmise that the crash left some articles in a weird state (that fsck didn't find?) and mthreads complained. It was instructive that mthreads seemed to exit at the same place every time--fifth row, 12th column in on the output's :-# characters (by the way, wouldn't it be nice to have more verbosity as an option while threading manually? --like the newsgroup names?--I might have been able to restore just that directory). >The good news is that we shouldn't need mthreads for much longer (I'm >still working on nnmaster, but mthreads is next in my sights). Will mthreads be incorporated into the next release of c-news? Regards-- --Rob -- Rob Lingelbach KB6CUN | 2660 Hollyridge Dr LA CA 90068 213 464 6266 (voice) rob@xyzoom.info.com | "I care not much for a man's religion whose dog or robl@netcom.com | cat are not the better for it." --Abraham Lincoln
Re: mthreads: interrupt 11?
Author: Geoff Collyer
Date: Mon, 21 Sep 1992 17:25
Date: Mon, 21 Sep 1992 17:25
11 lines
1234 bytes
1234 bytes
Rob Lingelbach: >Will mthreads be incorporated into the next release of c-news? No. The current plan is to generate a common database for all the newsreaders that currently have private databases of their own. So far it seems to be working, but I still have some proofs of concept to finish. -- Geoff Collyer world!geoff, world.std.com!geoff ``closed is Open'' - not George Orwell on ``Open'' Systems open, a. admitting visitors or customers; not yet settled or decided (OPD) ``and it's Open For Business like a cheap bordello'' - Bruce Cockburn
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