Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Acesss Violation Intraweb 15.2.47 BaseForm.Create
#1
Good Morning,
Good morning,
I'm testing version 15.2.47 trying to migrate an old  Intraweb 14 project.
At run-time I got an access violation message in the module IwbaseHTMLForm

...
public:
/ * TIWBaseForm.Create * / inline __fastcall virtual TIWBaseHTMLForm (System :: Classes :: TComponent * AOwner): Iwbaseform :: TIWBaseForm (AOwner) {}

....


[img]data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlcAAACcCAYAAABSi47aAAATx0lEQVR4nO3dPYvryh3H8WlC8hZUpwmBGwjGS1gOSWUIl0AIKS7YjQgH16dMt5233Zewvdh2++0XtSm2uu9g38GksCXPjOZJ8oxG9n7/8OHetbXyaPT025GOLKpqIwEAyG232xVvAzAHUVUbSVEURVEURV1ehCuKoiiKoqiERbiiKIqiKIpKWIQriqIoiqKohEW4oiiKoiiKSliEK4qiKIqiqIRFuKIoiqIoikpYjnD1KvdCSKG4f/qImN2r3It7GTVpsRou2/61UFM+nuR90v46LdtggSauF7N9r/tjn90/yY+UbU/eDxRFURQVX0II+f7+7nz//f1dCiGi5+cJV+rJznXSNutawlWpNub+7OP87+/NwBj7ub7pjttAmiB6DdsJRVEU9VXq/f1d/ua3v7MGLN97rooMV/I0urCX/nPrNZw0bz9cPb0+yfv7J/lhvn5xuErV9mvYTiiKoqivVLYQNSVYSTkmXMkP+aSOiHw8yfv+0loXupST++Byom00TPn5Q/2dp0nvme3Y7++V18LL1rf1dX+89GW8P7iMOKoPjMuR+1dvH+iXK0/TPe0Dl2nP83vde/re+jm+9unvnZdH7Ud7H73ubfPM3Q8URVEUNb7UMDU1WEk5OVwZ77/u9QDRBRPtXhpfuNIvOX083UsR/Z67He4Aot5zpYaivXzt/6sv93Beeftg+HvKZdnXvSU02ubn+n/f5/ja53rP1UcxbcvRDxRFURQ1rbpQNTVYSTk6XJ1eM0YWnCMQ8jhyYQ1k6s8fnstYofci2+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G3yH7q+9XTL910daP/v7NNkX0PAMCNKxOubKNYaqCJeV3UsgmNhrnu8RrVlm6UyXGvWOAzu1EvbQTLDB2ueQymPY0etY5lGNNPUfeZnQNTUw9H9LQ2NZF9DwDAjauqjRTffvkRnDBpuDJHTlKGq5jRkilBzxWyQp/Z1HHhKjrszBmuulCljEr5whUjVQAAlLwsqFxaCoUr3+UuSwAa3k/0OWyLKyyYbWkfZd0FI+3yXsxndqFEXV7XZUHLPGyX6QaXHCf0ky9c2cKjLxw6Lt0CAPBVlXsUw2lEx3ZDuzUEeG7U9l5ic4ymNLXlZnB1noPLgkIfgQp+phE2zPulvDe0K/3hucxmXYaYfvKMtvXzdAVKX5si+x4AgFu2jIeIqjdO42wJN4W7LuGW7hsAABaqqjZS/PRtF5ww9XcLdiMk3PjsMXOQMb9Tq1tP2qU+whUAAF5VtZHix/f/FG8IAADALYi+LAgAAIAwwhUAAEBCfbgCACC33W5XvA3AHP4P5I4HnqJsfKYAAAAASUVORK5CYII=[/img]

Do you have some suggestions how to solve that problem ?
Thank you in advance.

Francesco Sgaravatti
Reply
#2
Cant see the image. I assume you have code in the create?
Reply
#3
Can you please copy and paste here the call stack of the exception? If you are unsure how to do it: when the exception happens, click "Break", go to View -> Debug Windows -> Call stack, and copy everything you see there

Also, seems that you are using C++ Builder, right? Can you please tell me what version is that?
Reply
#4
(11-27-2021, 09:32 PM)Alexandre Machado Wrote: Can you please copy and paste here the call stack of the exception? If you are unsure how to do it: when the exception happens, click "Break", go to View -> Debug Windows -> Call stack, and copy everything you see there

Also, seems that you are using C++ Builder, right? Can you please tell me what version is that?

Hi,
I Thank You for your answer.

I use c++ Builder RAD studio XE3.

STACK:

:00a0ba50 System::__linkproc__ UStrAsg + 0x4
:01261146 ; TIWCGCustomRegion
:00983a1d ; ReadComponent
:00983cce ; ReadDataInner
:00983c0d ; ReadData
:0098fab6 System::Classes::TComponent::ReadState + 0x6
:00984b5e ; ReadRootComponent
:0097ecbf ; ReadComponent
:00c29d54 ; _16403
:00c29de2 ; _16404
:00c29e22 Iwbaseform::_16405 + 0x1A
:00c2a032 ; TIWBaseForm
:0066FCC8 Iwbasehtmlform::TIWBaseHTMLForm::TIWBaseHTMLForm(this=:08D8E8F0, AOwner=:05D0D710)
:0066FC14 Iwform::TIWForm::TIWForm(this=:08D8E8F0, AOwner=:05D0D710)
:0066F740 Iwappform::TIWAppForm::TIWAppForm(this=:08D8E8F0, AOwner=:05D0D710)
:00697D6B TfiwLogin::TfiwLogin(this=:08D8E8F0, Owner=:05D0D710)
:00c302e1 ; CreateAndShowDefaultPage
:00be95c3 ; _16429
:00b75061 ; ExecuteUrl
:00b75569 ; Execute
:00be639c Iwserversession::HttpExecute + 0x2C
:00b7a33e ; DoCommandGet
:00c53cad ; DoExecute
:00c46822 Incontext::TInContext::Run + 0x12
:01421f4d Madexcept::_17437 + 0x2D
:0098df15 ; _17936
:00a0b51e System::_17323 + 0x2A
:01421e33 Madexcept::_17435 + 0xF
:01421e9b ; _17436
:76bffa29 KERNEL32.BaseThreadInitThunk + 0x19
:77077a9e ; ntdll.dll
:77077a6e ntdll.RtlGetAppContainerNamedObjectPath + 0xee

I attached also some screen-shots.

Best Regards
Francesco Sgaravatti


Attached Files
.pdf   StackAVFrancescoSgaravatti.pdf (Size: 356.47 KB / Downloads: 4)
Reply
#5
Your call stack shows that the exception occurs inside a CGDevTools control (more specifically TIWCGCustomRegion):

:01261146 ; TIWCGCustomRegion

Do you have CGDevTools source code? If so, depending on the version, you may need to tweak it a little
Reply
#6
Hi Alexandre,
Thank you for your answer.

I am evaluating CgdevTools version 4.1.0.295 without source code.
If I purchased the license with code, would you be able to indicate the changes to be made?

Francesco Sgaravatti
Reply
#7
In the previous month I suggested a few changes to CGDevTools source code to make it work better with IW 15.2.x and, as a consequence, also a few situations where you could potentially get an AV were removed. If you get the source code, probably this will also be available to you. But answering your question, yes, I can point you the changes to avoid those.

Kind regards,
Reply
#8
Thank you very much Alexandre,
i fixed the problem temporarily with a downgrade to version 14.2.13 (It's okay fo XE3), but for the future (Embarcadero new versions) now i know how to deal that !
Francesco
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)