Shortcut menu in subform crashes Access 2007

S

Stig Andersen

Hi all,

I have an Access Project, developed in Acc2003.

When opened in Acc2007 (on Vista) most functionality works fine - including
the custom toolbar.

Only trouble is the shortcut menu. Short cut menus are used on several
forms - in datasheet view subforms. When they are invoked, they show
briefly - then Access crashes. On a few forms the short cut menu works as
expected.

I have tried the article and the hotfix that tried to address this problem,
but it seems that the problem it solved was of another kind. Before the
hotfix the standard short cut menu appeared - then crashed Access. After the
hotfix the customized short cut menu appeared - then crashed.
I believe it was the same hotfix that was worked into Access 2007 SP1,
because this SP did not do anything in this area.

When crashing no error is shown, but in the event viewer this error is
logged:
-----------------
Faulting application MSACCESS.EXE, version 12.0.6211.1000, time stamp
0x46d4aa81, faulting module MSACCESS.EXE, version 12.0.6211.1000, time stamp
0x46d4aa81, exception code 0xc0000005, fault offset 0x00314b6d, process id
0x1a6c, application start time 0x01c87937f3db8453.
-----------------
it is the same error everytime I crash - except for the timestamps and
offsets :)

I will be happy to supply you with further diagnostics - I'm a little lost
in what to look for - so advice me what to look for.

Thanks in advance.

Stig Andersen
 
C

Charles Wang[MSFT]

Hi,
I recommend that you refer to this article for debugging:
How to debug application crash/hang in production environment?
http://blogs.msdn.com/msdnts/archive/2006/11/24/how-to-debug-application-cra
sh-hang-in-production-environment.aspx

Also I would like to let you know that for such application crash issues
which may require dump analysis for further troubleshooting, we always
recommend that you contact Microsoft Customer Support Services (CSS) for
the more professional support. Please be advised that contacting phone
support will be a charged call except that the issue is proved to be a
Microsoft product issue.

To obtain the phone numbers for specific technology request please take a
look at the web site listed below.
http://support.microsoft.com/default.aspx?scid=fh;EN-US;PHONENUMBERS

If you are outside the US please see http://support.microsoft.com for
regional support phone numbers.

Best regards,
Charles Wang
Microsoft Online Community Support
=====================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
 
S

Stig Andersen

Hi again,

I chose to install Windbg, started MSAccess 2007, and opened my adp-file.

Being a simple application programmer, I really don't understand much of
this jibberish - I hope someone out there will point me in the right
direction. I will be grateful for any hint since im completely desoriented -
without a gps, lost in the woods etc etc. :)

First I invoked a short cut menu on a form where the short cut works fine.
The debugger shows these lines from the time I invoke the menu and select an
item, which opens another form:
---------------
Enter HWND 5087c
ModLoad: 1b890000 1b8d9000 C:\Windows\system32\msjtes40.dll
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
Left. Enter HWND 60874
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
(1a6c.1a70): C++ EH exception - code e06d7363 (first chance)
---------------

Now I opened another form where I know the crash happens. Installation of
the debugger now halts the application with the shorcut menu open. No crash
appears:
-------------------------------
(1a6c.1a70): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=00000000 ebx=00000000 ecx=00050862 edx=001f8838 esi=001f8838
edi=00050862
eip=2f3d4b6d esp=001f86a8 ebp=001f86c4 iopl=0 nv up ei pl zr na pe
nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000
efl=00010246
*** ERROR: Symbol file could not be found. Defaulted to export symbols for
msaccess.exe -
msaccess!MidEastSupport+0x9a:
2f3d4b6d ff5008 call dword ptr [eax+8]
ds:0023:00000008=????????
------------------------------
pressing F5 in the debugger to try to provoke the rest of the crash shows
this:
------------------
0:000> g
(1a6c.1a70): Access violation - code c0000005 (!!! second chance !!!)
eax=00000000 ebx=00000000 ecx=00050862 edx=001f8838 esi=001f8838
edi=00050862
eip=2f3d4b6d esp=001f86a8 ebp=001f86c4 iopl=0 nv up ei pl zr na pe
nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000
efl=00010246
msaccess!MidEastSupport+0x9a:
2f3d4b6d ff5008 call dword ptr [eax+8]
ds:0023:00000008=????????
-------------------
More F5 just returns the two error lines for every second F5.

It seems I've missed the symbols for MS Access - im sorry.

If more information may help you answer, then dont hesitate to ask for more

Best regards,
Stig Andersen
 
C

Charles Wang[MSFT]

Hi,
You can use Microsoft public symbol server for your further debugging.
Please refer to:
http://windbg.dumpanalysis.org/

Best regards,
Charles Wang
Microsoft Online Community Support
=====================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top