AppCrash in Excel

Add-in Express™ Support Service
That's what is more important than anything else

AppCrash in Excel
Excel randomly crashes when closing a file when ADXExcelTaskPane is added to add-in 
Phil Paul


Guest


Dear Add-in Express Team,

we have developed an add-in for Excel and are facing the following issue.

The add-in seems to work stable on most computers. However on some machines we experience frequent APPCRASHES of Excel (even resulting in a freeze of other programs like Outlook and Explorer).

Based on thorough testing the following pattern shows: The add-in works stable as long as we do not use any ADXExcelTaskPanes. As soon as we add just an empty task pane some users will experience the APPCRASH, mostly when closing a file in Excel.

We urged them not to use any functions of our add-in and we disabled our main task pane and added really just an empty one ?Â?Ð?ã so just the mere existence of an ADX Excel task pane seems to be the cause of the issue. As I said ?Â?Ð?ã the crash happens when they close a file (e.g. with four files open).

Since the task pane is a vital part of our user interface I would not like to turn it off and squeeze everything into the ribbon.

I would appreciate any hint on how we can solve this issue!
Attached I included the adxloader.log if this helps in any way.

Thanks in advance for your always great support,
Phil




Add-in Express Loader Log File: 04/21/2017 09:39:53:798

Startup directory: C:Users[name]AppDataLocalApps.0....
Loader version: 8.4.4395.0
Operating System: Microsoft Windows 7 Professional Service Pack 1 (build 7601), 64-bit
Process Owner: User
Command Line: "C:Program Files (x86)Microsoft OfficeOffice15EXCEL.EXE" /dde
Run 'As Administrator': No
Process Elevated: Yes
Integrity Level: Medium
UAC (User Account Control): Off
------------------------------------------------------------------------
09:39:54:202 2836 9988 Start.
09:39:54:203 2836 9988 Creating a new instance of the add-in loader.
09:39:54:203 2836 9988 Loading mscoree.dll
09:39:54:203 2836 9988 Success.
09:39:54:203 2836 9988 Loading the configuration from the system registry.
09:39:54:204 2836 9988 Getting the latest CLR version.
09:39:54:204 2836 9988 The latest CLR version is 'v4.0.30319'.
09:39:54:204 2836 9988 The configuration has been loaded successfully.
09:39:54:205 2836 9988     Runtime version: v4.0.30319.
09:39:54:205 2836 9988     Assembly name: [productname], PublicKeyToken=....
09:39:54:205 2836 9988     Class name: [productname].AddinModule.
09:39:54:205 2836 9988     Registry key: ....
09:39:54:205 2836 9988 Attempting to create a new instance of the managed add-in class: CLR - v4.0.30319
09:39:54:205 2836 9988 Loading CLR: v4.0.30319.
09:39:54:206 2836 9988 Calling CLRCreateInstance method.
09:39:54:206 2836 9988 Success.
09:39:54:206 2836 9988 Calling GetRuntime method.
09:39:54:206 2836 9988 Success.
09:39:54:206 2836 9988 Checking if the hosting API of .NET Framework v4.0 beta is installed.
09:39:54:207 2836 9988 The hosting API is up to date.
09:39:54:207 2836 9988 Calling GetInterface method for the CorRuntimeHost interface.
09:39:54:207 2836 9988 Success.
09:39:54:207 2836 9988 Starting CLR...
09:39:54:207 2836 9988 Success.
09:39:54:207 2836 9988 Getting the CLR version.
09:39:54:208 2836 9988 The CLR v4.0.30319 has been initialized successfully.
09:39:54:208 2836 9988 Creating a new domain setup.
09:39:54:208 2836 9988 Success.
09:39:54:208 2836 9988 Getting the add-in directory.
09:39:54:208 2836 9988 Success. The directory is 'C:Users[name]AppDataLocalApps.0...'
09:39:54:208 2836 9988 The 'shadow copy' is enabled.
09:39:54:209 2836 9988 Creating a new application domain.
09:39:54:210 2836 9988 Success.
09:39:54:210 2836 9988 Creating an instance of the managed class. Assembly identity: '[productname], PublicKeyToken=...'
09:39:54:567 2836 9988 Success.
09:39:54:567 2836 9988 Unwrapping the managed class.
09:39:54:578 2836 9988 Success.
09:39:54:579 2836 9988 Querying the add-in extensibility.
09:39:54:579 2836 9988 Success.
09:39:54:579 2836 9988 Querying the custom task panes.
09:39:54:579 2836 9988 Success.
09:39:54:580 2836 9988 Querying the ribbon extensibility.
09:39:54:580 2836 9988 Success.
09:39:54:580 2836 9988 Querying the form regions.
09:39:54:580 2836 9988 Success.
09:39:54:580 2836 9988 Querying the encryption provider.
09:39:54:581 2836 9988 The 'EncryptionProvider' interface is not supported.
09:39:54:581 2836 9988 Getting the dispid of the 'Dispose' method.
09:39:54:590 2836 9988 Success.
09:39:54:590 2836 9988 The instance of the managed add-in class has been created successfully.

Posted 27 Apr, 2017 04:51:09 Top
Andrei Smolin


Add-in Express team


Posts: 18827
Joined: 2006-05-11
Hello Phil,

I've created a new add-in project showing an ADXExcelTaskPane in the Top region. No custom code. I've opened four books in Excel 2013 15.0.4919.1002 32bit and closed them one by one with no issue. You can download the project at http://temp.add-in-express.com/support/MyAddin96-ExcelAdxTaskPaneNocode.zip. Does this or a similar add-in produces the same issue for you?


Andrei Smolin
Add-in Express Team Leader
Posted 27 Apr, 2017 06:35:31 Top
Phil Paul


Guest


Dear Andrei,

I am back in the office. Since the error shows only randomly on customers computers I will need to get back to you. I will ask them to install a simple clean add-in and do the testing. I expect that it will take some days to get back.

best,
Phil
Posted 02 May, 2017 08:53:24 Top
Andrei Smolin


Add-in Express team


Posts: 18827
Joined: 2006-05-11
Hello Phil,

Waiting.


Andrei Smolin
Add-in Express Team Leader
Posted 02 May, 2017 09:47:29 Top