Zsolt Kollarits
Posts: 340
Joined: Fri May 29, 2015 10:36 am

Crash in AI 20.0

Tue Nov 15, 2022 4:54 pm

Dear Advanced Installer Support Team,

Probably I found a bug in AI 20.0, please try to do the following:
1. create a new Messagebox custom action
2. move it to somewhere at Wizard Dialogs Stage
3. try to move it to the topmost position of Wizard Dialog Stage -> error occurs -> see the attached screenshot

I managed to reproduce it several times, it happens even if I reopened AI. If I do the same in AI 19.7 no error occurs.

Best regards,
Zsolt
Attachments
AI_bug.png
AI_bug.png (79.76KiB)Viewed 7572 times

Liviu
Posts: 1035
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: Crash in AI 20.0

Wed Nov 16, 2022 9:53 am

Hello Zsolt,

I investigated it and tried to reproduce the behavior, but I was not able to replicate it.

I also forwarded this to our QA team so they could investigate this, but they couldn't reproduce it either.

Can you please send us the .AIP (setup project) file and a test case for your project, by email to support at advancedinstaller dot com so we can further test and investigate this?

Looking forward to hearing from you.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

MGS
Posts: 83
Joined: Tue Oct 04, 2022 9:52 am

Re: Crash in AI 20.0

Wed Nov 16, 2022 10:13 am

Hi Liviu,

I ran into a similar issue just now.
Here the steps to reproduce:
  1. SQL Databases View:
  2. Rightclick on Database Server
  3. New SQL Operation - Test SQL Connection
  4. Click on "Run in UI Sequence: Scheduled Action" to create a related Custom Action
  5. Right click on the freshly created custom action called "TestODBCConnection" and delete it.
And here the stacktraces.

The first time I tried those steps the access violation occured right after Step 5:

Code: Select all

[SEH_AV_READ_BADPTR] ACCESS_VIOLATION (0xc0000005) at address [0x013f6add]

Advanced Installer 20.0 build e4706cc2
*** Stack Trace (x86) ***

[0x013f6add]  -----
[0x01c61a2b]  -----
[0x0265792e]  -----
[0x0185b7d9]  -----
[0x01a15d69]  -----
[0x02eee30d]  -----
[0x01c61c5c]  -----
[0x01a15d05]  -----
[0x01b388e8]  -----
[0x01a15d05]  -----
[0x022dff3c]  -----
[0x1001165f]  HTMLayoutDialog()
[0x10013452]  HTMLayoutGetElementState()
[0x022db955]  -----
[0x1000200a]  -----
[0x0140dbd9]  -----
[0x1000ffa1]  HTMLayoutProcessUIEvent()
[0x1000fe46]  HTMLayoutProcessUIEvent()
[0x10045145]  ValueInvoke()
[0x10005e5a]  -----
[0x10009f93]  HTMLayoutProcND()
[0x1000a9b1]  HTMLayoutProcW()
[0x76d1137b]  AddClipboardFormatListener()
[0x76d0833a]  GetClassLongW()
[0x76d07a07]  GetSystemMetricsForDpi()
[0x76d05bab]  CallWindowProcW()
[0x013f7166]  -----
[0x740a589f]  -----
[0x76d1137b]  AddClipboardFormatListener()
[0x76d0833a]  GetClassLongW()
[0x76d0609a]  DispatchMessageW()
[0x76d05e60]  DispatchMessageW()
[0x01415fef]  -----
[0x0165d6f8]  -----
[0x01416b00]  -----
[0x02ec8e98]  -----
[0x7520fef9]  BaseThreadInitThunk()
[0x770f7bbe]  RtlGetAppContainerNamedObjectPath()
[0x770f7b8e]  RtlGetAppContainerNamedObjectPath()
[0x00fe0000]  MODULE_BASE_ADDRESS
The second time I tried this the access violation occured already at step 3:

Code: Select all

[SEH_AV_READ_BADPTR] ACCESS_VIOLATION (0xc0000005) at address [0x013f6add]

