Skip to main content
gregbatie
Participant
November 28, 2016
Question

access violation error in acrobat

  • November 28, 2016
  • 1 reply
  • 1330 views

I am experiencing the occasional crash in my plugin while opening pdf files.

The line that it crashes on isn't inside my plugin but inside acrobat native code

so it is very hard for me to see the reason.

Using external debugging tools I was able to pin it down to an access violation call

that is happening inside a method called "DllCanUnloadNow".

Inside it is crashing while processing a windows message WM_TIMER being sent to window

"AcrobatTimerWnd"

I was hopping to get info on AcrobatTimerWnd or what this timer is used for.

This topic has been closed for replies.

1 reply

Legend
November 28, 2016

You say the cash is in your plugin. The actual location isn't so what is? Have you called a specific API that has not returned?

gregbatie
gregbatieAuthor
Participant
November 29, 2016

The crash only happens while my plugin is loaded but in the call stack are all function names that point back to acrobat.dll or acrobat.exe.

From what i can see all of the api calls I am making are completing successfully. It's only after all of my methods finish that i experience a crash.

Here is the call stack that I am getting.

Acrobat.dll!DllCanUnloadNow()  + 0x303f9 bytes
Acrobat.dll!DllCanUnloadNow()  + 0x303c2 bytes
Acrobat.dll!CTJPEGDecoderRelease()  + 0x2903 bytes
Acrobat.dll!CTJPEGDecoderRelease()  + 0x2820 bytes
Acrobat.dll!DllCanUnloadNow()  + 0x21907 bytes
Acrobat.dll!DllCanUnloadNow()  + 0x21667 bytes
Acrobat.dll!AcroWinBrowserMain()  + 0x9826 bytes
user32.dll!SetManipulationInputTarget()  + 0x53 bytes
user32.dll!DispatchMessageW()  + 0x8fa bytes
user32.dll!DispatchMessageW()  + 0x254 bytes
user32.dll!DispatchMessageW()  + 0x10 bytes
Acrobat.dll!DllCanUnloadNow()  + 0x20a5c bytes
Acrobat.dll!DllCanUnloadNow()  + 0x208cc bytes
Acrobat.dll!AcroWinMain()  + 0x47a bytes
Acrobat.dll!AcroWinMain()  + 0x16 bytes
Acrobat.exe!00ae1957()
KernelBase.dll!LoadLibraryExW()  + 0x138 bytes
kernel32.dll!ActivateActCtxWorker()  + 0x1d bytes
00000003()