Access violation in module `kernel32.dll`

Discuss RoboTask here
Post Reply
paulus
Posts: 19
Joined: Tue Sep 14, 2004 1:51 am
Location: Netherlands

Access violation in module `kernel32.dll`

Post by paulus »

Access violation in module `kernel32.dll` - again
Tasks are exectued in this order. Now the first crash occurred in a simple task executing a DOS batchfile Copy_cat.bat. Here is the Robotask-eventlog from the first group of tasks:

Code: Select all

I: 7-2-2006 19:00:01: Task executed successfully
I: 8-2-2006 19:00:00: ****** Starting task... ******************
I: 8-2-2006 19:00:00: Task started with priority: Normal
I: 8-2-2006 19:00:00: Executing "Start Task "01 Copy cat - Timeout task""
I: 8-2-2006 19:00:00: Executing "Set variable "JOB_STEP_EXECUTED" with value "1""
I: 8-2-2006 19:00:00: Executing "Run "Copy_cat.bat""
E: 8-2-2006 19:00:00: Access violation at address 7C575B81 in module 'kernel32.dll'. Read of address 03194000
E: 8-2-2006 19:00:00: An error occured. Reconfigure this step.
E: 8-2-2006 19:00:00: Task execution is aborted
I: 7-2-2006 19:00:01: Task executed successfully
I: 8-2-2006 19:00:00: ****** Starting task... ******************
I: 8-2-2006 19:00:00: Task started with priority: Normal
I: 8-2-2006 19:00:00: Executing "Set variable "JOB_START_DATETIME" with value "{DateTime}""
I: 8-2-2006 19:00:00: Executing "Set variable "TASK_TIMEOUT_VALUE" with value "00:02:00""
I: 8-2-2006 19:00:00: Executing "Waiting for completion "01 Copy cat" 120 sec"
I: 8-2-2006 19:00:00: Executing "Stop Task "01 Copy cat""
I: 8-2-2006 19:00:00: Executing "Basic Script"
E: 8-2-2006 19:00:01: 08-02-2006 19.00.01 ::*Error occurred: Exception 8000ffff
W: 8-2-2006 19:00:01: 08-02-2006 19:00:01 -OK- Taakduur '01 Copy cat - Timeout task': 19:00:01
E: 8-2-2006 19:00:01: 08-02-2006 19.00.01 ::*Error occurred: Exception 8000ffff
E: 8-2-2006 19:00:01: 08-02-2006 19.00.01 ::*Error occurred: Exception 8000ffff
I: 8-2-2006 19:00:01: Executing "Create text file  {SERVER_LOCATION}\Cognos\Productie\Logfiles\RoboTask\Nachtru nVoortgang.log"
E: 8-2-2006 19:00:01: Error writing 
E: 8-2-2006 19:00:01: An error occured. Step #5 (Create text file  {SERVER_LOCATION}\Cognos\Productie\Logfiles\RoboTask\Nachtru nVoortgang.log).
I: 8-2-2006 19:00:01: Executing "Start Task "02 Copy export""
I: 8-2-2006 19:00:01: Task executed successfully
I: 7-2-2006 19:00:01: Task executed successfully
I: 8-2-2006 19:00:01: ****** Starting task... ******************
I: 8-2-2006 19:00:01: Task started with priority: Normal
I: 8-2-2006 19:00:01: Executing "Start Task "02 Copy export - Timeout task""
I: 8-2-2006 19:00:01: Executing "Set variable "JOB_STEP_EXECUTED" with value "2""
I: 8-2-2006 19:00:01: Executing "Run "Copy_export.bat""
E: 8-2-2006 19:00:01: Access violation at address 7C575B81 in module 'kernel32.dll'. Read of address 03194000
E: 8-2-2006 19:00:01: An error occured. Reconfigure this step.
E: 8-2-2006 19:00:01: Task execution is aborted
I: 7-2-2006 19:00:02: Task executed successfully
I: 8-2-2006 19:00:01: ****** Starting task... ******************
I: 8-2-2006 19:00:01: Task started with priority: Normal
I: 8-2-2006 19:00:01: Executing "Set variable "JOB_START_DATETIME" with value "{DateTime}""
E: 8-2-2006 19:00:01: Access violation at address 7C575B81 in module 'kernel32.dll'. Read of address 03194000
E: 8-2-2006 19:00:01: An error occured. Reconfigure this step.
E: 8-2-2006 19:00:01: Task execution is aborted
I: 8-2-2006 19:00:01: Executing "Set variable "TASK_TIMEOUT_VALUE" with value "00:02:00""
I: 8-2-2006 19:00:01: Executing "Waiting for completion "02 Copy export" 120 sec"
I: 8-2-2006 19:00:01: Executing "Stop Task "02 Copy export""
I: 8-2-2006 19:00:01: Executing "Basic Script"
E: 8-2-2006 19:00:01: 08-02-2006 19.00.01 ::*Error occurred: Exception 8000ffff
W: 8-2-2006 19:00:01: 08-02-2006 19:00:01 -OK- Taakduur '02 Copy export - Timeout task': 19:00:01
E: 8-2-2006 19:00:01: 08-02-2006 19.00.01 ::*Error occurred: Exception 8000ffff
E: 8-2-2006 19:00:01: 08-02-2006 19.00.01 ::*Error occurred: Exception 8000ffff
I: 8-2-2006 19:00:01: Executing "Create text file  {SERVER_LOCATION}\Cognos\Productie\Logfiles\RoboTask\Nachtru nVoortgang.log"
E: 8-2-2006 19:00:01: Error writing 
E: 8-2-2006 19:00:01: An error occured. Step #5 (Create text file  {SERVER_LOCATION}\Cognos\Productie\Logfiles\RoboTask\Nachtru nVoortgang.log).
I: 8-2-2006 19:00:01: Executing "Run "kill_Process.bat""
E: 8-2-2006 19:00:01: Access violation at address 7C575B81 in module 'kernel32.dll'. Read of address 03194000
E: 8-2-2006 19:00:01: An error occured. Reconfigure this step.
E: 8-2-2006 19:00:01: Task execution is aborted
I: 8-2-2006 19:00:01: Executing "Start Task "03 Save Hotfile Nacht""
I: 8-2-2006 19:00:01: Task executed successfully
I: 7-2-2006 20:32:17: Task executed successfully
I: 8-2-2006 19:00:01: ****** Starting task... ******************
I: 8-2-2006 19:00:01: Task started with priority: Normal
I: 8-2-2006 19:00:01: Executing "Start Task "03 Save Hotfile Nacht - Timeout task""
I: 8-2-2006 19:00:01: Executing "Set variable "JOB_STEP_EXECUTED" with value "3""
I: 8-2-2006 19:00:01: Executing "Run "Batch_Start_Impromptu_once.bat""
E: 8-2-2006 19:00:01: Access violation at address 7C575B81 in module 'kernel32.dll'. Read of address 03194000
E: 8-2-2006 19:00:01: An error occured. Reconfigure this step.
E: 8-2-2006 19:00:01: Task execution is aborted
I: 8-2-2006 19:00:01: Executing "Run "Batch_Save_Hotfiles_Nacht.bat""
E: 8-2-2006 19:00:01: Access violation at address 7C575B81 in module 'kernel32.dll'. Read of address 03194000
E: 8-2-2006 19:00:01: An error occured. Reconfigure this step.
E: 8-2-2006 19:00:01: Task execution is aborted
I: 7-2-2006 20:32:18: Task executed successfully
I: 8-2-2006 19:00:01: ****** Starting task... ******************
I: 8-2-2006 19:00:01: Task started with priority: Normal
I: 8-2-2006 19:00:01: Executing "Set variable "JOB_START_DATETIME" with value "{DateTime}""
E: 8-2-2006 19:00:01: Access violation at address 7C575B81 in module 'kernel32.dll'. Read of address 03194000
E: 8-2-2006 19:00:01: An error occured. Reconfigure this step.
E: 8-2-2006 19:00:01: Task execution is aborted
I: 8-2-2006 19:00:01: Executing "Set variable "TASK_TIMEOUT_VALUE" with value "04:00:00""
I: 8-2-2006 19:00:01: Executing "Waiting for completion "03 Save Hotfile Nacht" 14400 sec"
I: 8-2-2006 19:00:01: Executing "Stop Task "03 Save Hotfile Nacht""
I: 8-2-2006 19:00:01: Executing "Run "kill_Process.bat""
E: 8-2-2006 19:00:01: Access violation at address 7C575B81 in module 'kernel32.dll'. Read of address 03194000
E: 8-2-2006 19:00:01: An error occured. Reconfigure this step.
E: 8-2-2006 19:00:01: Task execution is aborted
I: 8-2-2006 19:00:01: Executing "Basic Script"
E: 8-2-2006 19:00:01: 08-02-2006 19.00.01 ::*Error occurred: Exception 8000ffff
W: 8-2-2006 19:00:01: 08-02-2006 19:00:01 -OK- Taakduur '03 Save Hotfile Nacht - Timeout task': 19:00:01
E: 8-2-2006 19:00:01: 08-02-2006 19.00.02 ::*Error occurred: Exception 8000ffff
E: 8-2-2006 19:00:01: 08-02-2006 19.00.02 ::*Error occurred: Exception 8000ffff
I: 8-2-2006 19:00:01: Executing "Create text file  {SERVER_LOCATION}\Cognos\Productie\Logfiles\RoboTask\Nachtru nVoortgang.log"
E: 8-2-2006 19:00:01: Error writing 
E: 8-2-2006 19:00:01: An error occured. Step #6 (Create text file  {SERVER_LOCATION}\Cognos\Productie\Logfiles\RoboTask\Nachtru nVoortgang.log).
I: 8-2-2006 19:00:01: Executing "If {TASK_TIMEOUT} = True Then"
E: 8-2-2006 19:00:01: Access violation at address 7C575B81 in module 'kernel32.dll'. Read of address 03194000
E: 8-2-2006 19:00:01: An error occured. Reconfigure this step.
E: 8-2-2006 19:00:01: Task execution is aborted
I: 8-2-2006 19:00:01: Executing "Start Task "13 Interface vanuit Paymate""
I: 8-2-2006 19:00:01: Executing "Else"
I: 8-2-2006 19:00:01: Task executed successfully
paulus
Posts: 19
Joined: Tue Sep 14, 2004 1:51 am
Location: Netherlands

Access violation in module `kernel32.dll`

Post by paulus »

The first task - part 1:

Code: Select all

;**********************
;* RoboTask Task file *
;* Do not edit!       *
;**********************
 
[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|-1
CatID=INTEGER|612162261
ContinueOnError=INTEGER|1
ExternalName=STRING|"Task12"
Hide=INTEGER|0
ID=INTEGER|495116786
Name=STRING|"01 Copy cat"
Priority=INTEGER|3
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
ToLog=INTEGER|3
[Actions]
Action1=FOLDER
Action2=FOLDER
Action3=FOLDER
[Actions\Action1]
ActionID=STRING|"A_TASKS_START"
Enabled=INTEGER|-1
Name=STRING|"Start Task ""01 Copy cat - Timeout task"""
Params=FOLDER
[Actions\Action1\Params]
taskid=STRING|"1757780187"
wait=STRING|"0"
[Actions\Action2]
ActionID=STRING|"A_VARIABLES_SET"
Enabled=INTEGER|-1
Name=STRING|"Set variable ""JOB_STEP_EXECUTED"" with value ""1"""
Params=FOLDER
[Actions\Action2\Params]
expand=STRING|"0"
varname=STRING|"JOB_STEP_EXECUTED"
varvalue=STRING|"1"
[Actions\Action3]
ActionID=STRING|"A_GENERAL_RUN_PROG"
Enabled=INTEGER|-1
Name=STRING|"Run ""Copy_cat.bat"""
Params=FOLDER
[Actions\Action3\Params]
 program=STRING|"{SERVER_LOCATION}\Cognos\Productie\Batchproc essen\Bat_files\Copy_cat.bat"
runas=STRING|"0"
wait=STRING|"2"
 
paulus
Posts: 19
Joined: Tue Sep 14, 2004 1:51 am
Location: Netherlands

Access violation in module `kernel32.dll`

Post by paulus »

The first task - part 2:

Code: Select all

;**********************
;* RoboTask Task file *
;* Do not edit!       *
;**********************
 
[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|-1
CatID=INTEGER|612162261
ContinueOnError=INTEGER|1
ExternalName=STRING|"Task42"
Hide=INTEGER|0
ID=INTEGER|1757780187
Name=STRING|"01 Copy cat - Timeout task"
Priority=INTEGER|3
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
ToLog=INTEGER|3
[Actions]
Action1=FOLDER
Action2=FOLDER
Action3=FOLDER
Action4=FOLDER
Action5=FOLDER
Action6=FOLDER
Action7=FOLDER
[Actions\Action1]
ActionID=STRING|"A_VARIABLES_SET"
Enabled=INTEGER|-1
Name=STRING|"Set variable ""JOB_START_DATETIME"" with value ""{DateTime}"""
Params=FOLDER
[Actions\Action1\Params]
expand=STRING|"1"
varname=STRING|"JOB_START_DATETIME"
varvalue=STRING|"{DateTime}"
[Actions\Action2]
ActionID=STRING|"A_VARIABLES_SET"
Enabled=INTEGER|-1
Name=STRING|"Set variable ""TASK_TIMEOUT_VALUE"" with value ""00:02:00"""
Params=FOLDER
[Actions\Action2\Params]
expand=STRING|"0"
varname=STRING|"TASK_TIMEOUT_VALUE"
varvalue=STRING|"00:02:00"
[Actions\Action3]
ActionID=STRING|"A_TASK_WAITCOMPETE"
Enabled=INTEGER|-1
Name=STRING|"Waiting for completion ""01 Copy cat"" 120 sec"
Params=FOLDER
[Actions\Action3\Params]
taskid=STRING|"495116786"
wait=STRING|"120"
[Actions\Action4]
ActionID=STRING|"A_TASKS_STOP"
Enabled=INTEGER|-1
Name=STRING|"Stop Task ""01 Copy cat"""
Params=FOLDER
[Actions\Action4\Params]
taskid=STRING|"495116786"
[Actions\Action5]
ActionID=STRING|"BASIC_SCRIPT"
Enabled=INTEGER|-1
Name=STRING|"Basic Script"
Params=FOLDER
[Actions\Action5\Params]
linecount=STRING|"0"
scriptname=STRING|"D:\Robotask\BasicScripts\calc taskduration.bas"
source=STRING|"1"
[Actions\Action6]
ActionID=STRING|"A_FILE_TEXTWRITE"
Enabled=INTEGER|-1
Name=STRING|"Create text file  {SERVER_LOCATION}\Cognos\Productie\Logfiles\RoboTask\Nachtru nVoortgang.log"
Params=FOLDER
[Actions\Action6\Params]
fileexists=STRING|"0"
filname=STRING|" {SERVER_LOCATION}\Cognos\Productie\Logfiles\RoboTask\Nachtru nVoortgang.log"
line0=STRING|"{TASK_DURATION_MESSAGES}"
linecount=STRING|"1"
[Actions\Action7]
ActionID=STRING|"A_TASKS_START"
Enabled=INTEGER|-1
Name=STRING|"Start Task ""02 Copy export"""
Params=FOLDER
[Actions\Action7\Params]
taskid=STRING|"1273907578"
wait=STRING|"0"
 
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Access violation in module `kernel32.dll`

Post by Oleg »

I'm afraid that you have problems with your operating system. Send a bug-report with any content (menu Help | Send bug report). Robotask will read base parameters of your system.

Regarding to your tasks:
Why have you chosen so complex way? You can run your tasks one by one.

Main task will looks so:
Run task1 with waiting
Run Task2 with waiting
Run Task3 with waiting
and so on

What do your .bat files do? You must wait until this batch file will done (with error or without one).

About Stop task action.
This action stops the task but not terminates one immediately. RoboTask continue executing the current step completely and stops the task after completion the of current step.
I: 8-2-2006 19:00:01: Executing "Create text file {SERVER_LOCATION}\Cognos\Productie\Logfiles\RoboTask\Nachtru nVoortgang.log"
E: 8-2-2006 19:00:01: Error writing
E: 8-2-2006 19:00:01: An error occured. Step #5 (Create text file {SERVER_LOCATION}\Cognos\Productie\Logfiles\RoboTask\Nachtru nVoortgang.log).
Pay attention: also you have problems with writing of text file. Pay attention: also you have problems with writing of text file. Check parameters of this step. Also, probably this file is locked by another task (or process).
I: 8-2-2006 19:00:01: Executing "Run "kill_Process.bat""
I reviewed your messages and saw that you are using abnormal terminating of some processes. This is an emergency way. You can terminate the process, but the system may accumulate errors. And, once, you can get the unstable work of your system.
Post Reply