Advanced Installer 20.0 build e4706cc2
*** Stack Trace (x86) ***

[0x013f6add]  -----
[0x01c61a2b]  -----
[0x0265792e]  -----
[0x0185b7d9]  -----
[0x01a15d69]  -----
[0x0189af7d]  -----
[0x01a0bd26]  -----
[0x017cfa5a]  -----
[0x017cf466]  -----
[0x01e67323]  -----
[0x014007b8]  -----
[0x014a7537]  -----
[0x018b09a8]  -----
[0x77117bc4]  RtlGetNtGlobalFlags()
[0x02ec87dd]  -----
[0x02ed469d]  -----
[0x018ae0c2]  -----
[0x02ec87dd]  -----
[0x013f6b53]  -----
[0x01e0c618]  -----
[0x01e653a0]  -----
[0x02828c71]  -----
[0x0282892d]  -----
[0x0281d263]  -----
[0x0281d177]  -----
[0x01449097]  -----
[0x013f7147]  -----
[0x740a1836]  -----
[0x76d1137b]  AddClipboardFormatListener()
[0x76d0833a]  GetClassLongW()
[0x76d07a07]  GetSystemMetricsForDpi()
[0x76d05bab]  CallWindowProcW()
[0x7368b5eb]  DllGetClassObject()
[0x740a18d6]  -----
[0x76d1137b]  AddClipboardFormatListener()
[0x76d0833a]  GetClassLongW()
[0x76d0609a]  DispatchMessageW()
[0x76d05e60]  DispatchMessageW()
[0x01415fef]  -----
[0x0165d6f8]  -----
[0x01416b00]  -----
[0x02ec8e98]  -----
[0x7520fef9]  BaseThreadInitThunk()
[0x770f7bbe]  RtlGetAppContainerNamedObjectPath()
[0x770f7b8e]  RtlGetAppContainerNamedObjectPath()
[0x00fe0000]  MODULE_BASE_ADDRESS
The third time I tried this I couldn't reproduce it. So that was strange. Hopefully the stracktraces can help you to track that problem down.

Best regards,
Johannes

Zsolt Kollarits
Posts: 340
Joined: Fri May 29, 2015 10:36 am

Re: Crash in AI 20.0

Wed Nov 16, 2022 1:42 pm

Hi,

I've just sent our .aip via email.

Best regards,
Zsolt

Liviu
Posts: 1035
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: Crash in AI 20.0

Thu Nov 17, 2022 2:07 pm

Hello guys,

I replied to Zsolt by email.

@Johannes, I'm still not able to reproduce this issue on a sample project. As it looks like, this may be related to the settings on your machine.

Are you able to reproduce this on a sample project or existing one?

In order for me to further investigate this, can you please export the following registry keys:

1. HKEY_CURRENT_USER\SOFTWARE\Caphyon
2. HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Caphyon

and send them to me along with your .AIP (setup project) file by email to support at advancedinstaller dot com?

As a possible solution, you can try to remove the following registry keys (also perform a backup first):

HKEY_CURRENT_USER\Software\Caphyon
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Caphyon

After you remove these, reinstall Advanced Installer.

Let me know if that helped.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Zsolt Kollarits
Posts: 340
Joined: Fri May 29, 2015 10:36 am

Re: Crash in AI 20.0

Fri Nov 18, 2022 9:19 am

Hi Liviu,

I removed the regkeys you proposed and re-installed AI 20.0 and I'm not able to reproduce the problem anymore. Thanks for the hints :)

Best regards,
Zsolt

Liviu
Posts: 1035
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: Crash in AI 20.0

Fri Nov 18, 2022 12:11 pm

Hi Zsolt,

Thank you for your follow-up on this.

I'm glad the solution worked.

Also, this issue occurs if you previously were on the Dialogs page and then move to the Custom Action page.

This was already fixed by our development team. The fix will be included in our next release.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: Crash in AI 20.0

Mon Nov 28, 2022 2:53 pm

Hello,

This has been fixed in version 20.1.1 of Advanced Installer.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”