transform window crashes blender #37483
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
7 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#37483
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
system information
windows xp 64 and windows 7 64 and ati radeon x1900gt
Blender Version
Broken: Blender 2.69 r61232
Worked: Blender 2.XX rXXXXXX
Short description of error
when you type a value in transform window in "N" shortcut it crashes blender
Exact steps for others to reproduce the error
open blender in default settings, change the units from none to metric in scene panel, then change value from standard 1m to other for instance type zero. that action crashes blender
Changed status to: 'Open'
Added subscriber: @midan-3
Added subscriber: @MartijnBerger
"then change value from standard 1m to other for instance type zero" I interpreted that as trying to enter 0 in the scale value
For me it will not let me enter 0. And everything I enter appears to work as expected in build of
d36a416
/ 2013-11-16 08:50Added subscriber: @late-4
Crash happens also with me. Should be easy to repro: Add a plane, press n and change the size of x or y and right after you press the enter, blender should crash. Dump available if needed.
Callstack:
0041f8fc 01a8f5a2 00010003 00000000 07f005f8 blender!Freestyle::TVertex::frontEdgeB+0xe
0041f90c 01a8f76f 00000001 00000000 07f005f8 blender!GHOST_WindowWin32::loadCursor+0xb2 [g:\blender25\blender\intern\ghost\intern\ghost_windowwin32.cpp @ 1027]
0041f91c 01a989a3 019174ea 084a06e4 018e681f blender!GHOST_WindowWin32::setWindowCursorShape+0x3f [g:\blender25\blender\intern\ghost\intern\ghost_windowwin32.cpp @ 1087]
0041f940 0155b74d 10a9ea70 04940788 00000000 blender!GHOST_Window::setCursorShape+0x13 [g:\blender25\blender\intern\ghost\intern\ghost_window.cpp @ 150]
0041f958 0155b825 00000000 0041f973 d582d466 blender!ui_but_get_fcurve+0x2d [g:\blender25\blender\source\blender\editors\interface\interface_anim.c @ 64]
0041fa64 013d1924 0105d72c 0825f2d4 08129614 blender!ui_but_anim_expression_set+0x15 [g:\blender25\blender\source\blender\editors\interface\interface_anim.c @ 115]
0041fa88 013d3412 00000000 0105d72c 0825f2d4 blender!wm_handler_ui_call+0xc4 [g:\blender25\blender\source\blender\windowmanager\intern\wm_event_system.c @ 416]
0041fab4 013d350f 0105d72c 08182298 0105d72c blender!wm_handlers_do_intern+0x1e2 [g:\blender25\blender\source\blender\windowmanager\intern\wm_event_system.c @ 1868]
0041fac8 013d4803 08182298 0818210c 081821fc blender!wm_handlers_do+0xf [g:\blender25\blender\source\blender\windowmanager\intern\wm_event_system.c @ 1950]
0041fb80 013c9681 0105d72c 0105d72c 00000000 blender!wm_event_do_handlers+0x1d3 [g:\blender25\blender\source\blender\windowmanager\intern\wm_event_system.c @ 2196]
0041fb90 013c3849 0105d72c 00000000 00000000 blender!WM_main+0x11 [g:\blender25\blender\source\blender\windowmanager\intern\wm.c @ 462]
0041fbb0 02feb7a5 00000001 01052378 010523c0 blender!main+0x389 [g:\blender25\blender\source\creator\creator.c @ 1724]
0041fbf8 75eb336a fffde000 0041fc44 77229f72 blender!__tmainCRTStartup+0xfb [f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c @ 266]
WARNING: Stack unwind information not available. Following frames may be wrong.
0041fc04 77229f72 fffde000 766a28ad 00000000 KERNEL32!BaseThreadInitThunk+0x12
0041fc44 77229f45 02feb7fc fffde000 00000000 ntdll_771f0000!RtlInitializeExceptionChain+0x63
0041fc5c 00000000 02feb7fc fffde000 00000000 ntdll_771f0000!RtlInitializeExceptionChain+0x36
Tested again with latest from git. Does not crash anymore.
for me it still does crash blender. I tried r61240 win x64 from builder.blender.org
in official 2.69 from blender.org r60995 it works and there are no crashes
Added subscriber: @brecht
I could redo this issue as well on OS X, but it does not happen consistently. Went through a full
git bisect
only to end up at an unrelated commit and figuring out the crash does not always happen with the same steps.Valgrind shows some conditional jumps based on uninitialized value: http://www.pasteall.org/48200
Will look into it.
P.S. Didn't manage to redo crash, but this might be related,.
Added subscriber: @ideasman42
Developer note.
Found a culptir of that jump caused on uninitialized memory. String is being allocated in stack, and some content is being strcpy-ed on it. Then strtolower is called on the whole string, without taking null-terminator into account.
Here's the patch which solves this issue: http://www.pasteall.org/48212/diff but not sure whether it was intended to be able to strlower chars after null-terminator? @ideasman42, maybe you know?
@brecht, i still failed to reproduce the crash here and don't see any other warnings in valgrind. Mind checking crash with this patch applied?
Added subscriber: @Sergey
@Sergey, this crash would be new in
87cc890aef
, so worth fixing but probably not the reported problem.I'm having trouble reproducing the crash at the moment, even with revisions around the date I made the comment. I can try a few more things later, but if someone can test if the issue still exists in the latest Windows builds on http://builder.blender.org/download/ that would be useful.
Added subscriber: @ThomasDinges
I cannot confirm a crash here with
122e2b4
. (Windows 7 x64).@midan-3, please re-test the crash with latest build from buildbot and tell us whether it is still an issue for you! :)
The problem does not occur any more. I checked on Win XP x64, ATI x1900GT and Win 7 x64 , Quadro FX 1700. blender build from 18th december
Changed status from 'Open' to: 'Resolved'
Thanks for testing, let's assume it is fixed then.