[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#843511: libqt5widgets5: Some Qt applications segfault on startup



Package: libqt5widgets5
Version: 5.7.1~20161021+dfsg-5
Severity: grave
Justification: renders package unusable

Dear Maintainer,

After upgrading to Qt 5.7, some applications fail to launch an segfault instead.

For example, here's lxqt-powermanagement:
#0  0x0000000000000000 in ?? ()
#1  0x00007ffff70c630e in copyActionToPlatformItem (action=action@entry=0x5555558556b0, item=item@entry=0x55555585fbe0, itemsMenu=0x55555585a0a0) at widgets/qmenu.cpp:3277
#2  0x00007ffff70c5f11 in QMenuPrivate::syncPlatformMenu (this=0x55555585a4d0) at widgets/qmenu.cpp:192
#3  0x00007ffff70c6027 in QMenu::setPlatformMenu (this=this@entry=0x555555852498, platformMenu=<optimized out>) at widgets/qmenu.cpp:3482
#4  0x00007ffff72afeb5 in QSystemTrayIconPrivate::addPlatformMenu (this=0x5555558524d0, menu=0x555555852498) at util/qsystemtrayicon.cpp:767
#5  0x00007ffff72aff92 in QSystemTrayIconPrivate::updateMenu_sys_qpa (this=0x5555558524d0) at util/qsystemtrayicon.cpp:716
#6  0x00007ffff72cdabf in QSystemTrayIconPrivate::updateMenu_sys (this=<optimized out>) at util/qsystemtrayicon_x11.cpp:320
#7  0x00007ffff72af4f6 in QSystemTrayIcon::setContextMenu (this=this@entry=0x555555852430, menu=menu@entry=0x555555852498) at util/qsystemtrayicon.cpp:177
#8  0x0000555555564279 in TrayIcon::TrayIcon (this=0x555555852430, battery=<optimized out>, parent=<optimized out>) at ./src/trayicon.cpp:65
#9  0x0000555555560c4e in BatteryWatcher::settingsChanged (this=0x5555558256c0) at ./src/batterywatcher.cpp:171
#10 0x0000555555560ffd in BatteryWatcher::BatteryWatcher (this=0x5555558256c0, parent=<optimized out>) at ./src/batterywatcher.cpp:69
#11 0x0000555555563310 in PowerManagementd::settingsChanged (this=this@entry=0x7fffffffdf60) at ./src/powermanagementd.cpp:62
#12 0x0000555555563976 in PowerManagementd::PowerManagementd (this=0x7fffffffdf60) at ./src/powermanagementd.cpp:46
#13 0x000055555555d177 in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:49

And here is owncloud:
#0  0x0000000000000000 in ?? ()
#1  0x00007ffff52c630e in copyActionToPlatformItem (action=0x555555abebd0, item=item@entry=0x555555abf110, itemsMenu=0x555555ba5070) at widgets/qmenu.cpp:3277
#2  0x00007ffff52c9a4d in QMenu::actionEvent (this=0x555555b4f420, e=0x7fffffffd720) at widgets/qmenu.cpp:3339
#3  0x00007ffff51a11d8 in QWidget::event (this=this@entry=0x555555b4f420, event=event@entry=0x7fffffffd720) at kernel/qwidget.cpp:9161
#4  0x00007ffff52cf773 in QMenu::event (this=0x555555b4f420, e=0x7fffffffd720) at widgets/qmenu.cpp:2799
#5  0x00007ffff5159b2c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x555555b4f420, e=0x7fffffffd720) at kernel/qapplication.cpp:3799
#6  0x00007ffff51612e1 in QApplication::notify (this=0x7fffffffdef0, receiver=0x555555b4f420, e=0x7fffffffd720) at kernel/qapplication.cpp:3556
#7  0x00007ffff47030e0 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x555555b4f420, event=event@entry=0x7fffffffd720) at kernel/qcoreapplication.cpp:988
#8  0x00007ffff51985f8 in QCoreApplication::sendEvent (event=0x7fffffffd720, receiver=0x555555b4f420) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#9  QWidget::insertAction (this=this@entry=0x555555b4f420, before=<optimized out>, before@entry=0x0, action=action@entry=0x555555abebd0) at kernel/qwidget.cpp:3337
#10 0x00007ffff519875a in QWidget::addAction (this=this@entry=0x555555b4f420, action=action@entry=0x555555abebd0) at kernel/qwidget.cpp:3288
#11 0x00007ffff52c54d0 in QMenu::addAction (this=0x555555b4f420, text=...) at widgets/qmenu.cpp:1534
#12 0x000055555562aa01 in OCC::ownCloudGui::addAccountContextMenu(QExplicitlySharedDataPointer<OCC::AccountState>, QMenu*, bool) ()
#13 0x000055555562bfd8 in OCC::ownCloudGui::setupContextMenu() ()
#14 0x000055555562c868 in OCC::ownCloudGui::ownCloudGui(OCC::Application*) ()
#15 0x00005555555e6c76 in OCC::Application::Application(int&, char**) ()
#16 0x00005555555d0098 in main ()

This seems to have something to do with the platform integration.  I am using LXQt as my DE.
I noticed lxqt-qtplugin has not been re-build and is not even part of the transition, maybe it should be?
I have version 0.11.0-3 installed.

Kind regards,
Ralf

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (100, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libqt5widgets5 depends on:
ii  libc6                            2.24-5
ii  libqt5core5a [qtbase-abi-5-7-1]  5.7.1~20161021+dfsg-5
ii  libqt5gui5                       5.7.1~20161021+dfsg-5
ii  libstdc++6                       6.2.0-10

libqt5widgets5 recommends no packages.

libqt5widgets5 suggests no packages.

-- no debconf information


Reply to: