- NSIS Discussion
- Crash in latest nsis20b4.exe
Archive: Crash in latest nsis20b4.exe
Konrad
17th September 2003 15:54 UTC
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
kichik
17th September 2003 16:08 UTC
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.
Konrad
21st September 2003 12:25 UTC
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.
kichik
21st September 2003 15:09 UTC
I need some more information:
- What is xpfprot.dll? I can't find a thing about it on the internet. Is it part of F-PROT?
- Does it happen on any other installers?
- Where exactly does it crash? Before .onGUIEnd? Before .onInstFailed/.onInstSuccess? During the last section? Use message boxes to find out.
- Does it happen on the uninstaller too?
Joost Verburg
21st September 2003 15:12 UTC
So you are running the F-PROT anti-virus software?
Did it work fine with previous snapshot and the same anti-virus software?
Konrad
21st September 2003 15:40 UTC
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
kichik
21st September 2003 15:45 UTC
iPod, good choice ;)
What about the other things?
Konrad
21st September 2003 15:52 UTC
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
kichik
21st September 2003 16:09 UTC
Try without the finish page too.
Konrad
21st September 2003 21:27 UTC
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
kichik
22nd September 2003 12:23 UTC
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.
Konrad
22nd September 2003 12:44 UTC
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
kichik
22nd September 2003 14:11 UTC
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.
Konrad
22nd September 2003 14:35 UTC
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
kichik
22nd September 2003 14:38 UTC
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.
kichik
22nd September 2003 14:55 UTC
Test the attached file too please.
Konrad
22nd September 2003 15:00 UTC
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
Konrad
22nd September 2003 15:02 UTC
There occurs no crash with the xplaycrash.exe. It only displays one messagebox with a filename and "Delete" as caption.
kichik
22nd September 2003 15:20 UTC
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.
Konrad
22nd September 2003 15:25 UTC
New zip file still doesn't crashs. Just displays 4 messageboxes.
The ESI value for thread 1 at crash is: 0x00000000
kichik
22nd September 2003 15:32 UTC
Finally got it to crash here too. I'll let you know what turns up.
kichik
22nd September 2003 16:56 UTC
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
kichik
23rd September 2003 22:35 UTC
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.