We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

mstarnaud
Posts: 45
Joined: Mon Apr 15, 2013 9:44 pm

Error when deleting SQL query

Hi

I just downloaded AI 10.1 and ran into a bug. If I create an SQL connection, then add an SQL query (do not change anything in it) and delete the SQL query, I run into this error :
[SEH_AV_WRITE_BADPTR] ACCESS_VIOLATION (0xc0000005) at address [0x0034003a]

Advanced Installer 10.1 build 51253
*** Stack Trace (x86) ***

[0x0034003a] -----
[0x13a60530] -----
[0x0175eb65] -----
[0x01786823] -----
[0x01798fc2] -----

The error pops up 4 times in a row. After the 4th time, the query is deleted as expected and nothing seems broken for now. I think it only happens when deleting the last query in case I have multiple ones, and the error message also pops up less times (usually 2).
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error when deleting SQL query

Hello,

I've tested your scenario but I cannot reproduce the behavior. Can you attach a sample which reproduces the behavior or can you give us a detailed step by step test case scenario so we can be able to reproduce and investigate this?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mstarnaud
Posts: 45
Joined: Mon Apr 15, 2013 9:44 pm

Re: Error when deleting SQL query

This was mostly an FYI, since it didn't break anything and didn't prevent me from moving forward. However, now that I'm trying to reproduce the bug in a new or old project, I can't reproduce it anymore. Even in the original project in which this was happening (but since then I added some SQL scripts to that project). But it did happen more than once, as shown by my ability to tell it was related to the last item. So I guess there must be an external factor somehow, and I can't reproduce it either, sorry. On the other hand, I'm also glad it doesn't happen anymore.

As for the steps, it was simply adding a pre-defined connection, adding SQL queries under it and deleting the queries. If I added more queries and deleted them, it would happen again.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error when deleting SQL query

Hello,

I'm not sure what caused this behavior. However, I'm glad you got this working.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”