Bug#1031170: QML6: SEGFAULT while starting. 2 missing deps, may be another one ?

Gregory Mounie gregory.m at free.fr
Sun Feb 12 17:31:50 GMT 2023


Package: jami
Version: 20230206.0~ds1-4.2
Severity: normal

Dear Maintainer,

Recent Jami upgrade in SID. I try it. Jami fails in the starting process.

Now, the starting peocess give the following trace, then jami is terminated.
```
Using Qt runtime version: 6.4.2
"notify server name: lxqt-notificationd, vendor: lxqt.org, version: 1.2.0, spec: 1.2"
qt.webenginecontext: 

GL Type: desktop
Surface Type: OpenGL
Surface Profile: CompatibilityProfile
Surface Version: 4.5
QSG RHI Backend: OpenGL
Using Supported QSG Backend: yes
Using Software Dynamic GL: no
Using Multithreaded OpenGL: yes

Init Parameters:
  *  application-name Jami 
  *  browser-subprocess-path /usr/lib/qt6/libexec/QtWebEngineProcess 
  *  create-default-gl-context  
  *  disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture 
  *  disable-setuid-sandbox  
  *  disable-speech-api  
  *  enable-features NetworkServiceInProcess,TracingServiceInProcess 
  *  enable-threaded-compositing  
  *  in-process-gpu  
  *  use-gl desktop 

"Using locale: fr_FR"
No migration required
Screen saver dbus interface:  "org.freedesktop.ScreenSaver"
qt.core.qobject.connect: QObject::connect(lrc::api::ContactModel, ContactAdapter): unique connections require a pointer to member function of a QObject subclass
zsh: terminated  jami
```

Starting with gdb, I got the SEGFAULT in:
Thread 9 "QQmlThread" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffc37fe6c0 (LWP 65940)]
0x00007fffebb2aca8 in QMetaSequence::valueMetaType() const () from /lib/x86_64-linux-gnu/libQt6Core.so.6

The call stack is:
```
#0  0x00007fffebb2aca8 in QMetaSequence::valueMetaType() const () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#1  0x00007fffed4b180e in QQmlMetaType::registerSequentialContainer(QQmlPrivate::RegisterSequentialContainer const&) ()
    at /lib/x86_64-linux-gnu/libQt6Qml.so.6
#2  0x00007fffed44cb73 in QQmlPrivate::qmlregister(QQmlPrivate::RegistrationType, void*) ()
    at /lib/x86_64-linux-gnu/libQt6Qml.so.6
#3  0x00007fffed44d959 in QQmlPrivate::qmlregister(QQmlPrivate::RegistrationType, void*) ()
    at /lib/x86_64-linux-gnu/libQt6Qml.so.6
#4  0x00007fffc0be7dd4 in qml_register_types_QtQuick_Layouts() () at /lib/x86_64-linux-gnu/libQt6QuickLayouts.so.6
#5  0x00007fffed4c19af in  () at /lib/x86_64-linux-gnu/libQt6Qml.so.6
#6  0x00007fffed4b20d2 in QQmlMetaType::registerPluginTypes(QObject*, QString const&, QString const&, QString const&, QTypeRevision, QList<QQmlError>*) () at /lib/x86_64-linux-gnu/libQt6Qml.so.6                                                                    
#7  0x00007fffed4dcc90 in  () at /lib/x86_64-linux-gnu/libQt6Qml.so.6
#8  0x00007fffed49a660 in QQmlImports::importExtension(QString const&, QTypeRevision, QQmlImportDatabase*, QQmlTypeLoaderQmldirContent const*, QList<QQmlError>*) () at /lib/x86_64-linux-gnu/libQt6Qml.so.6                                                          
#9  0x00007fffed49e429 in QQmlImports::addLibraryImport(QQmlImportDatabase*, QString const&, QString const&, QTypeRevision, QString const&, QString const&, QFlags<QQmlImports::ImportFlag>, QList<QQmlError>*) () at /lib/x86_64-linux-gnu/libQt6Qml.so.6            
#10 0x00007fffed532d36 in QQmlTypeLoader::Blob::addLibraryImport(std::shared_ptr<QQmlTypeLoader::Blob::PendingImport>, QList<QQmlError>*) () at /lib/x86_64-linux-gnu/libQt6Qml.so.6                                                                                  
#11 0x00007fffed534317 in QQmlTypeLoader::Blob::addImport(std::shared_ptr<QQmlTypeLoader::Blob::PendingImport>, QList<QQmlError>*)
    () at /lib/x86_64-linux-gnu/libQt6Qml.so.6
#12 0x00007fffed534424 in QQmlTypeLoader::Blob::addImport(QV4::CompiledData::Import const*, QFlags<QQmlImports::ImportFlag>, QList<QQmlError>*) () at /lib/x86_64-linux-gnu/libQt6Qml.so.6                                                                            
#13 0x00007fffed51e700 in  () at /lib/x86_64-linux-gnu/libQt6Qml.so.6
#14 0x00007fffed524dd0 in QQmlTypeLoader::setData(QQmlDataBlob*, QQmlDataBlob::SourceCodeData const&) ()
    at /lib/x86_64-linux-gnu/libQt6Qml.so.6
#15 0x00007fffed525c7a in QQmlTypeLoader::setData(QQmlDataBlob*, QString const&) () at /lib/x86_64-linux-gnu/libQt6Qml.so.6
#16 0x00007fffed5292e2 in QQmlTypeLoader::loadThread(QQmlDataBlob*) () at /lib/x86_64-linux-gnu/libQt6Qml.so.6
#17 0x00007fffed53ae2d in  () at /lib/x86_64-linux-gnu/libQt6Qml.so.6
#18 0x00007fffed448a6c in  () at /lib/x86_64-linux-gnu/libQt6Qml.so.6
#19 0x00007fffec982a53 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt6Widgets.so.6
#20 0x00007fffebb238b8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#21 0x00007fffebb23a97 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
--Type <RET> for more, q to quit, c to continue without paging--
    at /lib/x86_64-linux-gnu/libQt6Core.so.6
#22 0x00007fffebd0a353 in  () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#23 0x00007ffff799b7a9 in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007ffff799ba38 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007ffff799bacc in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fffebd07f7c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /lib/x86_64-linux-gnu/libQt6Core.so.6
#27 0x00007fffebb2d57a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#28 0x00007fffebbf3655 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#29 0x00007fffed446273 in  () at /lib/x86_64-linux-gnu/libQt6Qml.so.6
#30 0x00007fffebc592e5 in  () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#31 0x00007fffeb8a7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#32 0x00007fffeb92866c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
```

