pthread_create()
with a valid stack size of 64k fails if any libavdevice
function (like avdevice_version()
) is called beforehand.
Build:
meson setup x
ninja -Cx
Execute:
x/sample
On my machine:
$ x/sample
Could not create thread
If I remove the call to avdevice_version()
:
$ x/sample
OK
Refs:
The simple fact to link against libavdevice
brings a lot of dependencies.
Without libavdevice
:
$ ldd d/sample
linux-vdso.so.1 (0x00007ffd6b194000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f59b9940000)
/lib64/ld-linux-x86-64.so.2 (0x00007f59b9b4a000)
With libavdevice
:
$ ldd d/sample
linux-vdso.so.1 (0x00007ffdf3e6a000)
libavdevice.so.59 => /lib/x86_64-linux-gnu/libavdevice.so.59 (0x00007f108f71e000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f108f53d000)
libavfilter.so.8 => /lib/x86_64-linux-gnu/libavfilter.so.8 (0x00007f108e800000)
libavformat.so.59 => /lib/x86_64-linux-gnu/libavformat.so.59 (0x00007f108e400000)
libavcodec.so.59 => /lib/x86_64-linux-gnu/libavcodec.so.59 (0x00007f108ce00000)
libavutil.so.57 => /lib/x86_64-linux-gnu/libavutil.so.57 (0x00007f108cc0f000)
libraw1394.so.11 => /lib/x86_64-linux-gnu/libraw1394.so.11 (0x00007f108f52a000)
libavc1394.so.0 => /lib/x86_64-linux-gnu/libavc1394.so.0 (0x00007f108ca00000)
librom1394.so.0 => /lib/x86_64-linux-gnu/librom1394.so.0 (0x00007f108c600000)
libiec61883.so.0 => /lib/x86_64-linux-gnu/libiec61883.so.0 (0x00007f108f51c000)
libjack.so.0 => /lib/x86_64-linux-gnu/libjack.so.0 (0x00007f108f4ca000)
libdrm.so.2 => /lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f108f4b2000)
libopenal.so.1 => /lib/x86_64-linux-gnu/libopenal.so.1 (0x00007f108e717000)
libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f108f488000)
libxcb-shm.so.0 => /lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007f108f483000)
libxcb-shape.so.0 => /lib/x86_64-linux-gnu/libxcb-shape.so.0 (0x00007f108f47e000)
libxcb-xfixes.so.0 => /lib/x86_64-linux-gnu/libxcb-xfixes.so.0 (0x00007f108f475000)
libcdio_paranoia.so.2 => /lib/x86_64-linux-gnu/libcdio_paranoia.so.2 (0x00007f108f46a000)
libcdio_cdda.so.2 => /lib/x86_64-linux-gnu/libcdio_cdda.so.2 (0x00007f108f460000)
libdc1394.so.25 => /lib/x86_64-linux-gnu/libdc1394.so.25 (0x00007f108e387000)
libasound.so.2 => /lib/x86_64-linux-gnu/libasound.so.2 (0x00007f108e27e000)
libcaca.so.0 => /lib/x86_64-linux-gnu/libcaca.so.0 (0x00007f108c939500)
libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x00007f108c8b2000)
libpulse.so.0 => /lib/x86_64-linux-gnu/libpulse.so.0 (0x00007f108e6c3000)
libSDL2-2.0.so.0 => /lib/x86_64-linux-gnu/libSDL2-2.0.so.0 (0x00007f108c427000)
libXv.so.1 => /lib/x86_64-linux-gnu/libXv.so.1 (0x00007f108f457000)
libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f108c2e5000)
libXext.so.6 => /lib/x86_64-linux-gnu/libXext.so.6 (0x00007f108f442000)
/lib64/ld-linux-x86-64.so.2 (0x00007f108f77a000)
libswscale.so.6 => /lib/x86_64-linux-gnu/libswscale.so.6 (0x00007f108c805000)
libpostproc.so.56 => /lib/x86_64-linux-gnu/libpostproc.so.56 (0x00007f108f41e000)
libswresample.so.4 => /lib/x86_64-linux-gnu/libswresample.so.4 (0x00007f108e6a2000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f108c206000)
libpocketsphinx.so.3 => /lib/x86_64-linux-gnu/libpocketsphinx.so.3 (0x00007f108e233000)
libsphinxbase.so.3 => /lib/x86_64-linux-gnu/libsphinxbase.so.3 (0x00007f108c1c1000)
libbs2b.so.0 => /lib/x86_64-linux-gnu/libbs2b.so.0 (0x00007f108e22c000)
liblilv-0.so.0 => /lib/x86_64-linux-gnu/liblilv-0.so.0 (0x00007f108c1a4000)
librubberband.so.2 => /lib/x86_64-linux-gnu/librubberband.so.2 (0x00007f108c148000)
libmysofa.so.1 => /lib/x86_64-linux-gnu/libmysofa.so.1 (0x00007f108e21b000)
libflite_cmu_us_awb.so.1 => /lib/x86_64-linux-gnu/libflite_cmu_us_awb.so.1 (0x00007f108bc00000)
libflite_cmu_us_kal.so.1 => /lib/x86_64-linux-gnu/libflite_cmu_us_kal.so.1 (0x00007f108ba9b000)
libflite_cmu_us_kal16.so.1 => /lib/x86_64-linux-gnu/libflite_cmu_us_kal16.so.1 (0x00007f108b600000)
libflite_cmu_us_rms.so.1 => /lib/x86_64-linux-gnu/libflite_cmu_us_rms.so.1 (0x00007f108b000000)
libflite_cmu_us_slt.so.1 => /lib/x86_64-linux-gnu/libflite_cmu_us_slt.so.1 (0x00007f108ac00000)
libflite.so.1 => /lib/x86_64-linux-gnu/libflite.so.1 (0x00007f108c10b000)
libfribidi.so.0 => /lib/x86_64-linux-gnu/libfribidi.so.0 (0x00007f108c0ef000)
libplacebo.so.208 => /lib/x86_64-linux-gnu/libplacebo.so.208 (0x00007f108a400000)
libass.so.9 => /lib/x86_64-linux-gnu/libass.so.9 (0x00007f108c0b6000)
libva.so.2 => /lib/x86_64-linux-gnu/libva.so.2 (0x00007f108c086000)
libstdc .so.6 => /lib/x86_64-linux-gnu/libstdc .so.6 (0x00007f108a000000)
libvidstab.so.1.1 => /lib/x86_64-linux-gnu/libvidstab.so.1.1 (0x00007f108c070000)
libzmq.so.5 => /lib/x86_64-linux-gnu/libzmq.so.5 (0x00007f108b9de000)
libzimg.so.2 => /lib/x86_64-linux-gnu/libzimg.so.2 (0x00007f108b52f000)
libOpenCL.so.1 => /lib/x86_64-linux-gnu/libOpenCL.so.1 (0x00007f108c05e000)
libfontconfig.so.1 => /lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f108c013000)
libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f108a335000)
libmfx.so.1 => /lib/x86_64-linux-gnu/libmfx.so.1 (0x00007f108c003000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f108b510000)
libxml2.so.2 => /lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f1089e54000)
libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f108b4fd000)
libgme.so.0 => /lib/x86_64-linux-gnu/libgme.so.0 (0x00007f108b4ae000)
libopenmpt.so.0 => /lib/x86_64-linux-gnu/libopenmpt.so.0 (0x00007f1089c00000)
libchromaprint.so.1 => /lib/x86_64-linux-gnu/libchromaprint.so.1 (0x00007f108abea000)
libbluray.so.2 => /lib/x86_64-linux-gnu/libbluray.so.2 (0x00007f108ab9d000)
libgnutls.so.30 => /lib/x86_64-linux-gnu/libgnutls.so.30 (0x00007f1089800000)
librabbitmq.so.4 => /lib/x86_64-linux-gnu/librabbitmq.so.4 (0x00007f108a31b000)
librist.so.4 => /lib/x86_64-linux-gnu/librist.so.4 (0x00007f108a2e7000)
libsrt-gnutls.so.1.5 => /lib/x86_64-linux-gnu/libsrt-gnutls.so.1.5 (0x00007f1089b20000)
libssh-gcrypt.so.4 => /lib/x86_64-linux-gnu/libssh-gcrypt.so.4 (0x00007f108a257000)
libvpx.so.7 => /lib/x86_64-linux-gnu/libvpx.so.7 (0x00007f1089400000)
libwebpmux.so.3 => /lib/x86_64-linux-gnu/libwebpmux.so.3 (0x00007f108bff7000)
libwebp.so.7 => /lib/x86_64-linux-gnu/libwebp.so.7 (0x00007f1089aae000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f108a228000)
libdav1d.so.6 => /lib/x86_64-linux-gnu/libdav1d.so.6 (0x00007f1089239500)
librsvg-2.so.2 => /lib/x86_64-linux-gnu/librsvg-2.so.2 (0x00007f1088600000)
libgobject-2.0.so.0 => /lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f1089a4f000)
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f1089101000)
libcairo.so.2 => /lib/x86_64-linux-gnu/libcairo.so.2 (0x00007f10884dc000)
libzvbi.so.0 => /lib/x86_64-linux-gnu/libzvbi.so.0 (0x00007f1089772000)
libsnappy.so.1 => /lib/x86_64-linux-gnu/libsnappy.so.1 (0x00007f108b4a2000)
libaom.so.3 => /lib/x86_64-linux-gnu/libaom.so.3 (0x00007f1087e00000)
libcodec2.so.1.0 => /lib/x86_64-linux-gnu/libcodec2.so.1.0 (0x00007f1086c00000)
libgsm.so.1 => /lib/x86_64-linux-gnu/libgsm.so.1 (0x00007f1089e43000)
libjxl.so.0.7 => /lib/x86_64-linux-gnu/libjxl.so.0.7 (0x00007f1086800000)
libjxl_threads.so.0.7 => /lib/x86_64-linux-gnu/libjxl_threads.so.0.7 (0x00007f108b49c000)
libmp3lame.so.0 => /lib/x86_64-linux-gnu/libmp3lame.so.0 (0x00007f1088465000)
libopenjp2.so.7 => /lib/x86_64-linux-gnu/libopenjp2.so.7 (0x00007f108970e000)
libopus.so.0 => /lib/x86_64-linux-gnu/libopus.so.0 (0x00007f10890a3000)
librav1e.so.0 => /lib/x86_64-linux-gnu/librav1e.so.0 (0x00007f1086400000)
libshine.so.3 => /lib/x86_64-linux-gnu/libshine.so.3 (0x00007f1086000000)
libspeex.so.1 => /lib/x86_64-linux-gnu/libspeex.so.1 (0x00007f1089a34000)
libSvtAv1Enc.so.1 => /lib/x86_64-linux-gnu/libSvtAv1Enc.so.1 (0x00007f1085600000)
libtheoraenc.so.1 => /lib/x86_64-linux-gnu/libtheoraenc.so.1 (0x00007f108842c000)
libtheoradec.so.1 => /lib/x86_64-linux-gnu/libtheoradec.so.1 (0x00007f1088410000)
libtwolame.so.0 => /lib/x86_64-linux-gnu/libtwolame.so.0 (0x00007f10883eb000)
libvorbis.so.0 => /lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007f10883be000)
libvorbisenc.so.2 => /lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007f1087d55000)
libx264.so.164 => /lib/x86_64-linux-gnu/libx264.so.164 (0x00007f1085200000)
libx265.so.199 => /lib/x86_64-linux-gnu/libx265.so.199 (0x00007f1084200000)
libxvidcore.so.4 => /lib/x86_64-linux-gnu/libxvidcore.so.4 (0x00007f1087c42000)
libva-drm.so.2 => /lib/x86_64-linux-gnu/libva-drm.so.2 (0x00007f108affb000)
libva-x11.so.2 => /lib/x86_64-linux-gnu/libva-x11.so.2 (0x00007f108ab95000)
libvdpau.so.1 => /lib/x86_64-linux-gnu/libvdpau.so.1 (0x00007f108a222000)
libdb-5.3.so => /lib/x86_64-linux-gnu/libdb-5.3.so (0x00007f108623e000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1087c22000)
libsndio.so.7.0 => /lib/x86_64-linux-gnu/libsndio.so.7.0 (0x00007f1089e30000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f108a21d000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1089a2f000)
libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007f1089a2a000)
libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f1083e00000)
libcdio.so.19 => /lib/x86_64-linux-gnu/libcdio.so.19 (0x00007f1086bd5000)
libusb-1.0.so.0 => /lib/x86_64-linux-gnu/libusb-1.0.so.0 (0x00007f1086bb6000)
libslang.so.2 => /lib/x86_64-linux-gnu/libslang.so.2 (0x00007f1083a00000)
libncursesw.so.6 => /lib/x86_64-linux-gnu/libncursesw.so.6 (0x00007f1086b7c000)
libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 (0x00007f10867ce000)
libGLdispatch.so.0 => /lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f1086715000)
libGLX.so.0 => /lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f10866e1000)
libpulsecommon-16.1.so => /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-16.1.so (0x00007f108557a000)
libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f1085524000)
libsamplerate.so.0 => /lib/x86_64-linux-gnu/libsamplerate.so.0 (0x00007f1084092000)
libXcursor.so.1 => /lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007f1089a1d000)
libXi.so.6 => /lib/x86_64-linux-gnu/libXi.so.6 (0x00007f1086b68000)
libXfixes.so.3 => /lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f1089706000)
libXrandr.so.2 => /lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007f1089096000)
libXss.so.1 => /lib/x86_64-linux-gnu/libXss.so.1 (0x00007f10883b9500)
libgbm.so.1 => /lib/x86_64-linux-gnu/libgbm.so.1 (0x00007f10866d0000)
libwayland-egl.so.1 => /lib/x86_64-linux-gnu/libwayland-egl.so.1 (0x00007f10883b4000)
libwayland-client.so.0 => /lib/x86_64-linux-gnu/libwayland-client.so.0 (0x00007f10866be000)
libwayland-cursor.so.0 => /lib/x86_64-linux-gnu/libwayland-cursor.so.0 (0x00007f1087c18000)
libxkbcommon.so.0 => /lib/x86_64-linux-gnu/libxkbcommon.so.0 (0x00007f10854de000)
libdecor-0.so.0 => /lib/x86_64-linux-gnu/libdecor-0.so.0 (0x00007f1086b5d000)
libsoxr.so.0 => /lib/x86_64-linux-gnu/libsoxr.so.0 (0x00007f1084027000)
libblas.so.3 => /lib/x86_64-linux-gnu/libblas.so.3 (0x00007f108399d000)
liblapack.so.3 => /lib/x86_64-linux-gnu/liblapack.so.3 (0x00007f1083200000)
libserd-0.so.0 => /lib/x86_64-linux-gnu/libserd-0.so.0 (0x00007f10866a3000)
libsord-0.so.0 => /lib/x86_64-linux-gnu/libsord-0.so.0 (0x00007f1086698000)
libsratom-0.so.0 => /lib/x86_64-linux-gnu/libsratom-0.so.0 (0x00007f1086233000)
libflite_usenglish.so.1 => /lib/x86_64-linux-gnu/libflite_usenglish.so.1 (0x00007f1085fd4000)
libflite_cmulex.so.1 => /lib/x86_64-linux-gnu/libflite_cmulex.so.1 (0x00007f1083906000)
liblcms2.so.2 => /lib/x86_64-linux-gnu/liblcms2.so.2 (0x00007f108319d000)
libvulkan.so.1 => /lib/x86_64-linux-gnu/libvulkan.so.1 (0x00007f108312d000)
libepoxy.so.0 => /lib/x86_64-linux-gnu/libepoxy.so.0 (0x00007f1082ffe000)
libharfbuzz.so.0 => /lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f1082efa000)
libgomp.so.1 => /lib/x86_64-linux-gnu/libgomp.so.1 (0x00007f10851b8000)
libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f108621d000)
libsodium.so.23 => /lib/x86_64-linux-gnu/libsodium.so.23 (0x00007f1082ea0000)
libpgm-5.3.so.0 => /lib/x86_64-linux-gnu/libpgm-5.3.so.0 (0x00007f1083db0000)
libnorm.so.1 => /lib/x86_64-linux-gnu/libnorm.so.1 (0x00007f1082d77000)
libgssapi_krb5.so.2 => /lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f1082d25000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f1082cfa000)
libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f1082cc4000)
libbrotlidec.so.1 => /lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x00007f1086210000)
libicuuc.so.72 => /lib/x86_64-linux-gnu/libicuuc.so.72 (0x00007f1082ac6000)
libmpg123.so.0 => /lib/x86_64-linux-gnu/libmpg123.so.0 (0x00007f1082a6a000)
libvorbisfile.so.3 => /lib/x86_64-linux-gnu/libvorbisfile.so.3 (0x00007f1085fc9500)
libudfread.so.0 => /lib/x86_64-linux-gnu/libudfread.so.0 (0x00007f10854d3000)
libp11-kit.so.0 => /lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007f1082936000)
libidn2.so.0 => /lib/x86_64-linux-gnu/libidn2.so.0 (0x00007f1082905000)
libunistring.so.2 => /lib/x86_64-linux-gnu/libunistring.so.2 (0x00007f108274f000)
libtasn1.so.6 => /lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007f1084012000)
libnettle.so.8 => /lib/x86_64-linux-gnu/libnettle.so.8 (0x00007f1082701000)
libhogweed.so.6 => /lib/x86_64-linux-gnu/libhogweed.so.6 (0x00007f10826b8000)
libgmp.so.10 => /lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f1082637000)
libssl.so.3 => /lib/x86_64-linux-gnu/libssl.so.3 (0x00007f108258e000)
libcrypto.so.3 => /lib/x86_64-linux-gnu/libcrypto.so.3 (0x00007f1082000000)
libmbedcrypto.so.7 => /lib/x86_64-linux-gnu/libmbedcrypto.so.7 (0x00007f1082506000)
libcjson.so.1 => /lib/x86_64-linux-gnu/libcjson.so.1 (0x00007f10854c9500)
libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f1081eb9500)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f10824de000)
libcairo-gobject.so.2 => /lib/x86_64-linux-gnu/libcairo-gobject.so.2 (0x00007f1084007000)
libgdk_pixbuf-2.0.so.0 => /lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 (0x00007f10824b0000)
libgio-2.0.so.0 => /lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007f1081cdb000)
libpangocairo-1.0.so.0 => /lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 (0x00007f108249f000)
libpango-1.0.so.0 => /lib/x86_64-linux-gnu/libpango-1.0.so.0 (0x00007f1081c72000)
libffi.so.8 => /lib/x86_64-linux-gnu/libffi.so.8 (0x00007f1082493000)
libpcre2-8.so.0 => /lib/x86_64-linux-gnu/libpcre2-8.so.0 (0x00007f1081bd8000)
libpixman-1.so.0 => /lib/x86_64-linux-gnu/libpixman-1.so.0 (0x00007f1081b2d000)
libxcb-render.so.0 => /lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007f1082485000)
libXrender.so.1 => /lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f1081b20000)
libhwy.so.1 => /lib/x86_64-linux-gnu/libhwy.so.1 (0x00007f10838fb000)
libbrotlienc.so.1 => /lib/x86_64-linux-gnu/libbrotlienc.so.1 (0x00007f1081a8f000)
libogg.so.0 => /lib/x86_64-linux-gnu/libogg.so.0 (0x00007f1081a85000)
libnuma.so.1 => /lib/x86_64-linux-gnu/libnuma.so.1 (0x00007f1081a78000)
libX11-xcb.so.1 => /lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f1085fc4000)
libxcb-dri3.so.0 => /lib/x86_64-linux-gnu/libxcb-dri3.so.0 (0x00007f1081a71000)
libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f1081a44000)
libsndfile.so.1 => /lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007f10819b9500)
libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f10818ea000)
libasyncns.so.0 => /lib/x86_64-linux-gnu/libasyncns.so.0 (0x00007f10818e3000)
libwayland-server.so.0 => /lib/x86_64-linux-gnu/libwayland-server.so.0 (0x00007f10818cd000)
libopenblas.so.0 => /lib/x86_64-linux-gnu/libopenblas.so.0 (0x00007f107f5e0000)
libgfortran.so.5 => /lib/x86_64-linux-gnu/libgfortran.so.5 (0x00007f107f200000)
libgraphite2.so.3 => /lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f107f5b4000)
libmd.so.0 => /lib/x86_64-linux-gnu/libmd.so.0 (0x00007f107f5a7000)
libkrb5.so.3 => /lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f107f4cd000)
libk5crypto.so.3 => /lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f107f1d3000)
libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f10818c7000)
libkrb5support.so.0 => /lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f107f1c5000)
libbrotlicommon.so.1 => /lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x00007f107f1a2000)
libicudata.so.72 => /lib/x86_64-linux-gnu/libicudata.so.72 (0x00007f107d200000)
libgmodule-2.0.so.0 => /lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f107f19c000)
libjpeg.so.62 => /lib/x86_64-linux-gnu/libjpeg.so.62 (0x00007f107f109500)
libmount.so.1 => /lib/x86_64-linux-gnu/libmount.so.1 (0x00007f107f0a6000)
libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f107f078000)
libpangoft2-1.0.so.0 => /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 (0x00007f107f05f000)
libthai.so.0 => /lib/x86_64-linux-gnu/libthai.so.0 (0x00007f107f054000)
libFLAC.so.12 => /lib/x86_64-linux-gnu/libFLAC.so.12 (0x00007f107efef000)
libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007f107efe3000)
libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f107d144000)
liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f107d11e000)
libquadmath.so.0 => /lib/x86_64-linux-gnu/libquadmath.so.0 (0x00007f107d0d7000)
libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f107efdc000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f107d0c6000)
libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 (0x00007f107d06f000)
libdatrie.so.1 => /lib/x86_64-linux-gnu/libdatrie.so.1 (0x00007f107efd2000)
It's not clear to me why this impacts the stack size though.