Bug#807805: vlc: Crash upon startup

Noah Meyerhans noahm at debian.org
Sun May 8 20:56:35 UTC 2016


Control: tags -1 - moreinfo
Control: found -1 2.2.2-6

On Wed, Jan 27, 2016 at 11:29:52PM +0100, Sebastian Ramacher wrote:
> On 2016-01-27 12:08:15, Hörmetjan Yiltiz wrote:
> > Could you please tell me how to produce this informative feedback so that a
> > diagnosis would be possible?
> 
> Install gdb, vlc-dbg and qtbase5-dbg and follow the instructions at
> https://wiki.debian.org/HowToGetABacktrace.

Hello. I've recently started experiencing this bug after upgrading to
stretch. I can confirm that the problem has something to do with running
VLC under a non-KDE environment as was reported earlier. (In my case it
is awesomewm). If I run in a full KDE environment it does not crash.
When it does crash, it briefly displays the UI, then prints
"QSystemTrayIcon::setVisible: No Icon set" repeatedly in the terminal
before crashing.

Notable sections of a very large stack trace are below.

Last lines before the crash:
#0  0x00007ffff743b9ee in _IO_vfprintf_internal (s=0x7fffd99cb470, format=0x7fffe8e77850 "%s\n", ap=0x7fffd99cdb28)
    at vfprintf.c:1266
#1  0x00007ffff743e751 in buffered_vfprintf (s=0x7ffff7794540 <_IO_2_1_stderr_>, format=<optimized out>, 
    args=<optimized out>) at vfprintf.c:2346
#2  0x00007ffff743bb8d in _IO_vfprintf_internal (s=s at entry=0x7ffff7794540 <_IO_2_1_stderr_>, 
    format=format at entry=0x7fffe8e77850 "%s\n", ap=ap at entry=0x7fffd99cdb28) at vfprintf.c:1292
#3  0x00007ffff74ebf89 in ___fprintf_chk (fp=0x7ffff7794540 <_IO_2_1_stderr_>, flag=flag at entry=1, 
    format=format at entry=0x7fffe8e77850 "%s\n") at fprintf_chk.c:35
#4  0x00007fffe8bc1d70 in fprintf (__fmt=0x7fffe8e77850 "%s\n", __stream=<optimized out>)
    at /usr/include/x86_64-linux-gnu/bits/stdio2.h:98
#5  qDefaultMessageHandler (type=<optimized out>, context=..., buf=...) at global/qlogging.cpp:1489
#6  0x00007fffe8bbc498 in qt_message_print (message=..., context=..., msgType=QtWarningMsg) at global/qlogging.cpp:1543
#7  qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef __va_list_tag __va_list_tag *) (
    msgType=msgType at entry=QtWarningMsg, context=..., 
    msg=msg at entry=0x7fffe9a5b478 "QSystemTrayIcon::setVisible: No Icon set", ap=ap at entry=0x7fffd99cdcb0)
    at global/qlogging.cpp:266
#8  0x00007fffe8bbd2bc in QMessageLogger::warning (this=this at entry=0x7fffd99cdd90, 
    msg=msg at entry=0x7fffe9a5b478 "QSystemTrayIcon::setVisible: No Icon set") at global/qlogging.cpp:544
#9  0x00007fffe9a14b18 in QSystemTrayIcon::setVisible (this=<optimized out>, visible=<optimized out>)
    at util/qsystemtrayicon.cpp:268
#10 0x00007fffd33b2f95 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#11 0x00007fffd33b3fbd in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#12 0x00007fffd33b53fb in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#13 0x00007fffd33b57fe in KStatusNotifierItem::KStatusNotifierItem(QObject*) ()
   from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#14 0x00007fffd3be67e7 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes/KDEPlatformTheme.so
#15 0x00007fffe9a15024 in QSystemTrayIconPrivate::install_sys_qpa (this=this at entry=0x7fffd6ba86c0)
    at util/qsystemtrayicon.cpp:684
#16 0x00007fffe9a320be in QSystemTrayIconPrivate::install_sys (this=this at entry=0x7fffd6ba86c0)
    at util/qsystemtrayicon_x11.cpp:280
#17 0x00007fffe9a14b27 in QSystemTrayIcon::setVisible (this=<optimized out>, visible=<optimized out>)
    at util/qsystemtrayicon.cpp:271
#18 0x00007fffd33b2f95 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#19 0x00007fffd33b3fbd in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#20 0x00007fffd33b53fb in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#21 0x00007fffd33b57fe in KStatusNotifierItem::KStatusNotifierItem(QObject*) ()
   from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5

Notice that these lines occur many times in rapid succession in ever
deepening stack frames, suggesting a recursive call:
#22 0x00007fffd3be67e7 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes/KDEPlatformTheme.so
#23 0x00007fffe9a15024 in QSystemTrayIconPrivate::install_sys_qpa (this=this at entry=0x7fffd6ba0f60)
    at util/qsystemtrayicon.cpp:684
#24 0x00007fffe9a320be in QSystemTrayIconPrivate::install_sys (this=this at entry=0x7fffd6ba0f60)
    at util/qsystemtrayicon_x11.cpp:280
