Current filter:
                                You should refresh the page.
                                Support Center
                                0
                                  • Hi,


                                    I get AV (se attached picture) when click on tab. I dont get it every time and I dont get it at the same tab every time either, inconsistent error, but it happen quite often


                                    //Lars

                                AV info click.jpg
                                Show all comments
                                • Hello,

                                  I could not reproduce this behavior. Attached is an example that works as expected on my side. Please modify it to illustrate the problem and attach it to your next message. We will examine it and do our best to find a solution. I am looking forward to hearing from you.

                                • LasseM 06.05.2012

                                  I still have the same problem in my program, I attach some additional error messages that might help us to solve the problem, I seem to be at the end of the road...
                                  //Lars

                                • LasseM 06.05.2012

                                  Hi, I have some additional information about the error.
                                  I have attached a picture that shows the error as deep in the code as I can get.
                                  It's in the unit cxLookAndFeelPainters.
                                  There is a constant AName that has garbage as far as I can see, is that normal?

                                  //Lars

                                • LasseM 06.05.2012

                                  Hi, here is also the call stack when the error happens.
                                  //Lars

                                • LasseM 06.05.2012

                                  Hi again,
                                  I also see that I sometimes get a different error, altough still happening when I click a tab.
                                  2.3 Module Name : GDI32.dll - (GDI Client DLL)
                                    2.4 Module Version: 6.1.7601.17514
                                    2.5 Type : EAccessViolation
                                    2.6 Message : Access violation at address 76939126 in module 'GDI32.dll'. Write of address 0050688C.

                                  I have attached a picture that show the call stack.
                                  //Lars

                                • Hello,
                                  Thank you for your additional clarification. Please take another moment to provide a simple example as our attempts to reproduce the issue using the call stack you supplied have been unsuccessful.
                                  In addition, clarify the following:
                                  1. Are you using TabControl in dll?
                                  2. Which version of Embarcadero C++Builder XE2 are you using?

                                • LasseM 06.06.2012

                                  Hello,
                                  Well I have not been able to reproduce in your simple applikation.
                                  1: not using in dll
                                  2: I am using Delphi XE2 Update 4.
                                  //Lars

                                • LasseM 06.06.2012

                                  Hello,

                                  I got this error from FastMM4, maybe that could help us?
                                  //Lars

                                • I regret to inform you that this information is not enough for us to find the cause of the issue.
                                  We have examined the provided report, but cannot replicate this scenario on our side. As we cannot debug the issue, we are not able to find the cause of the problem.

                                  You can execute the following steps to isolate the problem. Please reset all event handlers in your application. If the problem has disappeared, set them back one by one and see when the problem returns. If this does not help, remove all controls one by one and test your sample at each step, until the problem goes away. As a result, you will have a small sample illustrating the problem.

                                • LasseM 06.12.2012

                                  Just one question, when the error happens the function GetPainter is executed, otherwise it is not. (it is the function GetPainter where I have a breakpoint set in the attached picture)
                                  As I explained before the error happens sometimes when a tab is clicked.

                                  My question is why and when does the function GetPainter get executed?
                                  //Lars

                                • This method is called when it is necessary to draw some item. That is why it is hard to debug it (it is called very frequently).

                                • LasseM 07.05.2012

                                  Hello,
                                  I did remove the tabcontrol and are using a regular Tlistbox instead. The errors are gone, too bad I could not find why the errors happened but it looks like there was something with the tabcontrol that caused it but I cannot be sure of course.
                                  Lasse

                                • Hello,

                                  Thank you for your feedback. I will show your message to our developers and they will examine the code once again to find the cause of the issue (if it is there).

                                  Thanks again.

                                You must  log in  or  register  to leave comments

                                1 Solution

                                0

                                We are still not able to reproduce the problem. Should anyone have any additional information, please feel free to update this report.

                                You must  log in  or  register  to leave comments
                                You must  log in  or  register  to leave an answer

                                Is your intention to post an answer to your own question?

                                • If so, then proceed.
                                • If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
                                • If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.

                                To start a chat you should create a support ticket


                                If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, Silverlight, ASP.NET, WinForms, HTML5 or Windows 8, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Your Privacy - Legal Statements

                                Copyright © 1998-2013 Developer Express Inc.
                                ALL RIGHTS RESERVED
                                All trademarks or registered trademarks
                                are property of their respective owners