Ultimaker / Cura

3D printer / slicing GUI built on top of the Uranium framework
GNU Lesser General Public License v3.0
6.21k stars 2.09k forks source link

Cura 4.8.0 crashes during first-time-setup immediately after installation #8732

Closed JAL741 closed 1 week ago

JAL741 commented 4 years ago

I installed Cura 4.8.0. It uninstalled my working Cura 4.7 (during which I chose the options to also remove all profiles) and then installed itself. It then asked me the first-time-setup questions about license agreement and data collection. When it asked me to sign it with an account; I pressed 'skip'. Then it asked me to select my printer; I pressed "non-networked printer". Before the list of printers to choose from was displayed, the application window disappeared completely without warning. Looking in Windows Event Logs, I see the following failure logged:

Faulting application name: Cura.exe, version: 0.0.0.0, time stamp: 0x5f9933ba Faulting module name: ig4icd64.dll, version: 9.17.10.4459, time stamp: 0x573dfb41 Exception code: 0xc0000005 Fault offset: 0x00000000000011b1 Faulting process id: 0x1a68 Faulting application start time: 0x01d6b84cc744f216 Faulting application path: C:\Program Files\Ultimaker Cura 4.8.0\Cura.exe Faulting module path: C:\WINDOWS\system32\ig4icd64.dll Report Id: 575bc833-21a5-4c85-bfdf-5bb239c17d86 Faulting package full name: Faulting package-relative application ID:

JAL741 commented 4 years ago

I have now un-installed Cura 4.8.0, then re-installed it. The crash now happens even before being asked to select a printer.

I have captured a video demonstrating this (attached). I have also attached the entire contents of the %AppData%\Cura folder where I see several log files that developers may find useful.

Cura 4.8.0 installation failure (crash) - 11-Nov-2020.zip

Cura AppData-Roaming files.zip

.

jellespijker commented 4 years ago

Hi @JAL741

Could it be that I asked you on a Facebook comment to report this here? If so. Thank you for your the bug reports and log files. These will be most helpful, but you would make us really happy if you also fill in the bug template next time (lets hope there will be no next time tho). Since that template also contains a question regarding the graphic driver and operating system that you're using.

I haven't look in detail through the logs but the faulting module that is reported by windows is C:\WINDOWS\system32\ig4icd64.dll, which is a part of the Intel Graphics Accelerator Drivers for windows 7.

Can you tell us what videocard and which windows system you are using?

CGBromley commented 4 years ago

I am having same problem but I am using Windows 10, Intel(R) HD Graphics. Can I just go back to 4.7? I don't see where I can download, keeps sending me to 4.8.0

JAL741 commented 4 years ago

@jellespijker system information is now attached. Also, what "bug template"? I just clicked the 'log issue" button and it did not present me with any template.

DxDiag.txt SysInfo.txt

JAL741 commented 4 years ago

@jellespijker your suggest that it might be related to the graphics processor in my laptop, reminded me that there are two; the integrated Intel CPU graphics processor, and an add-in nVidia processor. By default, the laptop automatically selects which graphics processor to use, per application. I decided to force Cura.exe to use the nVida graphics processor, and that allowed me to complete the Cura 4.8.0 installation and setup. It is now working for me, but the fact that Cura 4.8.0 crashed in the first place, instead of handling this gracefully, is still a bug in my opinion.

Right-click Cura run with Nvidia graphics

jellespijker commented 4 years ago

@CGBromley Older versions of Cura can be downloaded from https://github.com/Ultimaker/Cura/releases You can have multiple versions installed along side each other

jellespijker commented 4 years ago

@JAL741 Glad to hear that you have found a work around, and yes you're absolutely correct that this is still a bug. I will ask the developers whom work on Windows to take a closer look, since they're more familiar with this system then I'm.

@konskarm or @rburema could either one of you take a look at this issue please?

@JAL741 pressing the "new issue" button should have presented this screen image

rburema commented 4 years ago

Looking through the logs, I see that it somehow detects OpenGL 3.1 with GLSL version 140, and it's running from your Intel card at the time the logs stop:

2020-11-11 10:47:20,170 - DEBUG - [MainThread] UM.Qt.QtRenderer._initialize [210]: Support for Vertex Array Objects: True
2020-11-11 10:47:20,188 - DEBUG - [MainThread] UM.View.GL.OpenGL.__init__ [112]: Initialized OpenGL subsystems.
2020-11-11 10:47:20,196 - DEBUG - [MainThread] UM.View.GL.OpenGL.__init__ [113]: OpenGL Version:  3.1.0 - Build 9.17.10.4459
2020-11-11 10:47:20,203 - DEBUG - [MainThread] UM.View.GL.OpenGL.__init__ [114]: OpenGL Vendor:   Intel
2020-11-11 10:47:20,210 - DEBUG - [MainThread] UM.View.GL.OpenGL.__init__ [115]: OpenGL Renderer: Intel(R) HD Graphics 3000
2020-11-11 10:47:20,218 - DEBUG - [MainThread] UM.View.GL.OpenGL.__init__ [116]: GLSL Version:    1.40.0

So there are 2 issues here:

I'm not sure what's wrong, but you could try these things:

jellespijker commented 4 years ago

Why isn't is selecting your NVidia card when you select that (we can't do much about this).

@rburema The log you're reading was when he was indeed running from the Intel card. Selecting the NVidia card was a work around and then it doesn't crash (therefor no log file provided of that scenario)

