|
| Débuté par kessels.sjoerd, 30 déc. 2010 23:34 - 4 réponses |
| |
| | | |
|
| |
| Posté le 30 décembre 2010 - 23:34 |
I have a strange and annoying problem. Suddenly, and I am pretty sure the code has not changed, I get an Access Violation error (GPF) at some part of my application. I have a view (a looper) from which the user opens an element that opens the details in a window, in this case the Product window. As I try to open the element I get the GPF. But I don't get it every time. Sometimes I can open and close then window a couple of times, and then the error occurs. I tried to identify a patterns but it seems random.
As you can see in the dump below, the problem is at the Windev Open function. I tried to simplify the code that proceeds it with no luck. I tried to simplify the Open call by removing any parameters, but no luck.
I tried to catch the error at the Global Declarations of the window (which is the first code that runs, right?) but it does not get there. So the problem seems to be in the Open function itself. When I try to open another dummy window with the same code at the same place I don't get any errors. Other places in the project that open the window also have problems. So it does seem to be a problem in the window but shouldn't I have caught the exception then?
I tried recompiling the project, tried deleting the cpl directory, tried restarting the pc. Doesn't help.
According to PC Soft it might be some memory access violation elsewhere in the code. But they ask me to create a simple project to send them. That does not help because in a new project with a new window I don't get the problem of course. I use the same technique of views and details windows all over the application.
Anybody any suggestions?
Thanks,
Sjoerd |
| |
| |
| | | |
|
| | |
| |
| Posté le 31 décembre 2010 - 10:47 |
I forgot to copy the error information. See below. Also sometimes my own errorhandling catches the error, sometimes it's a Windev Security Mechanism popup, and sometimes even a Microsoft Visual C++ Runtime popup. But it all happens every nth time opening the window.
I also see an error code 1020. Does anybody know what that means?
WL call: Process of 'Method openProduct' (ProductsView.openProduct), line 29, thread 0 'Open' function, syntax 0
What happened? Unexpected system error. If this error systematically occurs in the same conditions, contact PC SOFT Hot Line and specify: - the error circumstances, - a window, a project or the code lines used to replicate the problem, - the details below.
D?tails techniques :
Module : ntdll.dll Adresse de base : 76F10000 Erreur syst?me : Access violation (GPF) EIP = 76F76739 OS : Windows Longhorn Service Pack 2(6.0.6002)
Error code: 1020 Level: fatal error (EL_FATAL)
Dump of the error of 'WD150VM.DLL' module (15.00Pj). Identifier of detailed information (.err): 1020 Debugging information:
D?tails techniques :
Module : ntdll.dll Adresse de base : 76F10000 Erreur syst?me : Access violation (GPF) EIP = 76F76739 OS : Windows Longhorn Service Pack 2(6.0.6002) Registres :
EIP = 76F76739 EBP = 00126EFC EAX = 00000000 EBX = 03FB2A68 ECX = 00A80000 EDX = 03FB2A68 ESI = 6BACD9C3 EDI = 03FB2A60
Pile des appels :
[ntdll.dll (76F10000)] 76F76670 : RtlFreeHeap() + 201 bytes [ntdll.dll (76F10000)] 76F76670 : RtlFreeHeap() + 122 bytes [kernel32.dll (769A0000)] 769E9A12 : HeapFree() + 20 bytes [msvcrt.dll (76BF0000)] 76BF9BCA : free() + 57 bytes [WD150OBJ.DLL (25060000), 15.00Qcm, 01A150063g] 2515CA1D : pclCreateFactory() + 428980 bytes [WD150IMG.DLL (25C60000), 15.00Bsa, 01A150063g] 25C69BD7 : pQueryProxyEx() + 27506 bytes [WD150IMG.DLL (25C60000), 15.00Bsa, 01A150063g] 25C69BD7 : pQueryProxyEx() + 27412 bytes [WD150OBJ.DLL (25060000), 15.00Qcm, 01A150063g] 2507CA27 [WD150OBJ.DLL (25060000), 15.00Qcm, 01A150063g] 251181B2 : onXAMLEvent() + 107423 bytes [WD150OBJ.DLL (25060000), 15.00Qcm, 01A150063g] 250A744E [WD150OBJ.DLL (25060000), 15.00Qcm, 01A150063g] 2515CA1D : pclCreateFactory() + 451480 bytes [WD150OBJ.DLL (25060000), 15.00Qcm, 01A150063g] 2515CA1D : pclCreateFactory() + 451129 bytes [WD150OBJ.DLL (25060000), 15.00Qcm, 01A150063g] 251181B2 : onXAMLEvent() + 107423 bytes [WD150OBJ.DLL (25060000), 15.00Qcm, 01A150063g] 25248F34 : pQueryProxy() + 56956 bytes [WD150OBJ.DLL (25060000), 15.00Qcm, 01A150063g] 2515CA1D : pclCreateFactory() + 49391 bytes [WD150OBJ.DLL (25060000), 15.00Qcm, 01A150063g] 251181B2 : onXAMLEvent() + 219644 bytes [WD150OBJ.DLL (25060000), 15.00Qcm, 01A150063g] 2523C0A4 : GeneralParam() + 317 bytes [WD150VM.DLL (25E60000), 15.00Pj, 01A150063g] 25F5FFC0 : InfoVersionWeb() + 454872 bytes [WDTST.EXE (00000000), 15.00Am, 01A150061r] ???? [WD150VM.DLL (25E60000), 15.00Pj, 01A150063g] 25F5FFC0 : InfoVersionWeb() + 384368 bytes [WD150VM.DLL (25E60000), 15.00Pj, 01A150063g] 25E7B6B0 : OBJ_pclGetTauxDeChange() + 15408 bytes
Fonction (1,1) Additional Information: EIT_PILEWL : Method openProduct (ProductsView.openProduct), line 29 Method openElement (ProductsView.openElement), line 34 Left Button Double-Click (WM_LBUTTONDBLCLK) of LOOP_Inventory_Products (WIN_MainWindow.TAB_MainTab.LOOP_Inventory_Products), line 3 Method rowSelect (View.rowSelect), line 28 Row Selection of LOOP_Inventory_Products (WIN_MainWindow.TAB_MainTab.LOOP_Inventory_Products), line 1 EIT_DATEHEURE : 30/12/2010 12:26:19 |
| |
| |
| | | |
|
| | |
| |
| Posté le 31 décembre 2010 - 16:13 |
Hi
you should search on this forum for GPF keyword. This problem has been discussed several times and many possible causes have been described
Best regards
-- Fabrice Harari International WinDev, WebDev and WinDev mobile Consulting
More information on http://www.fabriceharari.com
On 31/12/2010 04:47, Sjoerd Kessels wrote:
I forgot to copy the error information. See below. Also sometimes my own errorhandling catches the error, sometimes it's a Windev Security Mechanism popup, and sometimes even a Microsoft Visual C++ Runtime popup. But it all happens every nth time opening the window.
I also see an error code 1020. Does anybody know what that means?
WL call: Process of 'Method openProduct' (ProductsView.openProduct), line 29, thread 0 'Open' function, syntax 0
What happened? Unexpected system error. If this error systematically occurs in the same conditions, contact PC SOFT Hot Line and specify: - the error circumstances, - a window, a project or the code lines used to replicate the problem, - the details below.
D?tails techniques :
Module : ntdll.dll Adresse de base : 76F10000 Erreur syst?me : Access violation (GPF) EIP = 76F76739 OS : Windows Longhorn Service Pack 2(6.0.6002)
Error code: 1020 Level: fatal error (EL_FATAL)
Dump of the error of 'WD150VM.DLL' module (15.00Pj). Identifier of detailed information (.err): 1020 Debugging information:
D?tails techniques :
Module : ntdll.dll Adresse de base : 76F10000 Erreur syst?me : Access violation (GPF) EIP = 76F76739 OS : Windows Longhorn Service Pack 2(6.0.6002) Registres :
EIP = 76F76739 EBP = 00126EFC EAX = 00000000 EBX = 03FB2A68 ECX = 00A80000 EDX = 03FB2A68 ESI = 6BACD9C3 EDI = 03FB2A60
Pile des appels :
[ntdll.dll (76F10000)] 76F76670 : RtlFreeHeap() + 201 bytes [ntdll.dll (76F10000)] 76F76670 : RtlFreeHeap() + 122 bytes [kernel32.dll (769A0000)] 769E9A12 : HeapFree() + 20 bytes [msvcrt.dll (76BF0000)] 76BF9BCA : free() + 57 bytes [WD150OBJ.DLL (25060000), 15.00Qcm, 01A150063g] 2515CA1D : pclCreateFactory() + 428980 bytes [WD150IMG.DLL (25C60000), 15.00Bsa, 01A150063g] 25C69BD7 : pQueryProxyEx() + 27506 bytes [WD150IMG.DLL (25C60000), 15.00Bsa, 01A150063g] 25C69BD7 : pQueryProxyEx() + 27412 bytes [WD150OBJ.DLL (25060000), 15.00Qcm, 01A150063g] 2507CA27 [WD150OBJ.DLL (25060000), 15.00Qcm, 01A150063g] 251181B2 : onXAMLEvent() + 107423 bytes [WD150OBJ.DLL (25060000), 15.00Qcm, 01A150063g] 250A744E [WD150OBJ.DLL (25060000), 15.00Qcm, 01A150063g] 2515CA1D : pclCreateFactory() + 451480 bytes [WD150OBJ.DLL (25060000), 15.00Qcm, 01A150063g] 2515CA1D : pclCreateFactory() + 451129 bytes [WD150OBJ.DLL (25060000), 15.00Qcm, 01A150063g] 251181B2 : onXAMLEvent() + 107423 bytes [WD150OBJ.DLL (25060000), 15.00Qcm, 01A150063g] 25248F34 : pQueryProxy() + 56956 bytes [WD150OBJ.DLL (25060000), 15.00Qcm, 01A150063g] 2515CA1D : pclCreateFactory() + 49391 bytes [WD150OBJ.DLL (25060000), 15.00Qcm, 01A150063g] 251181B2 : onXAMLEvent() + 219644 bytes [WD150OBJ.DLL (25060000), 15.00Qcm, 01A150063g] 2523C0A4 : GeneralParam() + 317 bytes [WD150VM.DLL (25E60000), 15.00Pj, 01A150063g] 25F5FFC0 : InfoVersionWeb() + 454872 bytes [WDTST.EXE (00000000), 15.00Am, 01A150061r] ???? [WD150VM.DLL (25E60000), 15.00Pj, 01A150063g] 25F5FFC0 : InfoVersionWeb() + 384368 bytes [WD150VM.DLL (25E60000), 15.00Pj, 01A150063g] 25E7B6B0 : OBJ_pclGetTauxDeChange() + 15408 bytes
Fonction (1,1) Additional Information: EIT_PILEWL : Method openProduct (ProductsView.openProduct), line 29 Method openElement (ProductsView.openElement), line 34 Left Button Double-Click (WM_LBUTTONDBLCLK) of LOOP_Inventory_Products (WIN_MainWindow.TAB_MainTab.LOOP_Inventory_Products), line 3 Method rowSelect (View.rowSelect), line 28 Row Selection of LOOP_Inventory_Products (WIN_MainWindow.TAB_MainTab.LOOP_Inventory_Products), line 1 EIT_DATEHEURE : 30/12/2010 12:26:19
|
| |
| |
| | | |
|
| | |
| |
| Posté le 01 janvier 2011 - 01:01 |
Hi Fabrice,
I did search in the forum. But most topics about this either don't have a solution or it happened at some specific piece of code. My problem is that it seems to occur at the Open method when calling a specific window. Even with no parameters. And I cannot catch an error after the Open call in the actual window called, so apparently no code in the window gets run. And it doesn't happen in the debugger. So how to trap the problem? |
| |
| |
| | | |
|
| | |
| |
| Posté le 01 janvier 2011 - 20:19 |
Hi
sorry, but if read the posts on the subject, you now understand that the problem comes probably from somewhere else in your program...
I posted several times the principals causes I found in my experience, after that, it's a question of going through the whole code and find if any of those possible causes are used somewhere
Best regards
-- Fabrice Harari Consultant WinDev, WebDev et WinDev Mobile International
Plus d'information sur http://fabriceharari.com/index_FR.html
On 31/12/2010 19:01, Sjoerd Kessels wrote:
Hi Fabrice,
I did search in the forum. But most topics about this either don't have a solution or it happened at some specific piece of code. My problem is that it seems to occur at the Open method when calling a specific window. Even with no parameters. And I cannot catch an error after the Open call in the actual window called, so apparently no code in the window gets run. And it doesn't happen in the debugger. So how to trap the problem?
|
| |
| |
| | | |
|
| | | | |
| | |
|