Bug#1008126: qgis-providers: segfaults in postinst

IOhannes m zmoelnig umlaeute at debian.org
Tue Mar 22 21:14:01 GMT 2022


Package: qgis-providers
Version: 3.22.5+dfsg-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

thanks for packaging qgis-providers.

Unfortunately, with the latest upload (3.22.5), the package fails to install,
as it segfaults in the postinst script.
The culprit is /usr/lib/qgis/crssync, which I cannot run locally either:

```
# /usr/lib/qgis/crssync
Segmentation fault (core dumped)
```

Since this aborts the installation process, `dpkg` is hereafter in an unusable
state (hence the severity).

i tried installing qgis-providers-dbgsym (and libproj22-dbgsym),
which gives me the following backtrace:

```
(gdb) run
[...]
Program received signal SIGSEGV, Segmentation fault.

(gdb) bt
#0  0x00007ffff41f6975 in __GI___libc_free (mem=0x55500008e969) at malloc.c:3288
#1  0x00007ffff3c1597f in __gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long) (__t=<optimized out>, __p=<optimized out>, this=0x5555555d9b40) at /usr/include/c++/11/ext/new_allocator.h:145
#2  std::allocator_traits<std::allocator<char> >::deallocate(std::allocator<char>&, char*, unsigned long) (__n=<optimized out>, __p=<optimized out>, __a=...) at /usr/include/c++/11/bits/alloc_traits.h:496
#3  std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_destroy(unsigned long) (__size=<optimized out>, this=0x5555555d9b40) at /usr/include/c++/11/bits/basic_string.h:245
#4  std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_dispose() (this=0x5555555d9b40) at /usr/include/c++/11/bits/basic_string.h:240
#5  std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() (this=0x5555555d9b40, __in_chrg=<optimized out>) at /usr/include/c++/11/bits/basic_string.h:671
#6  osgeo::proj::common::UnitOfMeasure::Private::~Private() (this=0x5555555d9b40, __in_chrg=<optimized out>) at iso19111/common.cpp:72
#7  std::default_delete<osgeo::proj::common::UnitOfMeasure::Private>::operator()(osgeo::proj::common::UnitOfMeasure::Private*) const (this=<optimized out>, __ptr=0x5555555d9b40)
    at /usr/include/c++/11/bits/unique_ptr.h:85
#8  std::default_delete<osgeo::proj::common::UnitOfMeasure::Private>::operator()(osgeo::proj::common::UnitOfMeasure::Private*) const (__ptr=0x5555555d9b40, this=<optimized out>)
    at /usr/include/c++/11/bits/unique_ptr.h:79
#9  std::unique_ptr<osgeo::proj::common::UnitOfMeasure::Private, std::default_delete<osgeo::proj::common::UnitOfMeasure::Private> >::~unique_ptr()
    (this=0x7ffff3ef4880 <osgeo::proj::common::UnitOfMeasure::PPM_PER_YEAR+16>, __in_chrg=<optimized out>) at /usr/include/c++/11/bits/unique_ptr.h:361
#10 osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure() (this=0x7ffff3ef4870 <osgeo::proj::common::UnitOfMeasure::PPM_PER_YEAR>, __in_chrg=<optimized out>) at iso19111/common.cpp:105
#11 0x00007ffff41ab566 in __cxa_finalize (d=0x7fffed57d000) at cxa_finalize.c:83
#12 0x00007fffed294597 in __do_global_dtors_aux () at /usr/include/c++/11/bits/std_mutex.h:65
#13 0x00007fffffffe9c0 in  ()
#14 0x00007ffff7fdc3b3 in _dl_fini () at dl-fini.c:139
```

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'oldstable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.16.0-5-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FORCED_RMMOD, TAINT_DIE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages qgis-providers depends on:
ii  dpkg                              1.21.2
ii  libc6                             2.33-7
ii  libexiv2-27                       0.27.5-1
ii  libexpat1                         2.4.7-1
ii  libgcc-s1                         12-20220319-1
ii  libgdal30                         3.4.2+dfsg-1+b2
ii  libhdf5-103-1                     1.10.7+repack-4
ii  libnetcdf19                       1:4.8.1-1
ii  libodbc2                          2.3.9-5
ii  libpq5                            14.2-1+b1
ii  libproj22                         8.2.1-1
ii  libqca-qt5-2                      2.3.4-1
ii  libqca-qt5-2-plugins              2.3.4-1
ii  libqgis-analysis3.22.5            3.22.5+dfsg-1
ii  libqgis-core3.22.5                3.22.5+dfsg-1
ii  libqgis-gui3.22.5                 3.22.5+dfsg-1
ii  libqscintilla2-qt5-15             2.11.6+dfsg-4+b1
ii  libqt5core5a [qtbase-abi-5-15-2]  5.15.2+dfsg-15
ii  libqt5gui5                        5.15.2+dfsg-15
ii  libqt5network5                    5.15.2+dfsg-15
ii  libqt5sql5                        5.15.2+dfsg-15
ii  libqt5sql5-sqlite                 5.15.2+dfsg-15
ii  libqt5webkit5                     5.212.0~alpha4-14+b1
ii  libqt5widgets5                    5.15.2+dfsg-15
ii  libqt5xml5                        5.15.2+dfsg-15
ii  libspatialindex6                  1.9.3-2
ii  libspatialite7                    5.0.1-2+b2
ii  libsqlite3-0                      3.38.1-1
ii  libstdc++6                        12-20220319-1
ii  libxml2                           2.9.13+dfsg-1
ii  qgis-providers-common             3.22.5+dfsg-1
ii  qt5-image-formats-plugins         5.15.2-2+b1

Versions of packages qgis-providers recommends:
ii  qt5-image-formats-plugin-pdf  5.15.8+dfsg-1+b1

qgis-providers suggests no packages.

-- no debconf information



More information about the Pkg-grass-devel mailing list