Right before I had two missing dependencies. The errors messages
displayed by starting process of Jami help to find the two culprits.

1) libqt6qmlworkerscript6

QQmlApplicationEngine failed to load component
qrc:/MainApplicationWindow.qml:23:1: Impossible de charger la bibliothèque /usr/lib/x86_64-linux-gnu/qt6/qml/QtQml/WorkerScript/libworkerscriptplugin.so : (/lib/x86_64-linux-gnu/libQt6QmlWorkerScript.so.6: undefined symbol: _ZN3QV417SequencePrototype19metaTypeForSequenceEPKNS_6ObjectE)

2) libqtquickcontrols2plugin

qrc:/MainApplicationWindow.qml:25:1: Impossible de charger la bibliothèque /usr/lib/x86_64-linux-gnu/qt6/qml/QtQuick/Controls/libqtquickcontrols2plugin.so : (/lib/x86_64-linux-gnu/libQt6QuickTemplates2.so.6: undefined symbol: _ZNK14QWindowPrivate12shareContextEv, version Qt_6_PRIVATE_API)


Thanks for all the jami works on.
Grégory

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

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

Versions of packages jami depends on:
ii  jami-daemon               20230206.0~ds1-4.2
ii  libc6                     2.36-8
ii  libgcc-s1                 12.2.0-14
ii  libgdk-pixbuf-2.0-0       2.42.10+dfsg-1+b1
ii  libglib2.0-0              2.74.5-1
ii  libnm0                    1.42.0-1
ii  libnotify4                0.8.1-1
ii  libqrencode4              4.1.1-1
ii  libqt6core5compat6        6.4.2-1
ii  libqt6core6               6.4.2+dfsg-3
ii  libqt6dbus6               6.4.2+dfsg-3
ii  libqt6gui6                6.4.2+dfsg-3
ii  libqt6multimedia6         6.4.2-4
ii  libqt6network6            6.4.2+dfsg-3
ii  libqt6positioning6        6.4.2-1
ii  libqt6qml6                6.4.2+dfsg-1
ii  libqt6quick6              6.4.2+dfsg-1
ii  libqt6sql6                6.4.2+dfsg-3
ii  libqt6svg6                6.4.2-1
ii  libqt6webchannel6         6.4.2-1
ii  libqt6webenginecore6      6.4.2+dfsg-0rc0-2
ii  libqt6webenginecore6-bin  6.4.2+dfsg-0rc0-2
ii  libqt6widgets6            6.4.2+dfsg-3
ii  libstdc++6                12.2.0-14
ii  libx11-6                  2:1.8.3-3
ii  libxcb1                   1.15-1

jami recommends no packages.

jami suggests no packages.

-- no debconf information


More information about the Pkg-voip-maintainers mailing list