View Issue Details

IDProjectCategoryView StatusLast Update
0004146JEDI VCL00 JVCL Componentspublic2007-06-09 10:24
ReporterKarlheinzAssigned Toremkobonte 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
PlatformOSWXPSP2OS Version
Product VersionDaily / GIT 
Target VersionFixed in Version3.34 
Summary0004146: JvMenus.TJvXPMenuItemPainter.DrawBorder
DescriptionI get an Error

Exception class: EInvalidOperation
Exception message: Canvas does not allow drawing.
in
JvMenus.TJvXPMenuItemPainter.DrawBorder (Line 3232, "JvMenus.pas" + 12)
with the actual SVN version on WinXPSP2 and Delphi2007Upd1.

Attached you will find the stack list and a screenshot where you can see how the painting looks like.

Regards Karlheinz
TagsNo tags attached.

Relationships

child of 0003992 resolvedobones TjvMainMenu, style = msXP on VISTA 

Activities

2007-06-07 03:12

 

FehlerinJVMenue.txt (15,214 bytes)
Exception class: EInvalidOperation
Exception message: Canvas does not allow drawing.
Exception address: 00440051
------------------------------------------------------------------------------
Stack list, generated 07.06.2007 10:18:35
[0044004C]{SKraft.exe  } Graphics.TCanvas.RequiredState (Line 2785, "Graphics.pas" + 8)
[0043FAD4]{SKraft.exe  } Graphics.TCanvas.Rectangle (Line 2576, "Graphics.pas" + 2)
[0043FB0D]{SKraft.exe  } Graphics.TCanvas.Rectangle (Line 2583, "Graphics.pas" + 0)
[007A84E5]{SKraft.exe  } JvMenus.TJvXPMenuItemPainter.DrawBorder (Line 3232, "JvMenus.pas" + 12)
[007A8F00]{SKraft.exe  } JvMenus.XPMenuItemPainterWndProc (Line 3555, "JvMenus.pas" + 14)
[007A8E4E]{SKraft.exe  } JvMenus.XPMenuItemPainterWndProc (Line 3542, "JvMenus.pas" + 1)
[00433180]{SKraft.exe  } Classes.StdWndProc (Line 11583, "common\Classes.pas" + 8)
[0047C41F]{SKraft.exe  } Controls.TWinControl.DefaultHandler (Line 7334, "Controls.pas" + 23)
[00491F5E]{SKraft.exe  } Forms.TCustomForm.DefaultHandler (Line 4576, "Forms.pas" + 7)
[0047DF21]{SKraft.exe  } Controls.TWinControl.WMSysCommand (Line 8250, "Controls.pas" + 16)
[00492FE5]{SKraft.exe  } Forms.TCustomForm.WMSysCommand (Line 5112, "Forms.pas" + 7)
[0047831F]{SKraft.exe  } Controls.TControl.WndProc (Line 5146, "Controls.pas" + 83)
[0047C322]{SKraft.exe  } Controls.TWinControl.WndProc (Line 7304, "Controls.pas" + 111)
[0048FE77]{SKraft.exe  } Forms.TCustomForm.WndProc (Line 3512, "Forms.pas" + 136)
[0078F8C0]{SKraft.exe  } JvWndProcHook.TJvHookInfos.WindowProc (Line 767, "JvWndProcHook.pas" + 33)
[0047BA4C]{SKraft.exe  } Controls.TWinControl.MainWndProc (Line 7073, "Controls.pas" + 3)
[00433180]{SKraft.exe  } Classes.StdWndProc (Line 11583, "common\Classes.pas" + 8)
[0047C41F]{SKraft.exe  } Controls.TWinControl.DefaultHandler (Line 7334, "Controls.pas" + 23)
[00491F5E]{SKraft.exe  } Forms.TCustomForm.DefaultHandler (Line 4576, "Forms.pas" + 7)
[00478969]{SKraft.exe  } Controls.TControl.WMNCLButtonDown (Line 5267, "Controls.pas" + 2)
[00492BDC]{SKraft.exe  } Forms.TCustomForm.WMNCLButtonDown (Line 4966, "Forms.pas" + 12)
[0047831F]{SKraft.exe  } Controls.TControl.WndProc (Line 5146, "Controls.pas" + 83)
[0040A2C1]{SKraft.exe  } FastMM4.FastFreeMem
[0040B553]{SKraft.exe  } FastMM4.DebugFreeMem
[00403248]{SKraft.exe  } System.@FreeMem (Line 2699, "sys\system.pas" + 2)
[0040455C]{SKraft.exe  } System.TObject.FreeInstance (Line 8813, "sys\system.pas" + 2)
[00404982]{SKraft.exe  } System.@ClassDestroy (Line 9513, "sys\system.pas" + 0)
[004753D8]{SKraft.exe  } Controls.TControlCanvas.Destroy (Line 3334, "Controls.pas" + 3)
[004045A4]{SKraft.exe  } System.TObject.Free (Line 8832, "sys\system.pas" + 1)
[007A498D]{SKraft.exe  } JvMenus.TJvMainMenu.WMDrawItem (Line 1262, "JvMenus.pas" + 34)
[0047C322]{SKraft.exe  } Controls.TWinControl.WndProc (Line 7304, "Controls.pas" + 111)
[007A46F8]{SKraft.exe  } JvMenus.TJvMainMenu.NewWndProc (Line 1196, "JvMenus.pas" + 2)
[0078F947]{SKraft.exe  } JvWndProcHook.TJvHookInfos.WindowProc (Line 783, "JvWndProcHook.pas" + 49)
[0078F979]{SKraft.exe  } JvWndProcHook.TJvHookInfos.WindowProc (Line 787, "JvWndProcHook.pas" + 53)
[00427BB4]{SKraft.exe  } Classes.TThreadList.UnlockList (Line 3359, "common\Classes.pas" + 0)
[00443C0C]{SKraft.exe  } Graphics.FreeMemoryContexts (Line 5031, "Graphics.pas" + 12)
[0047BA4C]{SKraft.exe  } Controls.TWinControl.MainWndProc (Line 7073, "Controls.pas" + 3)
[0047C322]{SKraft.exe  } Controls.TWinControl.WndProc (Line 7304, "Controls.pas" + 111)
[0048FE77]{SKraft.exe  } Forms.TCustomForm.WndProc (Line 3512, "Forms.pas" + 136)
[0078F8C0]{SKraft.exe  } JvWndProcHook.TJvHookInfos.WindowProc (Line 767, "JvWndProcHook.pas" + 33)
[0047BA4C]{SKraft.exe  } Controls.TWinControl.MainWndProc (Line 7073, "Controls.pas" + 3)
[00433180]{SKraft.exe  } Classes.StdWndProc (Line 11583, "common\Classes.pas" + 8)
[00498254]{SKraft.exe  } Forms.TApplication.ProcessMessage (Line 8102, "Forms.pas" + 23)
[0049828E]{SKraft.exe  } Forms.TApplication.HandleMessage (Line 8121, "Forms.pas" + 1)
[0049859F]{SKraft.exe  } Forms.TApplication.Run (Line 8219, "Forms.pas" + 20)
[00862C31]{SKraft.exe  } SKraft.SKraft (Line 116, "" + 32)
------------------------------------------------------------------------------
System   : Windows XP Professional, Version: 5.1, Build: A28, "Service Pack 2"
Processor: Intel, Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz, 2000 MHz MMX SSE3 64 bits DEP
Memory: 2046; free 1260
Display  : 1680x1050 pixels, 32 bpp
------------------------------------------------------------------------------
List of loaded modules:
[00370000] C:\WINDOWS\system32\detoured.dll
<10000000> (no version info)
[00400000] C:\KHJProg\Borland\KHJProgramme\skraft\InstallStruktur\bin\SKraft.exe
           6.0.0.1036 - 6.0.0.1036
           Programm zur Berechnung von Schnittkr�ften beim Drehen, Bohren und  Fr�sen
[00B00000] C:\KHJProg\Borland\KHJProgramme\skraft\InstallStruktur\bin\FastMM_FullDebugMode.dll
<00400000> 1.44.0.4 - 1.44.0.4
           FastMM FullDebugMode Support DLL
[01770000] C:\Programme\Belkin\Bluetooth Software\btkeyind.dll
<10000000> (no version info)
[01810000] C:\Programme\Dell\QuickSet\dadkeyb.dll
<10000000> (no version info)
[02500000] C:\WINDOWS\system32\msls31.dll
<746C0000> 3.10.349.0 - 3.10.349.0
           Microsoft Line Services library file
[025F0000] C:\Programme\TortoiseSVN\bin\tortoisesvn.dll
<10000000> 1.4.3.8645 - 1, 4, 3, 8645
           TortoiseSVN shell extension client
[02680000] C:\WINDOWS\system32\Normaliz.dll
<00400000> 6.0.5441.0 - 6.0.5441.0 (winmain(wmbla).060628-1735)
           Unicode Normalization DLL
[026C0000] C:\Programme\TortoiseSVN\bin\intl3_svn.dll
<10000000> 0.14.5.0 - 0.14.5
           LGPLed libintl for Windows NT/2000/XP and Windows 95/98/ME
[10000000] C:\WINDOWS\system32\wxvault.dll
           5.3.0.15 - 05.03.00.015
           wxvault Dynamic Link Library
