Search Issue Tracker

Fixed in 5.5.0

Votes

1

Found in

5.5.0b5

Issue ID

834707

Regression

Yes

[Debug] Editor crashes after using 'Step Over' feature in Debug mode

Scripting

-

Steps to repro:

1. Open attached project and 'test' scene;
2. In the project folder open 'test' script;
3. Set the breakpoint on line 9;
4. Attach debugging tool to Unity Editor;
5. Launch the scene;
6. In the code editor click "Step Over" button (one or several times in a row).

Actual result:
Editor crashes (see attached gif video).

Last calls from the stacktrace:
#0 0x000001022183bf in InitPlayerLoopCallbacks()::EarlyUpdateUpdateMainGameViewRectstruct::Forward()
#1 0x00000101a9f53e in PlayerLoop()
#2 0x000001025e5765 in Application::UpdateScene(bool)
#3 0x000001025e5e5d in Application::EnterPlayMode(bool)
#4 0x000001025e253c in Application::SetIsPlaying(bool)
#5 0x000001025e1e4d in Application::TickTimer()

Regression introduced in Unity 5.5.0b5.

Expected result:
Editor should not crash when moving to the next line of code in debug tool.

Notes:
- Reproducible in 5.5.0b5;
- Not reproducible in 5.5.0b4;
- Reproducible on both OSX 10.11.6 (MonoDevelop 5.9.6) and Windows 10 (Visual Studio 2015 v12.023107.0);
- Also reproducible when stopping the Debug tool (by clicking Stop button).

Comments (1)

  1. luiner

    May 19, 2017 09:55

    Fixed? No its not!
    Step over in unity 5.5.2p2, extract from editor log:

    Unity Editor [version: Unity 5.5.2p2_03f34082a9c0]

    KERNELBASE.dll caused an Access Violation (0xc0000005)
    in module KERNELBASE.dll at 0033:25553c58.

    Error occurred at 2017-05-19_101956.
    C:\Program Files\Unity5.5.2f2\Editor\Unity.exe, run by khash.
    37% memory in use.
    32681 MB physical memory [20458 MB free].
    37545 MB paging file [21855 MB free].
    134217728 MB user address space [134213304 MB free].

    Context:
    RDI: 0x00000004 RSI: 0x0be7fc30 RAX: 0x04000400
    RBX: 0x00000000 RCX: 0x00001010 RDX: 0x0b180cc0
    RIP: 0x25553c58 RBP: 0x0be7f930 SegCs: 0x00000033
    EFlags: 0x00000206 RSP: 0x0be7f7b0 SegSs: 0x0000002b
    R8: 0xc0faf9c0 R9: 0x00000000 R10: 0x0b120000
    R11: 0x00001000 R12: 0x0be7fb20 R13: 0x00000000
    R14: 0x0be7fae8 R15: 0x0b136550

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.