Page 1 of 1

BSOD when downloading large files

Posted: Fri Jan 06, 2017 12:27 am
by osuser25
I have been testing ReactOS using Virtualbox.

I was downloading a large file using the Opera browser when the program started hanging up/freezing. I managed to use task manger and kill the program, but the same issue eventually happened.

Then I got a BSOD, I restarted the OS in virtualbox, and retried downloading and got same BSOD.

I was using the nightly build (bootcd-73503-dbg-msvc.iso).

[ external image ]

I have noticed similar issues with Firefox and large downloads also. Not sure if this is enough information, just posting it to see if it helps you guys out.

Re: BSOD when downloading large files

Posted: Fri Jan 06, 2017 12:52 am
by osuser25
Here's another while downloading. [ external image ]

Re: BSOD when downloading large files

Posted: Fri Jan 06, 2017 11:00 am
by Fraizeraust
You have got to debug the issue and capture the debug logs to see what actually happened during the "large" installation of a file on Opera Browser. There you can find lots of information in the link below:
https://reactos.org/wiki/Debugging

Afterwards you should also report that to ReactOS JIRA since the STOP sign triggered on NTSOKRNL.EXE which is a kernel executable related so the developers can take a look at it.

Re: BSOD when downloading large files

Posted: Fri Jan 06, 2017 1:44 pm
by menuhin
Is it VM when VM then increase more RAM if possible.

Re: BSOD when downloading large files

Posted: Fri Jan 06, 2017 11:09 pm
by osuser25
Fraizeraust wrote:You have got to debug the issue and capture the debug logs to see what actually happened during the "large" installation of a file on Opera Browser. There you can find lots of information in the link below:
https://reactos.org/wiki/Debugging

Afterwards you should also report that to ReactOS JIRA since the STOP sign triggered on NTSOKRNL.EXE which is a kernel executable related so the developers can take a look at it.

I tried logging with minicom, but most of the time I get a blank or at most a 1 byte file.

Would the logs that VBox itself generates be any good?

The size of the file I am downloading is 1.4gig, but it usually hangs/crashes a few times per download so I am sure an even smaller file (few hundred megs) might also replicate.

Re: BSOD when downloading large files

Posted: Fri Jan 06, 2017 11:52 pm
by Pi_User5
You said that you were using -msvc.iso

You can only use Windbg on an msvc iso. There's your problem. Use a gcc build to use anything other than Windbg.

Re: BSOD when downloading large files

Posted: Sat Jan 07, 2017 12:32 am
by osuser25
Pi_User5 wrote:You said that you were using -msvc.iso

You can only use Windbg on an msvc iso. There's your problem. Use a gcc build to use anything other than Windbg.
OK I will use the other debug version.

I opened a bug ticket: https://jira.reactos.org/browse/CORE-12633

Here is an interesting screenshot of some type of memory or corruption issue in browser as it started to hang.

[ external image ]

Re: BSOD when downloading large files

Posted: Sat Jan 07, 2017 9:52 pm
by LuxenDM
Just wondering, around how much data is downloaded before ROS complains?

Re: BSOD when downloading large files

Posted: Sun Jan 08, 2017 12:01 am
by osuser25
LuxenDM wrote:Just wondering, around how much data is downloaded before ROS complains?
Browser started hanging up after only 68.5 Megs downloaded this time.

Here is my setup for VirtualBox, if something is wrong there tell me.

[ external image ]

Re: BSOD when downloading large files

Posted: Sun Jan 08, 2017 4:29 am
by osuser25
I met s guy on the IRC channel called Luxen, and him and I did some investigation together.

As you can see above my network setting for VBox was NAT, Luxen had theirs set to Bridged adaptor, so I tried that,

Bridged adaptor seems to slow my network connection a lot, but I had no hangs or BSOD, I did how ever have download
errors, but that might be my own network. It seems that Bridged adaptor is the ideal setting for ROS.

Re: BSOD when downloading large files

Posted: Sun Jan 08, 2017 4:38 am
by LuxenDM
Whatever caused your issues likely is being triggered by something else, just related to downloading large files (or maybe ReactOS being sent a lot of data too quickly?), but i was glad to find a way to prevent the bsod for now (hopefully).


Also, found out from a freindly guy on cemetech.net why nat is faster than bridged:
oldmud0 wrote: 10:20:34 PM [#] [oldmud0] Since in bridged mode the physical nic has to represent multiple machines and the vm host has to follow the packet all the way to the physical nic, whereas in nat it makes kind of a virtual router/switch, and then past the virtual router/switch the operating system takes care of everything else