mariovaldez.net
http://www.mariovaldez.net/webapps/forums/

Acces violation error
http://www.mariovaldez.net/webapps/forums/viewtopic.php?f=14&t=211
Page 1 of 1

Author:  Aernout [ 11 Mar 2005, 15:57 ]
Post subject:  Acces violation error

There is a bug in (oscpmwin) for Windows 0.1.1 (build 145)

I made a fresh install (deleted the old version first)

My hostserver uses the MySQL 4.1.9-Debian_0.dotdeb.0-log version



When i use in mysql settings in oscpmwin msql 3.23 i get the next error:



An error has occurred in processing the database query.

Acces violation at address 7C911404 in module 'ntdll.dll'. Read of address FFFFFFF8

And the system hangs



When i use msql 4.0 i het the next error:

An error has occurred in processing the database query.

Cannot retrieve ResultSet data

clicking Ok i can see the products

I tried to run the debug version but the detail screen on the error does not appear.

Author:  AjnabiZ [ 12 Mar 2005, 00:43 ]
Post subject: 

I also recieve an Address Violation Sometimes, when I connect

Author:  mvaldez [ 12 Mar 2005, 08:35 ]
Post subject:  Access violations...

Aernout:

I received the debug stack trace by email. I already answered with more questions. :S


AjnabiZ:

Can you download the debug version of OSCPMWin? When an Access Violation occurs, it will display a "details" window. Just copy its content and send it to me so I can see on what part of the code the problem happened.


Regards,

Mario A. Valdez-Ramirez.

Author:  AjnabiZ [ 14 Mar 2005, 08:52 ]
Post subject: 

let me get to it then

if the errors occurs, ill create a Snap Shot of it and paste it

Author:  AjnabiZ [ 14 Mar 2005, 08:57 ]
Post subject: 

There is no option for Attaching a File.

So here is the text :

Code:
Access violation at address 00554D9D in module 'oscpm1.exe'. Read of address 000000B0.



The Details :
Code:
Exception class: EAccessViolation
Exception address: 00554D9D
----------------------------------------------------------------------------------------------------
Stack list, generated 2005-03-14 7:53:41 PM
[00554D9D] FR_Desgn.TfrDesignerPage.SetPage (Line 554, "FR_Desgn.pas" + 1) + $C
[00403FF7] System.@HandleAnyException (Line 9362, "system.pas" + 13) + $0
[0046698F] Controls.TControl.WndProc (Line 4561, "Controls.pas" + 53) + $8
[0055957C] FR_Desgn.TfrDesignerForm.FormResize (Line 1961, "FR_Desgn.pas" + 7) + $6
[00463DA5] Controls.TControl.Resize (Line 3266, "Controls.pas" + 1) + $19
[0046B330] Controls.TWinControl.WMSize (Line 6576, "Controls.pas" + 4) + $10
[00483AFD] Forms.TScrollingWinControl.WMSize (Line 2240, "Forms.pas" + 3) + $6
[0046698F] Controls.TControl.WndProc (Line 4561, "Controls.pas" + 53) + $8
[0046DF92] Controls.TWinControl.CalcConstraints (Line 8006, "Controls.pas" + 1) + $3
[0046A59A] Controls.TWinControl.WndProc (Line 6242, "Controls.pas" + 33) + $6
[0048597C] Forms.TCustomForm.WndProc (Line 3044, "Forms.pas" + 103) + $6
[0046E3FA] Controls.TWinControl.ConstrainedResize (Line 8146, "Controls.pas" + 2) + $11
[004224AE] Classes.TThreadList.UnlockList (Line 3097, "classes.pas" + 1) + $7
[0043B17C] Graphics.FreeMemoryContexts (Line 4664, "Graphics.pas" + 12) + $5
[0046A16C] Controls.TWinControl.MainWndProc (Line 6139, "Controls.pas" + 3) + $9
[0046A181] Controls.TWinControl.MainWndProc (Line 6142, "Controls.pas" + 6) + $0
[0046A59A] Controls.TWinControl.WndProc (Line 6242, "Controls.pas" + 33) + $6
[0048597C] Forms.TCustomForm.WndProc (Line 3044, "Forms.pas" + 103) + $6
[00560C57] FR_Desgn.TfrDesignerForm.WndProc (Line 4544, "FR_Desgn.pas" + 42) + $5
[0046A16C] Controls.TWinControl.MainWndProc (Line 6139, "Controls.pas" + 3) + $9
[0042DE68] Classes.StdWndProc (Line 10563, "classes.pas" + 8) + $0
[0046A6E0] Controls.TWinControl.DefaultHandler (Line 6269, "Controls.pas" + 23) + $28
[004872D0] Forms.TCustomForm.DefaultHandler (Line 3689, "Forms.pas" + 7) + $6
[0046727C] Controls.TControl.WMWindowPosChanged (Line 4801, "Controls.pas" + 1) + $8
[0046B25C] Controls.TWinControl.WMWindowPosChanged (Line 6556, "Controls.pas" + 11) + $6
[0046698F] Controls.TControl.WndProc (Line 4561, "Controls.pas" + 53) + $8
[0046A59A] Controls.TWinControl.WndProc (Line 6242, "Controls.pas" + 33) + $6
[0048597C] Forms.TCustomForm.WndProc (Line 3044, "Forms.pas" + 103) + $6
[0046A59A] Controls.TWinControl.WndProc (Line 6242, "Controls.pas" + 33) + $6
[0048597C] Forms.TCustomForm.WndProc (Line 3044, "Forms.pas" + 103) + $6
[0043B17C] Graphics.FreeMemoryContexts (Line 4664, "Graphics.pas" + 12) + $5
[0046A16C] Controls.TWinControl.MainWndProc (Line 6139, "Controls.pas" + 3) + $9
[0046A181] Controls.TWinControl.MainWndProc (Line 6142, "Controls.pas" + 6) + $0
[00560C57] FR_Desgn.TfrDesignerForm.WndProc (Line 4544, "FR_Desgn.pas" + 42) + $5
[0046A16C] Controls.TWinControl.MainWndProc (Line 6139, "Controls.pas" + 3) + $9
[0042DE68] Classes.StdWndProc (Line 10563, "classes.pas" + 8) + $0
[0048D32D] Forms.TApplication.ProcessMessage (Line 6685, "Forms.pas" + 2) + $C
[0048D3E7] Forms.TApplication.ProcessMessages (Line 6708, "Forms.pas" + 1) + $6
[00615A00] network.FNopm_OpenDBConnection (Line 128, "network.pas" + 31) + $7
[0062A895] main.Topm_Form_Main.PRopm_Connect (Line 353, "main.pas" + 42) + $49
[0062B368] main.Topm_Form_Main.opm_MenuItem_ConnectClick (Line 531, "main.pas" + 1) + $2
[0047B79D] Menus.TMenuItem.Click (Line 1787, "Menus.pas" + 14) + $C
[0047CEF5] Menus.TMenu.DispatchCommand (Line 2507, "Menus.pas" + 5) + $5
[00488095] Forms.TCustomForm.WMCommand (Line 4034, "Forms.pas" + 2) + $25
[0046698F] Controls.TControl.WndProc (Line 4561, "Controls.pas" + 53) + $8
[00403CE4] System.@CallDynaInst (Line 8638, "system.pas" + 3) + $0
[0046702B] Controls.TControl.WMMouseMove (Line 4735, "Controls.pas" + 8) + $24
[0046698F] Controls.TControl.WndProc (Line 4561, "Controls.pas" + 53) + $8
[0046A59A] Controls.TWinControl.WndProc (Line 6242, "Controls.pas" + 33) + $6
[0048597C] Forms.TCustomForm.WndProc (Line 3044, "Forms.pas" + 103) + $6
[004224AE] Classes.TThreadList.UnlockList (Line 3097, "classes.pas" + 1) + $7
[0043B17C] Graphics.FreeMemoryContexts (Line 4664, "Graphics.pas" + 12) + $5
[0046A16C] Controls.TWinControl.MainWndProc (Line 6139, "Controls.pas" + 3) + $9
[0046A181] Controls.TWinControl.MainWndProc (Line 6142, "Controls.pas" + 6) + $0
[0046A59A] Controls.TWinControl.WndProc (Line 6242, "Controls.pas" + 33) + $6
[0048597C] Forms.TCustomForm.WndProc (Line 3044, "Forms.pas" + 103) + $6
[004224AE] Classes.TThreadList.UnlockList (Line 3097, "classes.pas" + 1) + $7
[0043B17C] Graphics.FreeMemoryContexts (Line 4664, "Graphics.pas" + 12) + $5
[0046A16C] Controls.TWinControl.MainWndProc (Line 6139, "Controls.pas" + 3) + $9
[0042DE68] Classes.StdWndProc (Line 10563, "classes.pas" + 8) + $0
[0048D3BC] Forms.TApplication.ProcessMessage (Line 6696, "Forms.pas" + 13) + $4
[0048D403] Forms.TApplication.HandleMessage (Line 6715, "Forms.pas" + 1) + $6
[0048D69E] Forms.TApplication.Run (Line 6799, "Forms.pas" + 16) + $3
[00650053] oscpm1.oscpm1 (Line 99, "C:\temp\oscpm1\oscpm1.dpr" + 40) + $2
----------------------------------------------------------------------------------------------------
System   : Windows XP Professional, Version: 5.1, Build: A28, "Service Pack 1"
Processor: AMD, AMD Athlon(tm) XP 1700+, 1490 MHz MMX
Display  : 1024x768 pixels, 32 bpp
----------------------------------------------------------------------------------------------------
List of loaded modules:
[00400000] E:\Program Files\oscpmwin\oscpm1.exe
           0.1.1.145 - 0.1.1.145
           OSCommerce Product Manager
[01DE0000] C:\WINDOWS\System32\msctfime.ime
<00400000> 5.1.2600.1106 - 5.1.2600.1106 (xpsp1.020828-1920)
           Microsoft Text Frame Work Service IME
[02070000] C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\hpz2ku09.dll
<10000000> 0.3.0.0 - 2.236.4.0
           HPDJ Driver
[02890000] E:\Program Files\oscpmwin\libmysql323.dll
<10000000> (no version info)
[10000000] E:\Program Files\oscpmwin\FreeImage.dll
           (no version info)
[20B00000] C:\WINDOWS\System32\imon.dll
           (no version info)
[4FEC0000] C:\WINDOWS\system32\OLE32.DLL
           5.1.2600.1619 - 5.1.2600.1619 (xpsp2.041130-1838)
           Microsoft OLE for Windows
[60300000] C:\Program Files\Yahoo!\Messenger\idle.dll
           1.0.0.2 - 1, 0, 0, 2
           idle
[60600000] C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\hpzpm309.dll
           2.236.4.0 - 2.236.4.0
           Printer Property UI dll
[629C0000] C:\WINDOWS\System32\LPK.DLL
           5.1.2600.0 - 5.1.2600.0 (xpclient.010817-1148)
           Language Pack
[63000000] C:\WINDOWS\system32\wininet.dll
           6.0.2800.1485 - 6.00.2800.1485
           Internet Extensions for Win32
[70A70000] C:\WINDOWS\system32\SHLWAPI.dll
           6.0.2800.1612 - 6.00.2800.1612 (xpsp2.041207-1145)
           Shell Light-weight Utility Library
[71950000] C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.1612_x-ww_7c379b08\comctl32.dll
           6.0.2800.1612 - 6.0 (xpsp2.041130-1838)
           User Experience Controls Library
[71A50000] C:\WINDOWS\System32\mswsock.dll
           5.1.2600.0 - 5.1.2600.0 (xpclient.010817-1148)
           Microsoft Windows Sockets 2.0 Service Provider
[71A90000] C:\WINDOWS\System32\wshtcpip.dll
           5.1.2600.0 - 5.1.2600.0 (xpclient.010817-1148)
           Windows Sockets Helper DLL
[71AA0000] C:\WINDOWS\System32\WS2HELP.dll
           5.1.2600.0 - 5.1.2600.0 (xpclient.010817-1148)
           Windows Socket 2.0 Helper for Windows NT
[71AB0000] C:\WINDOWS\System32\WS2_32.DLL
           5.1.2600.0 - 5.1.2600.0 (xpclient.010817-1148)
           Windows Socket 2.0 32-Bit DLL
[71AD0000] C:\WINDOWS\System32\WSOCK32.dll
           5.1.2600.0 - 5.1.2600.0 (xpclient.010817-1148)
           Windows Socket 32-Bit DLL
[71BF0000] C:\WINDOWS\System32\SAMLIB.dll
           5.1.2600.1106 - 5.1.2600.1106 (xpsp1.020828-1920)
           SAM Library DLL
[72D10000] C:\WINDOWS\System32\msacm32.drv
           5.1.2600.0 - 5.1.2600.0 (xpclient.010817-1148)
           Microsoft Sound Mapper
[72D20000] C:\WINDOWS\System32\wdmaud.drv
           5.1.2600.0 - 5.1.2600.0 (XPClient.010817-1148)
           WDM Audio driver mapper
[72FA0000] C:\WINDOWS\System32\USP10.dll
           1.409.2600.1106 - 1.0409.2600.1106 (xpsp1.020828-1920)
           Uniscribe Unicode script processor
[73000000] C:\WINDOWS\System32\winspool.drv
           5.1.2600.1106 - 5.1.2600.1106 (xpsp1.020828-1920)
           Windows Spooler Driver
[73080000] C:\WINDOWS\system32\rsvpsp.dll
           5.1.2600.0 - 5.1.2600.0 (xpclient.010817-1148)
           Microsoft Windows Rsvp 1.0 Service Provider
[746F0000] C:\WINDOWS\System32\Msimtf.dll
           5.1.2600.1106 - 5.1.2600.1106 (xpsp1.020828-1920)
           Active IMM Server DLL
[74720000] C:\WINDOWS\System32\MSCTF.dll
           5.1.2600.1106 - 5.1.2600.1106 (xpsp1.020828-1920)
           MSCTF Server DLL
[75A70000] C:\WINDOWS\system32\USERENV.dll
           5.1.2600.1106 - 5.1.2600.1106 (xpsp1.020828-1920)
           Userenv
[762A0000] C:\WINDOWS\system32\MSASN1.dll
           5.1.2600.1362 - 5.1.2600.1362 (xpsp2.040109-1800)
           ASN.1 Runtime APIs
[762C0000] C:\WINDOWS\system32\CRYPT32.dll
           5.131.2600.1123 - 5.131.2600.1123 (xpsp2.020921-0842)
           Crypto API32
[76390000] C:\WINDOWS\System32\IMM32.DLL
           5.1.2600.1106 - 5.1.2600.1106 (xpsp1.020828-1920)
           Windows XP IMM32 API Client DLL
[763B0000] C:\WINDOWS\system32\comdlg32.dll
           6.0.2800.1106 - 6.00.2800.1106 (xpsp1.020828-1920)
           Common Dialogs DLL
[76B40000] C:\WINDOWS\System32\winmm.dll
           5.1.2600.1106 - 5.1.2600.1106 (xpsp1.020828-1920)
           MCI API DLL
[76BF0000] C:\WINDOWS\System32\PSAPI.dll
           5.1.2600.1106 - 5.1.2600.1106 (xpsp1.020828-1920)
           Process Status Helper
[76CE0000] C:\WINDOWS\System32\NTMARTA.DLL
           5.1.2600.1106 - 5.1.2600.1106 (xpsp1.020828-1920)
           Windows NT MARTA provider
[76F20000] C:\WINDOWS\System32\DNSAPI.dll
           5.1.2600.1106 - 5.1.2600.1106 (xpsp1.020828-1920)
           DNS Client API DLL
