Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#26654] Selection in UV editor then tweaking in 3d ToolShelf operator panel causes crash.

Date:
2011-03-29 01:50
Priority:
3
State:
Closed
Submitted by:
Adam Jaworski (jawra)
Assigned to:
Ton Roosendaal (ton)
Category:
Tools
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Selection in UV editor then tweaking in 3d ToolShelf operator panel causes crash.
Detailed description
When something is selected in UV editor, Selection operator dialog appears in ToolShelf and adjusting values in it triggers 'Segmentation fault'. See attached image and .blend file.
Works fine with F6 redo.
Ubuntu 10.04/32 ; Blender r35856

Question: this function - what is it for. It seems to be completely unpredictable. Is it broken or what?
At first I thought we finally can move selection precisely, like in 2.49 but it plays with selection but not with position. So still no tool to locate UV selection precisely. :(

Followup

Message
  • Date: 2011-03-29 15:38
  • Sender: Ton Roosendaal
  • it is not meant to show in the 3d window toolbar at all. Some operators do this still though.
    This is partially unfinished code too, we want such redo-tool methods work in every editor. That's on our todo still.

    I'll check why it crashes and will try to prevent that though.
  • Date: 2011-03-31 23:40
  • Sender: Adam Jaworski
  • Nothing changed. RC01 crashes on Ubuntu and WinXP-32. After running with debug option console says:
    " redo_cb: operator redo Select
    Segmentation Fault ".
    F6 redo operator works OK when called ONLY from UV editor which means when mouse pointer is over UV window.
    When mouse is over any other editor e.g. 3dView, Properties etc., F6 redo crashes.
    Test:
    Open attached UV_Crash1.blend file, select a vert in UV editor, place mouse over UV editor, press F6 and adjust some parameters. Works OK. No crash.
    Now, place mouse over 3dView and do the same. Press F6 and try to adjust...CRASH. Wrong context?
    Seems like Select operator ( uv.select , UV_OT_select ) or subcall is doing something wrong.
    Try this:
    Open Blender with default scene, select cube, call space search menu and type Select. No such operator.
    Go to edit mode and unwrap cube, call space search menu and type Select. Here it is, under Select Inverse. Click on it and ...CRASH. Called from 3dView since UV editor has no search menu.
    Console:
    " handle evt 0 win 12 op UV_OT_select
    Segmentation Fault ".
    And result after testing old revisions: up to 35537 no crash; 35596 and later crash. Something has happened between 35537 and 35596.
    Uff. Couple hours of testing and I hope it helps you.
  • Date: 2011-04-01 13:02
  • Sender: Ton Roosendaal
  • I tried F6 redo in 3d window of a UV select in image-window, but no crashes happen. This is in OSX though, might be surviving some bad memory use better.
    Will have to ask a linux dev to check it.
  • Date: 2011-04-01 14:52
  • Sender: Ton Roosendaal
  • For some *mysterious* reason my compile refused to crash on NULL pointers in this case, but I found the fix :)
    Is in svn now, thanks for the report!
 

Attached Files:

Name Date Download
UV_Crash1.png 2011-03-29 01:50 Download
UV_Crash1.blend 2011-03-29 01:50 Download

Changes:

Field Old Value Date By
status_idOpen2011-04-01 14:52ton
close_dateNone2011-04-01 14:52ton
StatusInvestigate2011-04-01 14:52ton
assigned_tonone2011-03-29 15:38ton
StatusNew2011-03-29 15:38ton
File Added15582: UV_Crash1.blend2011-03-29 01:50jawra
File Added15583: UV_Crash1.png2011-03-29 01:50jawra