Article View: borland.public.cppbuilder.upgrade
Article #107Re: F9(run): access violation at ....
From: roladdon
Date: Thu, 24 Apr 2008 21:29
Date: Thu, 24 Apr 2008 21:29
77 lines
3982 bytes
3982 bytes
It does not get to WinMain() It always stops at different points - please see below the two example event logs Roland ___________________________________________________________ 1) Thread Start: Thread ID: 8496. Process Project1.exe (9844) Process Start: C:\Documents and Settings\Roland\My Documents\RAD Studio\Projects\Debug\Project1.exe. Base Address: $00400000. Process Project1.exe (9844) Module Load: Project1.exe. Has Debug Info. Base Address: $00400000. Process Project1.exe (9844) Module Load: ntdll.dll. No Debug Info. Base Address: $7C900000. Process Project1.exe (9844) Module Load: KERNEL32.dll. No Debug Info. Base Address: $7C800000. Process Project1.exe (9844) Thread Start: Thread ID: 9184. Process Project1.exe (9844) Module Load: vcl100.bpl. No Debug Info. Base Address: $200E0000. Process Project1.exe (9844) Module Load: LVPrcInj.dll. No Debug Info. Base Address: $00800000. Process Project1.exe (9844) 2) Thread Start: Thread ID: 8940. Process Project1.exe (8264) Process Start: C:\Documents and Settings\Roland\My Documents\RAD Studio\Projects\Debug\Project1.exe. Base Address: $00400000. Process Project1.exe (8264) Module Load: Project1.exe. Has Debug Info. Base Address: $00400000. Process Project1.exe (8264) Module Load: ntdll.dll. No Debug Info. Base Address: $7C900000. Process Project1.exe (8264) Module Load: KERNEL32.dll. No Debug Info. Base Address: $7C800000. Process Project1.exe (8264) Module Load: vcl100.bpl. No Debug Info. Base Address: $200E0000. Process Project1.exe (8264) Thread Start: Thread ID: 9812. Process Project1.exe (8264) Module Load: rtl100.bpl. No Debug Info. Base Address: $20000000. Process Project1.exe (8264) "Dennis Cote" <denniscote@gmail.com> wrote in message news:4810f4a5$1@newsgroups.borland.com... > roladdon wrote: >> I open CBuilder2007 >> File->New->VCL Forms Application >> F9 (run) > > At which point it starts executing your application's code. > > You can try putting a breakpoint at the beginning of your application's > WinMain function and see if it gets that far. If it does, then you can > step through the initialization until you pass the routine that triggers > the error. If not, it may be that the error occurs during the > initialization of globals or static members which happens before WinMain > is called. > >> that's where it happens >> >> Sometimes it stops at the CPU window: >> (always at a jmp $00....) >> and pressing F9 another time will give the AV error > > What is on the call stack at that point? > >> >> Sometimes it will go straight to the AV error > > When you say AV error, do you mean an AV exception that is caught by the > debugger, or an AV error in the bds.exe that is caught by the OS? > > Dennis Cote > >
Technical Details
Message-ID:
<4810fbf5$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4810b531$1@newsgroups.borland.com> <david.dean.no-7360C5.12241024042008@h10s143a100n47.user.nortelnetworks.com> <4810ed64$1@newsgroups.borland.com> <4810eeef$1@newsgroups.borland.com> <4810f121@newsgroups.borland.com> <4810f4a5$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10529a,fdeecc09661cc3ec X-Google-Attributes: gid10529a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "roladdon" <roladdon@PutMyServerHere.ca> From: "roladdon" <roladdon@PutMyServerHere.ca> Newsgroups: borland.public.cppbuilder.upgrade References: <4810b531$1@newsgroups.borland.com> <david.dean.no-7360C5.12241024042008@h10s143a100n47.user.nortelnetworks.com> <4810ed64$1@newsgroups.borland.com> <4810eeef$1@newsgroups.borland.com> <4810f121@newsgroups.borland.com> <4810f4a5$1@newsgroups.borland.com> Subject: Re: F9(run): access violation at .... Date: Thu, 24 Apr 2008 17:29:23 -0400 Lines: 79 Organization: AddOn X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 65.94.49.23 Message-ID: <4810fbf5$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1209072629 65.94.49.23 (24 Apr 2008 14:30:29 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail