Cura crashing when multiplying objects
Closed, ResolvedPublic

Description

So I just got the new build of cura 3.6.1, when I try to multiply and object cura will crash. It will multiply by 1 just fine but if I try to multiply and object by 2 or more it goes down.

This was the object I was trying to multiply.

MikeR created this task.Wed, Dec 26, 2:13 PM
MikeR triaged this task as Normal priority.
anolen added a subscriber: anolen.Fri, Jan 4, 1:46 PM

This happened to me as well, x1 is fine, any larger number crashes, here is my terminal crash info:

2019-01-04 13:02:39,665 - WARNING - [(140053424547200)-MainThread] UM.Qt.QtApplication.onQmlWarning [274]: file:///home/aleph/Projects/cura/build-master/build/dist/plugins/plugins/Tools/ScaleTool/ScaleTool.qml:9:1: QML ScaleTool: Binding loop detected for property "width"
qml: -----Toolbar.qml: ScaleTool
2019-01-04 13:02:45,751 - DEBUG - [(140053424547200)-MainThread] AutoSave.AutoSave._onTimeout [48]: Autosaving preferences, instances and profiles
2019-01-04 13:02:50,905 - WARNING - [(140051761587968)-Thread-5] UM.Scene.SceneNode.addDecorator [198]: Unable to add the same decorator type (<class 'cura.Settings.SettingOverrideDecorator.SettingOverrideDecorator'>) to a SceneNode twice.
2019-01-04 13:02:51,006 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.
init__ [61]: An uncaught error has occurred!
2019-01-04 13:02:51,009 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: Traceback (most recent call last):
2019-01-04 13:02:51,010 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: File "/home/aleph/Projects/cura/build-master/build/inst/lib/python3/dist-packages/cura/CuraApplication.py", line 963, in event
2019-01-04 13:02:51,011 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: return super().event(event)
2019-01-04 13:02:51,012 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: File "/home/aleph/Projects/cura/build-master/build/inst/lib/python3/dist-packages/UM/Qt/QtApplication.py", line 351, in event
2019-01-04 13:02:51,012 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: event._function_event.call()
2019-01-04 13:02:51,013 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: File "/home/aleph/Projects/cura/build-master/build/inst/lib/python3/dist-packages/UM/Event.py", line 189, in call
2019-01-04 13:02:51,014 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: self._function(*self._args, self._kwargs)
2019-01-04 13:02:51,015 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: File "/home/aleph/Projects/cura/build-master/build/inst/lib/python3/dist-packages/UM/Signal.py", line 315, in performEmit
2019-01-04 13:02:51,015 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.
init__ [64]: func(dest, *args,
kwargs)
2019-01-04 13:02:51,016 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: File "/home/aleph/Projects/cura/build-master/build/inst/lib/python3/dist-packages/UM/Settings/Models/ContainerStacksModel.py", line 32, in _onContainerChanged
2019-01-04 13:02:51,017 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: self._update()
2019-01-04 13:02:51,018 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: File "/home/aleph/Projects/cura/build-master/build/inst/lib/python3/dist-packages/UM/Settings/Models/ContainerStacksModel.py", line 46, in _update
2019-01-04 13:02:51,018 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: self._container_stacks = ContainerRegistry.getInstance().findContainerStacks(self._filter_dict)
2019-01-04 13:02:51,019 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: File "/home/aleph/Projects/cura/build-master/build/inst/lib/python3/dist-packages/UM/Settings/ContainerRegistry.py", line 143, in findContainerStacks
2019-01-04 13:02:51,020 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: return cast(List[ContainerStack], self.findContainers(container_type = ContainerStack,
kwargs))
2019-01-04 13:02:51,021 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: File "/home/aleph/Projects/cura/build-master/build/inst/lib/python3/dist-packages/UM/Settings/ContainerRegistry.py", line 168, in findContainers
2019-01-04 13:02:51,021 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: results_metadata = self.findContainersMetadata(ignore_case = ignore_case, kwargs)
2019-01-04 13:02:51,022 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: File "/home/aleph/Projects/cura/build-master/build/inst/lib/python3/dist-packages/UM/Settings/ContainerRegistry.py", line 229, in findContainersMetadata
2019-01-04 13:02:51,023 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: query.execute(candidates = candidates)
2019-01-04 13:02:51,024 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: File "/home/aleph/Projects/cura/build-master/build/inst/lib/python3/dist-packages/UM/Settings/ContainerQuery.py", line 78, in execute
2019-01-04 13:02:51,024 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: self._result = list(candidates)
2019-01-04 13:02:51,025 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: RuntimeError: dictionary changed size during iteration
2019-01-04 13:02:51,027 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [61]: An uncaught error has occurred!
2019-01-04 13:02:51,028 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: Traceback (most recent call last):
2019-01-04 13:02:51,029 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: File "/home/aleph/Projects/cura/build-master/build/inst/lib/python3/dist-packages/cura/CuraApplication.py", line 963, in event
2019-01-04 13:02:51,030 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: return super().event(event)
2019-01-04 13:02:51,030 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: File "/home/aleph/Projects/cura/build-master/build/inst/lib/python3/dist-packages/UM/Qt/QtApplication.py", line 351, in event
2019-01-04 13:02:51,031 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: event._function_event.call()
2019-01-04 13:02:51,032 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: File "/home/aleph/Projects/cura/build-master/build/inst/lib/python3/dist-packages/UM/Event.py", line 189, in call
2019-01-04 13:02:51,033 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: self._function(*self._args,
self._kwargs)
2019-01-04 13:02:51,034 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: File "/home/aleph/Projects/cura/build-master/build/inst/lib/python3/dist-packages/UM/Signal.py", line 315, in performEmit
2019-01-04 13:02:51,035 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.
init__ [64]: func(dest, *args, **kwargs)
2019-01-04 13:02:51,036 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: File "/home/aleph/Projects/cura/build-master/build/inst/lib/python3/dist-packages/UM/Settings/Models/ContainerStacksModel.py", line 32, in _onContainerChanged
2019-01-04 13:02:51,036 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: self._update()
2019-01-04 13:02:51,037 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: File "/home/aleph/Projects/cura/build-master/build/inst/lib/python3/dist-packages/UM/Settings/Models/ContainerStacksModel.py", line 44, in _update
2019-01-04 13:02:51,038 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: container.nameChanged.disconnect(self._onContainerNameChanged)
2019-01-04 13:02:51,039 - CRITICAL - [(140053424547200)-MainThread] cura.CrashHandler.init [64]: TypeError: 'method' object is not connected
aleph@auk:~/Projects/cura/build-master/build/dist$

karrad moved this task from Backlog to Release 3.6.xx on the Cura LulzBot Edition board.
karrad added a subscriber: victor_larchenko.

@victor_larchenko Please look into this one, please push to a separate branch with your fix

karrad renamed this task from Cura crashing to Cura crashing when multiplying objects.Fri, Jan 4, 2:31 PM

@anolen @karrad can't reproduce this issue. Try to clear cache and also it may be fixed with T5034

MikeR added a comment.Tue, Jan 8, 8:10 AM

FWIW I have not had this issue using cura 3.6.2

karrad added a comment.EditedTue, Jan 8, 8:15 AM

@MikeR We have a possible fix that was merged into master last night, can you clear cache fresh 5min build and try to duplicate on 3.6.2?

Edit Missed your comment above, thanks for verifying

karrad closed this task as Resolved.Tue, Jan 8, 10:11 AM

Unable to replicate after fix from T5034, closing this one out for now. Please comment/open if you see this one pop up again.