Old 25th March 2004, 13:01   #1
zimsms
Senior Member
 
zimsms's Avatar
 
Join Date: Jan 2004
Location: London, Ontario, Canada
Posts: 272
MUI_DIRECTORY crash on NT 4SP6a?

Hello Everyone!,

I'm having an issue that only occurs on Windows NT4. When I run the Basic example that is included with NSIS it reproduces the problem. The problem is when I click the next button on the components screen to go to the directory screen I get an access violation error and the installer aborts.

What is causing this behaviour? If I remark the call to insert the directory page, the issue doesn't occur, but I'd like my end-user to be able to define the install dir.

NSIS 2.0 (from CVS 2004/03/24 4pm EST)
NT 4 SP 6a


Any help would be appreciated.

Cheers,

ZIMSMS
zimsms is offline   Reply With Quote
Old 25th March 2004, 14:25   #2
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
Please try the stable 2.0 release.
Joost Verburg is offline   Reply With Quote
Old 25th March 2004, 14:29   #3
zimsms
Senior Member
 
zimsms's Avatar
 
Join Date: Jan 2004
Location: London, Ontario, Canada
Posts: 272
Joost,

I can't use the stable one, because of the browse install bug you fixed for me. This was fine in the stable release, it's in the 'special one'.
zimsms is offline   Reply With Quote
Old 25th March 2004, 14:42   #4
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
So it's a problem with the development version? Can you help us finding out when the problem was introduced?
Joost Verburg is offline   Reply With Quote
Old 25th March 2004, 14:48   #5
zimsms
Senior Member
 
zimsms's Avatar
 
Join Date: Jan 2004
Location: London, Ontario, Canada
Posts: 272
I have one compiled on March 2 which works before the browse fix, and one on the 11th that doesn't. So it looks like it was introduced on the 2nd because that's when I built with the changes you gave me for the browse installation bug. I also have one built on the second a few hours after the other that doesn't work but has the browse fix, so that has to be it. I hope that helps.
zimsms is offline   Reply With Quote
Old 26th March 2004, 15:40   #6
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
What's the exact error mesasge shown?

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 26th March 2004, 15:55   #7
zimsms
Senior Member
 
zimsms's Avatar
 
Join Date: Jan 2004
Location: London, Ontario, Canada
Posts: 272
Here's an image of the error.
Attached Images
File Type: png error.png (3.6 KB, 263 views)
zimsms is offline   Reply With Quote
Old 26th March 2004, 16:02   #8
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
What's the error without Dr. Watson? Can you get a stack trace (WinDbg.exe, VC, etc.)?

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 26th March 2004, 17:21   #9
zimsms
Senior Member
 
zimsms's Avatar
 
Join Date: Jan 2004
Location: London, Ontario, Canada
Posts: 272
I apologize, but there is no development environment on our nt4 box. However, here is the dr watson log. I made sure it was empty before creating the crash. I used basic.exe (basic.nsi) to do this.


[attached below]
zimsms is offline   Reply With Quote
Old 26th March 2004, 17:24   #10
zimsms
Senior Member
 
zimsms's Avatar
 
Join Date: Jan 2004
Location: London, Ontario, Canada
Posts: 272
Looks like GetDiskFreeSpaceExW, isn't supported on NT4 using unicows.dll?
zimsms is offline   Reply With Quote
Old 26th March 2004, 17:32   #11
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
No, GetDiskFreeSpaceExW is supported on NT4. The problem is probably wrong documentation in MSDN. It looks like GetDiskFreeSpaceExW doesn't check if one of its parameters is NULL like MSDN says it should.

Please attach large files/logs next time.
Attached Files
File Type: zip nt4.log.zip (48.2 KB, 226 views)

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 26th March 2004, 17:40   #12
zimsms
Senior Member
 
zimsms's Avatar
 
Join Date: Jan 2004
Location: London, Ontario, Canada
Posts: 272
Kichik,

Sorry, I tried to attach it as a file, but it was too big. I guess I could have compressed it, my apologies. When should this be fixed?
zimsms is offline   Reply With Quote
Old 24th April 2004, 19:12   #13
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Fixed in latest CVS version.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 29th April 2004, 19:34   #14
mrtech
Junior Member
 
Join Date: Oct 2002
Posts: 46
Tried the latest dev build, but I'm still seeing this crash on NT systems, any help?
mrtech is offline   Reply With Quote
Old 29th April 2004, 19:43   #15
zimsms
Senior Member
 
zimsms's Avatar
 
Join Date: Jan 2004
Location: London, Ontario, Canada
Posts: 272
Even though you have the latest CVS, it is not in the included binaries. You will need to rebuild.
zimsms is offline   Reply With Quote
Old 29th April 2004, 20:20   #16
mrtech
Junior Member
 
Join Date: Oct 2002
Posts: 46
??, the latest Dev Snaphost is 4/29 the patch was checked in 4/24. I've downloaded the dev snapshot, installed it, rebuilt my installer and tested with no success.

What am I doing wrong here?
mrtech is offline   Reply With Quote
Old 29th April 2004, 22:08   #17
pengyou
Major Dude
 
Join Date: Mar 2003
Posts: 571
"Even though you have the latest CVS, it is not in the included binaries. You will need to rebuild."

This refers to rebuilding the NSIS compiler (makensis.exe), not rebuilding your script.

If you cannot rebuild the NSIS compiler, you'll need to wait until a new binary version of it is available.

You can check the Changelog (http://nsis.sourceforge.net/development/changelog/) to see if a new NSIS compiler (makensis.exe) is available.
pengyou is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump