Opened 2 weeks ago

Last modified 11 days ago

#828 new defect

Postinstall script errors installing qgis-full 3.36.1-2 and qgis-ltr-full 3.34.5-2

Reported by: andreaerdna Owned by: osgeo4w-dev@…
Priority: normal Component: Installer
Version: Keywords:
Cc:

Description

I did a clean install of qgis-full 3.36.1-2 and qgis-ltr-full 3.34.5-2 packages and obtained the following "Postinstall script errors":

Package: qgis-common

qgis-common.bat exit code -1073741511

Package: qgis-ltr-common

qgis-ltr-common.bat exit code -1073741511

However, I don't see any issue starting QGIS 3.34.5 and 3.36.1 (apart from https://github.com/qgis/QGIS/issues/57070).

Attachments (2)

setup_logs.zip (102.4 KB ) - added by andreaerdna 2 weeks ago.
setup_logs.z01 (200.0 KB ) - added by andreaerdna 2 weeks ago.

Download all attachments as: .zip

Change History (11)

by andreaerdna, 2 weeks ago

Attachment: setup_logs.zip added

by andreaerdna, 2 weeks ago

Attachment: setup_logs.z01 added

comment:1 by jef, 2 weeks ago

Not reproducable in a Windows 11 sandbox.

comment:2 by andreaerdna, 2 weeks ago

On my Windows 10 64-bit system, it looks like both qgis-common.bat and qgis-common.bat abruptly terminates the execution when running crssync.

crssync.exe doesn't actually start and throws the following error:

crssync.exe - Entry Point Not Found

The procedure entry point __CxxFrameHandler4 could not be located in the dynamic link library C:\OSF9FA~1\apps\qgis\dbghelp.dll.
crssync.exe - Entry Point Not Found

The procedure entry point __CxxFrameHandler4 could not be located in the dynamic link library C:\OSF9FA~1\apps\qgis-ltr\dbghelp.dll.
Last edited 2 weeks ago by andreaerdna (previous) (diff)

comment:3 by jef, 2 weeks ago

Environment?

in reply to:  3 comment:4 by andreaerdna, 2 weeks ago

Replying to jef:

Environment?

Windows 10 Home 64-bit 1903 18362.778.

Here https://www.facebook.com/groups/GisItalia/posts/10161520689096385/ a report of the same issue occurring on a Windows 8.1 64-bit system.

comment:5 by jef, 2 weeks ago

Please try msvcrt2019-14.2-2

comment:6 by andreaerdna, 2 weeks ago

Same issue even with a new fresh install of qgis-full and qgis-ltr-full (which install msvcrt2019-14.2-2).

comment:7 by andreaerdna, 13 days ago

After removing dbghelp.dll (version 10.0.22621.3233) from apps\qgis\ and rerunning etc\postinstall\qgis-common.bat, then crssync runs without throwing the error as it then probably uses the dbghelp.dll available in the system (version 10.0.18362.1 in C:\WINDOWS\System32).

crssync also runs without throwing the error after replacing dbghelp.dll (version 10.0.22621.3233) installed from qgis-3.36.1-2 in apps\qgis\ with dbghelp.dll (version 10.0.19041.685) extracted from qgis-3.36.1-1 and rerunning etc\postinstall\qgis-common.bat.

Side note: I suggest to remove @echo off from etc\ini\qt5.bat, otherwise the commands in qt5.bat itself and in etc\postinstall\qgis-common.bat and other batch files after the call "%OSGEO4W_ROOT%\bin\o4w_env.bat" line are not displayed in the console and not saved in the log.

Last edited 13 days ago by andreaerdna (previous) (diff)

comment:8 by andreaerdna, 13 days ago

Removing dbghelp.dll from apps\qgis\ (or replacing dbghelp.dll installed from qgis-3.36.1-2 with dbghelp.dll extracted from qgis-3.36.1-1.tar.bz2) and rerunning etc\postinstall\qgis-common.bat makes crssync run without throwing the error on a Windows 8.1 system, too.

comment:9 by andreaerdna, 11 days ago

The issue no longer occurs installing qgis-full 3.36.2-1 and qgis-ltr-full 3.34.6-1 on my Windows 10 Home 64-bit 1903 18362.778 system.

Last edited 11 days ago by andreaerdna (previous) (diff)
Note: See TracTickets for help on using tickets.