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


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

Windows 7 64 bit - unexplained crash

Started by"richard.townsendrose" <richard.townsendrose@gmail.com>
First post2011-11-04 06:12 -0700
Last post2011-11-13 13:58 -0800
Articles 8 — 4 participants

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


Contents

  Windows 7 64 bit - unexplained crash "richard.townsendrose" <richard.townsendrose@gmail.com> - 2011-11-04 06:12 -0700
    Re: Windows 7 64 bit - unexplained crash D.J.W. van Kooten <public@ic2remove.this.com> - 2011-11-07 13:31 +0100
      Re: Windows 7 64 bit - unexplained crash "richard.townsendrose" <richard.townsendrose@gmail.com> - 2011-11-09 05:39 -0800
        Re: Windows 7 64 bit - unexplained crash Alwin Nederpelt <powerneet@gmail.com> - 2011-11-11 12:24 -0800
          Re: Windows 7 64 bit - unexplained crash "richard.townsendrose" <richard.townsendrose@gmail.com> - 2011-11-12 02:53 -0800
            Re: Windows 7 64 bit - unexplained crash "Willie Moore" <williem@wmconsulting.com> - 2011-11-12 06:03 -0600
              Re: Windows 7 64 bit - unexplained crash "richard.townsendrose" <richard.townsendrose@gmail.com> - 2011-11-13 03:07 -0800
                Re: Windows 7 64 bit - unexplained crash Alwin Nederpelt <powerneet@gmail.com> - 2011-11-13 13:58 -0800

#2371 — Windows 7 64 bit - unexplained crash

From"richard.townsendrose" <richard.townsendrose@gmail.com>
Date2011-11-04 06:12 -0700
SubjectWindows 7 64 bit - unexplained crash
Message-ID<f06a12f1-f35b-4377-9547-d4577beb8afa@a7g2000yqd.googlegroups.com>
hi all

this happens in win7 64 - NOT xp 32.

Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	TDOC_CR.exe
  Application Version:	5.11.5.0
  Application Timestamp:	00000000
  Fault Module Name:	VO28RUN.DLL
  Fault Module Version:	2.8.0.2816
  Fault Module Timestamp:	46484e8b
  Exception Code:	c0000005
  Exception Offset:	00059fee
  OS Version:	6.1.7600.2.0.0.256.48
  Locale ID:	2057
  Additional Information 1:	e913
  Additional Information 2:	e91306517126c3b3e1ab276867c65b5a
  Additional Information 3:	bff9
  Additional Information 4:	bff9e1a261e2de5d87c62fec141e7618

it ONLY happens if the datbase has NOT been logged into

here is the start method code

METHOD Start() CLASS App
	LOCAL Main		AS MainWindow
	LOCAL lOk		:= FALSE AS LOGIC
	LOCAL oV4Check  AS CheckW

	// initialise and load app specific stuff
	Main:=MainWindow{SELF}

	// Do Setup Stuff, Read or Create TDOC.INI, & Dongle
	Main:MenuOff()
	lOK:=Main:Initialise(Main)

	IF lOk
		Main:Caption:=(Main:AppName +' '+ LoadResString('for',IDG_FOR,nPLH)
+' '+ Main:Licence:Name +' '+ LoadResString('on',IDG_ON,nPLH) +' '+
GetDefault())
		// Data checks
		oV4Check:=CheckW{SysObject()}
		oV4Check:Show()

        IF Main:lDataCheckOk
			IF Main:LogIn:Login()
    			IF OpenLookups() .AND. glTrial
    				Main:TooLarge()
	    		ELSE
					Main:LoadCatsParms()
					IF SysObject():GetSet(QStartPage)
						Main:ShowStartScreen()
					ELSEIF SysObject():GetSet(DashPage)
						Main:ShowDashBoard()
 					ENDIF
					Main:MenuOn()
		  			SELF:Exec()
		  		ENDIF
			ENDIF
		ENDIF

	ENDIF

	AdsApplicationExit()
	SELF:Quit()

RETURN NIL

and it does NOT happen when running in the debugger

richard

[toc] | [next] | [standalone]


#2377

FromD.J.W. van Kooten <public@ic2remove.this.com>
Date2011-11-07 13:31 +0100
Message-ID<dpjfb79b09ic4i1ljoa5ipf0i37o7pgpfu@4ax.com>
In reply to#2371
On Fri, 4 Nov 2011 06:12:35 -0700 (PDT), "richard.townsendrose"
<richard.townsendrose@gmail.com> wrote:

Hello Richard,

>hi all
>
>this happens in win7 64 - NOT xp 32.
>
Does it happen with all debug statusses set to Off? 

I have to do that for exe's. It works fine from the IDE. Usually it is
not a crash, but the code stops executing, so pressing a button or
making a menu choice looks like there's no method behind it. But
retrying it a few times gives a kid stack overflow error eventually.

With the debug status to off there's no problem anymore.

Dick

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


#2402

From"richard.townsendrose" <richard.townsendrose@gmail.com>
Date2011-11-09 05:39 -0800
Message-ID<8b37716b-db04-43c7-a2eb-6f57106d4067@c18g2000yqj.googlegroups.com>
In reply to#2377
Dick

tried that ...

seems it is to do with memory

so i stuffed in a couple of collectforced()'s - made no difference

web research shows that this c0000005 bug has been around for many
years
some times it an nt dll that crashes

richard

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


#2424

FromAlwin Nederpelt <powerneet@gmail.com>
Date2011-11-11 12:24 -0800
Message-ID<9370a2df-a77c-4ffc-8349-0ef0cab15009@x7g2000yqb.googlegroups.com>
In reply to#2402
On 9 nov, 14:39, "richard.townsendrose"
<richard.townsendr...@gmail.com> wrote:
> Dick
>
> tried that ...
>
> seems it is to do with memory
>
> so i stuffed in a couple of collectforced()'s - made no difference
>
> web research shows that this c0000005 bug has been around for many
> years
> some times it an nt dll that crashes
>
> richard

What i have seen is that when ALTD() is active in the .EXE file, it
becomes unstable at client sites. I have build a simple check in my
tools so i cannot compress the .EXE file when it contains ALTD

IF FLOCATE(nH,"ALTD"+CHR(0),1)>0
        alert("ALTD nog actief !!! Dit zorg voor SQL/CAVO crashes !")
        ErrorQuit()
END IF

Alwin

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


#2426

From"richard.townsendrose" <richard.townsendrose@gmail.com>
Date2011-11-12 02:53 -0800
Message-ID<3526f4f7-a3cc-4896-bd1c-8a9db6014bdf@o15g2000vbo.googlegroups.com>
In reply to#2424
Alwin

mmmmmm did that exactly ... and guess whta, the ONLY active altd() was
in rightsle

it was i thought inactive ... being in the #IFDEF ....

but there you are

FIXED by simply removing .. and in fact dontb even use the inline
calculator functionality

thanks a million ..

richard

METHOD processEnter() AS LONGINT PASCAL CLASS inlineCalcSLE
	//p custom enter key handler for the inline calc
	//r VOID
	//a None
	// #IFDEF __DEBUG
	//	AltD()
	// #ENDIF
	IF !SELF:lenter .AND. SELF:lSessionChange .AND. SELF:nOpLevel > 1  //
wcm 2006-05-10 changed so it on first opp only, process the normal
enter key
		SELF:DoOperation("=")
		SELF:lEnter := TRUE
	ELSE
		SELF:lEnter := FALSE
		RETURN SUPER:processEnter()
	ENDIF
	// Don't print this, so merely return
	RETURN 1L

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


#2428

From"Willie Moore" <williem@wmconsulting.com>
Date2011-11-12 06:03 -0600
Message-ID<j9m2li$706$1@speranza.aioe.org>
In reply to#2426
Richard,

The code that you are referring to is active if you have the "debug" flag 
turned on in the library.

Regards,
Willie 

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


#2429

From"richard.townsendrose" <richard.townsendrose@gmail.com>
Date2011-11-13 03:07 -0800
Message-ID<d5356a86-bbda-4030-94d9-e489202ce8d9@h34g2000yqd.googlegroups.com>
In reply to#2428
Willie

in the rightsle lib i have in properties, application the debug option
is NOT set

the symptom is that the crash ONLY occurs when no data table has been
opened ... i.e. you go in and quit before doing anything ... and then
only in win 7 64 - xp 32 been using for years and win 7 32 users no
problem ...

very strange,

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


#2430

FromAlwin Nederpelt <powerneet@gmail.com>
Date2011-11-13 13:58 -0800
Message-ID<50a99562-00a4-45ce-a75d-f3216483636e@3g2000vbp.googlegroups.com>
In reply to#2429
On 13 nov, 12:07, "richard.townsendrose"
<richard.townsendr...@gmail.com> wrote:

Well, to be hounest.....

CAVO is perfect, but is strange sometimes......

Since i started to build standard software for the dutch market, i saw
these strange things. It really took me a day to find out what, but
than again... what else do i need to do.... :(

Alwin

[toc] | [prev] | [standalone]


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


csiph-web