Article View: news.software.readers
Article #247943Re: Dialog: Flush Before Exit?
From: Bernd Rose
Date: Mon, 02 Jan 2012 18:39
Date: Mon, 02 Jan 2012 18:39
158 lines
9986 bytes
9986 bytes
On Sun, 1 Jan 2012 19:44:51 -0600, Sqwertz wrote: >>> I don't notice any corruption elsewhere. And I just purged my >>> database 100% a month ago. Then again, it was happening before the >>> purge as well. >> >> Compact database has *no* database repair functionality. > > I never said I compacted. I noticed your usage of "purge" but gave you the benefit of doubt. Mentioning a purge operation in the context of possible 4D database corruption is meaningless. Purge does nothing but to set a marker on each record of the database included into the purge operation. Only Compact database physically removes records, which /might/ result in resolving corruption issues of the database. (Although it usually doesn't...) >> I just can tell you, that what you are experiencing isn't >> normal Dialog behavior. - Neither on Win7 (be it x32 or x64) nor on >> any earlier Windows version. You need to *analyze* the interaction >> between 40tude Dialog and your system to identify the cause(s) of >> your problems. And to do so, you probably need to start from a >> *clean* *parallel* Dialog installation. But /that/ I *already* told >> you several times... :-( > > You suggested that once and I found it a ridiculous exercise in > uselessness. Message-ID: <1r4dn0btrwobj$.dlg@b.rose.tmpbox.news.arcor.de> | Parallel fresh Dialog installation is the way to go, IMHO. You need to | approach this problem one step after another. Message-ID: <zoc5xliyqthm.dlg@b.rose.tmpbox.news.arcor.de> | If nothing applies, you probably need to set up Dialog anew Message-ID: <pomrxd2h1ban$.dlg@b.rose.tmpbox.news.arcor.de> | If you are a programmer, you should know about basic debugging / failure | tracking. I did write *parallel* for a reason. (And already suggested | this path before.) You first check, whether the failure occurs inside the | clean installation, as well. (Only one group from two servers added.) | Afterwards, you put your settings, scoring, scripts into the fresh Dialog | installation *one after another(!!)* until the failure pops in. If all | goes well, you either missed a setting or there's sth. wrong with your | database, cached MsgID's, or sth. like that. If, OTOH, the error shows, | then you have identified the culprit. Message-ID: <q7zcrxgim4as.dlg@b.rose.tmpbox.news.arcor.de> | IMHO, you need to sort out the causes of your crashes. Everything | else is just managing the symptoms... Refusing to exert basic bug identification processes (I told you, the parallel installation wasn't meant to replace your current one, unless the current one really is messed up beyond repair!) will reduce the willingness of people to help in the first place. But what /does/ bother me (I can't care less, whether you get your system up and running) is, that Usenet archives (and a couple of forums duplicating content from Usenet) will show your "bug report" as if Dialog really didn't work well. This may keep others from using this - although old - still excellent reader. And just, because you happen to have enough energy for posting about issues you encounter on your system. But when it comes to invest a bit time into bug detection and testing, you skive... :-( > All I'm looking for is what I thought might be a simple solution to an > mildly irritating problem. Recurring crashes are /not/ an "mildly irritating problem". Any such crash may damage the Dialog database beyond repair! > Running two or more installations of synchronous newsreaders is > practically impossible. Read one article, go the other installation, > read the same article... that would be nearly impossible. Then I'm doing the impossible?? It is plain easy to use several installations. One only needs to replace the whole (always the whole!) data directory. Which can be done via USB thumb drive in mere seconds. And since the rest of the dialog installation is low-fat stuff, replacing the whole installation directory is even better. Dialog database should be compacted, regularly, though. And one should always keep in mind, that the proprietary Dialog database is neither meant nor fit to be used as an archive, especially for high-traffic groups. If one needs to create and keep huge archives, using an intermediate Hamster server is the way to go. > Plus my newsserver will never be in sync with both my installtions. The news server has nothing to do with this. Pointers to the last messages retrieved from server are *not* stored at server side, but always locally inside the Dialog database. *Every* Usenet client works this way... > And even then what would I be even be looking for - a byte by byte > analysis of program flow and system calls under every possible > configuration of every option available with Dialog?? No. You test behavior with standard settings for a long enough time that either the error occurs or you can be sufficiently certain, that the error will not occur in that specific setup. If the error doesn't show up, you alter one setting after another to mirror the settings in your current Dialog installation. The same with scoring, scripts and the like. Finally, you replace the Data directory of the new installation with the one from the old (= current) one. If you suspect a corrupt database as primary failure source, you start (after ensuring, that a fresh installation works well) with leaving default settings and /not/ using any scoring and scripts. Instead, you do the replacement of the Data directory, first. During all the testing, you can keep using your old (= current) Dialog setup for daily work. Remember: Loading headers / bodies from one Dialog installation has *no* influence on the other installation. Requesting to load the last updates from a Usenet server will retrieve the /same/ headers / bodies *again*. The server doesn't register what content you already did download. (Except maybe inside server side logs that are used for statistics, criminal investigation and the like.) > And assuming I did see the problem I have no way to fix it since I don't > have the source code. It's a useless exercise, IMO. Depends on the problem. At the moment, I suspect the failure source on either your system setup or inside the Dialog database. Fixing your system may be important for other programs, as well. And using a broken database doesn't make much sense, either. In that case, you'd better start anew. - Even if this means losing information. (Something could be saved by export / import or by just downloading it again from a server with long enough retention, anyways.) Most Dialog specific issues have been solved (or at least reduced) by scripts, changed settings or even patches. All in all: Chances are good to have a nice working setup after detecting the cause of the errors. > Never mind this thread anymore. Obviously there is no simple > solution. I cannot fix Dialog crashing. I can post my exceptions if > that help, but I don't see how without the source code. Posting the exception may help to identify the cause of the error. Although source code would help, it isn't really necessary in most situations. There's no guaranty, though, since the error may be triggered by settings or processes that seem to have no link to the call stack listing. Nevertheless, it is always worth a try. Be sure, to post not only an exception number, but also some "flesh" (exception class, disassembly around exception, controls hierarchy,...). Be sure not to post entire log files, though! (Especially not logs containing unmangled names and passwords...) > Oddly enough, it hasn't crashed since I started this thread. It > should have crashed 10-20 times by now. If you really didn't compact the Dialog database in a while, you should run it now. Since I suspect file access timing issues as /one/ possible cause, reducing the size of the database may help. Apart from reducing the amount of data stored, this may also remove byte sequences, that your current anti-virus program may find suspicious over and over and over again. (Another possible error cause.) Bernd
Technical Details
Message-ID:
<xtlzundr89ky.dlg@b.rose.tmpbox.news.arcor.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!news.internetdienste.de!news.tu-darmstadt.de!news.belwue.de!newsfeed.ision.net!newsfeed2.easynews.net!ision!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mailReferences:
<1nzi5hkykg6kv.dlg@sqwertz.com> <1a2lxmp2b6wxp.dlg@b.rose.tmpbox.news.arcor.de> <arnylr5ywmj5$.dlg@sqwertz.com> <q7zcrxgim4as.dlg@b.rose.tmpbox.news.arcor.de> <bg5si2onq6lt$.dlg@sqwertz.com> <1mi3dryqfk75e.dlg@b.rose.tmpbox.news.arcor.de> <1eng9ilscahqp$.dlg@sqwertz.com> <akuoi1mca8kv.dlg@b.rose.tmpbox.news.arcor.de> <1s1mdwut3izkd$.dlg@sqwertz.com> <x6mm179jjnza$.dlg@b.rose.tmpbox.news.arcor.de> <160c6pqnr7uwq$.dlg@sqwertz.com>Show Full Headers
Complete Article Headers
Message-ID: <xtlzundr89ky.dlg@b.rose.tmpbox.news.arcor.de> Subject: Re: Dialog: Flush Before Exit? Date: Mon, 2 Jan 2012 19:39:38 +0100 From: Bernd Rose <b.rose.tmpbox@expires-2012-01-31.arcornews.de> References: <1nzi5hkykg6kv.dlg@sqwertz.com> <1a2lxmp2b6wxp.dlg@b.rose.tmpbox.news.arcor.de> <arnylr5ywmj5$.dlg@sqwertz.com> <q7zcrxgim4as.dlg@b.rose.tmpbox.news.arcor.de> <bg5si2onq6lt$.dlg@sqwertz.com> <1mi3dryqfk75e.dlg@b.rose.tmpbox.news.arcor.de> <1eng9ilscahqp$.dlg@sqwertz.com> <akuoi1mca8kv.dlg@b.rose.tmpbox.news.arcor.de> <1s1mdwut3izkd$.dlg@sqwertz.com> <x6mm179jjnza$.dlg@b.rose.tmpbox.news.arcor.de> <160c6pqnr7uwq$.dlg@sqwertz.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!news.internetdienste.de!news.tu-darmstadt.de!news.belwue.de!newsfeed.ision.net!newsfeed2.easynews.net!ision!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Newsgroups: news.software.readers User-Agent: 40tude_Dialog/2.0.15.41 (40de761c.238.268) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Lines: 158 Organization: Arcor NNTP-Posting-Date: 02 Jan 2012 19:40:34 CET NNTP-Posting-Host: baccac27.newsspool2.arcor-online.net X-Trace: DXC=Z]Dl6GmVPj^AX0F2i><W:SA9EHlD; 3YcR4Fo<]lROoRQ8kF<OcfhCO[52PZWhlZF3\BYf[Tl<>RjZEDlFE3>:ggUh`TiS<X`KSV X-Complaints-To: usenet-abuse@arcor.de X-Original-Bytes: 9713