Archive: Crash in latest nsis20b4.exe


Crash in latest nsis20b4.exe
I just downloaded the nightly built NSIS. I extracted the archive and run !InstallNSIS.bat. The Installer starts correctly (after building it) and finishes the setup without problems. But then it crashes. Here are the details:

AppName: nsis20b4.exe
AppVer: 0.0.0.0
ModName: xpfprot.dll
ModVer: 1.1.0.0
Offset: 00001a8e

I use Windows XP SP1. Hope you find the bug soon and fix it. Just write if you need more information.

Regards
Konrad


Which version of makensis.exe are you using? Open CVS\Entries and look for a number such as 1.241 in the makensis.exe line.


I just downloaded the newest nightly built NSIS. The crash appears at exact the same time. The offset and modules are the same as in my first post.
The version number of makensis.exe I found in ENTRIES is 1.243.
Please help.
Konrad

P.S. Sorry for the late answer.


I need some more information:


So you are running the F-PROT anti-virus software?

Did it work fine with previous snapshot and the same anti-virus software?


XPFPROT.dll is a DLL of Mediafours XPlay. It is a DLL which grants access to Apples iPod. Don't know what the problem is...
The NSIS installer is the only one, which crashes. Anyway the crash doesn't seem to have any effect on the installation. It occurs after pressing the Finish button on the last page of the installer, no matter if Readme should be displayed or not (which actually works). My own installer written with NSIS doesn't crash.

I don't know if older setups did work, because I just installed XPlay.

Hope that helps.
Regards
Konrad


iPod, good choice ;)

What about the other things?


The other points you wanted to know:

It happens on the uninstaller, too.

Could you please send me an makensis.nsi which displays MessageBoxes in the critical methods, I can find out in which method the crash occurs.
Sorry but I don't have much time, otherwise I would do it on my own. I think it is only seconds for you because you know that code pretty well ;-)

Hope, we find that bug.
Konrad


Try without the finish page too.


It only crashes if a old version of NSIS is already installed. It crashes after the .onGUIEnd method. It crashes everytime after the uninstallation.

Regards Konrad


Try compiling with this one:

http://nsis.sf.net/makensis.zip

And test without the finish page too.

Can you also test with older setups? b3, b2, etc.


It crashes even if the installer doesn't use the Finish page after the message box "clean up $PLUGINSDIR".
You can download a free trial of XPlay at www.mediafour.com. You don't need an iPod to reproduce the error. I think that is a lot simpler, because you can then debug the setup.
If you need more help, just ask.

Regards Konrad


I'm afraid it doesn't work that way, my computer almost never crashes, including this case. Download the same zip again (updated) and try again. Let me know what's the last message box you see.


Juhu, you got it. The crash doesn't occur any more with this makensis.exe. I can see all message boxes (including the last "exiting process..."). What did you change?
Thank you very much.

Regards Konrad


It seems that DLL was expecting COM to still be initialized. I just made NSIS call the uninitialization after the SHFileOperation call so it will still have COM stuff ready when it tries to hook to our folder deletion.

Can you get it to crash again (using the old version) and attach the full crash report, including the registers, memory dump, etc.? I want to make a complete report for MediaFour and I need that information to do so.


Test the attached file too please.


I can only save a xml-file called appcompat.txt. The dmp-file which is created in the temp folder isn't accessible. I can't copy nor open it. When I close the crash dialog the file is automatically deleted. I can also not copy the technical details via copy and paste. How can I save that dump file without sending it to MS?

Thanks in advance
Konrad


There occurs no crash with the xplaycrash.exe. It only displays one messagebox with a filename and "Delete" as caption.


I will try to find a utility that allows you to copy from that window later. For now, I could do with the value of ESI. It should be listed below the DLLs list and before the memory dump.

Try the attached file please.


New zip file still doesn't crashs. Just displays 4 messageboxes.
The ESI value for thread 1 at crash is: 0x00000000


Finally got it to crash here too. I'll let you know what turns up.


I have uploaded a new version, with no debug information that should no longer crashed. I have also reported this to MediaFour:

http://forums.mediafour.com/showthre...&threadid=3202


MediaFour have fixed XPlay's part of this bug. I was told the fix will be included in the next version after it passes through QA.

Thank you Konard for your report.