Discussion:
[ros-bugs] [jira] (CORE-14601) REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
Illen (JIRA)
2018-05-07 13:14:00 UTC
Permalink
Illen created CORE-14601:
----------------------------

Summary: REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Reporter: Illen
Assignee: Bug Zilla
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png

ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-766-g6dd27bd. Tested in VirtualBox 5.2.8.



--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
HBelusca (JIRA)
2018-05-07 13:42:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=103856#comment-103856 ]

HBelusca commented on CORE-14601:
---------------------------------

[~Illen]: I barely see how 0.4.9-dev-766-g6dd27bd could be guilty since this corresponds to a mere commit in cmd.exe which has strictly nothing to do with the bug you encounter. Please verify the few commits before that one.
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Reporter: Illen
Assignee: Bug Zilla
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-766-g6dd27bd. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Illen (JIRA)
2018-05-07 14:09:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=103859#comment-103859 ]

Illen commented on CORE-14601:
------------------------------

[~hbelusca] That's what I got from other user, he reported that 766 is a guilty revision, but since it is a race condition, he could be wrong. I tested previous commits, and to me, revision 762 definitely is a guilty one.
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Reporter: Illen
Assignee: Bug Zilla
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-766-g6dd27bd. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Serge Gautherie (JIRA)
2018-05-07 14:08:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=103858#comment-103858 ]

Serge Gautherie commented on CORE-14601:
----------------------------------------

??get a backtrace and attach screenshots??

Please, attach a screenshot of before you type "bt" too.

---

??0.4.9-dev-766-g6dd27bd??

I concur with Hermès.
Isn't it only the build you tried?
Which is the last previous build (you tried) that worked?

Also, there were some more Cc commits since that "8 days ago" commit.
Did (not) they fix this issue?
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Reporter: Illen
Assignee: Bug Zilla
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-766-g6dd27bd. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Illen (JIRA)
2018-05-07 14:18:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=103860#comment-103860 ]

Illen commented on CORE-14601:
------------------------------

[~Serge Gautherie] It is not fixed in latest builds. I can't take a screenshot before the debugger entrance, everything is erased. The last working build is 0.4.9-dev-761-g2ea6de8.
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Reporter: Illen
Assignee: Bug Zilla
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-766-g6dd27bd. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Auron (JIRA)
2018-05-07 14:06:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=103857#comment-103857 ]

Auron commented on CORE-14601:
------------------------------

"Failed to lock the DC"
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Reporter: Illen
Assignee: Bug Zilla
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-766-g6dd27bd. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
HBelusca (JIRA)
2018-05-07 13:39:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=103855#comment-103855 ]

HBelusca commented on CORE-14601:
---------------------------------

This looks like some race condition in Cc; cc [~Heis Spiter].
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Reporter: Illen
Assignee: Bug Zilla
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-766-g6dd27bd. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
HBelusca (JIRA)
2018-05-07 14:20:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=103861#comment-103861 ]

HBelusca commented on CORE-14601:
---------------------------------

By definition, a "guilty revision" is a revision that *introduces* the problem/bug. So it's not just a random revision that exhibits the bug.
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Reporter: Illen
Assignee: Bug Zilla
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-766-g6dd27bd. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Illen (JIRA)
2018-05-07 14:30:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Illen updated CORE-14601:
-------------------------
Description: ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g6dd27bd. Tested in VirtualBox 5.2.8. (was: ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-766-g6dd27bd. Tested in VirtualBox 5.2.8.)
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Reporter: Illen
Assignee: Bug Zilla
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g6dd27bd. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Illen (JIRA)
2018-05-07 14:31:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Illen updated CORE-14601:
-------------------------
Description: ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8. (was: ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g6dd27bd. Tested in VirtualBox 5.2.8.)
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Reporter: Illen
Assignee: Bug Zilla
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Illen (JIRA)
2018-05-07 18:02:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=103863#comment-103863 ]

Illen commented on CORE-14601:
------------------------------

