🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
28 messages
28 total messages Started by Sqwertz Sun, 25 Dec 2011 16:33
Dialog: Flush Before Exit?
#247859
Author: Sqwertz
Date: Sun, 25 Dec 2011 16:33
18 lines
2133 bytes
Dialog has been crashing on me more and more lately when it comes time
to "Cleaning up" while exiting (Windows 7 known problem).  

Is there a function I can call (and appropriate trigger to place it)
that will at least flush the buffers of articles to be marked as read?
Usually switching from group to group seems to do this during normal
operation.  But if I read a large number of posts, and then exit and
then crash during exit, many of the articles from several different
groups never get marked permanently as read in the database.

That's the only negative affect I can see of the crash (though I
suspect some other database inconsistencies do happen).  I don't purge
anything, so I don't care if purging happens or not, I just want the
articles marked as read if I have displayed them (nothing gets
automatically marked as read on my setup, such as when leaving as
group).

-sw
Re: Dialog: Flush Before Exit?
#247868
Author: Bernd Rose
Date: Tue, 27 Dec 2011 15:11
27 lines
2432 bytes
On Sun, 25 Dec 2011 10:33:50 -0600 Sqwertz wrote:

> Dialog has been crashing on me more and more lately when it comes time
> to "Cleaning up" while exiting (Windows 7 known problem).  

