Vlc UPnP DLNA browsing fails when compiled with libupnp 1.8.3
See debian bug 882377 to see the APÏ change taht causes the crash (returning to older libupnp fixes the bug but it is going to be onsoleted in debian).
gdb vlc
GNU gdb (Debian 8.0-1) 8.0
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from vlc...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/vlc
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
VLC media player 3.0.1 Vetinari (revision 3.0.1-0-gec0f700fcc)
[New Thread 0x7fffe9f98700 (LWP 4954)]
[New Thread 0x7fffef95d700 (LWP 4955)]
[00005555557f1340] upnp services discovery: Initializing libupnp on 'default' interface
[New Thread 0x7fffe9141700 (LWP 4956)]
[New Thread 0x7fffe8940700 (LWP 4957)]
[New Thread 0x7fffd3fff700 (LWP 4958)]
[New Thread 0x7fffd37fe700 (LWP 4959)]
[New Thread 0x7fffd2ffd700 (LWP 4960)]
[New Thread 0x7fffd27fc700 (LWP 4961)]
[New Thread 0x7fffd1ffb700 (LWP 4962)]
[New Thread 0x7fffd17fa700 (LWP 4964)]
[New Thread 0x7fffe813f700 (LWP 4965)]
[New Thread 0x7fffd0ff9700 (LWP 4966)]
[New Thread 0x7fffd05e6700 (LWP 4967)]
[0000555555759570] main libvlc: Lancement de vlc avec l'interface par défaut. Utilisez « cvlc » pour démarrer VLC sans interface.
[New Thread 0x7fffb8361700 (LWP 4968)]
[New Thread 0x7fffaddc1700 (LWP 4969)]
[Thread 0x7fffe813f700 (LWP 4965) exited]
[New Thread 0x7fffa133c700 (LWP 4970)]
[New Thread 0x7fff9da1c700 (LWP 4971)]
[Thread 0x7fffd27fc700 (LWP 4961) exited]
[Thread 0x7fffe9141700 (LWP 4956) exited]
[New Thread 0x7fff9864a700 (LWP 4973)]
[New Thread 0x7fff98549700 (LWP 4974)]
[New Thread 0x7fff98448700 (LWP 4975)]
[New Thread 0x7fff98347700 (LWP 4976)]
[New Thread 0x7fff98448700 (LWP 4977)]
[Thread 0x7fff98448700 (LWP 4975) exited]
[New Thread 0x7fff7b9c1700 (LWP 4979)]
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
[Thread 0x7fff7b9c1700 (LWP 4979) exited]
[New Thread 0x7fff7b9c1700 (LWP 4980)]
[Thread 0x7fff7b9c1700 (LWP 4980) exited]
[Thread 0x7fff98448700 (LWP 4977) exited]
[Thread 0x7fff9864a700 (LWP 4973) exited]
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
[Thread 0x7fff98549700 (LWP 4974) exited]
[Thread 0x7fff98347700 (LWP 4976) exited]
[New Thread 0x7fff98347700 (LWP 4981)]
[New Thread 0x7fff98549700 (LWP 4982)]
[New Thread 0x7fff9864a700 (LWP 4983)]
[Thread 0x7fff98347700 (LWP 4981) exited]
[Thread 0x7fff9864a700 (LWP 4983) exited]
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
[Thread 0x7fffd0ff9700 (LWP 4966) exited]
[Thread 0x7fff98549700 (LWP 4982) exited]
[New Thread 0x7fff98549700 (LWP 4987)]
[New Thread 0x7fff9864a700 (LWP 4988)]
[New Thread 0x7fff98347700 (LWP 4989)]
[Thread 0x7fff98347700 (LWP 4989) exited]
[Thread 0x7fff98549700 (LWP 4987) exited]
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
[Thread 0x7fff9864a700 (LWP 4988) exited]
[New Thread 0x7fffd0ff9700 (LWP 4991)]
[New Thread 0x7fffd27fc700 (LWP 4992)]
Thread 7 "vlc" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd37fe700 (LWP 4959)]
0x00007fffe9373340 in UpnpString_get_String () from /usr/lib/x86_64-linux-gnu/libupnp.so.10
(gdb)