🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #248344

Re: Dialog Crashes

#248344
From: Sqwertz
Date: Sun, 15 Jan 2012 15:02
59 lines
4023 bytes
On Sun, 15 Jan 2012 10:54:34 +0100, Bernd Rose wrote:

> On Sat, 14 Jan 2012 16:01:43 -0600, Sqwertz wrote:
> 
>> I was entertaining the suspicion that you have some "inside information"
>> regarding Dialog.
> 
> I don't.  :-)
> 
>> I've been saving this crash hoping to collect come more.  Note that
>> apparently MSSE (security Essentials) active protection does seem to 
>> turn itself on and off for no reason (probably when I do updates - 
>> similar to how IE always resets itself to your default browser).  It 
>> was definitely off when I did this., and dialog.exe is on it's process 
>> exclusion list when it does turn itself on.
> 
> Best to also add the Dialog folder and its subfolders to the MSSE
> exclusion list.
>  
>> exception class   : EAccessViolation
> 
> This time (and the second report you posted is practically identical)
> the error occurs, when Dialog tries to write data into a memory area,
> which should be available to it. Immediately before this attempt to
> write, it resizes the memory area and moves existing data out of the 
> way, so that the new data can be inserted somewhere in the midst of 
> the existing data.
> 
> The moving of the data is done by a Windows system function. From the
> error listing it seems, that Windows does the resizing in an own
> thread on a different processor core than the one the Dialog thread 
> is currently running on. 
> 
> While the data movement still is in progress, the Dialog thread gets
> back to active state and tries to write to the memory still locked
> by the system process. (At least, that's what I think is happening.)
> 
> You can try to restrict Dialog to one processor core. I don't know,
> if this helps here, since the system process might still be executed
> on a different core. (I don't know whether this might happen or not.)
> But, IMHO, it is worth a try.
> 
> Create a Run4D.cmd file alongside Dialog.exe with just this line:
> ;--------------------<Snip>-------------------
> start /affinity 1 dialog.exe
> ;--------------------<Snip>-------------------
> 
> This should restrict Dialog to the first processor core. (You have
> to execute Run4D.cmd instead of Dialog.exe to start the program, of
> course.)

OK, I'll start dialog like that for a while and let you know.  Thanks
for looking into it.

But I would assume this problem would appear in other apps as well. Is
it just because Dialog (old Delphi libraries) were not written to be
multithreaded?

-sw (still wondering how you knew it was history.dat)
Technical Details
Message-ID: <cvkiae0ynzyk$.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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!transit3.readnews.com!news-out.readnews.com!transit4.readnews.com!s09-10.readnews.com!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>

Show Full Headers
Complete Article Headers
Message-ID: <cvkiae0ynzyk$.dlg@sqwertz.com>
Subject: Re: Dialog Crashes
Date: Sun, 15 Jan 2012 09:02:43 -0600
From: Sqwertz <swertz@cluemail.compost>
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>
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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!transit3.readnews.com!news-out.readnews.com!transit4.readnews.com!s09-10.readnews.com!not-for-mail
Newsgroups: news.software.readers
User-Agent: MacSOUP/2.7 (Mac OS X version 10.4.8)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Organization: Me, Myself, and Inc.
X-no-archive: yes
X-WebTV-Stationery: Standard; BGColor=black;
 http://galleries.fuckedbyshemale.com/064qku/10.jpg; TextColor=black
Lines: 59
NNTP-Posting-Host: fad8adc0.blocknews.net
X-Trace: DXC=:87Gomm?[Hcm_nk=ffJOVgGTXUl?iR^Pl<X<c6\A078bMUCQ^cYmVZnnG6QH>mPB[h::bK?UHI6>iLoZO7a6f0Ta
X-Complaints-To: abuse@blocknews.net