🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #248429

Re: Dialog Crashes

#248429
From: Bernd Rose
Date: Sun, 22 Jan 2012 20:21
52 lines
4419 bytes
Following up myself:

[History.dat]
>> I don't even know what that is or what it's used for.
> 
> That is one of the few Dialog files I never was interested in. It is 
> just used for internal management and carries no data important for
> keeping the database content complete. Maybe I'll have a closer look
> at the file at some time in future. Looking into this matter might be
> a /little/ bit more interesting than twiddling thumbs...  ;-)

Lousy weather, hereabouts. So I had a look:

History.dat stores information about the last (at most 500) changes of
Tab+Group+Header focus. Apart from storing ID numbers for the currently 
active (i.e.: selected) Tab, Group, and Header, it also saves both, the 
top-most visible Group in the Group-pane and the top-most visible Header 
in the Header pane. Events older than 500 focus changes are lost.

The information in history.dat is used to activate the last visited
group on Dialog start and the last active header on changing group
focus. This information will be stored /regardless/ of the settings
inside <General Settings><Navigation> ("Return to last active...").

You can verify this by ticking at least the "Return to last active
article" setting /in/. Toggle focus between a couple of groups and
be sure to place the header focus somewhere down (i.e. not on the
topmost header). Verify, that you are /really/ returning to those
earlier selected articles. Now switch to one group and do more than 
500 header focus changes. (Probably best done by script.  ;-)  ) 
If you now switch back to one of the other groups, the cursor will 
be placed on the topmost line, since the information has already 
been discarded from buffer.

Thinking about this, there's another possible reason for you crashes:
Everytime, Dialog tries to identify the position of the topmost visible
Group or Header, it may run into Display driver errors. Dialog is known
to have GUI problems on x64. If you neither use the Double-Zoom nor
the Patch solution (in most cases *either* the first *or* the latter
is necessary), Dialog will most likely have problems displaying some
GUI elements. This /might/ cause index-list memory overflows when
reading the position of the topmost line and finding it on (say) the
position -1.

Against such GUI related causes speaks, that the crashes seem to be
related to exiting Dialog. Since the focus-change information will 
/only/ be written to disk on exit and there is no difference between
an exit data record and a normal Group or Tab switching one, it still
is more likely that access rights on your files and/or folders (or 
sth. like this) are to be blamed...

Bernd
Technical Details
Message-ID: <rgrjhgpyni4u$.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!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!news-2.dfn.de!news.dfn.de!news.uni-stuttgart.de!news.belwue.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail
References: <jibop7d6q60t$.dlg@sqwertz.com> <3269akflnetu$.dlg@b.rose.tmpbox.news.arcor.de> <eln7qlxd9upk$.dlg@sqwertz.com> <1chh7xpqk2vvd.dlg@b.rose.tmpbox.news.arcor.de> <oe84xiifymf6.dlg@sqwertz.com> <17gfrbo9k384c.dlg@b.rose.tmpbox.news.arcor.de> <cvkiae0ynzyk$.dlg@sqwertz.com> <1j9vsm4n3pesx.dlg@b.rose.tmpbox.news.arcor.de> <1oz13yf8mcvro.dlg@sqwertz.com> <14i93jrb4ii8s.dlg@b.rose.tmpbox.news.arcor.de> <10xfxtcvrstxg$.dlg@sqwertz.com> <afqdr1h8gfij$.dlg@b.rose.tmpbox.news.arcor.de>

Show Full Headers
Complete Article Headers
Message-ID: <rgrjhgpyni4u$.dlg@b.rose.tmpbox.news.arcor.de>
Subject: Re: Dialog Crashes
Date: Sun, 22 Jan 2012 21:21:39 +0100
From: Bernd Rose <b.rose.tmpbox@expires-2012-01-31.arcornews.de>
References: <jibop7d6q60t$.dlg@sqwertz.com> <3269akflnetu$.dlg@b.rose.tmpbox.news.arcor.de> <eln7qlxd9upk$.dlg@sqwertz.com> <1chh7xpqk2vvd.dlg@b.rose.tmpbox.news.arcor.de> <oe84xiifymf6.dlg@sqwertz.com> <17gfrbo9k384c.dlg@b.rose.tmpbox.news.arcor.de> <cvkiae0ynzyk$.dlg@sqwertz.com> <1j9vsm4n3pesx.dlg@b.rose.tmpbox.news.arcor.de> <1oz13yf8mcvro.dlg@sqwertz.com> <14i93jrb4ii8s.dlg@b.rose.tmpbox.news.arcor.de> <10xfxtcvrstxg$.dlg@sqwertz.com> <afqdr1h8gfij$.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!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!news-2.dfn.de!news.dfn.de!news.uni-stuttgart.de!news.belwue.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.15.41 (c03181ea.166.331)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Lines: 52
Organization: Arcor
NNTP-Posting-Date: 22 Jan 2012 21:22:52 CET
NNTP-Posting-Host: 26ac0e18.newsspool3.arcor-online.net
X-Trace: DXC=8ICe7e?o7m3^8FBo0_81f>McF=Q^Z^V384Fo<]lROoR18kF<OcfhCO;
 66CGKQP^]g6BYf[Tl<>Rj:\JDXEIQ; j?>iA9jfWV<WE4
X-Complaints-To: usenet-abuse@arcor.de
X-Original-Bytes: 4071