Page MenuHomeAleph Objects Inc

Cura crashing when multiplying objects
Open, NormalPublic

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.

Event Timeline

MikeR created this task.Dec 26 2018, 2:13 PM
MikeR triaged this task as Normal priority.
anolen added a subscriber: anolen.Jan 4 2019, 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.Jan 4 2019, 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.Jan 8 2019, 8:10 AM

FWIW I have not had this issue using cura 3.6.2

karrad added a comment.EditedJan 8 2019, 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.Jan 8 2019, 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.

logan reopened this task as Open.May 1 2019, 10:54 AM
logan added a subscriber: logan.

Fresh local build of 3.6.8 on fresh cache clear on Hillstar
Printing on TAZ 6 Aero V1, ChromaStrand High Speed
Crashed when trying to multiply this model once:



Last line in terminal log before I restarted:

2019-05-01 10:47:12,839 - CRITICAL - [(139659906784896)-MainThread] cura.CrashHandler.init [64]: TypeError: 'method' object is not connected

alexei added a subscriber: alexei.May 2 2019, 6:43 AM

@logan , I can't reproduce the crash. Something is wrong with your local build.

@hanna and I tried to recreate it on her cura version 3.6.7, we also could not recreate. Models used were the ones @logan posted.

logan added a comment.May 2 2019, 8:17 AM

I followed the wiki instructions (step 6) when updating my local build, including clearing the cache.

alexei removed victor_larchenko as the assignee of this task.May 13 2019, 12:43 PM
alexei changed the edit policy from "All Users" to "Cura LulzBot Edition (Project)".

This just happened to me on Shearwater Workstation. I had a build of Cura up from yesterday and was changing profile settings. I already had a (benchy) model loaded in from yesterday and today I tried to multiply it by 4 and Cura crashed. Last few lines of Terminal:

