Often crashes in edit mode #61373

Closed
opened 2019-02-10 08:08:27 +01:00 by Weasel On a Stick · 19 comments

System Information
Operating system: Windows 7
Graphics card: GT540M(not acknowledged by blender.exe)

Blender Version
Broken: 2.80 191b8951f7

Short description of error
Blender crashes often(window just closes) when I'm in edit mode and doing some basic actions. Happens every time.

Exact steps for others to reproduce the error
Spawn a cube
Enter edit mode(TAB)
press ctrl+R
Crash

===== shader string 1 ====
 1
 2  #ifdef UNIFORM_ID
 3  uniform uint id;
 4  #else
 5  flat in vec4 id;
 6  #endif
 7
 8  out vec4 fragColor;
 9
10  void main()
11  {
12  #ifdef UNIFORM_ID
13      fragColor = vec4(
14              ((id      ) & uint(0xFF)) * (1.0f / 255.0f),
15              ((id >>  8) & uint(0xFF)) * (1.0f / 255.0f),
16              ((id >> 16) & uint(0xFF)) * (1.0f / 255.0f),
17              ((id >> 24)             ) * (1.0f / 255.0f));
18  #else
19      fragColor = id;
20  #endif
21  }
Fragment info
-------------
0(20) : error C7011: implicit cast from "int" to "uint"
0(20) : error C7011: implicit cast from "int" to "uint"
0(20) : error C7011: implicit cast from "int" to "uint"
**System Information** Operating system: Windows 7 Graphics card: GT540M(not acknowledged by blender.exe) **Blender Version** Broken: 2.80 191b8951f7af **Short description of error** Blender crashes often(window just closes) when I'm in edit mode and doing some basic actions. Happens every time. **Exact steps for others to reproduce the error** Spawn a cube Enter edit mode(TAB) press ctrl+R Crash ``` ===== shader string 1 ==== 1 2 #ifdef UNIFORM_ID 3 uniform uint id; 4 #else 5 flat in vec4 id; 6 #endif 7 8 out vec4 fragColor; 9 10 void main() 11 { 12 #ifdef UNIFORM_ID 13 fragColor = vec4( 14 ((id ) & uint(0xFF)) * (1.0f / 255.0f), 15 ((id >> 8) & uint(0xFF)) * (1.0f / 255.0f), 16 ((id >> 16) & uint(0xFF)) * (1.0f / 255.0f), 17 ((id >> 24) ) * (1.0f / 255.0f)); 18 #else 19 fragColor = id; 20 #endif 21 } Fragment info ------------- 0(20) : error C7011: implicit cast from "int" to "uint" 0(20) : error C7011: implicit cast from "int" to "uint" 0(20) : error C7011: implicit cast from "int" to "uint" ```

Added subscriber: @WOAS

Added subscriber: @WOAS

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Cant redo:

  • OS: Linux 4.20.4-arch1-1-ARCH
  • REV: 3ce5e5a85778bc339b5275198beb74d90fc65334
  • GPU: GeForce GTX 1080

Does this happen with factory settings on the latest build?

Cant redo: * OS: Linux 4.20.4-arch1-1-ARCH * REV: `3ce5e5a85778bc339b5275198beb74d90fc65334` * GPU: `GeForce GTX 1080` --- Does this happen with factory settings on the latest build?
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Also cannot reproduce, will put this on hold until todays (or newer) build has been tried...

Also cannot reproduce, will put this on hold until todays (or newer) build has been tried...

Tried 69b2f52681 version and I still have the same issue.
The issue happens every time I try to select any vertex/side/face in edit mode(Or click anywhere while in Edit mode and using a pointer(not cursor)) and use some specific tools like Knife, loop cut, but not extrude(all faces since can't choose specific) and not transform tools.

Tried 69b2f5268114 version and I still have the same issue. The issue happens every time I try to select any vertex/side/face in edit mode(Or click anywhere while in Edit mode and using a pointer(not cursor)) and use some specific tools like Knife, loop cut, but not extrude(all faces since can't choose specific) and not transform tools.

Does it crash every time in a reproducible way, or is it random?

Does it crash every time in a reproducible way, or is it random?

tried 036ec5cae4 and the issue's still there.
Yes, it crashes every time (100%) I try to use the tools in any way(hotkeys, toolbar, sidebar and every time I try to select anything with box/pointer selection.
BUT, as it turns out this problem occurs only when I edit meshes, metaballs, and bones. Blender doesn't crash when I edit(select points with pointer/box-selection) curves, surfaces or grease pencil (strokes?)

tried 036ec5cae4f7 and the issue's still there. Yes, it crashes every time (100%) I try to use the tools in any way(hotkeys, toolbar, sidebar and every time I try to select anything with box/pointer selection. BUT, as it turns out this problem occurs only when I edit meshes, metaballs, and bones. Blender doesn't crash when I edit(select points with pointer/box-selection) curves, surfaces or grease pencil (strokes?)

Blender doesn't crash however if I try to select mesh's components via select menu like select random and select similar by<...>

Blender doesn't crash however if I try to select mesh's components via `select` menu like select random and select similar by<...>

If there's any way of logging Blender's activity and figuring out why is that happening, please let me know, thanks!

If there's any way of logging Blender's activity and figuring out why is that happening, please let me know, thanks!

Just tried these builds on another computer and couldn't replicate the issue on MY PC. It's been a week already, please let me know if there's any way of debugging this.

Just tried these builds on another computer and couldn't replicate the issue on MY PC. It's been a week already, please let me know if there's any way of debugging this.

Thanks for a reply, I tried using the debug mode, here's a log https://pastebin.com/1583TS3u

Thanks for a reply, I tried using the debug mode, here's a log https://pastebin.com/1583TS3u

I can't redo this error but most likely D4350 will fix this.

I can't redo this error but most likely [D4350](https://archive.blender.org/developer/D4350) will fix this.

Note that D4350 will most likely resolve this issue, although it's not yet finished so a short term fix would be good too.

Note that [D4350](https://archive.blender.org/developer/D4350) will most likely resolve this issue, although it's not yet finished so a short term fix would be good too.

This issue was referenced by c94b3b19a2

This issue was referenced by c94b3b19a2c07ce2617bf4998a1634f020660e4d

Added subscriber: @mano-wii

Added subscriber: @mano-wii

This comment was removed by @mano-wii

*This comment was removed by @mano-wii*

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

thank you very much @mano-wii !

thank you very much @mano-wii !
Sign in to join this conversation.
5 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: blender/blender#61373
No description provided.