md-hexdrive commented 4 years ago

I also have this identical problem, and cura 4.8 also crashes for me at first setup. I haven't seen the log file itself, but my computer only has Intel Integrated Graphics. I will be moving to an earlier version of cura for now.

fabriciofx commented 3 years ago

@jellespijker I also have the same problem. My setup is Windows 10 20H2, 8GiB RAM, CPU intel and GPU Intel Integrated Graphics (It's a ProBook 6470b HP notebook).

EDIT: Some (maybe useful) details: I've also a external monitor attached with this notebook. I've tried use the Cura 4.7.1 and 4.6.2 and both have the same problem (crash in the start after the instalation).

ondrapCZE commented 3 years ago

Hi, I am not sure if my laptop have the same issue but manifestation is same. During the first time setup it crashes. Attached is the cura error output. [stderr.log](https://github.com/Ultimaker/Cura/files/5744556/stderr.log)

fabriciofx commented 3 years ago

I haven't sent my logs, but there aren't errors on it, just few WARNING, INFO and DEBUG information:

2020-12-23 22:01:57,751 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin ConsoleLogger
2020-12-23 22:01:57,781 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin CuraDrive
2020-12-23 22:01:57,816 - INFO - [MainThread] CuraEngineBackend.CuraEngineBackend.__init__ [92]: Found CuraEngine at: C:\Program Files\Ultimaker Cura 4.8.0\CuraEngine.exe
2020-12-23 22:01:57,823 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin CuraEngineBackend
2020-12-23 22:01:57,840 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin CuraProfileReader
2020-12-23 22:01:57,844 - DEBUG - [MainThread] UM.Backend.Backend._logSocketState [188]: Socket state changed to Listening
2020-12-23 22:01:57,853 - INFO - [MainThread] UM.Backend.Backend.startEngine [90]: Started engine process: C:\Program Files\Ultimaker Cura 4.8.0\CuraEngine.exe
2020-12-23 22:01:57,856 - DEBUG - [MainThread] UM.Backend.Backend._backendLog [110]: [Backend] Calling engine with: ['C:\\Program Files\\Ultimaker Cura 4.8.0\\CuraEngine.exe', 'connect', '127.0.0.1:49674', '']
2020-12-23 22:01:57,869 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin CuraProfileWriter
2020-12-23 22:01:57,883 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin OBJReader
2020-12-23 22:01:57,897 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin OBJWriter
2020-12-23 22:01:57,917 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin STLReader
2020-12-23 22:01:57,932 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin STLWriter
2020-12-23 22:01:57,949 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin FileLogger
2020-12-23 22:01:57,977 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin FirmwareUpdateChecker
2020-12-23 22:01:57,992 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin FirmwareUpdater
2020-12-23 22:01:58,005 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin GCodeGzReader
2020-12-23 22:01:58,019 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin GCodeGzWriter
2020-12-23 22:01:58,033 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin GCodeProfileReader
2020-12-23 22:01:58,068 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin GCodeReader
2020-12-23 22:01:58,092 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin GCodeWriter
2020-12-23 22:01:58,122 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin ImageReader
2020-12-23 22:01:58,130 - DEBUG - [EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend]
2020-12-23 22:01:58,135 - DEBUG - [EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] Cura_SteamEngine version 4.8.0
2020-12-23 22:01:58,140 - DEBUG - [EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] Copyright (C) 2020 Ultimaker
2020-12-23 22:01:58,145 - DEBUG - [EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend]
2020-12-23 22:01:58,151 - DEBUG - [EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] This program is free software: you can redistribute it and/or modify
2020-12-23 22:01:58,156 - DEBUG - [EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] it under the terms of the GNU Affero General Public License as published by
2020-12-23 22:01:58,160 - DEBUG - [EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] the Free Software Foundation, either version 3 of the License, or
2020-12-23 22:01:58,164 - DEBUG - [EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] (at your option) any later version.
2020-12-23 22:01:58,168 - DEBUG - [EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend]
2020-12-23 22:01:58,172 - DEBUG - [EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] This program is distributed in the hope that it will be useful,
2020-12-23 22:01:58,176 - DEBUG - [EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] but WITHOUT ANY WARRANTY; without even the implied warranty of
2020-12-23 22:01:58,181 - DEBUG - [EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2020-12-23 22:01:58,185 - DEBUG - [EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] GNU Affero General Public License for more details.
2020-12-23 22:01:58,190 - DEBUG - [EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend]
2020-12-23 22:01:58,194 - DEBUG - [EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] You should have received a copy of the GNU Affero General Public License
2020-12-23 22:01:58,198 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin LegacyProfileReader
2020-12-23 22:01:58,203 - DEBUG - [EngineErrorThread] UM.Backend.Backend._backendLog [110]: [Backend] along with this program.  If not, see <http://www.gnu.org/licenses/>.
2020-12-23 22:01:58,207 - DEBUG - [MainThread] UM.Backend.Backend._logSocketState [192]: Socket state changed to Connected
2020-12-23 22:01:58,211 - DEBUG - [MainThread] UM.Backend.Backend._onSocketStateChanged [181]: Backend connected on port 49674
2020-12-23 22:01:58,227 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin LocalContainerProvider
2020-12-23 22:01:58,246 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin LocalFileOutputDevice
2020-12-23 22:01:58,261 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin MachineSettingsAction
2020-12-23 22:01:58,277 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin ModelChecker
2020-12-23 22:01:58,294 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin MonitorStage
2020-12-23 22:01:58,312 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin PerObjectSettingsTool
2020-12-23 22:01:58,327 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin PostProcessingPlugin
2020-12-23 22:01:58,341 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin PrepareStage
2020-12-23 22:01:58,354 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin PreviewStage
2020-12-23 22:01:58,375 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin RemovableDriveOutputDevice
2020-12-23 22:01:58,387 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin SentryLogger
2020-12-23 22:01:58,422 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin SimulationView
2020-12-23 22:01:58,438 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin SliceInfoPlugin
2020-12-23 22:01:58,456 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin SolidView
2020-12-23 22:01:58,472 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin SupportEraser
2020-12-23 22:01:58,523 - WARNING - [MainThread] UM.Logger.logException [106]: Exception: Failed to load packages for Marketplace
2020-12-23 22:01:58,527 - WARNING - [MainThread] UM.Logger.logException [110]: NoneType: None
2020-12-23 22:01:58,530 - WARNING - [MainThread] UM.Logger.logException [106]: Exception: Failed to load packages for Marketplace
2020-12-23 22:01:58,534 - WARNING - [MainThread] UM.Logger.logException [110]: NoneType: None
2020-12-23 22:01:58,538 - WARNING - [MainThread] UM.Logger.logException [106]: Exception: Failed to load packages for Marketplace
2020-12-23 22:01:58,543 - WARNING - [MainThread] UM.Logger.logException [110]: NoneType: None
2020-12-23 22:01:58,547 - WARNING - [MainThread] UM.Logger.logException [106]: Exception: Failed to load packages for Marketplace
2020-12-23 22:01:58,551 - WARNING - [MainThread] UM.Logger.logException [110]: NoneType: None
2020-12-23 22:01:58,563 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin Toolbox
2020-12-23 22:01:58,579 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin CameraTool
2020-12-23 22:01:58,596 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin MirrorTool
2020-12-23 22:01:58,618 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin RotateTool
2020-12-23 22:01:58,638 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin ScaleTool
2020-12-23 22:01:58,651 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin SelectionTool
2020-12-23 22:01:58,671 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin TranslateTool
2020-12-23 22:01:58,684 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin TrimeshReader
2020-12-23 22:01:58,704 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin UFPReader
2020-12-23 22:01:58,721 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin UFPWriter
2020-12-23 22:01:58,739 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin UltimakerMachineActions
2020-12-23 22:01:58,936 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin UM3NetworkPrinting
2020-12-23 22:01:58,952 - INFO - [Thread-2] UpdateChecker.UpdateCheckerJob.run [40]: Checking for new version of cura
2020-12-23 22:01:58,968 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin UpdateChecker
2020-12-23 22:01:59,563 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin USBPrinting
2020-12-23 22:01:59,847 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin VersionUpgrade21to22
2020-12-23 22:01:59,973 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin VersionUpgrade22to24
2020-12-23 22:02:00,003 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin VersionUpgrade25to26
2020-12-23 22:02:00,031 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin VersionUpgrade26to27
2020-12-23 22:02:00,058 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin VersionUpgrade27to30
2020-12-23 22:02:00,083 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin VersionUpgrade30to31
2020-12-23 22:02:00,100 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin VersionUpgrade32to33
2020-12-23 22:02:00,115 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin VersionUpgrade33to34
2020-12-23 22:02:00,130 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin VersionUpgrade34to35
2020-12-23 22:02:00,143 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin VersionUpgrade35to40
2020-12-23 22:02:00,158 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin VersionUpgrade40to41
2020-12-23 22:02:00,173 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin VersionUpgrade41to42
2020-12-23 22:02:00,190 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin VersionUpgrade42to43
2020-12-23 22:02:00,204 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin VersionUpgrade43to44
2020-12-23 22:02:00,218 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin VersionUpgrade44to45
2020-12-23 22:02:00,233 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin VersionUpgrade45to46
2020-12-23 22:02:00,248 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin VersionUpgrade460to462
2020-12-23 22:02:00,263 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin VersionUpgrade462to47
2020-12-23 22:02:00,277 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin VersionUpgrade47to48
2020-12-23 22:02:00,292 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin SimpleView
2020-12-23 22:02:00,319 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin X3DReader
2020-12-23 22:02:00,349 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin XmlMaterialProfile
2020-12-23 22:02:00,364 - INFO - [MainThread] UM.Logger.info [122]: Loaded plugin XRayView
2020-12-23 22:02:00,369 - DEBUG - [MainThread] UM.PluginRegistry.loadPlugins [432]: Loading all plugins took 3.3161332607269287 seconds
2020-12-23 22:02:00,389 - INFO - [MainThread] UM.VersionUpgradeManager.upgrade [163]: Looking for old configuration files to upgrade.
2020-12-23 22:02:00,421 - INFO - [MainThread] UM.VersionUpgradeManager.upgrade [175]: Checking and performing updates took 0.03300285339355469
2020-12-23 22:02:02,593 - DEBUG - [MainThread] UM.Settings.ContainerRegistry.loadAllMetadata [361]: Loading metadata into container registry took 1.9558215141296387 seconds
2020-12-23 22:02:02,613 - DEBUG - [MainThread] cura.Scene.CuraSceneController.setActiveBuildPlate [142]: Select build plate: 0
2020-12-23 22:02:02,618 - INFO - [MainThread] cura.CuraApplication.run [782]: Initializing machine error checker
2020-12-23 22:02:02,625 - INFO - [MainThread] cura.CuraApplication.run [787]: Initializing machine manager
2020-12-23 22:02:02,630 - INFO - [MainThread] cura.CuraApplication.run [792]: Initializing container manager
2020-12-23 22:02:03,016 - WARNING - [MainThread] LocalContainerProvider.LocalContainerProvider._saveCachedDefinition [295]: The definition cache for definition fdmprinter failed to pickle.
2020-12-23 22:02:03,067 - DEBUG - [MainThread] UM.Scene.Camera._preferencesChanged [255]: Changing perspective mode to perspective.
2020-12-23 22:02:03,112 - DEBUG - [MainThread] UM.Qt.Bindings.Theme.load [158]: Loading theme file: C:\Program Files\Ultimaker Cura 4.8.0\resources\themes\cura-light\theme.json
2020-12-23 22:02:03,564 - DEBUG - [MainThread] UM.Qt.Bindings.Theme.load [246]: Loaded theme C:\Program Files\Ultimaker Cura 4.8.0\resources\themes\cura-light
2020-12-23 22:02:05,393 - DEBUG - [MainThread] PostProcessingPlugin.PostProcessingPlugin._createView [340]: Creating post processing plugin view.
2020-12-23 22:02:05,405 - DEBUG - [MainThread] PostProcessingPlugin.PostProcessingPlugin.loadScripts [202]: Begin loading of script: ChangeAtZ
2020-12-23 22:02:05,408 - DEBUG - [MainThread] PostProcessingPlugin.PostProcessingPlugin.loadScripts [202]: Begin loading of script: ColorMix
2020-12-23 22:02:05,410 - DEBUG - [MainThread] PostProcessingPlugin.PostProcessingPlugin.loadScripts [202]: Begin loading of script: DisplayFilenameAndLayerOnLCD
2020-12-23 22:02:05,413 - DEBUG - [MainThread] PostProcessingPlugin.PostProcessingPlugin.loadScripts [202]: Begin loading of script: DisplayProgressOnLCD
2020-12-23 22:02:05,415 - DEBUG - [MainThread] PostProcessingPlugin.PostProcessingPlugin.loadScripts [202]: Begin loading of script: FilamentChange
2020-12-23 22:02:05,417 - DEBUG - [MainThread] PostProcessingPlugin.PostProcessingPlugin.loadScripts [202]: Begin loading of script: InsertAtLayerChange
2020-12-23 22:02:05,422 - DEBUG - [MainThread] PostProcessingPlugin.PostProcessingPlugin.loadScripts [202]: Begin loading of script: PauseAtHeight
2020-12-23 22:02:05,425 - DEBUG - [MainThread] PostProcessingPlugin.PostProcessingPlugin.loadScripts [202]: Begin loading of script: RetractContinue
2020-12-23 22:02:05,427 - DEBUG - [MainThread] PostProcessingPlugin.PostProcessingPlugin.loadScripts [202]: Begin loading of script: SearchAndReplace
2020-12-23 22:02:05,433 - DEBUG - [MainThread] PostProcessingPlugin.PostProcessingPlugin.loadScripts [202]: Begin loading of script: Stretch
2020-12-23 22:02:05,435 - DEBUG - [MainThread] PostProcessingPlugin.PostProcessingPlugin.loadScripts [202]: Begin loading of script: TimeLapse
2020-12-23 22:02:05,437 - DEBUG - [MainThread] PostProcessingPlugin.PostProcessingPlugin.loadScripts [202]: Begin loading of script: UsePreviousProbeMeasurements
2020-12-23 22:02:05,614 - DEBUG - [MainThread] PostProcessingPlugin.PostProcessingPlugin._createView [350]: Post processing view created.
2020-12-23 22:02:05,783 - DEBUG - [MainThread] cura.OAuth2.AuthorizationService._parseJWT [100]: There was no auth data or access token
2020-12-23 22:02:05,788 - DEBUG - [MainThread] cura.OAuth2.AuthorizationService._parseJWT [100]: There was no auth data or access token
2020-12-23 22:02:05,793 - DEBUG - [MainThread] cura.OAuth2.AuthorizationService._parseJWT [100]: There was no auth data or access token
2020-12-23 22:02:06,927 - DEBUG - [MainThread] UM.Controller.setActiveStage [180]: Setting active stage to PrepareStage
2020-12-23 22:02:07,054 - DEBUG - [MainThread] cura.Machines.Models.NozzleModel._update [28]: Updating NozzleModel.
2020-12-23 22:02:07,061 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///C:/Program Files/Ultimaker Cura 4.8.0/resources/qml/Menus/ConfigurationMenu/ConfigurationMenu.qml:143: TypeError: Cannot read property 'hasRemoteConnection' of null
2020-12-23 22:02:07,102 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///C:/Program Files/Ultimaker Cura 4.8.0/resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml:234: TypeError: Cannot read property 'activeStack' of undefined
2020-12-23 22:02:07,106 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///C:/Program Files/Ultimaker Cura 4.8.0/resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml:233: TypeError: Cannot read property 'isEnabled' of null
2020-12-23 22:02:07,168 - DEBUG - [MainThread] UM.Controller.setActiveView [108]: Setting active view to SolidView
2020-12-23 22:02:07,206 - DEBUG - [MainThread] ModelChecker.ModelChecker._createView [117]: Creating model checker view.
2020-12-23 22:02:07,220 - DEBUG - [MainThread] ModelChecker.ModelChecker._createView [126]: Model checker view created.
2020-12-23 22:02:07,222 - DEBUG - [MainThread] SliceInfoPlugin.SliceInfo._createDialog [76]: Creating dialog [MoreInfoWindow.qml]
2020-12-23 22:02:07,297 - DEBUG - [MainThread] Toolbox.src.Toolbox._makeRequestByType [544]: Requesting [updates] metadata from server.
2020-12-23 22:02:07,303 - DEBUG - [MainThread] cura.OAuth2.AuthorizationService.getAccessToken [124]: No auth data to retrieve the access_token from
2020-12-23 22:02:07,308 - WARNING - [MainThread] UM.Logger.warning [128]: Cannot add authorization to Cloud Api request
2020-12-23 22:02:07,321 - DEBUG - [Thread-3] cura.Machines.ContainerTree.run [174]: Started background loading of MachineNodes
2020-12-23 22:02:07,325 - DEBUG - [Thread-3] cura.Machines.ContainerTree.run [185]: All MachineNode loading completed
2020-12-23 22:02:07,330 - DEBUG - [MainThread] cura.CuraApplication.run [833]: Booting Cura took 11.393302202224731 seconds
2020-12-23 22:02:08,488 - DEBUG - [MainThread] cura.Machines.Models.QualityProfilesDropDownMenuModel._update [62]: Updating QualityProfilesDropDownMenuModel.
2020-12-23 22:02:08,492 - DEBUG - [MainThread] cura.Machines.Models.QualityProfilesDropDownMenuModel._update [74]: No active GlobalStack, set quality profile model as empty.
2020-12-23 22:02:08,497 - DEBUG - [MainThread] cura.Machines.Models.CustomQualityProfilesDropDownMenuModel._update [33]: Updating CustomQualityProfilesDropDownMenuModel.
2020-12-23 22:02:08,501 - DEBUG - [MainThread] cura.Machines.Models.CustomQualityProfilesDropDownMenuModel._update [38]: No active GlobalStack, set CustomQualityProfilesDropDownMenuModel as empty.
2020-12-23 22:02:08,965 - DEBUG - [MainThread] UM.Qt.QtRenderer._initialize [210]: Support for Vertex Array Objects: True
2020-12-23 22:02:08,980 - DEBUG - [MainThread] UM.View.GL.OpenGL.__init__ [112]: Initialized OpenGL subsystems.
2020-12-23 22:02:08,984 - DEBUG - [MainThread] UM.View.GL.OpenGL.__init__ [113]: OpenGL Version:  4.0.0 - Build 9.17.10.4229
2020-12-23 22:02:08,989 - DEBUG - [MainThread] UM.View.GL.OpenGL.__init__ [114]: OpenGL Vendor:   Intel
2020-12-23 22:02:08,994 - DEBUG - [MainThread] UM.View.GL.OpenGL.__init__ [115]: OpenGL Renderer: Intel(R) HD Graphics 4000
2020-12-23 22:02:08,999 - DEBUG - [MainThread] UM.View.GL.OpenGL.__init__ [116]: GLSL Version:    4.0.0
2020-12-23 22:02:09,004 - DEBUG - [MainThread] UM.View.GL.ShaderProgram.load [58]: Loading shader file [C:\Program Files\Ultimaker Cura 4.8.0\resources\shaders\default.shader]...
2020-12-23 22:02:09,018 - DEBUG - [MainThread] UM.View.GL.ShaderProgram.load [58]: Loading shader file [C:\Program Files\Ultimaker Cura 4.8.0\resources\shaders\selection.shader]...
2020-12-23 22:02:09,031 - DEBUG - [MainThread] UM.View.GL.ShaderProgram.load [58]: Loading shader file [C:\Program Files\Ultimaker Cura 4.8.0\resources\shaders\select_face.shader]...
2020-12-23 22:02:09,043 - DEBUG - [MainThread] UM.View.GL.ShaderProgram.load [58]: Loading shader file [C:\Program Files\Ultimaker Cura 4.8.0\resources\shaders\default.shader]...
2020-12-23 22:02:09,060 - DEBUG - [MainThread] UM.View.GL.ShaderProgram.load [58]: Loading shader file [C:\Program Files\Ultimaker Cura 4.8.0\resources\shaders\composite.shader]...
2020-12-23 22:02:09,081 - DEBUG - [MainThread] UM.View.GL.ShaderProgram.load [58]: Loading shader file [C:\Program Files\Ultimaker Cura 4.8.0\resources\shaders\overhang.shader]...
2020-12-23 22:02:09,100 - DEBUG - [MainThread] UM.View.GL.ShaderProgram.load [58]: Loading shader file [C:\Program Files\Ultimaker Cura 4.8.0\resources\shaders\striped.shader]...
2020-12-23 22:02:09,121 - DEBUG - [MainThread] UM.View.GL.ShaderProgram.load [58]: Loading shader file [C:\Program Files\Ultimaker Cura 4.8.0\resources\shaders\transparent_object.shader]...
2020-12-23 22:02:09,135 - DEBUG - [MainThread] UM.View.GL.ShaderProgram.load [58]: Loading shader file [C:\Program Files\Ultimaker Cura 4.8.0\resources\shaders\striped.shader]...
2020-12-23 22:02:09,153 - DEBUG - [MainThread] UM.View.GL.ShaderProgram.load [58]: Loading shader file [C:\Program Files\Ultimaker Cura 4.8.0\resources\shaders\xray.shader]...
2020-12-23 22:02:09,166 - DEBUG - [MainThread] UM.View.GL.ShaderProgram.load [58]: Loading shader file [C:\Program Files\Ultimaker Cura 4.8.0\resources\shaders\xray_composite.shader]...
2020-12-23 22:02:09,192 - DEBUG - [MainThread] UM.View.GL.ShaderProgram.load [58]: Loading shader file [C:\Program Files\Ultimaker Cura 4.8.0\resources\shaders\platform.shader]...
2020-12-23 22:02:09,213 - DEBUG - [MainThread] UM.View.GL.ShaderProgram.load [58]: Loading shader file [C:\Program Files\Ultimaker Cura 4.8.0\resources\shaders\xray.shader]...

Can be these WARNINGs the cause of this problem?

Ghostkeeper commented 3 years ago

Over in https://github.com/Ultimaker/Cura/issues/9018 they've found a possible fix/workaround for this issue: Reinstall Visual C++ Redistributable, or uninstall the ASUS GPU Tweaks. Something there seems to be messing with your graphics drivers that causes a crash the first time it needs to clip something (to display a scrollable view).

dgiambo1 commented 3 years ago

I thought the work-around was good. Before installing vcredist it wouldn't get past the data collection screen, after doing this it let me past that screen but it only got me to this issue. I clicked "Add Non-Networked Printer" and it crashed again. Same crash each time. Not sure what is going on, but I can't use Cura anymore, 4.7.1 and 4.8.0 crash in the same way. For me, everything was working fine until I tried to add a new printer, which somehow ended up clearing my configuration and showing me all the 'first-time user' stuff again, then I ended up here...

dgiambo1 commented 3 years ago

Even more confused. I let the machine sit awhile. Just tried again so I could collect a log. It didn't crash on data collection or on the add non-networked printer this time. That's after dozens of failures earlier today. Could it be trying to reach a server or something during this phase? Something outside of my PC seems to have changed the behavior.

fabriciofx commented 3 years ago

@Ghostkeeper how can I reinstall only the Visual C++ Redistributable?

P.S. I'm using Windows 10 20H2 and my notebook has an Intel HD 4000 with all intel drivers installed. I also have an external monitor, which is the main monitor in windows.

nordlead2005 commented 3 years ago

FYI, this has nothing to do with ASUS GPU Tweak, I just listed it as a program that needs newer VC++ redistributables, while Cura seems to be crashing on them even though they should work. VC++ combined all the redistributables from 2015-2019, where as previously you would have installed, 2015, 2017 & 2019 all as separate versions (clarification, 2015-2019 have always been combined starting with 2017, but previous versions like 2015 by itself, 2012, etc... are still all separated).

I also recently discovered that MeshMixer doesn't work without the 2015-2019 Redistributable, so rolling back gets cura working, but breaks other essential 3d printing tools. I'm fairly close to abandoning Cura over this.

I also don't know if this is actually a duplicate, I haven't looked at the logs in this issue, but it is fairly simple to roll back VC++ Redistributables and test if it works for you.

@fabriciofx

  1. Open Add or Remove Programs
  2. Search for redistributable
  3. uninstall the 2015-2019 x64 redistributable (leave the 32-bit as it doesn't matter, because Cura is installed as 64-bit)
  4. In a file explorer, navigate to your cura install directory (typically C:\Program Files\Ultimaker Cura 4.8.0)
  5. scroll to the bottom and execute vcredist_x64.exe (this is 2015 ONLY, so anything that needs 2017 or 2019 will no longer function properly)
  6. Reboot PC

Now, it is possible that there is a 2015-2019 redistributable version that does work. However, it is hard to find anything other than the latest to download. I tried 1 version back, but I don't believe that worked. I'm not even sure when I updated the redistributable or how big my jump was since Cura 4.8.0 was working a week before Christmas for me, and then broke, but that doesn't exactly line up with MS's releases.

Hoghunterx commented 3 years ago

Hello all I had to join this forum to help everyone out. I figured out how to install Cura 4.8 on Windows 10. You need to shut off everything that is under Windows firewall. Click on the tab that says app and browser control. Scroll down to exploit protection. Click on exploit protection settings. Shut all of those settings off by default. Restart computer reinstall software it should run. It works fine for me. Hope this helps please let me know if it worked for you

fabriciofx commented 3 years ago

@Hoghunterx thanks!!! It worked for me too!!! But there is a problem: to run Cura 4.8 I need to keep all exploit protection disabled... So, I don't know if it is a problem with Cura or Windows. @nordlead2005 @Ghostkeeper @jellespijker Any idea?

Hoghunterx commented 3 years ago

You have to keep the exploits off at all times or it will not work I'm glad I helped you out brother

On Tue, Dec 29, 2020, 8:39 PM Fabricio Cabral notifications@github.com wrote:

@Hoghunterx https://github.com/Hoghunterx thanks!!! It worked for me too!!! But there is a problem: to run Cura 4.8 I need to keep all exploit protection disabled... So, I don't know if it is a problem with Cura or Windows. @nordlead2005 https://github.com/nordlead2005 @Ghostkeeper https://github.com/Ghostkeeper @jellespijker https://github.com/jellespijker Any idea?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Ultimaker/Cura/issues/8732#issuecomment-752306640, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASJUCPVUBVDTRVNLDFXEGQ3SXKHHTANCNFSM4TSIGS3Q .

Hoghunterx commented 3 years ago

The computer I use for my 3D printer I don't put on the internet so I don't have to worry about any malicious attacks

On Tue, Dec 29, 2020, 8:39 PM Fabricio Cabral notifications@github.com wrote:

@Hoghunterx https://github.com/Hoghunterx thanks!!! It worked for me too!!! But there is a problem: to run Cura 4.8 I need to keep all exploit protection disabled... So, I don't know if it is a problem with Cura or Windows. @nordlead2005 https://github.com/nordlead2005 @Ghostkeeper https://github.com/Ghostkeeper @jellespijker https://github.com/jellespijker Any idea?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Ultimaker/Cura/issues/8732#issuecomment-752306640, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASJUCPVUBVDTRVNLDFXEGQ3SXKHHTANCNFSM4TSIGS3Q .

Ghostkeeper commented 3 years ago

@Ghostkeeper how can I reinstall only the Visual C++ Redistributable?

The redistributable should be somewhere in your installation folder. If not, you can also download the one that ships with Cura's installer here: https://github.com/Ultimaker/cura-binary-data/tree/master/windows

Ghostkeeper commented 3 years ago

I don't know what this exploit protection is, but if it's part of the Windows firewall I shouldn't recommend turning it off. Cura is open source and you can see exactly what it's doing; albeit you'd have to trust that you've downloaded the program generated from that source code or generate CuraEngine+libArcus yourself.

However Cura is calling here upon ig4icd64.dll, as indicated by the crash report of JAL741. This is your Intel graphics driver. I don't suppose there would be an exploit in the Intel graphics driver, but graphics drivers do strange things sometimes so I can imagine that it could trigger some flags.

Hoghunterx commented 3 years ago

When I download The Cura file from the website, the Windows defender insignia is on the file. The program would only install halfway and act like it was done. When it would try to run the software it would start up, then when you get to the point of adding a printer it would immediately crash. I tried to install the program on another computer of mine, it worked no problem. Why it worked fine on this computer I don't know, but on that installation when it got halfway it asked me to allow permission I'm assuming from two other external companies that are probably part-developing that software. I read on another forum about earlier versions of Cura, to shut off the Windows firewall during installation. I just got lucky with finding the exploit protection tab and shutting everything off and it worked. I don't recommend running without a firewall but I don't use my computer online. I ran Cura all night last night not one problem. I did not update my graphics card everything works fine. I just turned my Windows firewall back on and all exploit protection back on my software is running fine. I am not a computer guy just trying to pass on information

On Wed, Dec 30, 2020, 4:06 AM Ghostkeeper notifications@github.com wrote:

I don't know what this exploit protection is, but if it's part of the Windows firewall I shouldn't recommend turning it off. Cura is open source and you can see exactly what it's doing; albeit you'd have to trust that you've downloaded the program generated from that source code or generate CuraEngine+libArcus yourself.

However Cura is calling here upon ig4icd64.dll, as indicated by the crash report of JAL741. This is your Intel graphics driver. I don't suppose there would be an exploit in the Intel graphics driver, but graphics drivers do strange things sometimes so I can imagine that it could trigger some flags.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Ultimaker/Cura/issues/8732#issuecomment-752400352, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASJUCPUVYWDA3DXOZRSDC3DSXL3R3ANCNFSM4TSIGS3Q .

AceManJr commented 3 years ago

Had all the similar problems as stated above. The one thing that succeeded in successfully installing CURA was turning off the private windows firewall and turning on after install. image

Thanks for the suggestion!

fabriciofx commented 3 years ago

@Hoghunterx I appreciate your information a lot! Thanks, again! 😄 @Ghostkeeper I don't know if is something around the video drivers. I never have had a problem like it and use many 3D applications on my actual setup. Maybe Cura is trying accessin internet and Windows doesn't allow. Can be it?

doc-Seltsam commented 3 years ago

https://github.com/Ultimaker/Cura/issues/8367#issuecomment-735233985

fabriciofx commented 3 years ago

@Hoghunterx @Ghostkeeper @doc-Seltsam I think discovered root of the cause: the Windows Address Space Layout Randomization (ASLR). I've disabled it just in my Windows 10 and Cura worked like a charm! Please, test it!

Ghostkeeper commented 3 years ago

When I download The Cura file from the website, the Windows defender insignia is on the file.

Indeed, that's because the installer requires administration access to be able to install anything into Program Files.

Had all the similar problems as stated above. The one thing that succeeded in successfully installing CURA was turning off the private windows firewall and turning on after install.

Wait, so after the installer has finished you turn the firewall back on and Cura runs fine? That would mean that the firewall is blocking something from the installer, rather than blocking something from Cura? And the installer perhaps didn't install everything? The Cura installer is a fairly standard NSIS installer which is used by loads of software. Perhaps the firewall would block the installation of the C++ redistributable? But it's the same redistributable that we've been shipping with Cura for 5 years. I can't imagine that the Windows firewall would block a common Microsoft product like the C++ redistributable either.

Maybe Cura is trying accessin internet and Windows doesn't allow. Can be it?

I'm fairly certain that this is not it since the crash report posted here indicates that the Intel graphics drivers crashed, which has nothing to do with the network or the internet. Cura accesses the network to find printers on the Wifi network, which would trigger Windows Defender to ask the user if Cura should be allowed access. Denying this access has no repercussions aside from that Cura doesn't get any response from querying the network for printers and then there will be no printers on the network.

I think discovered root of the cause: the Windows Address Space Layout Randomization (ASLR). I've disabled it just in my Windows 10 and Cura worked like a charm! Please, test it!

I use ASLR in my Windows installation and it's not crashing, so I can't test this. I don't have Intel hardware though so it makes sense that it's not crashing for me. But it's not just ASLR. ASLR is quite an important security feature so maybe disabling it is not the best idea.

TheOutcast83 commented 3 years ago

I just tried to run Cura 4.8 on my Windows7/10 laptop using the "Run as Administrator" function and it let me add my one non-networked printer that way with out crashing.

ctmal956 commented 3 years ago

I'm new at Cura(just downloaded it tonight to check it out) and I was having this issue. I have an Intel 3000 graphics card, I'm not sure if this is the issue. I seemed to have resolved it by right clicking the cure.exe file, select Troubleshoot compatibiliy and let it check the compatability. It should set it to Windows 8. After that, the program is opening up fine for me. This is for version 4.8.

Update: I spoke too soon, yes, I was able to open the program but the first thing I tried was to add a material and the program Hung. It doesn't look like this is a valid solution.

ukprinter commented 3 years ago

Not sure if my problem is related BUT I have several instals of cura up to 4.8 which I was happy with until today. I tried to run it on a Windows 10 64 bit machine that it was installed on months and was working fine till recently.

When I tried to run it windows seemed to think it was the first time I have run 4.8 and I seem to have lost my machines and configurations.

I went back to 4.7 and that is fine. Its only 4.8 which seems weird to me.

GaryStebbins commented 3 years ago

Cura 4.8.0 on Windows 10 as upgraded from previous versions was working for me. My hard drive died, and I did a full system rebuild from scratch. The freshly installed Cura 4.8.0 crashed whenever I tried to add a printer. I then ran Cura "as administrator" and was able to install the printer, and can now run Cura normally without problem.

fabriciofx commented 3 years ago

Guys, I've some good news. I've updated my video driver (my video card board is an Intel HD Graphics 4000 and I was using the Windows 10 default driver) and now Cura 4.8 is working as a charm, without disable any Windows 10 protection or needs to running as administrator! Thanks for all!

rhubiere commented 3 years ago

Not sure this will help anyone but I came across this post today. For what its worth, nothing has helped my case other than continuing to rely on v4.6. https://support.ultimaker.com/hc/en-us/articles/360018633500-Ultimaker-Cura-won-t-run-on-my-Ryzen-Graphics-card

Hoghunterx commented 3 years ago

Windows security is the only thing that is screwing with this software if you run as an administrator it will work. I run this software every day I love that everybody keeps replying to this string I hated it when I couldn't get it going. If you don't run as an administrator you have to shut every Windows security option off then install it will work. I'd be more than happy to post a YouTube video if y'all would like it and I'll show you exactly how I do it thanks for all the replies keep it going

On Thu, Mar 25, 2021, 12:21 AM GaryStebbins @.***> wrote:

Cura 4.8.0 on Windows 10 as upgraded from previous versions was working for me. My hard drive died, and I did a full system rebuild from scratch. The freshly installed Cura 4.8.0 crashed whenever I tried to add a printer. I then ran Cura "as administrator" and was able to install the printer, and can now run Cura normally without problem.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Ultimaker/Cura/issues/8732#issuecomment-806372071, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASJUCPUPG56FYHMRT456HC3TFLB6BANCNFSM4TSIGS3Q .

Hoghunterx commented 3 years ago

That's why I don't put my laptop online I don't do windows 10 updates I got the first version of Windows 10 and I could run everything fine

On Sun, May 30, 2021, 9:17 PM Bradley East Texas Hog Eradicator < @.***> wrote:

Windows security is the only thing that is screwing with this software if you run as an administrator it will work. I run this software every day I love that everybody keeps replying to this string I hated it when I couldn't get it going. If you don't run as an administrator you have to shut every Windows security option off then install it will work. I'd be more than happy to post a YouTube video if y'all would like it and I'll show you exactly how I do it thanks for all the replies keep it going

On Thu, Mar 25, 2021, 12:21 AM GaryStebbins @.***> wrote:

Cura 4.8.0 on Windows 10 as upgraded from previous versions was working for me. My hard drive died, and I did a full system rebuild from scratch. The freshly installed Cura 4.8.0 crashed whenever I tried to add a printer. I then ran Cura "as administrator" and was able to install the printer, and can now run Cura normally without problem.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Ultimaker/Cura/issues/8732#issuecomment-806372071, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASJUCPUPG56FYHMRT456HC3TFLB6BANCNFSM4TSIGS3Q .

GregValiant commented 1 week ago

Is this still an issue in current versions of Cura (5.8.0 and up)? Can this be closed?

fabriciofx commented 1 week ago

@GregValiant I think so.