Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DispCallFunc crash (CNamespaceWalk Demo) #1105

Open
Kr00l opened this issue Aug 14, 2022 · 2 comments
Open

DispCallFunc crash (CNamespaceWalk Demo) #1105

Kr00l opened this issue Aug 14, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@Kr00l
Copy link
Collaborator

Kr00l commented Aug 14, 2022

Describe the bug
The demo project https://www.vbforums.com/showthread.php?897328-VB6-VBA7-CNamespaceWalk-(Using-the-INamespaceWalk-interface) crashes in tB at a call to INamespace::Walk.
The demo project uses no tlb. So the crash happens in the VTableCall wrapper (DispCallFunc)

To Reproduce
Run demo project

Expected behavior
VB6 and VBA7 do run. (32 or 64 bit)
So I bet something tiny happens wrong in tB.

Screenshots
n/a

Desktop (please complete the following information):

  • OS: [e.g. Windows 10]
  • twinBASIC compiler version [e.g. 0.9.1111]

Additional context
The crash happens with or without a INamespaceWalkCB callback.

@WaynePhillipsEA
Copy link
Collaborator

Fixed in BETA 92, thanks!

@Kr00l
Copy link
Collaborator Author

Kr00l commented Aug 20, 2022

Just wanted to point out the crash below. It's not a big deal at all as it just happens when toggling between win32 and win64..
I re-open for that case. If it can't be fixed just close again.

image

So to replicate: (test.twinproj)
First open the below test project. Run it on win32 (important to run first) after that successfull run toggle to win64 (restart compiler if you want) then the error happens.
It won't happen if it get's toggled to win64 before any run before happened.
test.zip

@Kr00l Kr00l reopened this Aug 20, 2022
@Kr00l Kr00l added the bug Something isn't working label Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants