Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

access violation error in acrobat

New Here ,
Nov 28, 2016 Nov 28, 2016

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.

TOPICS
Acrobat SDK and JavaScript
1.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 28, 2016 Nov 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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 29, 2016 Nov 29, 2016
LATEST

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()
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines