The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> Micro Focus/Compuware QARun

Pages: 1
Colin Deady
Member


Reged: 01/09/02
Posts: 80
Loc: Swindon, UK
Runawl abnormal program termination
      #148665 - 01/14/02 04:03 AM

Hi

Up until an hour ago when I ran my QARun script (selecting data from a SQL Server database and writing that data out to a file) all was fine.

Suddenly for no reason I can work out, the script gets 2/3 of the way through (looping through many times to retrieve different record sets through dbselect) and then gives 3 messages in a row before Dr Watson throws a wobbly:

"QARun - Runtime error: Unknown exception error in script 'Comparison' at line 188".

"Microsoft Visual C++ Runtime Library - Runtime Error! Program C:\QARun\Program\RUNAWL.EXE Abnormal program termination"

"RUNAWL.EXE - Application Error - The instruction at "0x77f6ccca" referenced memory at "0x00000070". The memory could not be "written". Click OK to terminate the application."

I'm stuck - lost and unable to work out what is going on!

The messages occur at a select statement, but until an hour ago that statement worked fine.

I've tried the following:

1) reboot computer
2) remove the "offending" element of the loop that throws the error up when it hits the SQL - the error still appears only 1 loop later
3) reinstalling the QARun client on my machine.

None of the above worked. Please help as a looming deadline is coming up.

Thanks
-Colin

------------------
-Colin http://www.profund.com

[This message has been edited by Colin Deady (edited 05-16-2002).]

Post Extras: Print Post   Remind Me!   Notify Moderator  
QAGUY
Member


Reged: 05/24/01
Posts: 489
Re: Runawl abnormal program termination
      #148666 - 01/14/02 08:09 AM

Have you contacted Compuware support yet?

------------------
"If your not part of the solution, there's good money to be made in prolonging the problem."


Post Extras: Print Post   Remind Me!   Notify Moderator  
Colin Deady
Member


Reged: 01/09/02
Posts: 80
Loc: Swindon, UK
Re: Runawl abnormal program termination
      #148667 - 01/14/02 09:05 AM

Chatting with them at the moment - someone will get back to me in the morning(UK) but if anyone knows what's caused this I'd be eternally grateful!

thanks

Update: the following day... I just realised that after a dbselect("select * from x") one needs to put a dbclose() to clear the record set that had been generated *before* one can use another dbselect(). The documentation does not make this clear that this is necessary. In fact, the dbselect examples don't even have dbclose() in them!

Looking at dbclose() doesn't make the necessity of this clear either.

I'm /guessing/ that when the first dbselect() is run, the memory space is allocated and fixed at a set size. Therefore if a later dbselect() contains more than this space can cope with, it overruns it and can't write to it (hence the error messages). Using dbclose() first forces dbselect() the second time round to assign new memory space of the correct size.

This explains why smaller record sets worked ok on second or subsequent dbselects() but 2/3 the way through the script it went wrong (big dbselect()).

The only bit I don't understand is why this wasn't a problem before 11am yesterday and *no* code modification was made after then but that's when the problem occurred.

------------------
-Colin http://www.profund.com

[This message has been edited by Colin Deady (edited 05-16-2002).]

Post Extras: Print Post   Remind Me!   Notify Moderator  
Channaveer
Newbie


Reged: 08/31/10
Posts: 2
Re: Runawl abnormal program termination [Re: Colin Deady]
      #640595 - 08/31/10 05:12 AM

Hello,

I am facing the same issue which Mr. Collin Deady
was faced and he has mentioned the detail of the issue i.e.(Runawl abnormal program termination )

Please let me know the detail steps how to fix it.

Many thanks in advance!!!!

Regard's
Channaveer


Post Extras: Print Post   Remind Me!   Notify Moderator  
Channaveer
Newbie


Reged: 08/31/10
Posts: 2
Switching of multiple databases in qarun [Re: Channaveer]
      #643620 - 09/27/10 09:30 PM

Hello,

I have more than 6 databases (.mdb) with different functionality and I am running the recorded scripts through batch files. Is it possible to load other databases through batch file? If it is possible please let me know the detail steps.

Thanks
Channaveer

Edited by Channaveer (09/27/10 09:33 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 0 anonymous users are browsing this forum.

Moderator:  Jim Brennan, AJ, DSquared 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 4505

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5