AV in 64 bit application if using the debugger

<< Click to Display Table of Contents >>

Navigation:  Forum >

AV in 64 bit application if using the debugger

Forum link

 

 

 


 

06-26-2024, 11:31 AM:

 

Hi, i could use some help

 

C++Builder 12.1

 

INTRAWEB 15.6.2

 

I have migrated an INTRAWEB application to 64 bit.

 

If i start the application with debugger the INTRAWEB debug dialog is shown and i can choose a browser to start.

 

The website is shown but after some action the following exception message is shown in a message box:

 

Erste Gelegenheit für Exception bei $0000000001A5C1DC.

 

Exception-Klasse 0xc0000005 mit Meldung 'Exception 0xc0000005 encountered at address 0x1a5c1dc: Access violation reading location 0xffffffffffffffff'.

 

Prozess XXX.exe (5740)

 

Nothing happens anymore in the browser window, the server is locked an needs to be terminated.

 

Call stack:

 

:0000000001A5C1DC Inthread::TInThreadWithTask::SetTask(Intask::TInTask*)()

 

:0000000001A5B134 Inschedulerofthread::TInSchedulerOfThread::StartYarn(Inyarn::TInYarn*, Intask::TInTask*)()

 

:0000000001A5AFCE Incustomtcpserver::TIdListenerThread::Run()()

 

:0000000001A5B6AB Inthread::TInThread::Execute()()

 

:0000000001893203 System::Classes::ThreadProc(System::Classes::TThread*)()

 

:00000000017EE2BD System::ThreadWrapper(void*)()

 

:00007FF8B97D7344 BaseThreadInitThunk()

 

:00007FF8BB35CC91 RtlUserThreadStart()

 

The debug release is working well if i don't start the application with debugger !!!

 

Regards

 

Juergen

 

 

 


 

06-28-2024, 05:29 PM:

 

It seems to me, that the INTRAWEB service dialog is causing the problem.

 

Here are additional call stacks:

 

:00007FF9A93ABA99 RaiseException()

 

:0000000000BAC633 System::_RaiseAtExcept(System::TObject*, void*)()

 

:0000000000BD2412 System::Sysutils::ErrorHandler(unsigned char, void*)()

 

:0000000000BA4DC3 System::ErrorAt(unsigned char, void*)()

 

:0000000000BA4E11 System::Error(System::TRuntimeError)()

 

:0000000000BA4A51 System::_FreeMem(void*)()

 

:0000000000BA9F78 System::TObject::FreeInstance()()

 

:0000000000BAAB61 System::_ClassDestroy(System::TObject*)()

 

:0000000000C37B0E System::Classes::TList::~TList()()

 

:0000000000BAA1A8 System::TObject::Free()()

 

:0000000000BD5D46 System::Sysutils::FreeAndNil(System::TObject*&)()

 

:0000000000E1A0F4 Inschedulerofthread::TInSchedulerOfThread::TerminateYarn(Inyarn::TInYarn*)()

 

:0000000000E19DC6 Incustomtcpserver::TIdListenerThread::Run()()

 

:0000000000E1A44B Inthread::TInThread::Execute()()

 

:0000000000C51FA3 System::Classes::ThreadProc(System::Classes::TThread*)()

 

:0000000000BAD05D System::ThreadWrapper(void*)()

 

:00007FF9AB737344 BaseThreadInitThunk()

 

:00007FF9ABA3CC91 RtlUserThreadStart()

 

:00007FF9A93ABA99 RaiseException()

 

:0000000000BAC633 System::_RaiseAtExcept(System::TObject*, void*)()

 

:0000000000BAC698 System::_RaiseAgain()()

 

:0000000000E1A50A Inthread::TInThread::Execute()()

 

:0000000000C51FA3 System::Classes::ThreadProc(System::Classes::TThread*)()

 

:0000000000BAD05D System::ThreadWrapper(void*)()

 

:00007FF9AB737344 BaseThreadInitThunk()

 

:00007FF9ABA3CC91 RtlUserThreadStart()