Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #2397 > unrolled thread

Vo 2.8 - strange error - only when running EXE

Started by"Tom Szabo" <tom@intersoft.net.au>
First post2011-11-09 11:30 +1000
Last post2011-11-09 07:34 +0100
Articles 3 — 3 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Vo 2.8 - strange error - only when running EXE "Tom Szabo" <tom@intersoft.net.au> - 2011-11-09 11:30 +1000
    Re: Vo 2.8 - strange error - only when running EXE "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> - 2011-11-09 13:05 +1100
    Re: Vo 2.8 - strange error - only when running EXE John Martens <adsl672100@tiscali.nl> - 2011-11-09 07:34 +0100

#2397 — Vo 2.8 - strange error - only when running EXE

From"Tom Szabo" <tom@intersoft.net.au>
Date2011-11-09 11:30 +1000
SubjectVo 2.8 - strange error - only when running EXE
Message-ID<4eb9d7cf$1@dnews.tpgi.com.au>
Hi All,

Recently I have made some modification to a program and I have run into a 
nasty problem:

First I realized that while the program runs fine on win 2003 it fails on 
2008.

Later on also realized that the problem only appears when you run the EXE 
but not under the development environment (IDE)

The error code is: 50  sub-code: 5333

It refers to a line 86 in a method that has only 39 lines or so.

The error can be reproduced by simply opening up a form and saving any 
changes. Once one change saved, opening a second form of any kind will 
create the above error.

On the other hand one can open a dozen forms and not get the error as long 
as has not saved any changes.

The issue also appeared in EXEs generated in VO2.7, this is why I migrated 
to 2.8, but no change.

The problem seem to only appear when you run the program on Win 2008 as an 
EXE without the IDE.

Running it on 2003 will not fail either way. All tests are done using the 
same DB on two completely different systems and the tests are consistent.

I have tried Compatibility mode, running it as administrator, no affect at 
all

Any clues?

TIA

Tom


[toc] | [next] | [standalone]


#2398

From"Stephen Quinn" <stevejqNO@bigpondSPAM.net.au>
Date2011-11-09 13:05 +1100
Message-ID<leluq.5474$NR2.2005@viwinnwfe01.internal.bigpond.com>
In reply to#2397
Tom

> The error code is: 50  sub-code: 5333
Maybe trying to use something that nolonger exists?
Does it happen consistently in the same place every time?

> It refers to a line 86 in a method that has only 39 lines or so.
It'll do that when you don't have any debug info in the exe. The line number 
is whatever it's pointing to in some memory location when the problem 
occurs.

Have you tried running a copy of the exe with debug info in it?
You might get more meaningful info in the error log then, at least you'll 
get a trace of where the app is when the error occured (not necessarily the 
error condition though).

CYA
Steve 

[toc] | [prev] | [next] | [standalone]


#2400

FromJohn Martens <adsl672100@tiscali.nl>
Date2011-11-09 07:34 +0100
Message-ID<4eba1eea$0$14710$5fc3050@news.tiscali.nl>
In reply to#2397
Tom,

What helped me was to output the memory value 
Memory(MEMORY_REGISTERAXIT) before opening a window.

After closing the window I call CollectForced()
and after that I test for Memory(MEMORY_REGISTERAXIT) again.

I had windows/forms where the value was not the same wihtout any reason.
Breaking down the cause led to some objects that were sil alive while 
they souldn't.
This gave me the clue to solve several 'mysterious' problems I had before.

John



Op 9-11-2011 2:30, Tom Szabo schreef:
> Hi All,
>
> Recently I have made some modification to a program and I have run into a
> nasty problem:
>
> First I realized that while the program runs fine on win 2003 it fails on
> 2008.
>
> Later on also realized that the problem only appears when you run the EXE
> but not under the development environment (IDE)
>
> The error code is: 50  sub-code: 5333
>
> It refers to a line 86 in a method that has only 39 lines or so.
>
> The error can be reproduced by simply opening up a form and saving any
> changes. Once one change saved, opening a second form of any kind will
> create the above error.
>
> On the other hand one can open a dozen forms and not get the error as long
> as has not saved any changes.
>
> The issue also appeared in EXEs generated in VO2.7, this is why I migrated
> to 2.8, but no change.
>
> The problem seem to only appear when you run the program on Win 2008 as an
> EXE without the IDE.
>
> Running it on 2003 will not fail either way. All tests are done using the
> same DB on two completely different systems and the tests are consistent.
>
> I have tried Compatibility mode, running it as administrator, no affect at
> all
>
> Any clues?
>
> TIA
>
> Tom
>
>
>

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web