2019-05-17 09:29:42,344 - CRITICAL - [(139757648248448)-MainThread] cura.CrashHandler.init [64]: self._update()
2019-05-17 09:29:42,345 - CRITICAL - [(139757648248448)-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-05-17 09:29:42,345 - CRITICAL - [(139757648248448)-MainThread] cura.CrashHandler.init [64]: container.nameChanged.disconnect(self._onContainerNameChanged)
2019-05-17 09:29:42,346 - CRITICAL - [(139757648248448)-MainThread] cura.CrashHandler.init [64]: TypeError: 'method' object is not connected

Not sure which version of Cura it was but I just relaunched it and today I have version 3.6.10

anolen removed a subscriber: anolen.Jul 1 2019, 12:30 PM

Got this again today. Tried clearing cache and was still able to recreate.
3.6.15 local build
TAZ 6 Dual v3
Attempted to multiply the following models once merged together. Got it to make one copy without crashing but more than one copy made it crash.





From terminal log above:

2019-07-24 09:01:10,158 - CRITICAL - [(140446368857728)-MainThread] cura.CrashHandler.__init__ [61]: An uncaught error has occurred!
2019-07-24 09:01:10,159 - CRITICAL - [(140446368857728)-MainThread] cura.CrashHandler.__init__ [64]: Traceback (most recent call last):
2019-07-24 09:01:10,160 - CRITICAL - [(140446368857728)-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-07-24 09:01:10,161 - CRITICAL - [(140446368857728)-MainThread] cura.CrashHandler.__init__ [64]:     return super().event(event)
2019-07-24 09:01:10,161 - CRITICAL - [(140446368857728)-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-07-24 09:01:10,162 - CRITICAL - [(140446368857728)-MainThread] cura.CrashHandler.__init__ [64]:     event._function_event.call()
2019-07-24 09:01:10,163 - CRITICAL - [(140446368857728)-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-07-24 09:01:10,163 - CRITICAL - [(140446368857728)-MainThread] cura.CrashHandler.__init__ [64]:     self._function(*self._args, **self._kwargs)
2019-07-24 09:01:10,164 - CRITICAL - [(140446368857728)-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-07-24 09:01:10,165 - CRITICAL - [(140446368857728)-MainThread] cura.CrashHandler.__init__ [64]:     func(dest, *args, **kwargs)
2019-07-24 09:01:10,165 - CRITICAL - [(140446368857728)-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-07-24 09:01:10,166 - CRITICAL - [(140446368857728)-MainThread] cura.CrashHandler.__init__ [64]:     self._update()
2019-07-24 09:01:10,167 - CRITICAL - [(140446368857728)-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-07-24 09:01:10,168 - CRITICAL - [(140446368857728)-MainThread] cura.CrashHandler.__init__ [64]:     container.nameChanged.disconnect(self._onContainerNameChanged)
2019-07-24 09:01:10,169 - CRITICAL - [(140446368857728)-MainThread] cura.CrashHandler.__init__ [64]: TypeError: 'method' object is not connected
logan added a comment.Oct 8 2019, 8:33 AM

Still happening for me, multiplied the model fine the first time, attempt to repeat crashed CuraLE.
From log:

2019-10-08 08:28:36,031 - CRITICAL - [(140707442016576)-MainThread] cura.CrashHandler.__init__ [61]: An uncaught error has occurred!
2019-10-08 08:28:36,032 - CRITICAL - [(140707442016576)-MainThread] cura.CrashHandler.__init__ [64]: Traceback (most recent call last):
2019-10-08 08:28:36,033 - CRITICAL - [(140707442016576)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/buildbot/slave/CuraLEDevel-debian-buster-64/build/build/inst/lib/python3/dist-packages/cura/CuraApplication.py", line 964, in event
2019-10-08 08:28:36,034 - CRITICAL - [(140707442016576)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/buildbot/slave/CuraLEDevel-debian-buster-64/build/build/inst/lib/python3/dist-packages/UM/Qt/QtApplication.py", line 351, in event
2019-10-08 08:28:36,035 - CRITICAL - [(140707442016576)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/buildbot/slave/CuraLEDevel-debian-buster-64/build/build/inst/lib/python3/dist-packages/UM/Event.py", line 189, in call
2019-10-08 08:28:36,036 - CRITICAL - [(140707442016576)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/buildbot/slave/CuraLEDevel-debian-buster-64/build/build/inst/lib/python3/dist-packages/UM/Signal.py", line 315, in __performEmit
2019-10-08 08:28:36,037 - CRITICAL - [(140707442016576)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/buildbot/slave/CuraLEDevel-debian-buster-64/build/build/inst/lib/python3/dist-packages/UM/Settings/Models/ContainerStacksModel.py", line 32, in _onContainerChanged
2019-10-08 08:28:36,038 - CRITICAL - [(140707442016576)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/buildbot/slave/CuraLEDevel-debian-buster-64/build/build/inst/lib/python3/dist-packages/UM/Settings/Models/ContainerStacksModel.py", line 46, in _update
2019-10-08 08:28:36,039 - CRITICAL - [(140707442016576)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/buildbot/slave/CuraLEDevel-debian-buster-64/build/build/inst/lib/python3/dist-packages/UM/Settings/ContainerRegistry.py", line 143, in findContainerStacks
2019-10-08 08:28:36,039 - CRITICAL - [(140707442016576)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/buildbot/slave/CuraLEDevel-debian-buster-64/build/build/inst/lib/python3/dist-packages/UM/Settings/ContainerRegistry.py", line 168, in findContainers
2019-10-08 08:28:36,040 - CRITICAL - [(140707442016576)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/buildbot/slave/CuraLEDevel-debian-buster-64/build/build/inst/lib/python3/dist-packages/UM/Settings/ContainerRegistry.py", line 229, in findContainersMetadata
2019-10-08 08:28:36,041 - CRITICAL - [(140707442016576)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/buildbot/slave/CuraLEDevel-debian-buster-64/build/build/inst/lib/python3/dist-packages/UM/Settings/ContainerQuery.py", line 78, in execute
2019-10-08 08:28:36,042 - CRITICAL - [(140707442016576)-MainThread] cura.CrashHandler.__init__ [64]: RuntimeError: dictionary changed size during iteration
2019-10-08 08:28:36,044 - CRITICAL - [(140707442016576)-MainThread] cura.CrashHandler.__init__ [61]: An uncaught error has occurred!
2019-10-08 08:28:36,045 - CRITICAL - [(140707442016576)-MainThread] cura.CrashHandler.__init__ [64]: Traceback (most recent call last):
2019-10-08 08:28:36,046 - CRITICAL - [(140707442016576)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/buildbot/slave/CuraLEDevel-debian-buster-64/build/build/inst/lib/python3/dist-packages/cura/CuraApplication.py", line 964, in event
2019-10-08 08:28:36,047 - CRITICAL - [(140707442016576)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/buildbot/slave/CuraLEDevel-debian-buster-64/build/build/inst/lib/python3/dist-packages/UM/Qt/QtApplication.py", line 351, in event
2019-10-08 08:28:36,048 - CRITICAL - [(140707442016576)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/buildbot/slave/CuraLEDevel-debian-buster-64/build/build/inst/lib/python3/dist-packages/UM/Event.py", line 189, in call
2019-10-08 08:28:36,049 - CRITICAL - [(140707442016576)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/buildbot/slave/CuraLEDevel-debian-buster-64/build/build/inst/lib/python3/dist-packages/UM/Signal.py", line 315, in __performEmit
2019-10-08 08:28:36,049 - CRITICAL - [(140707442016576)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/buildbot/slave/CuraLEDevel-debian-buster-64/build/build/inst/lib/python3/dist-packages/UM/Settings/Models/ContainerStacksModel.py", line 32, in _onContainerChanged
2019-10-08 08:28:36,050 - CRITICAL - [(140707442016576)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/buildbot/slave/CuraLEDevel-debian-buster-64/build/build/inst/lib/python3/dist-packages/UM/Settings/Models/ContainerStacksModel.py", line 44, in _update
2019-10-08 08:28:36,051 - CRITICAL - [(140707442016576)-MainThread] cura.CrashHandler.__init__ [64]: TypeError: 'method' object is not connected

bmh added a subscriber: bmh.Oct 8 2019, 10:11 AM