Page MenuHome

Blender crashes after applying scale or undoing a scale operation
Closed, ResolvedPublic

Description

System Information
OS: Mac OS X 10.9.5 (though it has been confirmed on others)

Blender Version
Broken: latest source code from master (alternatively the latest source code from the branch gsoc2016-improved_extrusion)
Worked: this bug is not found in the current release from Blender.org

Short description of error

Two operations have been verified to crash Blender:

  1. Open Blender. Press Spacebar. Choose "Apply Object Transform". Select any of the options from the left hand side.
  1. Open Blender. Scale/Move/Rotate the default cube. Press Ctrl-Z.

The stack trace is similar in both. For 1., it can be found in here

Details

Type
Bug

Event Timeline

João Araújo (genio84) set Type to Bug.
João Araújo (genio84) created this task.
João Araújo (genio84) raised the priority of this task from to Needs Triage by Developer.

The stack trace for 1. is the following

Process:         blender [60237]
Path:            /Users/USER/*/blender.app/Contents/MacOS/blender
Identifier:      org.blenderfoundation.blender
Version:         2.77 (2.77 2016-06-12, Blender Foundation)
Code Type:       X86-64 (Native)
Parent Process:  launchd [166]
Responsible:     blender [60237]
User ID:         502

Date/Time:       2016-06-13 10:50:45.883 +0100
OS Version:      Mac OS X 10.9.5 (13F1077)
Report Version:  11
Anonymous UUID:  BD4191CC-E625-F5A7-2763-E8A1E6B49F96

Sleep/Wake UUID: CCE0E42D-0F2C-4978-A8F6-B9AE62F44840

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
abort() called
*** error for object 0x105b109b0: incorrect checksum for freed object - object was probably modified after being freed.
 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib            0x00007fff903bb866 __pthread_kill + 10
1   libsystem_pthread.dylib           0x00007fff90ca235c pthread_kill + 92
2   libsystem_c.dylib                 0x00007fff916ebbba __abort + 145
3   libsystem_c.dylib                 0x00007fff916ebb29 abort + 140
4   libsystem_malloc.dylib            0x00007fff93f78690 szone_error + 587
5   libsystem_malloc.dylib            0x00007fff93f76595 szone_free_definite_size + 3011
6   org.blenderfoundation.blender     0x00000001012639a2 MEM_lockfree_freeN + 578 (mallocn_lockfree_impl.c:169)
7   org.blenderfoundation.blender     0x0000000100d5217e BKE_main_idmap_destroy + 174 (library_idmap.c:172)
8   org.blenderfoundation.blender     0x0000000100b8e15b blo_lib_link_screen_restore + 4107 (readfile.c:6776)
9   org.blenderfoundation.blender     0x0000000100c43265 setup_app_data + 837 (blendfile.c:205)
10  org.blenderfoundation.blender     0x0000000100c439c5 BKE_blendfile_read_from_memfile + 245 (blendfile.c:418)
11  org.blenderfoundation.blender     0x0000000100c42798 read_undosave + 216 (blender_undo.c:107)
12  org.blenderfoundation.blender     0x0000000100c4256c BKE_undo_step + 44 (blender_undo.c:230)
13  org.blenderfoundation.blender     0x0000000100c42949 BKE_undo_name + 105 (blender_undo.c:286)
14  org.blenderfoundation.blender     0x000000010029863a ed_undo_step + 1066 (undo.c:200)
15  org.blenderfoundation.blender     0x000000010029876b ED_undo_pop_op + 43 (undo.c:239)
16  org.blenderfoundation.blender     0x0000000100298df5 ED_undo_operator_repeat + 325 (undo.c:383)
17  org.blenderfoundation.blender     0x0000000100298fc0 ED_undo_operator_repeat_cb_evt + 32 (undo.c:430)
18  org.blenderfoundation.blender     0x00000001003f66a3 ui_apply_but_funcs_after + 755 (interface_handlers.c:797)
19  org.blenderfoundation.blender     0x00000001003f5c39 ui_region_handler + 473 (interface_handlers.c:9879)
20  org.blenderfoundation.blender     0x0000000100018a11 wm_handler_ui_call + 433 (wm_event_system.c:453)
21  org.blenderfoundation.blender     0x0000000100017b17 wm_handlers_do_intern + 1031 (wm_event_system.c:2053)
22  org.blenderfoundation.blender     0x0000000100013715 wm_handlers_do + 37 (wm_event_system.c:2137)
23  org.blenderfoundation.blender     0x0000000100013197 wm_event_do_handlers + 2023 (wm_event_system.c:2474)
24  org.blenderfoundation.blender     0x000000010000b5ce WM_main + 30 (wm.c:492)
25  org.blenderfoundation.blender     0x0000000100005f03 main + 1235
26  org.blenderfoundation.blender     0x0000000100005a24 start + 52

This points to a recent change I made, but I can't redo the crash. (tested with address sanitizer, which doesn't show up any errors).

João Araújo (genio84) closed this task as Resolved.Jun 13 2016, 2:09 PM
João Araújo (genio84) claimed this task.