Skip to content
⌘ NSIS Forum Archive

NSIS on XP Checked build

6 posts

eric_thiebaut#

NSIS on XP Checked build

Hi,

I've been using NSIS 1 & 2 for a long time now on all versions of windows, and just tried this morning my NSIS 2-based installer on XP Checked build (debug build, available through MSDN subscription). As soon as the first file is extracted (actually, as soon as it's created, before it's expanded: new file size=0), the installer crashes and Dr Watson pops up. The error code is 0xC0000264, STATUS_RESOURCE_NOT_OWNED, which looks like NSIS is trying to free a resource it doesn't own. This is an error which is usually ignored by the retail version of XP, but which crashes the checked (debug) version.

I tried to debug it, but it looked like it happened in a LeaveCriticalSection called (it looks like the thread didn't own the CS???)

Anybody experienced this or knows what it could be?

Thanks!

Eric
Joost Verburg#
So you are using LZMA compression?

Try to compile the latest CVS version, the critical section is not used anymore.
eric_thiebaut#
Hi,

I had a look at the change logs for 2.01 but couldn't really see if this fix had been impacted. Could someone please confirm?

Thanks!

Eric