Hi all,
we have long running task (there is 30k rows in datawindow) and in for loop we are executing some checks using SQL queries.
We are using MSSQL as database PB2022 runtime 1892.
After cca 25 mins. Application ends with this error:
Problem Event Name: APPCRASH
Application Name: winzis12.exe
Application Version: 1.1.0.1
Application Timestamp: 63764527
Fault Module Name: PBVM.dll
Fault Module Version: 22.0.0.1892
Fault Module Timestamp: 637645a5
Exception Code: c0000005
Exception Offset: 0035b232
OS Version: 6.3.9600.2.0.0.400.8
Locale ID: 1029
Additional Information 1: 5861
Additional Information 2: 5861822e1919d7c014bbb064c64908b2
Additional Information 3: 8e2a
Additional Information 4: 8e2a2fd1219ab9916c34f5a7a4ce3a01
I added yield() every 100 rows.
It does not helped :-(
Do you have any suggestion? May be it can help to rewrite this to stored procedure, but it will take some time, any other suggestion how and why this error will occure?
Thank you.
Ales
EDIT:
I'm sorry for this question, specially to those people which tried to help me out.
The app which had problems, was created log before I joined company. And there is "feature" in this app, which close response windows after 25 minutes. This batch (that cause problems) was started by response window and You gues what happend? The response window tries to close self after 25 mins :-(
I'm sorry again and I will open beer for this problem solved.
Thank you All.
I thought about rewriting those checks to SQL procedure and use temporary table for store rows to check. And do all checks in DB, inform about progress in App.
But I was currious if there are some known issues which can cause crashing pbvm.dll So some minor changes could fix that problem instead of rewriting batch.
Thank you.
It is scary, that it just crash :-(
A.