I'm aware of that. I noticed that the reproducibility depends from the host CPU speed, the faster CPU is, the more chance is that ReactOS will fail to boot. That's why ReactOS could boot up successfully without VT-x (VM works slower without that) or with "Debug" option (ReactOS works slower when debugging is enabled). So anyone who has a fast CPU will experience this issue.
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Reporter: Illen
Assignee: Bug Zilla
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Pierre Schweitzer (JIRA)
2018-05-09 20:58:01 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre Schweitzer updated CORE-14601:
-------------------------------------
Attachment: kvm_translated
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, backtrace_translated.log, cc_push_lock.diff, kvm_translated, qemu_bt1.png, qemu_bt2.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Pierre Schweitzer (JIRA)
2018-05-12 10:29:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=103966#comment-103966 ]

Pierre Schweitzer commented on CORE-14601:
------------------------------------------

Committed FastFAT stack overflow support as in 3807833.
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, VirtualBox_ReactOS_10_05_2018_19_08_45.png, backtrace_translated.log, backtrace_translated2.log, backtrace_translated3.log, cc_push_lock.diff, disasm, fastfat_stackoverflow.diff, fastfat_stackoverflow.diff, kvm_translated, kvm_translated, qemu_bt1.png, qemu_bt1.png, qemu_bt2.png, qemu_bt2.png, stack_dump.zip
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Illen (JIRA)
2018-05-12 10:22:03 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=103965#comment-103965 ]

Illen commented on CORE-14601:
------------------------------

Attached the manual stack dump (done as mentioned above). Note that these screenshots do not cover everything.
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, VirtualBox_ReactOS_10_05_2018_19_08_45.png, backtrace_translated.log, backtrace_translated2.log, backtrace_translated3.log, cc_push_lock.diff, disasm, fastfat_stackoverflow.diff, fastfat_stackoverflow.diff, kvm_translated, kvm_translated, qemu_bt1.png, qemu_bt1.png, qemu_bt2.png, qemu_bt2.png, stack_dump.zip
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Illen (JIRA)
2018-05-12 10:22:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Illen updated CORE-14601:
-------------------------
Attachment: stack_dump.zip
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, VirtualBox_ReactOS_10_05_2018_19_08_45.png, backtrace_translated.log, backtrace_translated2.log, backtrace_translated3.log, cc_push_lock.diff, disasm, fastfat_stackoverflow.diff, fastfat_stackoverflow.diff, kvm_translated, kvm_translated, qemu_bt1.png, qemu_bt1.png, qemu_bt2.png, qemu_bt2.png, stack_dump.zip
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Pierre Schweitzer (JIRA)
2018-05-12 09:08:01 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre Schweitzer updated CORE-14601:
-------------------------------------
Attachment: fastfat_stackoverflow.diff
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, VirtualBox_ReactOS_10_05_2018_19_08_45.png, backtrace_translated.log, backtrace_translated2.log, backtrace_translated3.log, cc_push_lock.diff, disasm, fastfat_stackoverflow.diff, fastfat_stackoverflow.diff, kvm_translated, kvm_translated, qemu_bt1.png, qemu_bt1.png, qemu_bt2.png, qemu_bt2.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Thomas Faber (JIRA)
2018-05-12 06:33:01 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=103962#comment-103962 ]

Thomas Faber commented on CORE-14601:
-------------------------------------

Those uniata functions do seem to use a bit more stack than what we saw in the other backtraces. Printing out ebp again could indicate whether that's the problem.

However if, as before, the stack only has one page of stack, it's doomed to fail anyway. So finding out why that happens (are we being called from a WndProc, so win32k already ate up all the stack?) would be key. I'm also not sure why we can't see past KiInterruptTemplateHandler. Perhaps getting a manual stack dump (x esp L 800 or some such) would tell us more.
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, VirtualBox_ReactOS_10_05_2018_19_08_45.png, backtrace_translated.log, backtrace_translated2.log, backtrace_translated3.log, cc_push_lock.diff, disasm, fastfat_stackoverflow.diff, kvm_translated, kvm_translated, qemu_bt1.png, qemu_bt1.png, qemu_bt2.png, qemu_bt2.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Pierre Schweitzer (JIRA)
2018-05-11 19:17:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=103955#comment-103955 ]

Pierre Schweitzer commented on CORE-14601:
------------------------------------------