#25 0x00007fffe9a14b27 in QSystemTrayIcon::setVisible (this=<optimized out>, visible=<optimized out>)
    at util/qsystemtrayicon.cpp:271
#26 0x00007fffd33b2f95 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#27 0x00007fffd33b3fbd in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#28 0x00007fffd33b53fb in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#29 0x00007fffd33b57fe in KStatusNotifierItem::KStatusNotifierItem(QObject*) ()
   from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5

And the beginning of the thread:

#10718 0x00007fffd3be67e7 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes/KDEPlatformTheme.so
#10719 0x00007fffe9a15024 in QSystemTrayIconPrivate::install_sys_qpa (this=this at entry=0x7fffd440ac10)
    at util/qsystemtrayicon.cpp:684
#10720 0x00007fffe9a320be in QSystemTrayIconPrivate::install_sys (this=this at entry=0x7fffd440ac10)
    at util/qsystemtrayicon_x11.cpp:280
#10721 0x00007fffe9a14b27 in QSystemTrayIcon::setVisible (this=<optimized out>, visible=<optimized out>)
    at util/qsystemtrayicon.cpp:271
#10722 0x00007fffd33b2f95 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#10723 0x00007fffd33b3fbd in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#10724 0x00007fffd33b53fb in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#10725 0x00007fffd33b57fe in KStatusNotifierItem::KStatusNotifierItem(QObject*) ()
   from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#10726 0x00007fffd3be67e7 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes/KDEPlatformTheme.so
#10727 0x00007fffe9a15024 in QSystemTrayIconPrivate::install_sys_qpa (this=this at entry=0x7fffd44034b0)
    at util/qsystemtrayicon.cpp:684
#10728 0x00007fffe9a320be in QSystemTrayIconPrivate::install_sys (this=this at entry=0x7fffd44034b0)
    at util/qsystemtrayicon_x11.cpp:280
#10729 0x00007fffe9a14b27 in QSystemTrayIcon::setVisible (this=<optimized out>, visible=<optimized out>)
    at util/qsystemtrayicon.cpp:271
#10730 0x00007fffd33b2f95 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#10731 0x00007fffd33b3fbd in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#10732 0x00007fffd33b53fb in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#10733 0x00007fffd33b57fe in KStatusNotifierItem::KStatusNotifierItem(QObject*) ()
   from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#10734 0x00007fffd3be67e7 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes/KDEPlatformTheme.so
#10735 0x00007fffe9a15024 in QSystemTrayIconPrivate::install_sys_qpa (this=this at entry=0x7fffd43fbf70)
    at util/qsystemtrayicon.cpp:684
#10736 0x00007fffe9a320be in QSystemTrayIconPrivate::install_sys (this=this at entry=0x7fffd43fbf70)
    at util/qsystemtrayicon_x11.cpp:280
#10737 0x00007fffe9a14b27 in QSystemTrayIcon::setVisible (this=<optimized out>, visible=<optimized out>)
    at util/qsystemtrayicon.cpp:271
#10738 0x00007fffd33b2f95 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#10739 0x00007fffd33b3fbd in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#10740 0x00007fffd33b53fb in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#10741 0x00007fffd33b57fe in KStatusNotifierItem::KStatusNotifierItem(QObject*) ()
   from /usr/lib/x86_64-linux-gnu/libKF5Notifications.so.5
#10742 0x00007fffd3be67e7 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platformthemes/KDEPlatformTheme.so
#10743 0x00007fffe9a15024 in QSystemTrayIconPrivate::install_sys_qpa (this=this at entry=0x7fffd439eea0)
    at util/qsystemtrayicon.cpp:684
#10744 0x00007fffe9a320be in QSystemTrayIconPrivate::install_sys (this=this at entry=0x7fffd439eea0)
    at util/qsystemtrayicon_x11.cpp:280
#10745 0x00007fffe9a14b27 in QSystemTrayIcon::setVisible (this=<optimized out>, visible=<optimized out>)
    at util/qsystemtrayicon.cpp:271
#10746 0x00007fffe9c75403 in QSystemTrayIcon::show (this=0x7fffd439ee00)
    at /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qsystemtrayicon.h:95
#10747 0x00007fffe9c72ab5 in MainInterface::createSystray (this=0x7fffd4114770) at main_interface.cpp:1151
#10748 0x00007fffe9c75a5e in MainInterface::initSystray (this=0x7fffd4114770) at main_interface.cpp:537
#10749 0x00007fffe9c6ea6d in MainInterface::MainInterface (this=0x7fffd4114770, _p_intf=0x71f608) at main_interface.cpp:183
#10750 0x00007fffe9c5eb00 in Thread (obj=0x71f608) at qt4.cpp:532
#10751 0x00007ffff79a4454 in start_thread (arg=0x7fffd9aca700) at pthread_create.c:334
#10752 0x00007ffff74ddeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

A guess, after not really spending more than a couple minutes looking at
the code, is that the call to QSystemTrayIcon::isSystemTrayAvailable()
in MainInterface::initSystray() (modules/gui/qt4/main_interface.cpp) is
returning true when the system tray is not actually available. I have
not investigated why it is that this might be happening.

Thanks for your attention.

noah


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20160508/ac263dc9/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list