From: SourceForge.net <no...@so...> - 2012-04-08 11:44:12
|
Bugs item #3512516, was opened at 2012-03-28 12:36 Message generated for change (Comment added) made by henryn You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=622063&aid=3512516&group_id=98788 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Crash / BSOD Group: v0.7.x (release) Status: Open Resolution: None Priority: 5 Private: No Submitted By: Lorne Sturtevant (dragor42) Assigned to: Nobody/Anonymous (nobody) Summary: Crash on coLinux start Initial Comment: coLinix is crashing when it's starting. My machine is Windows xp SP3. The crash only occurs when using a PAE kernel. If PAE is disabled, then it will not crash. I am using the 0.7.9 release and the Debian-6.0.1-squeeze.7z image. This crash is not consistent. I've created a little script that starts coLinux, waits, then kills it. It does this in a loop until it crashes. It will eventually crash, but it can be from as little as 10 tries upwards of 174 tries in the loop. I've attached the script, it's test.sh. I run this under cygwin. I've also tried this on two separate boxes, both are winxp sp3 without PAE. One box seems to crash quicker than the other, but they both eventually do it. I've attached one of the minidump files. From examining the dump files in windbg, they all appear the same. The crash is in a thread that's not running linux.sys. It always crashes at the nt!MiFreeInPageSupportBlock+0x2a. Let me know if there's any more testing/information I can gather to track this down. ---------------------------------------------------------------------- >Comment By: Henry N. (henryn) Date: 2012-04-08 04:44 Message: Testet 650 loops with Windows XP P2, 2048MB PAE (foreced with "/PAE" in boot.ini), and 200 loops with 5128 PAE, also Windwos XP SP2. All without crash. ---------------------------------------------------------------------- Comment By: Henry N. (henryn) Date: 2012-04-08 02:58 Message: Please try to run without "kill". Add "init=/sbin/halt" to colinux config, and remove the "kill" from test.sh. Additional add "export COLINUX_CONSOLE_EXIT_ON_DETACH=1" to the test.sh and remove the "-d". This lets see the boot process and close the console after every shut down. I also stored the count into file and have installed sync.exe to save it safely. (http://technet.microsoft.com/en-en/sysinternals/bb897438) It's running without problems since 100 loops now. === test.sh === #!/bin/bash export COLINUX_CONSOLE_EXIT_ON_DETACH=1 count=0 while true; do ((count++)) echo "$count" > /count.txt ./sync.exe sleep 2 echo "Executing $count" ./colinux-daemon.exe @squeeze.conf done === end === === squeeze.conf === kernel=vmlinux cobd0="E:\images\rootfs_2gb.img" cobd1="E:\images\swap_128mb.img" root=/dev/cobd0 ro initrd=initrd.gz mem=128 eth0=slirp init=/sbin/halt === end === ---------------------------------------------------------------------- Comment By: Henry N. (henryn) Date: 2012-04-08 01:39 Message: The analyze give not enough output for precise point into code. Have seen, that you stops colinux-damon with "kill -9" (SIGKILL). Does it also crash with normal termination "kill -15" (SIGTERM)? ---------------------------------------------------------------------- Comment By: Lorne Sturtevant (dragor42) Date: 2012-03-28 20:27 Message: I've added the fiiles you requested. I had previously downloaded all of the symbols from the large symbol pack. When I did that, the stack trace was showing that the crash was at nt!MiFreeInPageSupportBlock+0x2a. This time, setup the symbol path to download the symbols as needed. Now it's showing the crash at nt!KeBugCheck2+0x16. I think that is more accurate. I probably had the wrong symbols before. I've tried to use just the debian package and the 0.7.9 release with nothing modified. That should make my setup hopefully exactly the same as yours. As you can see in the config, 128MB of ram is allocated to coLinux and windows itself has 3.5GB of ram. I've run coLinux from cywin and from cmd.exe. I get crashes in both. ---------------------------------------------------------------------- Comment By: Henry N. (henryn) Date: 2012-03-28 16:45 Message: Post your file "squeeze.conf" here. How many MEM do you have installed in your machine and how many have configured for coLinux? Do you also use CygWin shell to start colinux-daemon under normal usage? ---------------------------------------------------------------------- Comment By: Henry N. (henryn) Date: 2012-03-28 16:38 Message: Hello Lorne, the dump file not helps. I have not sane of your binary files here. Please use WinDbg, load the dump and post the text output from "!analyze -v" here. Debuggers help page was moved, but the old link is still available: http://msdl.microsoft.com/download/symbols/debuggers/dbg_x86_6.7.05.1.exe ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=622063&aid=3512516&group_id=98788 |