- This topic has 3 replies, 2 voices, and was last updated 15 years, 2 months ago by Support.
-
AuthorPosts
-
September 10, 2009 at 3:38 pm #33241Christopher DelyParticipant
I get the following AV exception when I use threads in my application:
Access violation at address 005D6257 in module 'NlPostaClient.exe'. Read of address 042E13D3.
Call stack:
005d6257 NlPostaClient.exe sAlphaGraph 1478 +52 TacFastSum24.BlendBitmapsRect
00620a94 NlPostaClient.exe sGraphUtils 2431 +13 SumBitmaps
005e6a48 NlPostaClient.exe sFade 129 +9 TsFadeTimer.Change
005e6cd5 NlPostaClient.exe sFade 186 +2 TsFadeTimer.Timer
004ac9ff NlPostaClient.exe ExtCtrls 2208 +4 TTimer.WndProc
00438f88 NlPostaClient.exe Classes 11572 +8 StdWndProc
7e3696c2 USER32.dll DispatchMessageA
004cde66 NlPostaClient.exe Forms 7651 +23 TApplication.ProcessMessage
004cde8f NlPostaClient.exe Forms 7663 +1 TApplication.ProcessMessages
007b6da0 NlPostaClient.exe NlPostaClientMainUnit 1394 +57 TfrmNlPostaClientMain.ProcessTrayCatalog
007b7a28 NlPostaClient.exe NlPostaClientMainUnit 1657 +63 TfrmNlPostaClientMain.ProcessTrayCatalogs
007bbcec NlPostaClient.exe NlPostaClientMainUnit 2726 +2 TfrmNlPostaClientMain.threadTraysExecute
006bd307 NlPostaClient.exe JvThread TJvBaseThread.Execute
00480bb3 NlPostaClient.exe madExcept HookedTThreadExecute
00436fe6 NlPostaClient.exe Classes 9866 +7 ThreadProc
004056c8 NlPostaClient.exe System 12127 +33 ThreadWrapper
00480a95 NlPostaClient.exe madExcept CallThreadProcSafe
00480aff NlPostaClient.exe madExcept ThreadExceptFrame
>> created by main thread ($814) at:
006bd396 NlPostaClient.exe JvThread TJvPausableThread.Create
LOG №2 :It seems that AC not supports threaded applications.
exception class : EOutOfResources
main thread ($29c):
0047ffc3 NlPostaClient.exe Graphics GDIError
0047fffb NlPostaClient.exe Graphics GDICheck
00483f7b NlPostaClient.exe Graphics CopyBitmap
0048456f NlPostaClient.exe Graphics TBitmap.CopyImage
00486020 NlPostaClient.exe Graphics TBitmap.SetSize
0048590b NlPostaClient.exe Graphics TBitmap.SetHeight
00625939 NlPostaClient.exe sSkinProvider 3593 +44 TsSkinProvider.PaintAll
00623fe9 NlPostaClient.exe sSkinProvider 3243 +7 TsSkinProvider.PaintCaption
0062a9c3 NlPostaClient.exe sSkinProvider 4756 +60 TsSkinProvider.AC_WMNCPaint
00621609 NlPostaClient.exe sSkinProvider 2569 +857 TsSkinProvider.NewWndProc
0069f933 NlPostaClient.exe JvWndProcHook TJvWindowHook.DoAfterMessage
0069f7ab NlPostaClient.exe JvWndProcHook TJvHookInfos.WindowProc
004c8650 NlPostaClient.exe Controls TWinControl.MainWndProc
0069f724 NlPostaClient.exe JvWndProcHook TJvHookInfos.WindowProc
004c8650 NlPostaClient.exe Controls TWinControl.MainWndProc
004796d4 NlPostaClient.exe Classes StdWndProc
7c90e470 ntdll.dll KiUserCallbackDispatcher
004c3470 NlPostaClient.exe Controls TControl.GetClientWidth
7e379807 USER32.dll IsIconic
004c517f NlPostaClient.exe Controls TControl.WndProc
0069f724 NlPostaClient.exe JvWndProcHook TJvHookInfos.WindowProc
004c8650 NlPostaClient.exe Controls TWinControl.MainWndProc
004796d4 NlPostaClient.exe Classes StdWndProc
7e37f406 USER32.dll SendMessageA
0061fbcd NlPostaClient.exe sSkinProvider 2124 +412 TsSkinProvider.NewWndProc
0069f724 NlPostaClient.exe JvWndProcHook TJvHookInfos.WindowProc
004c8650 NlPostaClient.exe Controls TWinControl.MainWndProc
004796d4 NlPostaClient.exe Classes StdWndProc
7e37f156 USER32.dll DefWindowProcA
0069f7ab NlPostaClient.exe JvWndProcHook TJvHookInfos.WindowProc
7e37a993 USER32.dll CallWindowProcA
004c8f7b NlPostaClient.exe Controls TWinControl.DefaultHandler
004b2c3e NlPostaClient.exe Forms TCustomForm.DefaultHandler
004c5bfc NlPostaClient.exe Controls TControl.WMWindowPosChanged
004c9a03 NlPostaClient.exe Controls TWinControl.WMWindowPosChanged
004c517f NlPostaClient.exe Controls TControl.WndProc
004c8e98 NlPostaClient.exe Controls TWinControl.WndProc
004b0e5d NlPostaClient.exe Forms TCustomForm.WndProc
00622aeb NlPostaClient.exe sSkinProvider 2988 +1276 TsSkinProvider.NewWndProc
7e379807 USER32.dll IsIconic
0069f933 NlPostaClient.exe JvWndProcHook TJvWindowHook.DoAfterMessage
0069f7ab NlPostaClient.exe JvWndProcHook TJvHookInfos.WindowProc
0069f724 NlPostaClient.exe JvWndProcHook TJvHookInfos.WindowProc
004c8650 NlPostaClient.exe Controls TWinControl.MainWndProc
004796d4 NlPostaClient.exe Classes StdWndProc
7c90e470 ntdll.dll KiUserCallbackDispatcher
7e37f156 USER32.dll DefWindowProcA
7e37a993 USER32.dll CallWindowProcA
004c8f7b NlPostaClient.exe Controls TWinControl.DefaultHandler
004b2c3e NlPostaClient.exe Forms TCustomForm.DefaultHandler
004ca7a5 NlPostaClient.exe Controls TWinControl.WMSysCommand
004b3b21 NlPostaClient.exe Forms TCustomForm.WMSysCommand
004c517f NlPostaClient.exe Controls TControl.WndProc
004c8e98 NlPostaClient.exe Controls TWinControl.WndProc
004b0e5d NlPostaClient.exe Forms TCustomForm.WndProc
00622882 NlPostaClient.exe sSkinProvider 2943 +1231 TsSkinProvider.NewWndProc
0069f724 NlPostaClient.exe JvWndProcHook TJvHookInfos.WindowProc
004c8650 NlPostaClient.exe Controls TWinControl.MainWndProc
004796d4 NlPostaClient.exe Classes StdWndProc
7c90e470 ntdll.dll KiUserCallbackDispatcher
7e37f156 USER32.dll DefWindowProcA
7e37a993 USER32.dll CallWindowProcA
004c8f7b NlPostaClient.exe Controls TWinControl.DefaultHandler
004b2c3e NlPostaClient.exe Forms TCustomForm.DefaultHandler
004c57c9 NlPostaClient.exe Controls TControl.WMNCLButtonDown
004b3759 NlPostaClient.exe Forms TCustomForm.WMNCLButtonDown
004c517f NlPostaClient.exe Controls TControl.WndProc
004c8e98 NlPostaClient.exe Controls TWinControl.WndProc
004b0e5d NlPostaClient.exe Forms TCustomForm.WndProc
006203c0 NlPostaClient.exe sSkinProvider 2262 +550 TsSkinProvider.NewWndProc
7c90e470 ntdll.dll KiUserCallbackDispatcher
0069f724 NlPostaClient.exe JvWndProcHook TJvHookInfos.WindowProc
004c8650 NlPostaClient.exe Controls TWinControl.MainWndProc
004796d4 NlPostaClient.exe Classes StdWndProc
7e3696c2 USER32.dll DispatchMessageA
004b8510 NlPostaClient.exe Forms TApplication.ProcessMessage
004b854a NlPostaClient.exe Forms TApplication.HandleMessage
004b876a NlPostaClient.exe Forms TApplication.Run
0079c0d7 NlPostaClient.exe NlPostaClient 62 +18 initialization
LOG №3 :exception class : EOutOfResources
thread $3bc (TJvBaseThread):
0047ffc3 NlPostaClient.exe Graphics GDIError
0047fffb NlPostaClient.exe Graphics GDICheck
00483f7b NlPostaClient.exe Graphics CopyBitmap
0048456f NlPostaClient.exe Graphics TBitmap.CopyImage
00485b81 NlPostaClient.exe Graphics TBitmap.SetPixelFormat
005ba15e NlPostaClient.exe acPNG 5166 +31 TPNGGraphic.Draw
0047f856 NlPostaClient.exe Graphics TCanvas.StretchDraw
0049bd53 NlPostaClient.exe ExtCtrls TImage.Paint
004cce40 NlPostaClient.exe Controls TGraphicControl.WMPaint
004c517f NlPostaClient.exe Controls TControl.WndProc
004c4e0c NlPostaClient.exe Controls TControl.Perform
004c9305 NlPostaClient.exe Controls TWinControl.PaintControls
004c9111 NlPostaClient.exe Controls TWinControl.PaintHandler
004c9617 NlPostaClient.exe Controls TWinControl.WMPaint
004b3465 NlPostaClient.exe Forms TCustomForm.WMPaint
004c517f NlPostaClient.exe Controls TControl.WndProc
004c8e98 NlPostaClient.exe Controls TWinControl.WndProc
004b0e5d NlPostaClient.exe Forms TCustomForm.WndProc
005e2e07 NlPostaClient.exe sSkinProvider 1820 +108 TsSkinProvider.NewWndProc
005225c5 NlPostaClient.exe TntControls 666 +19 TWinControlTrap.WindowProc
005e2e07 NlPostaClient.exe sSkinProvider 1820 +108 TsSkinProvider.NewWndProc
004c8650 NlPostaClient.exe Controls TWinControl.MainWndProc
004796d4 NlPostaClient.exe Classes StdWndProc
7e37a034 USER32.dll CallWindowProcW
00522218 NlPostaClient.exe TntControls 554 +12 TWinControlTrap.Win32Proc
004796d4 NlPostaClient.exe Classes StdWndProc
7c90eb94 ntdll.dll RtlAnsiStringToUnicodeString
7c90e470 ntdll.dll KiUserCallbackDispatcher
0069600b NlPostaClient.exe JvThread TJvBaseThread.Execute
0045035f NlPostaClient.exe madExcept HookedTThreadExecute
00477f88 NlPostaClient.exe Classes ThreadProc
00405464 NlPostaClient.exe System 746 +0 ThreadWrapper
00450241 NlPostaClient.exe madExcept CallThreadProcSafe
004502ab NlPostaClient.exe madExcept ThreadExceptFrame
>> created by main thread ($6e4) at:
0069609a NlPostaClient.exe JvThread TJvPausableThread.CreateSeptember 14, 2009 at 2:38 pm #40472SupportKeymasterHello
Three your messages was united to one topic because it's a one question.
Question of multithreading support is not easy. Stable work is depended from purpose of threads creation, from implementing of calls and from other thing.
I think that I must look your application and debug it before answering where is a cause of problem, I need more info.
Could you show it by TeamViewer?PS. If you have a test-application where a problem exists, please send it too.
September 14, 2009 at 2:44 pm #40473Christopher DelyParticipantQUOTE (Support @ Sep 14 2009, 04:38 PM) <{POST_SNAPBACK}>Hello
Three your messages was united to one topic because it's a one question.
Question of multithreading support is not easy. Stable work is depended from purpose of threads creation, from implementing of calls and from other thing.
I think that I must look your application and debug it before answering where is a cause of problem, I need more info.
Could you show it by TeamViewer?PS. If you have a test-application where a problem exists, please send it too.
Sorry, we don't have enough time to wait until you fix this bug. We started to work without AC in this project. (We need to finish this project on next week)
Maybe, later we have enough time to help fixing this errors.September 14, 2009 at 2:56 pm #40475SupportKeymasterOk, I will try to make many tests with different configurations and maybe a problem will be solved already.
-
AuthorPosts
- You must be logged in to reply to this topic.