Google-Code-Fork / tibiaapi

Automatically exported from code.google.com/p/tibiaapi
MIT License
0 stars 0 forks source link

DLL not uninjecting correctly #152

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start an application using the dll
2. Close the application; the dll will go though the uninjection sequence
3. Start the application again

What is the expected output? What do you see instead?

The application started the second time should work the same as the first
time, and the injected dll should not be in use at all by the client.
Instead, the application hangs waiting for the pipe, and the file
TibiaAPI_Inject.dll is still being used by the client.

Original issue reported on code.google.com by ian320 on 26 May 2009 at 3:10

GoogleCodeExporter commented 9 years ago

Original comment by ian320 on 26 May 2009 at 3:11

GoogleCodeExporter commented 9 years ago
This seems to be happening only on release mode. Can you verify if you have this
issue on debug mode as well?

Original comment by geancarl...@gmail.com on 4 Jul 2009 at 4:11

GoogleCodeExporter commented 9 years ago
The release mode had CLR support on its settings which loaded a bunch of JIT 
and .net
assemblies in tibia with few other threads. So only one thread was exited when 
we
tried to uninject causing this issue.

Original comment by geancarl...@gmail.com on 23 Jul 2009 at 12:33

GoogleCodeExporter commented 9 years ago
Ahh awesome, nice catch. I will have to try this out when I get some time!

Original comment by ian320 on 23 Jul 2009 at 9:57