[20000000] C:\WINDOWS\system32\xpsp2res.dll
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           Service Pack 2-Meldungen
[43F60000] C:\WINDOWS\system32\iertutil.dll
           7.0.6000.16441 - 7.00.6000.16441 (vista_gdr.070219-1500)
           Run time utility for Internet Explorer
[441E0000] C:\WINDOWS\system32\WININET.dll
           7.0.6000.16441 - 7.00.6000.16441 (vista_gdr.070219-1500)
           Internet Extensions for Win32
[590B0000] C:\WINDOWS\system32\Wship6.dll
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           IPv6 Helper DLL
[597D0000] C:\WINDOWS\system32\netapi32.dll
           5.1.2600.2976 - 5.1.2600.2976 (xpsp_sp2_gdr.060817-0106)
           Net Win32 API DLL
[5B0F0000] C:\WINDOWS\system32\uxtheme.dll
           6.0.2900.2180 - 6.00.2900.2180 (xpsp_sp2_rtm.040803-2158)
           Microsoft UxTheme-Bibliothek
[5F1A0000] C:\WINDOWS\system32\olepro32.dll
           5.1.2600.2180 - 5.1.2600.2180
[60560000] C:\WINDOWS\system32\AcSignIcon.dll
           17.0.54.0 - 17.0.54.0
           AcSignIcon Module
[66710000] C:\WINDOWS\system32\hnetcfg.dll
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           Heimnetzwerkkonfigurations-Manager
[6E060000] C:\Programme\TortoiseSVN\iconv\windows-1252.so
           (no version info)
[6ED50000] C:\Programme\TortoiseSVN\iconv\utf-8.so
           (no version info)
[6EE40000] C:\Programme\TortoiseSVN\iconv\_tbl_simple.so
           (no version info)
[6EE50000] C:\Programme\TortoiseSVN\bin\libapriconv_tsvn.dll
           0.9.7.0 - 0.9.7
           Apache APR I18N Conversion Library
[6EE60000] C:\Programme\TortoiseSVN\bin\libaprutil_tsvn.dll
           0.9.12.0 - 0.9.12
           Apache Portable Runtime Utility Library
[6EEC0000] C:\Programme\TortoiseSVN\bin\libapr_tsvn.dll
           0.9.12.0 - 0.9.12
           Apache Portable Runtime Library
[719B0000] C:\WINDOWS\System32\mswsock.dll
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           Microsoft Windows Sockets 2.0-Dienstanbieter
[719F0000] C:\WINDOWS\System32\wshtcpip.dll
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           Windows Sockets Helper DLL
[71A00000] C:\WINDOWS\system32\WS2HELP.dll
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           Windows Socket 2.0 Helper f�r Windows NT
[71A10000] C:\WINDOWS\system32\WS2_32.dll
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           Windows Socket 2.0 32-Bit DLL
[71A30000] C:\WINDOWS\system32\wsock32.dll
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           Windows Socket-32-Bit-DLL
[71A80000] C:\WINDOWS\system32\mpr.dll
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           Router-DLL f�r Mehrfachanbieter
[72F70000] C:\WINDOWS\system32\winspool.drv
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           Windows-Spoolertreiber
[746A0000] C:\WINDOWS\system32\MSCTF.dll
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           MSCTF-Server-DLL
[74C00000] C:\WINDOWS\system32\oleacc.dll
           4.2.5406.0 - 4.2.5406.0 (xpclient.010817-1148)
           Active Accessibility Core Component
[74CB0000] C:\WINDOWS\system32\oledlg.dll
           5.1.2600.3016 - 1.0 (xpsp_sp2_gdr.061016-0148)
           Unterst�tzung f�r die Microsoft Windows(R) OLE 2.0-Benutzeroberfl�che
[74DB0000] C:\WINDOWS\system32\RICHED20.DLL
           5.30.23.1228 - 5.30.23.1228
           Rich Text Edit Control, v3.0
[75250000] C:\WINDOWS\system32\msctfime.ime
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           Microsoft Text Frame Work Service IME
[75790000] C:\WINDOWS\system32\USP10.dll
           1.420.2600.2180 - 1.0420.2600.2180 (xpsp_sp2_rtm.040803-2158)
           Uniscribe Unicode script processor
[76020000] C:\WINDOWS\system32\MSVCP60.dll
           6.2.3104.0 - 6.02.3104.0
           Microsoft (R) C++ Runtime Library
[76320000] C:\WINDOWS\system32\msimg32.dll
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           GDIEXT Client DLL
[76330000] C:\WINDOWS\system32\IMM32.DLL
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           Windows XP IMM32 API Client DLL
[76350000] C:\WINDOWS\system32\comdlg32.dll
           6.0.2900.2180 - 6.00.2900.2180 (xpsp_sp2_rtm.040803-2158)
           DLL f�r gemeinsame Dialoge
[765A0000] C:\WINDOWS\System32\CSCDLL.dll
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           Offlinenetzwerk-Agent
[76620000] C:\WINDOWS\system32\USERENV.dll
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           Userenv
[76730000] C:\WINDOWS\system32\SHFOLDER.dll
           6.0.2900.2180 - 6.00.2900.2180 (xpsp_sp2_rtm.040803-2158)
           Shell Folder Service
[76AF0000] C:\WINDOWS\system32\winmm.dll
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           MCI API-DLL
[76BB0000] C:\WINDOWS\system32\PSAPI.DLL
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           Process Status Helper
[76EE0000] C:\WINDOWS\system32\DNSAPI.dll
           5.1.2600.2938 - 5.1.2600.2938 (xpsp_sp2_gdr.060626-0020)
           DNS Client API DLL
[76F20000] C:\WINDOWS\system32\WLDAP32.dll
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           Win32 LDAP-API-DLL
[76F70000] C:\WINDOWS\System32\winrnr.dll
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           LDAP RnR Provider DLL
[76F80000] C:\WINDOWS\system32\rasadhlp.dll
           5.1.2600.2938 - 5.1.2600.2938 (xpsp_sp2_gdr.060626-0020)
           Remote Access AutoDial Helper
[76F90000] C:\WINDOWS\system32\CLBCATQ.DLL
           2001.12.4414.308 - 2001.12.4414.308
[77010000] C:\WINDOWS\system32\COMRes.dll
           2001.12.4414.258 - 2001.12.4414.258
[770F0000] C:\WINDOWS\system32\oleaut32.dll
           5.1.2600.2180 - 5.1.2600.2180
[773A0000] C:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
           6.0.2900.2982 - 6.0 (xpsp.060825-0040)
           User Experience Controls Library
[774B0000] C:\WINDOWS\system32\ole32.dll
           5.1.2600.2726 - 5.1.2600.2726 (xpsp_sp2_gdr.050725-1528)
           Microsoft OLE f�r Windows
