I reproduciblely get the following error when using blat 2.6.2 in a script:
The instruction at "0x77bd7e23" referenced memory at "0x00314000". The memory could not be "read".
The return value of blat in this case is '5'
Any suggestions on what might be wrong and what can be done?
Is it possible for you to post the script
or the relevant portion of it so I can
try to reproduce this error.
Unfortunately I think it will be very difficult for you to reproduce the problem since the script is in Docbasic which is a scripting language for EMC Documentum. I post the relevant portion anyway:
'and now send mail
subject_line = "!! " & "Started workitem: " & CleanQuote(package_id) & " in docbase " & CleanQuote(docbase_name) & """"
mailScript$ = ".\COEDMMail\blat.exe"
mailCommand$ = mailScript$ _
& " " & temp_file_name$ & ".html" _
& " " & "-server " & smtp_server$ _
& " " & "-s """ & subject_line$ _
& """ " & "-to " & recipient_name$ _
& " " & "-f " & mail_user_name$ _
& " " & "-attach " & temp_file_name$ & ".dtm" _
& " " & "-log .\COEDMMail\blat_log.txt" _
& " " & "-embed .\COEDMMail\logo_coedm_gps.gif"
'Print "mailCommand= " & mailCommand$
result% = ShellSync(mailCommand)
'Print "Result of blat execution: " & result%
When I execute the mailCommand text at DOS prompt blat executes successfully. Only when Documentum executes the script I get "The memory could not be read". And the same script runs perfectly on a different server, it is reproducible only on this one server.
Any suggestions on what might be wrong and what I can do? Educated guesses welcome.
". . .script is in Docbasic. . .
When I execute the mailCommand text at DOS
prompt blat executes successfully. Only when
Documentum executes the script I get "The
memory could not be read"."
Wow. This sounds like a real hair puller.
Most modern OS software will not assign a address
to a bad section of memory. Not even if another
software wants to. I can't offer a educated guess
since I have no idea how Docbasic handles memory
Shooting from the hip I might try swamping out
the RAM sticks. Only one server has this problem
so I would use known working RAM from another
and see what happens. If this is even remotely
practical I do not know.
I'm afraid this is getting beyond me. Hopefully
some one else has experience with this issue.