Heh. [~ThFabba], any thoughts on that one?
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, VirtualBox_ReactOS_10_05_2018_19_08_45.png, backtrace_translated.log, backtrace_translated2.log, backtrace_translated3.log, cc_push_lock.diff, disasm, fastfat_stackoverflow.diff, kvm_translated, kvm_translated, qemu_bt1.png, qemu_bt1.png, qemu_bt2.png, qemu_bt2.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Illen (JIRA)
2018-05-10 18:11:31 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=103936#comment-103936 ]

Illen commented on CORE-14601:
------------------------------

I still can reproduce the similar issue, however, the reproducibility is much lower than before, and backtrace looks different.
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, VirtualBox_ReactOS_10_05_2018_19_08_45.png, backtrace_translated.log, backtrace_translated2.log, backtrace_translated3.log, cc_push_lock.diff, disasm, fastfat_stackoverflow.diff, kvm_translated, kvm_translated, qemu_bt1.png, qemu_bt1.png, qemu_bt2.png, qemu_bt2.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Illen (JIRA)
2018-05-10 18:11:02 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Illen updated CORE-14601:
-------------------------
Attachment: backtrace_translated3.log
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, VirtualBox_ReactOS_10_05_2018_19_08_45.png, backtrace_translated.log, backtrace_translated2.log, backtrace_translated3.log, cc_push_lock.diff, disasm, fastfat_stackoverflow.diff, kvm_translated, kvm_translated, qemu_bt1.png, qemu_bt1.png, qemu_bt2.png, qemu_bt2.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Illen (JIRA)
2018-05-10 18:09:32 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Illen updated CORE-14601:
-------------------------
Attachment: VirtualBox_ReactOS_10_05_2018_19_08_45.png
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, VirtualBox_ReactOS_10_05_2018_19_08_45.png, backtrace_translated.log, backtrace_translated2.log, cc_push_lock.diff, disasm, fastfat_stackoverflow.diff, kvm_translated, kvm_translated, qemu_bt1.png, qemu_bt1.png, qemu_bt2.png, qemu_bt2.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Pierre Schweitzer (JIRA)
2018-05-10 16:09:04 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=103935#comment-103935 ]

Pierre Schweitzer commented on CORE-14601:
------------------------------------------

[~Illen], can you try with [^fastfat_stackoverflow.diff]? With it, I cannot reproduce in both QEMU/KVM & VBox.
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, backtrace_translated.log, backtrace_translated2.log, cc_push_lock.diff, disasm, fastfat_stackoverflow.diff, kvm_translated, kvm_translated, qemu_bt1.png, qemu_bt1.png, qemu_bt2.png, qemu_bt2.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Thomas Faber (JIRA)
2018-05-10 15:42:04 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=103934#comment-103934 ]

Thomas Faber commented on CORE-14601:
-------------------------------------

So for some reason this thread only has one page of stack? Well that's not right...
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, backtrace_translated.log, backtrace_translated2.log, cc_push_lock.diff, disasm, kvm_translated, kvm_translated, qemu_bt1.png, qemu_bt1.png, qemu_bt2.png, qemu_bt2.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Pierre Schweitzer (JIRA)
2018-05-10 16:09:02 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre Schweitzer updated CORE-14601:
-------------------------------------
Attachment: fastfat_stackoverflow.diff
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, backtrace_translated.log, backtrace_translated2.log, cc_push_lock.diff, disasm, fastfat_stackoverflow.diff, kvm_translated, kvm_translated, qemu_bt1.png, qemu_bt1.png, qemu_bt2.png, qemu_bt2.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Pierre Schweitzer (JIRA)
2018-05-10 08:49:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=103927#comment-103927 ]

Pierre Schweitzer commented on CORE-14601:
------------------------------------------

I've attached the BT with stack and its translation. Beware of rw.c lines are not reliable due to a patch from me there (for StackOverflow ;-)) which is disabled here to allow perfect reproducibility.
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, backtrace_translated.log, backtrace_translated2.log, cc_push_lock.diff, disasm, kvm_translated, kvm_translated, qemu_bt1.png, qemu_bt1.png, qemu_bt2.png, qemu_bt2.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Pierre Schweitzer (JIRA)
2018-05-10 08:48:05 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre Schweitzer updated CORE-14601:
-------------------------------------
Attachment: qemu_bt1.png
qemu_bt2.png
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, backtrace_translated.log, backtrace_translated2.log, cc_push_lock.diff, disasm, kvm_translated, kvm_translated, qemu_bt1.png, qemu_bt1.png, qemu_bt2.png, qemu_bt2.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Pierre Schweitzer (JIRA)
2018-05-10 08:48:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre Schweitzer updated CORE-14601:
-------------------------------------
Attachment: kvm_translated
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, backtrace_translated.log, backtrace_translated2.log, cc_push_lock.diff, disasm, kvm_translated, kvm_translated, qemu_bt1.png, qemu_bt1.png, qemu_bt2.png, qemu_bt2.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Thomas Faber (JIRA)
2018-05-10 08:19:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=103926#comment-103926 ]