[778F0000] C:\WINDOWS\system32\SETUPAPI.dll
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           Windows Setup-API
[779F0000] C:\WINDOWS\System32\cscui.dll
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           Clientseitige Cachebenutzeroberfl�che
[77B10000] C:\WINDOWS\system32\appHelp.dll
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           Application Compatibility Client Library
[77BD0000] C:\WINDOWS\system32\version.dll
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           Version Checking and File Installation Libraries
[77BE0000] C:\WINDOWS\system32\msvcrt.dll
           7.0.2600.2180 - 7.0.2600.2180 (xpsp_sp2_rtm.040803-2158)
           Windows NT CRT DLL
[77DA0000] C:\WINDOWS\system32\ADVAPI32.dll
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           Erweitertes Windows 32 Base-API
[77E50000] C:\WINDOWS\system32\RPCRT4.dll
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           Remote Procedure Call Runtime
[77EF0000] C:\WINDOWS\system32\GDI32.dll
           5.1.2600.3099 - 5.1.2600.3099 (xpsp_sp2_gdr.070308-0222)
           GDI Client DLL
[77F40000] C:\WINDOWS\system32\SHLWAPI.dll
           6.0.2900.2995 - 6.00.2900.2995 (xpsp.060913-0019)
           Shell Light-weight Utility Library
[77FC0000] C:\WINDOWS\system32\Secur32.dll
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           Security Support Provider Interface
[78130000] C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700\MSVCR80.dll
           8.0.50727.762 - 8.00.50727.762
           Microsoft� C Runtime Library
[7C420000] C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700\MSVCP80.dll
           8.0.50727.762 - 8.00.50727.762
           Microsoft� C++ Runtime Library
[7C800000] C:\WINDOWS\system32\kernel32.dll
           5.1.2600.2945 - 5.1.2600.2945 (xpsp_sp2_gdr.060704-2349)
           Client-DLL f�r Windows NT-Basis-API
[7C910000] C:\WINDOWS\system32\ntdll.dll
           5.1.2600.2180 - 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
           DLL f�r NT-Layer
[7C9D0000] C:\WINDOWS\system32\shell32.dll
           6.0.2900.3051 - 6.00.2900.3051 (xpsp_sp2_gdr.061219-0316)
           Allgemeine Windows-Shell-DLL
[7E360000] C:\WINDOWS\system32\USER32.dll
           5.1.2600.3099 - 5.1.2600.3099 (xpsp_sp2_gdr.070308-0222)
           Client-DLL f�r Windows XP USER-API
------------------------------------------------------------------------------
Active Controls hierarchy:
TF_Main_F "F_Main_F"
------------------------------------------------------------------------------
FehlerinJVMenue.txt (15,214 bytes)

2007-06-07 03:14

 

Error Screenshot.JPG (260,006 bytes)
Error Screenshot.JPG (260,006 bytes)

remkobonte

2007-06-07 17:32

developer   ~0013228

Thanks for the detailed report. I made some changes in Rev. 11314.

Please check it and report back...

Karlheinz

2007-06-08 00:50

reporter   ~0013233

I must say thank you for the fast solution of the problem.

I tried every menu of my application and did not get any error.
I think the problem is solved.

Regards Karlheinz

remkobonte

2007-06-09 10:22

developer   ~0013260

Okay, thanks for the feedback.

Issue History

Date Modified Username Field Change
2007-06-07 03:12 Karlheinz New Issue
2007-06-07 03:12 Karlheinz File Added: FehlerinJVMenue.txt
2007-06-07 03:14 Karlheinz File Added: Error Screenshot.JPG
2007-06-07 13:45 remkobonte Status new => assigned
2007-06-07 13:45 remkobonte Assigned To => remkobonte
2007-06-07 17:23 remkobonte Relationship added child of 0003992
2007-06-07 17:32 remkobonte Note Added: 0013228
2007-06-07 17:33 remkobonte Status assigned => feedback
2007-06-08 00:50 Karlheinz Note Added: 0013233
2007-06-09 10:22 remkobonte Status feedback => resolved
2007-06-09 10:22 remkobonte Fixed in Version => Daily / SVN
2007-06-09 10:22 remkobonte Resolution open => fixed
2007-06-09 10:22 remkobonte Note Added: 0013260