Page 1 of 2

[2] InjectDll Dll failed initialization

Posted: Thu Feb 20, 2014 12:03 am
by ssj100
Unfortunately this DLL load issue still exists with version 4.09.1:
http://forums.sandboxie.com/phpBB3/view ... hp?t=15797

Re: 4.09 Beta Available (Latest Version 4.09.1)

Posted: Thu Feb 20, 2014 12:46 pm
by Curt@invincea
ssj100 wrote:Unfortunately this DLL load issue still exists with version 4.09.1:
http://forums.sandboxie.com/phpBB3/view ... hp?t=15797
We have gotten a few reports that this problem still exists. But, it seems to be intermittent. This is a high priority item now.

Please run the resource access monitor and see if something is being blocked when you try to inject your DLL.

Re: [2] InjectDll Dll failed initialization

Posted: Mon Feb 24, 2014 1:36 am
by ssj100
PM sent.

Re: [2] InjectDll Dll failed initialization

Posted: Mon Feb 24, 2014 2:08 pm
by Curt@invincea
I don't see anything interesting in your access monitor logs. If someone has a way to reproduce this every time, that would be very helpful. It appears to have something to do with sandboxing Windows "stations" and desktops. Resources are being depleted somehow.

Re: [2] InjectDll Dll failed initialization

Posted: Tue Feb 25, 2014 5:58 pm
by Curt@invincea
There are 2 different "Dll Initialization" problems.

1) The InjectDll setting was not working correctly. The Dll entry point (DllMain) was not being executed first, which caused many injected dll's to fail (even SbieDll.dll in some cases). Sometimes you would get a "CRT not initialized" error. This has been fixed in 4.09.01.
2) Intermittently, a sandboxed app will fail to initialize and return 0xC0000142 (STATUS_DLL_INIT_FAILED). This is an entirely different problem and is being researched now. It seems to be caused by a memory (or other resource) shortage.

Re: [2] InjectDll Dll failed initialization

Posted: Wed Feb 26, 2014 3:18 am
by ssj100
Thanks for the update. Hope it can be fixed soon.

Re: [2] InjectDll Dll failed initialization

Posted: Fri Feb 28, 2014 10:46 am
by DR_LaRRY_PEpPeR
Curt:

1) So IS InjectDll a general injection mechanism (like 3.x I think) or not, as tzuk told me? The InjectDll help page makes it sound like it is... And it still also includes this sentence fragment that doesn't make sense:

"Inject" means the DLL is


2) Does that have anything to do with why I (or others) have NEVER been able to run Explorer sandboxed in 4.x (Win 7 at least) with SRP (AppLocker?) DLL enforcement enabled? See here: http://forums.sandboxie.com/phpBB3/view ... 286#p90286

I just upgraded the Win 7 system where Sandboxie is never used to the latest beta (from 4.05.05!) and it's still the same. Yet another thing on the list that it sure would be nice to see fixed someday!

Re: [2] InjectDll Dll failed initialization

Posted: Fri Feb 28, 2014 12:57 pm
by Curt@invincea
1) Yes, InjectDll is a general mechanism for 3rd party Sandboxie add-ons. And we'll get rid of that sentence fragment.
2) Are you getting the same C0000142 error? We are still working on that one. I don't think it is related to AppLocker.

Also, the latest beta is 4.09.01

Re: [2] InjectDll Dll failed initialization

Posted: Fri Feb 28, 2014 1:21 pm
by DR_LaRRY_PEpPeR
1) OK, cool. Thanks for clarifying. :-)

2) Yeah, when trying to "Run Windows Explorer" while SRP's DLL enforcement is applied. See other user's post 2 above mine that I linked to and that's what I get, forever. I saw you're still still trying to figure things out, just wondered if any change may fix that error code in my case too!


Of course ;^) -- I've installed almost every version since 4.01.01 (usually on XP). I was just stating that 4.05.05 was the last version I had tried on that system (HTPC).

Re: [2] InjectDll Dll failed initialization

Posted: Fri Feb 28, 2014 3:32 pm
by ssj100
That's interesting, because I use SRP with DLL enforcement too in a Limited User Account. However, I use SuRun to elevate privilege of the loaded DLL while loading it sandboxed. Perhaps since Sandboxie versions 4+ has the "lower rights can't access higher rights" thing, it blocks SuRun's job? But then I shouldn't be able to run the loader executable (which loads the DLL) either.

Re: [2] InjectDll Dll failed initialization

Posted: Fri Apr 04, 2014 5:18 pm
by ssj100
Still unresolved with 4.09.02.

Re: [2] InjectDll Dll failed initialization

Posted: Fri Apr 04, 2014 5:43 pm
by Curt@invincea
ssj100 wrote:Still unresolved with 4.09.02.
Can you PM me a link to your files so I can repro this?

Re: [2] InjectDll Dll failed initialization

Posted: Fri Apr 04, 2014 7:53 pm
by ssj100
Curt@invincea wrote:
ssj100 wrote:Still unresolved with 4.09.02.
Can you PM me a link to your files so I can repro this?
I can e-mail you? I tried the support e-mail about 6 weeks ago, but got no reply. I basically forwarded the e-mail correspondence I had with tzuk. To be honest, from what tzuk said, I don't think it's fixable unless you re-write half the code in version 4 - tzuk really changed the internal mechanisms from version 3 to 4 big time. I'm pretty sure it's related to the lower/higher rights hierarchy mechanism that was introduced. It's basically sacrificing usability for more security. And I'm really over "security" now - I can't get infected even if I try haha.

Re: [2] InjectDll Dll failed initialization

Posted: Thu May 08, 2014 1:15 am
by jmonge
isit fixed?

Re: [2] InjectDll Dll failed initialization

Posted: Fri May 09, 2014 8:35 pm
by Curt@invincea
Please try 4.9.5. We have not had any reports of this problem in a while.