Make Single User on an action or world in Outliner with the view Blender File crash blender #54558

Closed
opened 2018-04-10 15:29:28 +02:00 by alexis echemendia · 13 comments

System Information
Operating system and graphics card
Windows 10
Nvidia 970m

Blender Versionbug.blend
2.79b

Short description of error
Navigate to outliner select the view type as Blender File-> Actions
right click in one action and select "Make Single User" Blender crash!!!.

Exact steps for others to reproduce the error
right click in one action and select "Make Single User" Blender crash!!! (Select the filter "Blender File" in the outliner).

**System Information** Operating system and graphics card Windows 10 Nvidia 970m **Blender Version**[bug.blend](https://archive.blender.org/developer/F2653192/bug.blend) 2.79b **Short description of error** Navigate to outliner select the view type as Blender File-> Actions right click in one action and select "Make Single User" Blender crash!!!. **Exact steps for others to reproduce the error** right click in one action and select "Make Single User" Blender crash!!! (Select the filter "Blender File" in the outliner).

Added subscriber: @alexisechemendia

Added subscriber: @alexisechemendia

blender/blender#71673 was marked as duplicate of this issue

blender/blender#71673 was marked as duplicate of this issue
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Philipp Oeser self-assigned this 2018-04-10 15:35:58 +02:00
Member

Confirmed [wont happen in e.g. the DopeSheet though...]
Will look into it tomorrow

Confirmed [wont happen in e.g. the DopeSheet though...] Will look into it tomorrow
Philipp Oeser removed their assignment 2018-04-11 12:11:36 +02:00
Campbell Barton was assigned by Philipp Oeser 2018-04-11 12:11:36 +02:00
Member

Added subscriber: @ideasman42

Added subscriber: @ideasman42
Member

@alexisechemendia : this is current master, right? [2.79b official release wont crash here...]

git bisects this down to blender/blender@dd4e0cd3e3 (which isnt in 2.79b)

1   rna_AnimData_action_editable  rna_animation.c      99    0x29aab2a 
2   RNA_property_editable         rna_access.c         1820  0x2984257 
3   id_single_user                library.c            691   0x27c6005 
4   singleuser_action_cb          outliner_tools.c     497   0x1adfbe3 
5   outliner_do_libdata_operation outliner_tools.c     267   0x1adf3b4 
6   outliner_do_libdata_operation outliner_tools.c     271   0x1adf419 
7   outliner_do_libdata_operation outliner_tools.c     271   0x1adf419 
8   outliner_id_operation_exec    outliner_tools.c     1237  0x1ae190c 
9   WM_menu_invoke_ex             wm_operators.c       1145  0x1a21fb6 
10  WM_menu_invoke                wm_operators.c       1164  0x1a22103 
11  wm_operator_invoke            wm_event_system.c    1143  0x1a0aa29 
12  wm_operator_call_internal     wm_event_system.c    1336  0x1a0b113 
13  WM_operator_name_call_ptr     wm_event_system.c    1384  0x1a0b303 
14  ui_apply_but_funcs_after      interface_handlers.c 798   0x1d7a2c6 
15  ui_popup_handler              interface_handlers.c 10210 0x1d93b45 
16  wm_handler_ui_call            wm_event_system.c    465   0x1a090f2 
17  wm_handlers_do_intern         wm_event_system.c    2100  0x1a0ccfc 
18  wm_handlers_do                wm_event_system.c    2184  0x1a0cf98 
19  wm_event_do_handlers          wm_event_system.c    2464  0x1a0db12 
20  WM_main                       wm.c                 508   0x1a01a0c 

note (not sure it's really related): before that commit I still get following Warning: No AnimData to set action on

BLI_assert failed: /lichtwerk/01_projects/0000_HACK_BlenderSourceDevelopment/HACK_Produktion/11_Git/blender/source/blender/blenkernel/intern/idcode.c:308, BKE_idcode_to_index(), at '0'
./bin/blender(BLI_system_backtrace+0x26) [0x2bff3f6]
./bin/blender(BKE_idcode_to_index+0x356) [0x27b2afb]
./bin/blender(DAG_id_type_tag+0x7a) [0x275fe3b]
./bin/blender() [0x275cd0e]
./bin/blender(DAG_id_tag_update_ex+0xca) [0x275fb3b]
./bin/blender(DAG_id_tag_update+0x2f) [0x275fdbe]
./bin/blender() [0x29afae3]
./bin/blender() [0x29896b7]
./bin/blender(RNA_property_update+0x50) [0x29897e7]
./bin/blender(id_single_user+0xe1) [0x27d4b2f]
./bin/blender() [0x1af4136]
./bin/blender() [0x1af38da]
./bin/blender() [0x1af393f]
./bin/blender() [0x1af393f]
./bin/blender() [0x1af5e56]
./bin/blender(WM_menu_invoke_ex+0xe1) [0x1a364da]
./bin/blender(WM_menu_invoke+0x2c) [0x1a36627]

Would do futher investigation myself, but for now I've hit my time limit and would kindly ask @ideasman42 to take over? (feel free to throw back at me though)

@alexisechemendia : this is current master, right? [2.79b official release wont crash here...] git bisects this down to blender/blender@dd4e0cd3e3 (which isnt in 2.79b) ``` 1 rna_AnimData_action_editable rna_animation.c 99 0x29aab2a 2 RNA_property_editable rna_access.c 1820 0x2984257 3 id_single_user library.c 691 0x27c6005 4 singleuser_action_cb outliner_tools.c 497 0x1adfbe3 5 outliner_do_libdata_operation outliner_tools.c 267 0x1adf3b4 6 outliner_do_libdata_operation outliner_tools.c 271 0x1adf419 7 outliner_do_libdata_operation outliner_tools.c 271 0x1adf419 8 outliner_id_operation_exec outliner_tools.c 1237 0x1ae190c 9 WM_menu_invoke_ex wm_operators.c 1145 0x1a21fb6 10 WM_menu_invoke wm_operators.c 1164 0x1a22103 11 wm_operator_invoke wm_event_system.c 1143 0x1a0aa29 12 wm_operator_call_internal wm_event_system.c 1336 0x1a0b113 13 WM_operator_name_call_ptr wm_event_system.c 1384 0x1a0b303 14 ui_apply_but_funcs_after interface_handlers.c 798 0x1d7a2c6 15 ui_popup_handler interface_handlers.c 10210 0x1d93b45 16 wm_handler_ui_call wm_event_system.c 465 0x1a090f2 17 wm_handlers_do_intern wm_event_system.c 2100 0x1a0ccfc 18 wm_handlers_do wm_event_system.c 2184 0x1a0cf98 19 wm_event_do_handlers wm_event_system.c 2464 0x1a0db12 20 WM_main wm.c 508 0x1a01a0c ``` note (not sure it's really related): before that commit I still get following **Warning: No AnimData to set action on** ``` BLI_assert failed: /lichtwerk/01_projects/0000_HACK_BlenderSourceDevelopment/HACK_Produktion/11_Git/blender/source/blender/blenkernel/intern/idcode.c:308, BKE_idcode_to_index(), at '0' ./bin/blender(BLI_system_backtrace+0x26) [0x2bff3f6] ./bin/blender(BKE_idcode_to_index+0x356) [0x27b2afb] ./bin/blender(DAG_id_type_tag+0x7a) [0x275fe3b] ./bin/blender() [0x275cd0e] ./bin/blender(DAG_id_tag_update_ex+0xca) [0x275fb3b] ./bin/blender(DAG_id_tag_update+0x2f) [0x275fdbe] ./bin/blender() [0x29afae3] ./bin/blender() [0x29896b7] ./bin/blender(RNA_property_update+0x50) [0x29897e7] ./bin/blender(id_single_user+0xe1) [0x27d4b2f] ./bin/blender() [0x1af4136] ./bin/blender() [0x1af38da] ./bin/blender() [0x1af393f] ./bin/blender() [0x1af393f] ./bin/blender() [0x1af5e56] ./bin/blender(WM_menu_invoke_ex+0xe1) [0x1a364da] ./bin/blender(WM_menu_invoke+0x2c) [0x1a36627] ``` Would do futher investigation myself, but for now I've hit my time limit and would kindly ask @ideasman42 to take over? (feel free to throw back at me though)
Member

Added subscriber: @JoshuaLeung

Added subscriber: @JoshuaLeung
Member

Testing this here, it isn't specifically limited to actions only. Doing the same on World datablocks will also cause problems. It appears that tselem->id here is invalid.

Testing this here, it isn't specifically limited to actions only. Doing the same on World datablocks will also cause problems. It appears that `tselem->id` here is invalid.

Added subscriber: @KasparKuldkepp

Added subscriber: @KasparKuldkepp

Yes I have the same problem with 2.8 every time.

When duplicating collection and then trying to make any object to single user blender crashes and closes quick.

Every way and time.

Tried with new document etc.

Win10 2.80.24 and the newest version aswell.

Yes I have the same problem with 2.8 every time. When duplicating collection and then trying to make any object to single user blender crashes and closes quick. Every way and time. Tried with new document etc. Win10 2.80.24 and the newest version aswell.
Member

Added subscribers: @Zoni, @dfelinto

Added subscribers: @Zoni, @dfelinto
Campbell Barton was unassigned by Philipp Oeser 2019-11-19 15:52:11 +01:00
Dalai Felinto was assigned by Philipp Oeser 2019-11-19 15:52:11 +01:00
Philipp Oeser changed title from Make Single User on an action in Outliner with the view Blender File crash blender to Make Single User on an action or world in Outliner with the view Blender File crash blender 2019-11-19 15:52:46 +01:00

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Fixed on blender/blender@9ca2cbdcea.
Sign in to join this conversation.
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#54558
No description provided.