Page MenuHome

Crash in uv editor Relax and Pinch tools
Closed, ResolvedPublic

Description

System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: GeForce GTX 660/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 419.67

Blender Version
Broken: version: 2.80 (sub 60), branch: blender2.7, commit date: 2019-05-07 19:17, hash: rB3dc9da3a74ee
Worked: (optional)

Short description of error
For either the Relax or Pinch tool in UV Editor, using the tool, then undoing, then using it again, crashes Blender.

Exact steps for others to reproduce the error

  1. Load factory settings
  2. Switch to UV Editing workspace
  3. Select Relax tool (or Pinch tool)
  4. Click on a UV vertex
  5. Undo
  6. Click on a UV vertex again to crash Blender

Event Timeline

broken: 6e33729462d9

>	blender.exe!uv_sculpt_stroke_init(bContext * C, wmOperator * op, const wmEvent * event) Line 500	C
 	blender.exe!uv_sculpt_stroke_invoke(bContext * C, wmOperator * op, const wmEvent * event) Line 767	C
 	blender.exe!wm_operator_invoke(bContext * C, wmOperatorType * ot, wmEvent * event, PointerRNA * properties, ReportList * reports, const bool poll_only, bool use_last_properties) Line 1409	C
 	blender.exe!wm_handler_operator_call(bContext * C, ListBase * handlers, wmEventHandler * handler_base, wmEvent * event, PointerRNA * properties) Line 2234	C
 	blender.exe!wm_handlers_do_intern(bContext * C, wmEvent * event, ListBase * handlers) Line 2544	C
 	blender.exe!wm_handlers_do(bContext * C, wmEvent * event, ListBase * handlers) Line 2804	C
 	blender.exe!wm_event_do_handlers(bContext * C) Line 3246	C
 	blender.exe!WM_main(bContext * C) Line 421	C
 	blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 502	C

ts->uvsculpt was nullptr.

Sebastian Parborg (zeddb) triaged this task as Confirmed, Medium priority.

bt:

Thread 1 "blender" received signal SIGSEGV, Segmentation fault.
uv_sculpt_stroke_init (C=0x7fffeb891208, op=0x7fffcfd90508, event=0x7fffcfc2ed08)
    at /home/zed/prog/blender/source/blender/editors/sculpt_paint/sculpt_uv.c:500
500	  curvemapping_initialize(ts->uvsculpt->paint.brush->curve);
(gdb) bt
#0  uv_sculpt_stroke_init (C=0x7fffeb891208, op=0x7fffcfd90508, event=0x7fffcfc2ed08)
    at /home/zed/prog/blender/source/blender/editors/sculpt_paint/sculpt_uv.c:500
#1  0x0000555558bb1b40 in uv_sculpt_stroke_invoke (C=0x7fffeb891208, op=0x7fffcfd90508, event=0x7fffcfc2ed08)
    at /home/zed/prog/blender/source/blender/editors/sculpt_paint/sculpt_uv.c:767
#2  0x000055555826c16b in wm_operator_invoke (C=0x7fffeb891208, ot=0x7fffe65a0cc8, event=0x7fffcfc2ed08, properties=0x7fffffffdc40, reports=0x0,
    poll_only=false, use_last_properties=false) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:1409
#3  0x000055555826e15b in wm_handler_operator_call (C=0x7fffeb891208, handlers=0x7fffe67f74d0, handler_base=0x7fffd354c3a8, event=0x7fffcfc2ed08,
    properties=0x7fffffffdc40) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:2234
#4  0x000055555826ec03 in wm_handlers_do_intern (C=0x7fffeb891208, event=0x7fffcfc2ed08, handlers=0x7fffe67f74d0)
    at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:2544
#5  0x000055555826f92d in wm_handlers_do (C=0x7fffeb891208, event=0x7fffcfc2ed08, handlers=0x7fffe67f74d0)
    at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:2804
#6  0x0000555558270ede in wm_event_do_handlers (C=0x7fffeb891208) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_event_system.c:3246
#7  0x00005555582647a1 in WM_main (C=0x7fffeb891208) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm.c:418
#8  0x0000555557bca2a9 in main (argc=1, argv=0x7fffffffe098) at /home/zed/prog/blender/source/creator/creator.c:500