Dunno. Dialog (.41) /never/ crashes on Win7 in my setups. (Several
different PC's; Win7x32 as well as Win7x64.)

> Is there a function I can call (and appropriate trigger to place it)
> that will at least flush the buffers of articles to be marked as read?
> Usually switching from group to group seems to do this during normal
> operation.  But if I read a large number of posts, and then exit and
> then crash during exit, many of the articles from several different
> groups never get marked permanently as read in the database.

Why would you try to run such a function in an exit routine, if your
problem comes from faulty exits?? Just place

  ADo('MarkAllGroupsRead');

inside the OnStartup script (create it, if it only exists as a stub
at the moment) and you should be done. On first run, Dialog may ask
for confirmation. Just tick on to never be asked again and you should
be fine.

HTH.
Bernd
Re: Dialog: Flush Before Exit?
#247869
Author: Ted S.
Date: Tue, 27 Dec 2011 18:09
15 lines
1973 bytes
On Sun, 25 Dec 2011 10:33:50 -0600, Sqwertz wrote:

> Dialog has been crashing on me more and more lately when it comes time
> to "Cleaning up" while exiting (Windows 7 known problem).

I (Windows XP) haven't been getting crashes, but a different problem: I
close Dialog and get the minimized "Cleaning up..." tab, but when I try
to click on something else, the "Cleaning up..." tab maximizes itself.
Dialog eventually closes naturally and without any problems that I can
tell; it's just that the re-maximization is irritating.

-- 
Ted S.
fedya at hughes dot net
Now blogging at http://justacineast.blogspot.com
Re: Dialog: Flush Before Exit?
#247876
Author: Sqwertz
Date: Sat, 31 Dec 2011 02:51
43 lines
3327 bytes
On Tue, 27 Dec 2011 16:11:59 +0100, Bernd Rose wrote:

> On Sun, 25 Dec 2011 10:33:50 -0600 Sqwertz wrote:
> 
>> Dialog has been crashing on me more and more lately when it comes time
>> to "Cleaning up" while exiting (Windows 7 known problem).  
> 
> Dunno. Dialog (.41) /never/ crashes on Win7 in my setups. (Several
> different PC's; Win7x32 as well as Win7x64.)

It's been mentioned here several times.
 
>> Is there a function I can call (and appropriate trigger to place it)
>> that will at least flush the buffers of articles to be marked as read?
>> Usually switching from group to group seems to do this during normal
>> operation.  But if I read a large number of posts, and then exit and
>> then crash during exit, many of the articles from several different
>> groups never get marked permanently as read in the database.
> 
> Why would you try to run such a function in an exit routine, if your
> problem comes from faulty exits?? Just place
> 
>   ADo('MarkAllGroupsRead');

I don't want to mark all articles read.  Only the ones I have
displayed and have actually read.  When dialog crashes on exit, it
often doesn't write to disk the flags that indicate that articles have
actually been read.

In no way do I EVER went to tell Dialog to automatically mark messages
as read unless I specifically tell it to (and then only for individual
groups)

Think of it this way:  I'm writing to a USB drive and when it appears
to be done, my power goes out.  That data/FAT table has not really
been flushed to disk and the FAT table may be corrupted.  Unless I was
able to tell it I want to extract the USB drive - to flush the buffers
of any unwritten data by clicking thew USB icon in the system tray.

That's what I want to Dialog to do with it's unwritten/cached database
data.

-sw
Re: Dialog: Flush Before Exit?
#247877
Author: Sqwertz
Date: Sat, 31 Dec 2011 02:55
22 lines
2248 bytes
On Tue, 27 Dec 2011 13:09:57 -0500, Ted S. wrote:

> On Sun, 25 Dec 2011 10:33:50 -0600, Sqwertz wrote:
> 
>> Dialog has been crashing on me more and more lately when it comes time
>> to "Cleaning up" while exiting (Windows 7 known problem).
> 
> I (Windows XP) haven't been getting crashes, but a different problem: I
> close Dialog and get the minimized "Cleaning up..." tab, but when I try
> to click on something else, the "Cleaning up..." tab maximizes itself.
> Dialog eventually closes naturally and without any problems that I can
> tell; it's just that the re-maximization is irritating.

Were you the one that posted it about it most recently and I said
"keep me informed"?

That is where I get the crashes as well.  Sometimes it does hang at
"Cleaning up.." and I have to manually kill it.  But most times it
crashes with an Dialog generated exception window (when it does not
exit normally - which is 3 out of 10 times on average).

-sw
Re: Dialog: Flush Before Exit?
#247879
Author: Bernd Rose
Date: Sat, 31 Dec 2011 09:11
63 lines
4400 bytes
On Fri, 30 Dec 2011 20:51:12 -0600, Sqwertz wrote:

>>> Dialog has been crashing on me more and more lately when it comes time
>>> to "Cleaning up" while exiting (Windows 7 known problem).  
>> 
>> Dunno. Dialog (.41) /never/ crashes on Win7 in my setups. (Several
>> different PC's; Win7x32 as well as Win7x64.)
> 
> It's been mentioned here several times.

Not really. Most mentioned crashes could be traced back to: 
- using the wrong Dialog version (.1 or .84 instead of .41)
- Scripts (best to throw out /all/ scripts and add them one
  after another to sort out possible problems)
- installing into a managed folder (usually %ProgramFiles%)
- copying an installation from different user account and /keeping/
  the rights set to that other user (e.g. copy via NTFS drives)
- broken Dialog database
- failing to give Dialog enough time (a couple of seconds) on Exit
  before shutting down Windows
- trying to interact with "broken" Dialog GUI elements - as can 
  be found on x64 installations, where the "double-zoom" or patch
  workaround(s) are not applied (correctly)
- a virus scanner interfering (Dialog folder and Dialog data folder
  can IMHO safely be excluded from scanning - provided, that all
  attachments are stored elsewhere and attachments from unreliable
  sources are *not* executed from inside Dialog)

What's left are only a few postings (including yours), where most
likely also one of above reasons applies. But where the cause of
the crashes just never was identified correctly. /If/ Windows 7
/really/ were culprit of regular crashes *in itself*, more posts
unrelated to above mentioned reasons would be seen.

>>   ADo('MarkAllGroupsRead');
> 
> I don't want to mark all articles read. 
[...]
> I want to [...] flush the buffers of any unwritten data 

Read/Unread information for any article is saved to disk, whenever
the group loses focus. Therefore, you just need to switch to another
group (maybe back and forth, when you set up Dialog to remember your
last active group) before exiting Dialog. The Counter of unread
messages per group will most likely show a wrong number after a
crash. But once you enter the group, this number will immediately 
be updated.

There's another problem, though: The synchronization information
between server and local database (i.e.: which was the last article
retrieved) is stored only on Dialog exit (groups.idg). If groups.idg
cannot be written because of a crash, headers and/or messages already 
retrieved will be retrieved /again/. (And will again appear unread.) 
This is usually only the case for headers/messages you deleted during
the last session. Although writing of groups.idg /can/ be forced 
within a Dialog session (e.g. by calling <Update Grouplist(s)>), the
server numbers will stay unchanged. Only Dialog exit will cause an
update.

IMHO, you need to sort out the causes of your crashes. Everything
else is just managing the symptoms...

Bernd
Re: Dialog: Flush Before Exit?
#247880
Author: Sqwertz
Date: Sat, 31 Dec 2011 12:36
17 lines
2135 bytes
On Sat, 31 Dec 2011 10:11:11 +0100, Bernd Rose wrote:

> Read/Unread information for any article is saved to disk, whenever
> the group loses focus.

That's what I thought, but not always.  If dialog crashes on Exit,
several groups can have articles marked s unread that I know I read.
I've experienced this dozens of times.

> IMHO, you need to sort out the causes of your crashes. Everything
> else is just managing the symptoms...

There is no rhyme or reason to the crashes. There is no way for me to
determine the cause of the crashes.  And I'm positive other people
have mentioned it.

-sw
Re: Dialog: Flush Before Exit?
#247881
Author: Ted S.
Date: Sat, 31 Dec 2011 13:02
18 lines
2048 bytes
On Fri, 30 Dec 2011 20:55:16 -0600, Sqwertz wrote:

> Were you the one that posted it about it most recently and I said
> "keep me informed"?

No; it wasn't me.
 
> That is where I get the crashes as well.

I'm not getting crashes.  Just mildly irritating gray screens
re-maximizing themselves.  (The gray is because I use that as a
background color in many of my system settings, as I find black on gray
easier to read than black on white.)

-- 
Ted S.
fedya at hughes dot net
Now blogging at http://justacineast.blogspot.com
Re: Dialog: Flush Before Exit?
#247882
Author: Bernd Rose
Date: Sat, 31 Dec 2011 13:31
19 lines
2361 bytes
On Sat, 31 Dec 2011 06:36:44 -0600, Sqwertz wrote:

>> Read/Unread information for any article is saved to disk, whenever
>> the group loses focus.
> 
> That's what I thought, but not always.  If dialog crashes on Exit,
> several groups can have articles marked s unread that I know I read.
> I've experienced this dozens of times.

As I wrote: this can happen, if you deleted the message, since it 
will be retrieved /again/. There is *no* way that - after you left 
a group - read (but not deleted) messages can become unread again
without Dialog being explicitly told to. (Like making them unread 
by script.) One exception, though: If something is interfering with 
writing group info to disk (access rights, Anti-virus,...), then
this outcome is possible, as well. In any case: Your setup and/or
your Dialog database sure is messed up!

Bernd
Re: Dialog: Flush Before Exit?
#247886
Author: Robert Miles
Date: Sat, 31 Dec 2011 17:48
55 lines
3852 bytes
On 12/30/2011 8:51 PM, Sqwertz wrote:
> On Tue, 27 Dec 2011 16:11:59 +0100, Bernd Rose wrote:
>
>> On Sun, 25 Dec 2011 10:33:50 -0600 Sqwertz wrote:
>>
>>> Dialog has been crashing on me more and more lately when it comes time
>>> to "Cleaning up" while exiting (Windows 7 known problem).
>>
>> Dunno. Dialog (.41) /never/ crashes on Win7 in my setups. (Several
>> different PC's; Win7x32 as well as Win7x64.)
>
> It's been mentioned here several times.
>
>>> Is there a function I can call (and appropriate trigger to place it)
>>> that will at least flush the buffers of articles to be marked as read?
>>> Usually switching from group to group seems to do this during normal
>>> operation.  But if I read a large number of posts, and then exit and
>>> then crash during exit, many of the articles from several different
>>> groups never get marked permanently as read in the database.
>>
>> Why would you try to run such a function in an exit routine, if your
>> problem comes from faulty exits?? Just place
>>
>>    ADo('MarkAllGroupsRead');
>
> I don't want to mark all articles read.  Only the ones I have
> displayed and have actually read.  When dialog crashes on exit, it
> often doesn't write to disk the flags that indicate that articles have
> actually been read.
>
> In no way do I EVER went to tell Dialog to automatically mark messages
> as read unless I specifically tell it to (and then only for individual
> groups)
>
> Think of it this way:  I'm writing to a USB drive and when it appears
> to be done, my power goes out.  That data/FAT table has not really
> been flushed to disk and the FAT table may be corrupted.  Unless I was
> able to tell it I want to extract the USB drive - to flush the buffers
> of any unwritten data by clicking thew USB icon in the system tray.
>
> That's what I want to Dialog to do with it's unwritten/cached database
> data.
>
> -sw

Another method to consider for that problem:  Buy an uninterruptible
power supply (UPS) with a wattage rating at least as high as the power
supply in your computer.  This should allow the computer to run from
a battery for a few minutes after the power goes off, then recharge
that battery when the power comes back on.  If your computer allows
a sleep mode, some of these UPSs have connections and programs that
allow your computer to save all programs still running to the hard
drive, in a way that allows resuming from the interruption later.

Robert Miles
Re: Dialog: Flush Before Exit?
#247903
Author: Sqwertz
Date: Sun, 01 Jan 2012 15:12
21 lines
2305 bytes
On Sat, 31 Dec 2011 14:31:06 +0100, Bernd Rose wrote:

> On Sat, 31 Dec 2011 06:36:44 -0600, Sqwertz wrote:
> 
>>> Read/Unread information for any article is saved to disk, whenever
>>> the group loses focus.
>> 
>> That's what I thought, but not always.  If dialog crashes on Exit,
>> several groups can have articles marked s unread that I know I read.
>> I've experienced this dozens of times.
> 
> As I wrote: this can happen, if you deleted the message, since it 
> will be retrieved /again/. There is *no* way that - after you left 
> a group - read (but not deleted) messages can become unread again
> without Dialog being explicitly told to. 

I've seen it happen dozens of times.  I do not delete any messages
except those that are deleted automatically in my killfile (which I
never read).

-sw
Re: Dialog: Flush Before Exit?
#247905
Author: Sqwertz
Date: Sun, 01 Jan 2012 15:15
13 lines
2035 bytes
On Sat, 31 Dec 2011 14:31:06 +0100, Bernd Rose wrote:

> As I wrote: this can happen, if you deleted the message, since it 
> will be retrieved /again/. There is *no* way that - after you left 
> a group - read (but not deleted) messages can become unread again
> without Dialog being explicitly told to.

I just duplicated it with your message.  I read and responded to the
previous message, switched to another group, manually killed dialog
using task manager, went back into dialog and your message is still
unread.

-sw
Re: Dialog: Flush Before Exit?
#247910
Author: Bernd Rose
Date: Sun, 01 Jan 2012 16:45
17 lines
2308 bytes
On Sun, 1 Jan 2012 09:15:57 -0600, Sqwertz wrote:

>> As I wrote: this can happen, if you deleted the message, since it 
>> will be retrieved /again/. There is *no* way that - after you left 
>> a group - read (but not deleted) messages can become unread again
>> without Dialog being explicitly told to.
> 
> I just duplicated it with your message.  I read and responded to the
> previous message, switched to another group, manually killed dialog
> using task manager, went back into dialog and your message is still
> unread.

Again: Your setup and/or your Dialog database sure is messed up!
When /I/ kill Dialog after switching groups, the read messages are
/still/ marked as *read* after a Dialog restart.

Bernd
Re: Dialog: Flush Before Exit?
#247911
Author: Sqwertz
Date: Sun, 01 Jan 2012 17:35
23 lines
2457 bytes
On Sun, 1 Jan 2012 17:45:13 +0100, Bernd Rose wrote:

> On Sun, 1 Jan 2012 09:15:57 -0600, Sqwertz wrote:
> 
>>> As I wrote: this can happen, if you deleted the message, since it 
>>> will be retrieved /again/. There is *no* way that - after you left 
>>> a group - read (but not deleted) messages can become unread again
>>> without Dialog being explicitly told to.
>> 
>> I just duplicated it with your message.  I read and responded to the
>> previous message, switched to another group, manually killed dialog
>> using task manager, went back into dialog and your message is still
>> unread.
> 
> Again: Your setup and/or your Dialog database sure is messed up!
> When /I/ kill Dialog after switching groups, the read messages are
> /still/ marked as *read* after a Dialog restart.

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.

-sw
Re: Dialog: Flush Before Exit?
#247914
Author: Bernd Rose
Date: Sun, 01 Jan 2012 19:09
47 lines
4100 bytes
On Sun, 1 Jan 2012 11:35:53 -0600, Sqwertz wrote:

>> Again: Your setup and/or your Dialog database sure is messed up!
>> When /I/ kill Dialog after switching groups, the read messages are
>> /still/ marked as *read* after a Dialog restart.
> 
> 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. It just 
goes through all records for all groups and permanently removes 
all entries marked as deleted. Wrong indices or pointers, missing
references,... are not corrected. I still have remnants from an
database bug of an earlier Dialog version inside the message files
of the database, although no pointer from the maintenance files
and indices of the database references them. They survive every
compact database. Likewise would do wrong index entries.

You wrote in past that you have and use several installations of
40tude Dialog on several PC's. If you /ever/ didn't just replace
the *whole* Data folder, but did a synchronize instead (or copied
the source folder just over the target folder), your Dialog data
would /most likely/ be corrupted. One reason is, that different
files will be in existence depending on crosspost existence and
out of other reasons. Another is, that group numbering isn't fixed.
It may/will change after every Compact database. And groups may be 
created identically to formerly existing ones by Import or Update 
grouplist(s).

But maybe your database is all well and your system just messes
certain database activities up. - Like an anti-virus program 
intercepting /some/ write operations just long enough to bring
them into time-out state. Since /something/ seems to be written
to disk now and then, access rights are less likely the culprit.
But they can't be ruled out, completely.

There's no way to tell more from here. My crystal ball isn't /that/ 
mighty. 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...  :-(

Bernd
Re: Dialog: Flush Before Exit?
#247926
Author: tlvp
Date: Mon, 02 Jan 2012 00:07
15 lines
1861 bytes
On Sat, 31 Dec 2011 10:11:11 +0100, Bernd Rose wrote:

>>>  ... Dialog (.41) /never/ crashes on Win7 in my setups. (Several
>>> different PC's; Win7x32 as well as Win7x64.) ...
>> 
>  ... Most mentioned crashes could be traced back to: 
> - using the wrong Dialog version (.1 or .84 instead of .41) ...

OT: I take it the recommended Dialog version to be using is *not* 
that with Version: 2.0.15.84 (Beta 38) (what I'm running now) but 
the one with Version: 2.0.15.41? 

Comments? TIA! Cheers, and Happy New Year, -- tlvp
-- 
Avant de repondre, jeter la poubelle, SVP.
Re: Dialog: Flush Before Exit?
#247927
Author: Sqwertz
Date: Mon, 02 Jan 2012 01:44
50 lines
3731 bytes
On Sun, 1 Jan 2012 20:09:38 +0100, Bernd Rose wrote:

> On Sun, 1 Jan 2012 11:35:53 -0600, Sqwertz wrote:
> 
>>> Again: Your setup and/or your Dialog database sure is messed up!
>>> When /I/ kill Dialog after switching groups, the read messages are
>>> /still/ marked as *read* after a Dialog restart.
>> 
>> 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.

> My crystal ball isn't /that/ mighty. 

Yep.

> 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.

All I'm looking for is what I thought might be a simple solution to an
mildly irritating problem.  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.  Plus my newsserver will never be in sync with both
my installtions.  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??  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.

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.

Oddly enough, it hasn't crashed since I started this thread.  It
should have crashed 10-20 times by now.

-sw
Re: Dialog: Flush Before Exit?
#247929
Author: Sqwertz
Date: Mon, 02 Jan 2012 01:48
21 lines
2318 bytes
On Sun, 1 Jan 2012 19:07:39 -0500, tlvp wrote:

> On Sat, 31 Dec 2011 10:11:11 +0100, Bernd Rose wrote:
> 
>>>>  ... Dialog (.41) /never/ crashes on Win7 in my setups. (Several
>>>> different PC's; Win7x32 as well as Win7x64.) ...
>>> 
>>  ... Most mentioned crashes could be traced back to: 
>> - using the wrong Dialog version (.1 or .84 instead of .41) ...
> 
> OT: I take it the recommended Dialog version to be using is *not* 
> that with Version: 2.0.15.84 (Beta 38) (what I'm running now) but 
> the one with Version: 2.0.15.41? 
> 
> Comments? TIA! Cheers, and Happy New Year, -- tlvp

That is what Bernd strongly recommends.  I have not heard of any
problems with it, nor have I heard of it actually fixing any problems
either.

-sw
Re: Dialog: Flush Before Exit?
#247930
Author: tlvp
Date: Mon, 02 Jan 2012 03:56
28 lines
2414 bytes
On Sun, 1 Jan 2012 19:48:47 -0600, Sqwertz wrote:

> On Sun, 1 Jan 2012 19:07:39 -0500, tlvp wrote:
> 
>> On Sat, 31 Dec 2011 10:11:11 +0100, Bernd Rose wrote:
>> 
>>>>>  ... Dialog (.41) /never/ crashes on Win7 in my setups. (Several
>>>>> different PC's; Win7x32 as well as Win7x64.) ...
>>>> 
>>>  ... Most mentioned crashes could be traced back to: 
>>> - using the wrong Dialog version (.1 or .84 instead of .41) ...
>> 
>> OT: I take it the recommended Dialog version to be using is *not* 
>> that with Version: 2.0.15.84 (Beta 38) (what I'm running now) but 
>> the one with Version: 2.0.15.41? 
>> 
>> Comments? TIA! Cheers, and Happy New Year, -- tlvp
> 
> That is what Bernd strongly recommends.  I have not heard of any
> problems with it, nor have I heard of it actually fixing any problems ...

And all that's needed to reach that desired state is to overwrite the
current dialog.exe with the one extracted from the ZIP archive named
dialog.41.zip ? No other changes or substitutions or adjustments?

TIA; and cheers, -- tlvp
-- 
Avant de repondre, jeter la poubelle, SVP.
Re: Dialog: Flush Before Exit?
#247928
Author: Sqwertz
Date: Mon, 02 Jan 2012 04:46
31 lines
2731 bytes
On Sun, 1 Jan 2012 22:56:41 -0500, tlvp wrote:

> On Sun, 1 Jan 2012 19:48:47 -0600, Sqwertz wrote:
> 
>> On Sun, 1 Jan 2012 19:07:39 -0500, tlvp wrote:
>> 
>>> On Sat, 31 Dec 2011 10:11:11 +0100, Bernd Rose wrote:
>>> 
>>>>>>  ... Dialog (.41) /never/ crashes on Win7 in my setups. (Several
>>>>>> different PC's; Win7x32 as well as Win7x64.) ...
>>>>> 
>>>>  ... Most mentioned crashes could be traced back to: 
>>>> - using the wrong Dialog version (.1 or .84 instead of .41) ...
>>> 
>>> OT: I take it the recommended Dialog version to be using is *not* 
>>> that with Version: 2.0.15.84 (Beta 38) (what I'm running now) but 
>>> the one with Version: 2.0.15.41? 
>>> 
>>> Comments? TIA! Cheers, and Happy New Year, -- tlvp
>> 
>> That is what Bernd strongly recommends.  I have not heard of any
>> problems with it, nor have I heard of it actually fixing any problems ...
> 
> And all that's needed to reach that desired state is to overwrite the
> current dialog.exe with the one extracted from the ZIP archive named
> dialog.41.zip ? No other changes or substitutions or adjustments?

Yep, and nope.  It's just a binary swap out for the other version.
There should be no other changes needed.

-sw
Re: Dialog: Flush Before Exit?
#247932
Author: Beauregard T. Shagnasty
Date: Mon, 02 Jan 2012 04:54
16 lines
2385 bytes
tlvp wrote:

> And all that's needed to reach that desired state is to overwrite the
> current dialog.exe with the one extracted from the ZIP archive named
> dialog.41.zip ? No other changes or substitutions or adjustments?

ISTR giving you that advice over at x.computers last year. When you asked 
why, I said because Bernd recommended it. You were, um, reluctant.  ;-)

Yes, it is a simple replacement of your existing dialog.exe with the one 
from the .41 zip file. With program closed, rename your current to 
dialog.84.exe and drop in the dialog.exe from 41.

-- 
   -bts
   -This space for rent, but the price is high
Re: Dialog: Flush Before Exit?
#247940
Author: tlvp
Date: Mon, 02 Jan 2012 15:51
21 lines
2301 bytes
On Mon, 2 Jan 2012 04:54:00 +0000 (UTC), Beauregard T. Shagnasty wrote:

> tlvp wrote:
> 
>> And all that's needed to reach that desired state is to overwrite the
>> current dialog.exe with the one extracted from the ZIP archive named
>> dialog.41.zip ? No other changes or substitutions or adjustments?
> 
> ISTR giving you that advice over at x.computers last year. When you asked 
> why, I said because Bernd recommended it. You were, um, reluctant.  ;-)
> 
> Yes, it is a simple replacement of your existing dialog.exe with the one 
> from the .41 zip file. With program closed, rename your current to 
> dialog.84.exe and drop in the dialog.exe from 41.

Beau, Sqwertz, thanks. (And yes, Beau, you did, but I'm slow as molasses
when it comes to changing out what seems to be OK after all :-) .)

Happy New Year, -- tlvp
-- 
Avant de repondre, jeter la poubelle, SVP.
Re: Dialog: Flush Before Exit?
#247943
Author: Bernd Rose
Date: Mon, 02 Jan 2012 18:39
158 lines
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
Re: Dialog: Flush Before Exit?
#247946
Author: tlvp
Date: Mon, 02 Jan 2012 19:20
8 lines
1666 bytes
On Mon, 2 Jan 2012 04:54:00 +0000 (UTC), Beauregard T. Shagnasty wrote:

>  ... With program closed, rename your current to 
> dialog.84.exe and drop in the dialog.exe from 41.

Done :-) . One NYR down, umpteen more to go :-{ . Cheers, -- tlvp
-- 
Avant de repondre, jeter la poubelle, SVP.
Re: Dialog: Flush Before Exit?
#247948
Author: tlvp
Date: Mon, 02 Jan 2012 19:28
18 lines
2097 bytes
On Mon, 2 Jan 2012 14:20:59 -0500, tlvp wrote:

> On Mon, 2 Jan 2012 04:54:00 +0000 (UTC), Beauregard T. Shagnasty wrote:
> 
>>  ... With program closed, rename your current to 
>> dialog.84.exe and drop in the dialog.exe from 41.
> 
> Done :-) . One NYR down, umpteen more to go :-{ . Cheers, -- tlvp

And now: how to reprogram the link to <http://www.40tude.com/dialog/wiki/>
in Dialog's Help menu (that URL gets a Forbidden response) so it points to
<http://dialog.datalist.org/faq/frequently_asked_questions.html> instead?

Or is there some better wiki URL to use?

Cheers, -- tlvp
-- 
Avant de repondre, jeter la poubelle, SVP.
Re: Dialog: Flush Before Exit?
#247966
Author: Sqwertz
Date: Tue, 03 Jan 2012 20:11
63 lines
5179 bytes
On Mon, 2 Jan 2012 19:39:38 +0100, Bernd Rose wrote:

> On Sun, 1 Jan 2012 19:44:51 -0600, Sqwertz wrote:
> 
>> 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...

They all refer to the same thread. The same instance that you are
suggesting the parallel installation.

> 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...  :-(

I have no desire to go through all through all all my customizations
and options and add them back in one by one to find out where the bug
is.  To do so would take well over a year and be inconclusive.  

As I said, the crash only happens randomly and can go weeks without
appearing.  I would never know what causes it since I can't duplicate
it on demand.  How would ever know if introducing back in a script or
option does or does not cause or fix the problem?  I would have to
wait virtually indefinitely between each change.

If the crash happened all the time, then sure - that may work.  But it
is very sporadic.  This is also a good indication that it is nothing I
am doing, but rather the particular phase of the moon or sunspots.  Or
some other external force of nature.

I will post my next exception. I do not use any active antivirus
software, but I do scan every once in while with MSE.  I check my
system/application logs more regularly and have not seen anything
terribly suspicious (except unannounced write errors to my thumb
drives)

-sw
Re: Dialog: Flush Before Exit?
#247968
Author: Gene E. Bloch
Date: Tue, 03 Jan 2012 21:57
19 lines
2319 bytes
On 1/03/2012, Sqwertz posted:
> I have no desire to go through all through all all my customizations
> and options and add them back in one by one to find out where the bug
> is.  To do so would take well over a year and be inconclusive.

> As I said, the crash only happens randomly and can go weeks without
> appearing.  I would never know what causes it since I can't duplicate
> it on demand.  How would ever know if introducing back in a script or
> option does or does not cause or fix the problem?  I would have to
> wait virtually indefinitely between each change.

To speed the process up, use the Bloch variant on the scentific Method: 
change three or four things at once. Then, when the problem goes away, 
you wonder which change was the right one :-)

-- 
Gene E. Bloch (Stumbling Bloch)

Re: Dialog: Flush Before Exit?
#247970
Author: Bernd Rose
Date: Tue, 03 Jan 2012 21:58
94 lines
6177 bytes
On Tue, 3 Jan 2012 14:11:15 -0600, Sqwertz wrote:

[Reinserted:]
>>>> 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.
[Several examples snipped]
> They all refer to the same thread. The same instance that you are
> suggesting the parallel installation.

Nothing in my above statement refers to some obscure year old threads.
I was (and still am) talking about you lap-dancing around your current 
problems, avoiding any personal effort. 
 
> I have no desire to go through all through all all my customizations
> and options and add them back in one by one to find out where the bug
> is.  To do so would take well over a year and be inconclusive.  

Purposeful iteration is the key. *Of course* you don't change the
foreground color for read messages and wait a couple of weeks,
whether this might have an effect on database write!  :-( 

A test plan with minimal input required would look like:
- clean new installation (outside a managed folder!)
- save new settings.ini and replace with old one
- restore new settings.ini and replace Data folder with old one
- keep old Data and additionally replace settings.ini by old one
- replace filters.dat (= Scoring/Actions) by old one
- import all Scripts, which you think can /not/ be the cause of the
  crashes (don't forget helper files, if those scripts need them)
- add all remaining scripts

Once you encounter a crash, all remaining test steps can be omitted.
Instead, it may be prudent to dissect the step, which triggered the
crash, in more detail. This way, you should be able to identify the
culprit. If even the last step does not result in crashes, refine
the new installation to be used as the default one from this day on.

/Managing/ above steps should take less then an hour *altogether*.
More time consuming will be /working/ with every single setup. But
from step 3 onwards you can (at least) do a great deal of reading
over there.
 
> As I said, the crash only happens randomly and can go weeks without
> appearing.  I would never know what causes it since I can't duplicate
> it on demand.  How would ever know if introducing back in a script or
> option does or does not cause or fix the problem?  I would have to
> wait virtually indefinitely between each change.

Not really. As you can see above, you'd do changes in clusters. 
With refinement only when it is necessary. Defining a sensible
waiting time is basic statistics. Increasing it too much may
increase confidence level, but with quickly diminishing returns.
If you chose the time span to short, you can always trace back.
Therefore, choosing a comparatively short time span between each
step (at most a week, for instance) can be combined with going
a whole step backwards with prolonged waiting time before doing
refinement search. E.g.: If putting in scripts triggers a crash,
you go back to no script at all and wait a good deal of time
before inserting some of the scripts back.

You could even do the whole process backwards: Fresh installation,
take all settings, Data, Scoring/Actions, Scripts from your current
installation. If a crash happens, you perform above scenario 
backwards. This way you could even use the new installation for
daily work from the beginning. Only if crashes happen, you may 
need to switch back to your old (= current) one.

> I will post my next exception. 

Okay.

> I do not use any active antivirus software, but I do scan every 
> once in while with MSE.

Are you sure that you explicitly disabled the real-time protection 
of MSE? (It is on by default; and turning it off requires additional
steps to disable core Win7 AV policy warnings, as well...)

> I check my system/application logs more regularly and have not seen 
> anything terribly suspicious (except unannounced write errors to my 
> thumb drives)

If one would search for a link between write errors on USB drives
and occasional disk access locks on hard disks (which is purely
speculative at the moment), a wrong/buggy chipset driver would be
a good starting point.

Bernd
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