Thomas Faber commented on CORE-14601:
-------------------------------------

Okay, disassembly looks as expected, {{mov BYTE PTR [ebp-45],bl}} would indeed access the stack at a lower address than any previous instructions, so would be the point to trigger an overflow.

Stack overflow checking in fastfat makes sense, but I'm not sure whether that would help in this particular case. The call stack looks long, but given what it does it seems relatively minimal. And actually, looking at the stack trace, I don't immediately see any function that uses a lot of stack (I would have expected AtapiStartIo, but that doesn't seem to be too bad).
Anyway, if the check in fastfat works, that's great. If not, the kdbg patch should hopefully tell us where to look for the culprit.
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, backtrace_translated.log, backtrace_translated2.log, cc_push_lock.diff, disasm, kvm_translated, qemu_bt1.png, qemu_bt2.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Pierre Schweitzer (JIRA)
2018-05-10 08:09:01 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=103925#comment-103925 ]

Pierre Schweitzer commented on CORE-14601:
------------------------------------------

Actually, [~ThFabba], I'll try to handle this through stack overflow support in FastFAT. We should have it with or without such issue.
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, backtrace_translated.log, backtrace_translated2.log, cc_push_lock.diff, disasm, kvm_translated, qemu_bt1.png, qemu_bt2.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Pierre Schweitzer (JIRA)
2018-05-10 07:36:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=103924#comment-103924 ]

Pierre Schweitzer commented on CORE-14601:
------------------------------------------

Thanks [~ThFabba], I'll look at applying the KDBG patch.
I also uploaded [^disasm] which contains the disasm of the faulty address. This is at the nearly being of a function.
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, backtrace_translated.log, backtrace_translated2.log, cc_push_lock.diff, disasm, kvm_translated, qemu_bt1.png, qemu_bt2.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Pierre Schweitzer (JIRA)
2018-05-10 07:35:01 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre Schweitzer updated CORE-14601:
-------------------------------------
Attachment: disasm
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, backtrace_translated.log, backtrace_translated2.log, cc_push_lock.diff, disasm, kvm_translated, qemu_bt1.png, qemu_bt2.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Thomas Faber (JIRA)
2018-05-09 22:15:01 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=103912#comment-103912 ]

Thomas Faber commented on CORE-14601:
-------------------------------------

[~Heis Spiter] It does look like it's running out of stack but we'd need to look at the disassembly around uniata.sys:99df to confirm. It doesn't look like an interrupt storm, but it is a deep call stack and I recall some uniata functions using more stack than they should.

It may also be useful to try with some variation of kdbg-print-ebp.patch (first two hunks only I guess) from CORE-11123 to see how much stack space each frame uses.
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, backtrace_translated.log, backtrace_translated2.log, cc_push_lock.diff, kvm_translated, qemu_bt1.png, qemu_bt2.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Illen (JIRA)
2018-05-09 21:41:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=103908#comment-103908 ]

Illen edited comment on CORE-14601 at 5/9/18 9:40 PM:
------------------------------------------------------

Attached a better log.


was (Author: illen):
Yes, the issue still occurs, the backtrace seems to be correct.
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, backtrace_translated.log, backtrace_translated2.log, cc_push_lock.diff, kvm_translated, qemu_bt1.png, qemu_bt2.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Illen (JIRA)
2018-05-09 21:40:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Illen updated CORE-14601:
-------------------------
Attachment: backtrace_translated2.log
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, backtrace_translated.log, backtrace_translated2.log, cc_push_lock.diff, kvm_translated, qemu_bt1.png, qemu_bt2.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Illen (JIRA)
2018-05-09 21:16:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=103908#comment-103908 ]

Illen commented on CORE-14601:
------------------------------

Yes, the issue still occurs, the backtrace seems to be correct.
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, backtrace_translated.log, cc_push_lock.diff, kvm_translated, qemu_bt1.png, qemu_bt2.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Pierre Schweitzer (JIRA)
2018-05-09 21:00:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=103907#comment-103907 ]

Pierre Schweitzer commented on CORE-14601:
------------------------------------------

With [^cc_push_lock.diff], I manage to reproduce the issue as well and to get debug to screen ( !qemu_bt1.png|thumbnail! and !qemu_bt2.png|thumbnail! ).
It's interesting in the way that the backtrace seems to be more relevant, we end in uniata interrupts.
I translated the BT (through OCR software, not perfect, sorry).
[~ThFabba], might still come from interrupt storm?
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, backtrace_translated.log, cc_push_lock.diff, kvm_translated, qemu_bt1.png, qemu_bt2.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Pierre Schweitzer (JIRA)
2018-05-09 20:58:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre Schweitzer updated CORE-14601:
-------------------------------------
Attachment: qemu_bt1.png
qemu_bt2.png
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, backtrace_translated.log, cc_push_lock.diff, qemu_bt1.png, qemu_bt2.png
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Pierre Schweitzer (JIRA)
2018-05-14 19:59:00 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=104013#comment-104013 ]

Pierre Schweitzer commented on CORE-14601:
------------------------------------------

[~ThFabba], I could (by chance?) reproduce the [~Illen] issue while having the KD patch:
{noformat}
(drivers/filesystems/fastfat/rw.c:676) Performing posted read

*** Fatal System Error: 0x0000007f
(0x00000008,0x00000000,0x00000000,0x00000000)


Entered debugger on embedded INT3 at 0x0008:0x8094df64.
kdb:> bt
Eip:
809f1bd8 <NTOSKRNL.EXE:14df65 (:0 (RtlpBreakWithStatusInstruction))>
Frames:
809f1f68 <NTOSKRNL.EXE:89bed (ntoskrnl/ke/bug.c:1100 (KeBugCheckWithTf))>
809f1f88 <NTOSKRNL.EXE:12d07f (ntoskrnl/ke/i386/exp.c:1144 (KiSystemFatalException))>
809f1f90 <NTOSKRNL.EXE:131103 (ntoskrnl/ke/i386/traphdlr.c:856 (KiTrap08Handler))>
809f1f98 <NTOSKRNL.EXE:335e (:0 (KiTrap08))>
f6eee070 <uniata.sys:27f6 (drivers/storage/ide/uniata/id_ata.cpp:961 (AtaCommand48))>
f6eee118 <uniata.sys:5f06 (drivers/storage/ide/uniata/id_ata.cpp:7083 (IdeReadWrite))>
f6eee188 <uniata.sys:90a5 (drivers/storage/ide/uniata/id_ata.cpp:8608 (IdeSendCommand))>
f6eee1f8 <uniata.sys:9d18 (drivers/storage/ide/uniata/id_ata.cpp:9492 (AtapiStartIo__))>
f6eee270 <uniata.sys:c212 (drivers/storage/ide/uniata/id_ata.cpp:6527 (AtapiInterrupt__))>
f6eee2a8 <uniata.sys:c77b (drivers/storage/ide/uniata/id_ata.cpp:4106 (AtapiInterrupt))>
f6eee2c8 <scsiport.sys:1442 (drivers/storage/scsiport/scsiport.c:4621 (ScsiPortIsr))>
f6eee2f0 <NTOSKRNL.EXE:12d26b (sdk/include/crt/mingw32/intrin_x86.h:95 (KiInterruptDispatch))>
f6eee300 <NTOSKRNL.EXE:12d68e (ntoskrnl/ke/i386/irqobj.c:315 (KiInterruptTemplateHandler))>
{noformat}
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, VirtualBox_ReactOS_10_05_2018_19_08_45.png, backtrace_translated.log, backtrace_translated2.log, backtrace_translated3.log, cc_push_lock.diff, disasm, fastfat_stackoverflow.diff, fastfat_stackoverflow.diff, kvm_translated, kvm_translated, qemu_bt1.png, qemu_bt1.png, qemu_bt2.png, qemu_bt2.png, stack_dump.zip
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Thomas Faber (JIRA)
2018-05-15 10:06:01 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=104021#comment-104021 ]

Thomas Faber commented on CORE-14601:
-------------------------------------

Thanks. No excessive stack usage then. We're all within one page of stack again.

Next thing I would try is to manually determine what happens below KiInterruptTemplateHandler by looking at a stack dump. Also, printing out the thread's initial stack and stack limit could be interesting.
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, VirtualBox_ReactOS_10_05_2018_19_08_45.png, backtrace_translated.log, backtrace_translated2.log, backtrace_translated3.log, cc_push_lock.diff, disasm, fastfat_stackoverflow.diff, fastfat_stackoverflow.diff, kvm_translated, kvm_translated, qemu_bt1.png, qemu_bt1.png, qemu_bt2.png, qemu_bt2.png, stack_dump.zip
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
Pierre Schweitzer (JIRA)
2018-05-15 19:20:01 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=104032#comment-104032 ]

Pierre Schweitzer commented on CORE-14601:
------------------------------------------

How would you do that?
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, VirtualBox_ReactOS_10_05_2018_19_08_45.png, backtrace_translated.log, backtrace_translated2.log, backtrace_translated3.log, cc_push_lock.diff, disasm, fastfat_stackoverflow.diff, fastfat_stackoverflow.diff, kvm_translated, kvm_translated, qemu_bt1.png, qemu_bt1.png, qemu_bt2.png, qemu_bt2.png, stack_dump.zip
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
HBelusca (JIRA)
2018-05-15 19:23:01 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=104033#comment-104033 ]

HBelusca commented on CORE-14601:
---------------------------------

By using [IoGetStackLimits|https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/content/wdm/nf-wdm-iogetstacklimits] ?
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, VirtualBox_ReactOS_10_05_2018_19_08_45.png, backtrace_translated.log, backtrace_translated2.log, backtrace_translated3.log, cc_push_lock.diff, disasm, fastfat_stackoverflow.diff, fastfat_stackoverflow.diff, kvm_translated, kvm_translated, qemu_bt1.png, qemu_bt1.png, qemu_bt2.png, qemu_bt2.png, stack_dump.zip
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)
HBelusca (JIRA)
2018-05-15 19:24:01 UTC
Permalink
[ https://jira.reactos.org/browse/CORE-14601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=104033#comment-104033 ]

HBelusca edited comment on CORE-14601 at 5/15/18 7:23 PM:
----------------------------------------------------------

By using [IoGetStackLimits|https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/content/wdm/nf-wdm-iogetstacklimits] ? (or better, by directly using what that function uses to determine the stack limits.)


was (Author: hbelusca):
By using [IoGetStackLimits|https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/content/wdm/nf-wdm-iogetstacklimits] ?
Post by Illen (JIRA)
REGRESSION: ReactOS fails to boot in 2nd setup stage in VirtualBox
------------------------------------------------------------------
Key: CORE-14601
URL: https://jira.reactos.org/browse/CORE-14601
Project: Core ReactOS
Issue Type: Bug
Components: Filesystems
Reporter: Illen
Assignee: Bug Zilla
Fix For: 0.4.9
Attachments: VirtualBox_ReactOS_07_05_2018_15_04_39.png, VirtualBox_ReactOS_07_05_2018_15_04_56.png, VirtualBox_ReactOS_10_05_2018_19_08_45.png, backtrace_translated.log, backtrace_translated2.log, backtrace_translated3.log, cc_push_lock.diff, disasm, fastfat_stackoverflow.diff, fastfat_stackoverflow.diff, kvm_translated, kvm_translated, qemu_bt1.png, qemu_bt1.png, qemu_bt2.png, qemu_bt2.png, stack_dump.zip
ReactOS fails to boot in 2nd setup stage in VirtualBox, it is reproducible only in some host systems. The workarounds are either to disable Intel VT-x or boot with "Debug" option, hence I can't get a debug log, however it fails to boot with the "Screen" option, so I could get a backtrace and attach screenshots. The guilty revision is 0.4.9-dev-762-g94ead99. Tested in VirtualBox 5.2.8.
--
This message was sent by Atlassian JIRA
(v7.3.2#73013)

Loading...