-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QGIS 3.26 qgis_app.dll not found #49148
Comments
See also OSGeo4W #748 |
I have the exact same crssync failure (including error code 0xc0000142) today when running OSGeo4W express install of QGIS LTR or QGIS (latest i.e. 3.26.0-1) on Windows 10 21H2... admittedly on a rather old HP Elitebook 8540w. The failure occurs whilst running /etc/postinstall/qgis-common.bat (which directly calls \apps\qgis\crssync) near the end of the OSGeo4W install. This was a clean install running (as administrator) latest osgeo4w-setup.exe downloaded - after uninstalling and deleting all QGIS and OSGeo4W from file system (and most of related registry entries). |
Unable to install qgis 3.26 after several tests and attempts without success. |
check which DLL is missing like as noted in #26891 (comment) (or previously mentioned OSGeo4W #748 which points there too) |
Here is the link to download my qgis_app.log Thanks |
I've installed QGIS 3.26.0 using the OSGeo4W Standalone Installed QGIS-OSGeo4W-3.26.0-3.msi on Windows 10 Home 1903 and I cannot confirm the issue: no |
Here the qgis_app.log result... as requested |
Same issue here. Clean install, and problem persists. crssync.exe fails to start. Attempting to run crssync.exe on its own results in errors indicating that qgiscore.dll, gdal305.dll, and Qt5Core.dll are missing, but they are present. |
Same issue here, even after clean windows installation crssync.exe fails to start while running /etc/postinstall/qgis-common.bat (both for 3.26 and 3.22 LTR...) |
It is not only a problem with 3.26.0! Also with LTR 3.22.8 (see #49159). And this IMO should be stable... |
Temporary workaround: installing LTR 3.22.7-2 via OSgeo4W shell initially results in the error could not load qgis_app.dll (no crssync.exe error though). Overwriting the entire OSGeo4w folder with a functional instance from another workstation (in this case ltr 3.22.6-2) finally gets qgis working again.... |
Can we rename this issue (or should I start a new issue and cross reference this one)? The initial failure that started this issue was the crssync.exe failure during install (whilst attempting to run qgis-common.bat) for any version (including 3.22 LTR). If this occurs then it seems to be the cause of the later "qgis_app.dll not found" error when later trying to then run the badly installed QGIS executable. Perhaps "OSGeo4W Network installer fails at crssync.exe (all QGIS versions)" would better cover it - and raise the awareness of the seriousness of the problem for affected users? I just tried repeating a clean "express install" of QGIS LTR on Windows 10 21H2 after applying the latest Windows (optional) 28 June update KB5014666 - after running "Disk Cleanup" (system + user), clearing out all the OS4Geo folders, downloads and disabling Microsoft Defender. The problem is still the same for me. |
Additional info on crssync.exe failure for me from Windows "Event Viewer": Faulting application name: crssync.exe, version: 0.0.0.0, time stamp: 0x62adc791 (The file C:\OSGeo4W\bin\tiledb.dll does exist, is 4.63MB in size, with a timestamp of 08/05/2022 18:11) Researching a bit further, apparently exception code 0xc000001d is "illegal instruction", which may be due to me running a rather old processor (Intel i7-620M from 2010!) which probably doesn't have more recent instruction set extensions (it supports Intel SSE4.1, Intel SSE4.2). Full processor details here: |
Ah, that's appearently it. tiledb is built with AVX2 support (if the build machine/compiler supports it?) and might crash elsewhere (see TileDB-Inc/TileDB#2861). |
Thanks for confirming. I see you've closed the ticket, but where do you suggest those of us with CPUs without AVX2 support go from here?
|
@richard-thomas, a new tiledb package (version 2.8.2-3) is already available in the OSGeo4W v2 repositories. |
I can confirm that my installation with OSGeo4W works correctly again. Thanks. |
I can confirm that my installation of QGIS LTR (3.22.8) now works without error (and QGIS then runs happily). |
@jef-n BTW this worked for 3.26 finally but the master version still wont load for me still getting the same message, could this be the same thing for that version? I normally use the dev version for testing but lately I couldn't due to this error. I got Buenos Aires now working at least |
@antoniolocandro @pigreco, the qgis-dev issue you are reporting now was due to a different underlying issue: see https://trac.osgeo.org/osgeo4w/ticket/752. |
@agiudiceandrea here's what happens as soon as the download is made: then, as soon as I start the dev: |
@pigreco, usually in this cases checking what's wrong with the DLLs is needed as noted in https://trac.osgeo.org/osgeo4w/ticket/748#comment:5 and #26891 (comment). |
@agiudiceandrea |
I agree with you. Anyway, there is no issue with a "fresh" installation the latest qgis-full, qgis-dev-full and qgis-ltr-full packages using the OSGeo4W Network Installer. If your issue is actually due to the installation of the |
@agiudiceandrea |
@pigreco, the Few hours ago a new version (3.5.0-1-b06e5a3a93-2) of the |
After install gdal-dev runtime 3.5.0.1, qgis-dev 3.27.0-266 now beginns to start, but with a crash on startup. Crash ID: Not available Stack Trace QGIS Info System Info It seems the crash, which is reported from @agiudiceandrea in the post above -->After Installing qgis-dev-full, the crash on startup persist. |
no surprise. qgis-dev-full doesn't contain any files, it just has a bunch of dependencies - including qgis-dev. So you are still running the same binaries from qgis-dev. |
I too experienced the "Could not load qgis_app.dll" error. The error message said "Check C:\OSGeo4W\bin\qgis-ltr-bin.env for correct environment paths", however I saw that this file did not exist. I found a I still had to edit the file in order to get ECWs to work. Before:
After:
|
I'd like to add my comments to this issue.
So, up until the release of QGIS LTR version 3.28.9 (or 3.28.8), this script had worked fine, but since then it appears that we are encountering the same issue: From my basic understanding it appears that during the install, the path does not get updated (as it had previously), so when running the QGIS application the qgis_app.dll can not be found, hence the error message. I suspect the installer is failing to complete at some point and not running the procedure that amends the environment path N.B. Raised a new case #54678 as I believe this is still a current issue |
I encountered the same issue when I tried to run QGIS versions 3.16, 3.22, and 3.28. Even after reinstalling the program using OSGeo4W, I kept getting an error message saying that OpenCL.dll was missing. Before encountering this problem, I had removed my NVIDIA graphics card from the device and uninstalled its drivers. So, I suspected that the issue might be related to the graphics card driver. Currently, my computer is using the integrated graphics card of an Intel CPU. I reinstalled its driver, and the problem was resolved. |
I encountered the same thing when I built QGIS source and started debugging in the Visual Studio.
The reason that LoadLibrary fails is mostly because some depencencie of the given dll are not found. |
What is the bug or the crash?
I installed QGIS QGIS (3.26.0). QGIS not loads at all.
Steps to reproduce the issue
Download file installation
Error about crssync.exe.
QGIS not load
Versions
Edición Windows 10 Pro
Versión 21H2
Instalado el 26/05/2020
Compilación del sistema operativo 19044.1766
Experiencia Windows Feature Experience Pack 120.2212.4180.0
Supported QGIS version
New profile
Additional context
I looked at qgis-bin.env files and found nothing out of the ordinary when comparing it to qgis-bin.env from version 3.24.3 that works fine.
Clean install from OSGEO4W doesn't work either.
The text was updated successfully, but these errors were encountered: