Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 229725
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T19:47:24+00:00 2026-05-11T19:47:24+00:00

My app ( EasyJob ) causes an access violation error on exiting. This only

  • 0

My app (EasyJob) causes an access violation error on exiting. This only happens on some systems, mostly Vista, but it has happened on some XP boxes. The application is written in VB6.

After finding a system that shows this behavior, I ran DebugDiag on my process and got this report:

Function                            Arg1        Arg2        Arg3
0x04246c81                          726c7fc8    778bf188    0012fea4
ole32!CoDisconnectObject+55         726c7fc8    00000000    00000002
msvbvm60!BASIC_CLASS_Release+10b2d  00000002    013e07cc    727ae518
msvbvm60!TipUnloadProject+df2       013e08dc    013e07cc    727ae470
msvbvm60!EbResetProjectNormal+1a54  00000000    00000000    00000000

In easyjobpro__PID__5240__Date__05_18_2009__Time_09_24_01PM__619__Second_Chance_Exception_C0000005.dmp the module C:\Windows\System32\ole32.dll has caused an access violation exception (0xC0000005) when trying to write to memory location 0x726c7fc8 on thread 0

OK, so it looks like it’s OLE32.dll that is causing this, but how can I fix it???? O:-)

Is there a way to get a longer stack trace so I can actually see what part of my code started this thing? It seems to be related with some class being unloaded (BASIC_CLASS_Release), but how do I find out which one?

Anybody knows why this might be happening mostly on Vista?

This stuff is driving me nuts, so ANY help would be GREATLY appreciated. Seriously, I’ll buy you a beer no matter where you are. O:-)

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T19:47:24+00:00Added an answer on May 11, 2026 at 7:47 pm

    GPF on exit is usually caused by wrong deinitialization sequence. For example, the following could have happened: some code that releases all objects has been called already and now you have a dangling pointer and the code currently executing is trying to release the same object. Since the object is no longer there you get a GPF.

    Such situations are usually hard to debug. What you need is a dedicated deinitialization where you would disconnect, finalize, flush, close, etc. all objects that you initialized while running the program. In most cases all you need is to just set the pointet to the object to Nothing – built-in resource management will have the object properly deinitialized. You have to execute this code before the whole program termination starts – somewhere like when closing the main window.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

app/assets/stylesheets/application.css *= require formtastic I get this error: rake assets:precompile /Users/Nerian/.rvm/rubies/ruby-1.9.3-rc1/bin/ruby /Users/Nerian/.rvm/gems/ruby-1.9.3-rc1@davinci/bin/rake assets:precompile:all RAILS_ENV=production
App Engine only allows you to use these formats for XMPP addresses: app-id@appspot.com anything@app-id.appspotchat.com
An app I'm writing always crashes on a clients computer, but I don't get
My app uses a WebRequest at certain points to get pages from itself. This
Our app (already deployed) is using an Access/Jet database. The upcoming version of our
My app (winforms .net 2.0 / vs2008) works fine on my dev machine but
App A has this BroadcastReceiver in its manifest (within <application>): And this receiver: public
My app is crashing with the error code: SIGABRT. Ive done a ton of
The app I'm working on is relatively simple but it is throwing memory warnings.
App runs on simulator on my MacBook Air, but not on iMac. I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.