[76F60000] C:\WINDOWS\system32\WLDAP32.dll
           5.1.2600.1106 - 5.1.2600.1106 (xpsp1.020828-1920)
           Win32 LDAP API DLL
[76FB0000] C:\WINDOWS\System32\winrnr.dll
           5.1.2600.0 - 5.1.2600.0 (xpclient.010817-1148)
           LDAP RnR Provider DLL
[76FC0000] C:\WINDOWS\System32\rasadhlp.dll
           5.1.2600.0 - 5.1.2600.0 (xpclient.010817-1148)
           Remote Access AutoDial Helper
[77120000] C:\WINDOWS\system32\oleaut32.dll
           3.50.5016.0 - 3.50.5016.0
           Microsoft OLE 3.50  for Windows NT(TM) and Windows 95(TM) Operating Systems
[77340000] C:\WINDOWS\system32\comctl32.dll
           5.82.2800.1106 - 5.82 (xpsp1.020828-1920)
           Common Controls Library
[77BD0000] C:\WINDOWS\System32\midimap.dll
           5.1.2600.0 - 5.1.2600.0 (xpclient.010817-1148)
           Microsoft MIDI Mapper
[77BE0000] C:\WINDOWS\System32\MSACM32.dll
           5.1.2600.0 - 5.1.2600.0 (xpclient.010817-1148)
           Microsoft ACM Audio Filter
[77C00000] C:\WINDOWS\system32\version.dll
           5.1.2600.0 - 5.1.2600.0 (xpclient.010817-1148)
           Version Checking and File Installation Libraries
[77C10000] C:\WINDOWS\system32\MSVCRT.DLL
           7.0.2600.1106 - 7.0.2600.1106 (xpsp1.020828-1920)
           Windows NT CRT DLL
[77D40000] C:\WINDOWS\system32\user32.dll
           5.1.2600.1617 - 5.1.2600.1617 (xpsp2.041130-1838)
           Windows XP USER API Client DLL
[77DD0000] C:\WINDOWS\system32\ADVAPI32.dll
           5.1.2600.1106 - 5.1.2600.1106 (xpsp1.020828-1920)
           Advanced Windows 32 Base API
[77E60000] C:\WINDOWS\system32\kernel32.dll
           5.1.2600.1560 - 5.1.2600.1560 (xpsp2_gdr.040517-1325)
           Windows NT BASE API Client DLL
[77F50000] C:\WINDOWS\System32\ntdll.dll
           5.1.2600.1217 - 5.1.2600.1217 (xpsp2.030429-2131)
           NT Layer DLL
[78000000] C:\WINDOWS\system32\RPCRT4.dll
           5.1.2600.1361 - 5.1.2600.1361 (xpsp2.040109-1800)
           Remote Procedure Call Runtime
[7C340000] C:\Program Files\Yahoo!\Messenger\MSVCR71.dll
           7.10.3052.4 - 7.10.3052.4
           Microsoft® C Runtime Library
[7CD00000] C:\WINDOWS\system32\shell32.dll
           6.0.2800.1613 - 6.00.2800.1613 (xpsp2.041130-1838)
           Windows Shell Common Dll
[7F000000] C:\WINDOWS\system32\GDI32.dll
           5.1.2600.1561 - 5.1.2600.1561 (xpsp2_gdr.040517-1325)
           GDI Client DLL
----------------------------------------------------------------------------------------------------
Active Controls hierarchy:
Topm_Form_Main "opm_Form_Main"
----------------------------------------------------------------------------------------------------

Author:  mvaldez [ 16 Mar 2005, 07:44 ]
Post subject:  I'll check it out.

AjnabiZ:

Hi. Does this happen only when connecting? Or does it happen at other times? As this happens in the FreeReport code, I would like to know if you have any printer configured in your workstation or some special print-spool software.

I'll review the FreeReport code to think about what it could be or how to reproduce.


Regards,

Mario A. Valdez-Ramirez.

Author:  AjnabiZ [ 16 Mar 2005, 08:22 ]
Post subject: 

Yes, It only happens when I try to connect.

It does connect to the database and you can work fine and make changes. But it only appears at the start.

Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/