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

sampledll causes an error when client.exe exits #62

Open
pber opened this issue Sep 20, 2019 · 4 comments
Open

sampledll causes an error when client.exe exits #62

pber opened this issue Sep 20, 2019 · 4 comments

Comments

@pber
Copy link

pber commented Sep 20, 2019

client's job works well, but on exit a popup inform me about an error
and a CormanLisp_Dump.log is flushed.
If it helps: this is the very first lines

The operating system has reported a memory access violation at the address 00000008.

Registers:
EAX: 00000000
{Integer: 0}
EBX: 4326fba4
{Warning: Unknown or untagged value: 4326fba4}
ECX: 00000000
{Integer: 0}
EDX: 03070005
{Symbol: NIL}
ESI: 0084a078
{Integer: 10940f}
EDI: 03070005
{Symbol: NIL}
ESP: 4326fb60
EBP: 4326fb68
EIP: 520de44c

@pber
Copy link
Author

pber commented Sep 22, 2019

it is related to GC. it finds "incorrect uvectors".

@arbv
Copy link
Member

arbv commented Sep 23, 2019

Well, it is hard to say what is going on without knowing exactly what your application does.

@pber
Copy link
Author

pber commented Sep 23, 2019

:-) sampledll.lisp has a C++ counterpart: dllclient, which uses the 2 ways for loading a DLL.
In both cases the error occurs.

I tryied also another way: I saved a new image containing a c-callback. Then call the Initialize of CormanLispServer a try to obtain the callback address through GetCallbackFunctionPointer.
In this case I get just nothing :-) but the errors on GC still blocks.

Anyway the same message about bad uvectors can be seen in DbgView just working with the ide.
So my issue is not strictly related with external callacks. Not only.

@pber
Copy link
Author

pber commented Sep 23, 2019

I forgot: I compile (the external code wich try to use CCL services) with GCC, not VC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants