Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
VLC crashes on start up #1188
Comments
|
And why is this an LXQt issue? |
|
This is by no means a problem of LXQt even if you run VLC within an LXQt session. |
pmattern
closed this
Oct 28, 2016
pmattern
added
the
invalid/dup/rejected
label
Oct 28, 2016
j16180339887
commented
Oct 28, 2016
|
VLC on Ubuntu with unity works fine, |
|
so i guess the lubuntu team is happy to help with that - one will find them in IRC freenode #lubuntu and #lubuntu-dev |
j16180339887
commented
Oct 29, 2016
•
|
Thanks @agaida , they told me to compile vlc myself, and it works great ! The following steps are modified from http://www.andrews-corner.org/linux/ubuntu/vlc.html
Finally, just start VLC |
|
glad they could help |
Just had another look. Both VLC 2.2.2 on Ubuntu 16.04 / LXQt 0.10 and 2.2.4 on up-to-date Arch Linux running latest VCS checkouts of LXQt are running flawlessly without the crash you're seeing here. |
j16180339887
commented
Oct 29, 2016
•
|
For those who may be interested, here is how to reproduce it:
|
|
@pmattern - thats easy i think - it depends with which dependencies vlc is built - i would further guess that all would be fine with a local rebuild of the package - eventually with changing the debian/control file a little bit. (Qt4 vs Qt5 and so on) Edit: and making theses changes is nothing what a normal user is supposed to do. |
I also think it should be impossible. If that really occurred (not a human error), we could be concerned. |
tsujan
reopened this
Oct 29, 2016
|
However, @j16180339887 didn't add a meaningful backtrace. So, I count on the human error. |
tsujan
closed this
Oct 29, 2016
j16180339887
commented
Oct 29, 2016
|
Looks like all qt4 softwares crash in my case, |
Only under LXQt?! |
j16180339887
commented
Oct 29, 2016
•
|
Yes, qt4 softwares on Ubuntu with unity work fine. |
|
Please install
Then type |
j16180339887
commented
Oct 29, 2016
•
then
|
|
Also install |
|
And qbittorrent is qt5 based on Debian. |
j16180339887
commented
Oct 29, 2016
OK
|
j16180339887
commented
Oct 29, 2016
|
Is it the same machine or a different one? |
j16180339887
commented
Oct 29, 2016
|
I have 2 machines.
And crashing only happens on LXQt. |
j16180339887
commented
Oct 29, 2016
•
I am a Windowser, not a Linuxer, |
|
@j16180339887 |
j16180339887
commented
Oct 29, 2016
•
|
VLC crashes on both of my machines, |
|
By "LXQt machine" I meant your LXQt installation. Somehow, Qt4 support isn't complete in it. |
|
Just in case you're interested, providing coredumps isn't rocket science:
That's all. |
j16180339887
commented
Oct 30, 2016
|
|
This crash seems to be about the tray icon. Had you enabled VLC's tray icon too? And, unless you use Ubuntu trusty, qbittorrent is based on Qt5 -- its description in Ubuntu >= xenial is wrong. |
j16180339887
commented
Oct 30, 2016
•
How can I tell if VLC crashes on startup
If I install Qt5 softwares (Ex: virtualbox wireshark), they work fine. |
j16180339887
commented
Nov 1, 2016
•
|
The workaround is removing Thanks to @tsujan . |
|
BTW, you wouldn't need |
j16180339887
commented
Nov 1, 2016
•
I did, still not working.
System tray shows my input method and Status Notifier shows network-manager-gnome, |
|
If interested you may find some information about the difference between the two here. |
j16180339887
commented
Nov 1, 2016
j16180339887
commented
Nov 1, 2016
ConclusionJust remove |
|
Your conclusion is wrong. And you didn't answer my question about |
j16180339887
commented
Nov 1, 2016
•
|
I said I did, still not working. :) Ok, I just edited my answer there. |
j16180339887
commented
Nov 1, 2016
|
My conclusion is for those who struggled with this, |
Sorry! I didn't see that. In short, under Unity, all necessary packages are installed for showing all kinds of tray icon. The same packages are needed by This may be another example of wrong Debian/Ubuntu dependecies. |
Baltasarq
commented
Nov 30, 2016
•
|
Same problem here, running LXQt 16.10 (installed Lubuntu 16.10 ISO, and then sudo apt install lxqt).
I've read all the comments. Removing "status notifier" from the lxqt-panel solves the issue. |
|
@Baltasarq |
Baltasarq
commented
Nov 30, 2016
|
Apparently it only happens with VLC. I've tried with qmpdclient, which is based on qt4: And it works, even with status notifier in the panel. I cannot guarantee that, anyway. |
|
If this isn't about a missing package, it should be an Ubuntu problem. Under Manjaro, VLC's tray icon works well with Status Notifier. |
j16180339887
commented
Dec 1, 2016
|
Hm... why are you talking here about Qt4? Based on this the vlc in ubuntu16.10 is a Qt5 app. If the problem is a tray icon (the SNI one), the problem can be in @j16180339887 it would be more helpful if you can install the debug symbols packages for vlc and lxq-qtplugin and post the backtrace of crash. |
I think that can't be correct. |
Why so? |
I read somewhere that VLC-3 will have a Qt5 GUI (I don't remember the address). Moreover, VLC is based on Qt4 on Arch and Arch often has the latest programs. |
Sorry to disapoint your belief in arch, but in debian it is also compiled with Qt5 -> https://packages.debian.org/sid/vlc |
|
...this is the history of qt gui in of the 2.2.0 release (Jun 14, 2014) https://github.com/videolan/vlc/commits/ddba52206f69bb123bea8ed4d4ada07b3cb1223c/modules/gui/qt4 From the log messages with qt5 mentioning I deduce, it is able to be compiled with qt5 :) |
I just told what I observed. I'm really suspicious about compiling VLC<3 against Qt5. Search google with "VLC Qt5"! If VLC is really compiled against Qt5 on Debian/Ubuntu, that could be the source of the problem. I don't have motivation to track the issue. |
|
Out of curiosity about VLC-3, I compiled it against Qt-5.7.0 (https://aur.archlinux.org/packages/vlc-git/) and encountered no problem with its tray icon under LXQt -- another confirmation that this issue is related to Ubuntu. (And Debian? Does any Debian user see it?) |
j16180339887
commented
Dec 1, 2016
Could you make it clear? What should I install? |
|
apt install vlc-dbg (or in case vlc-dbgsym) |
j16180339887
commented
Dec 2, 2016
|
The only package matches vlc-d* is vlc-data. |
|
The google search revealed: https://wiki.ubuntu.com/Debug%20Symbol%20Packages -> and I manually checked the presence of lxqt-qtplugin-dbgsym here & here |
j16180339887
commented
Dec 2, 2016
•
Note that I did NOT install vlc and qbittorrent on this machine before, then I
|
Baltasarq
commented
Dec 2, 2016
|
I have verified that qbittorrent does crash when the status-notifier is in the panel. Removing status-notifier from the panel solves the issue.
The line that causes the error is: which can be found in version 3.36, maindow.cpp, MainWindow::createTrayIcon(): |
|
I guess a backtrace with Qt5 symbols would be better. qbittorrent 3.3.7 + Qt 5.7.0 runs fine with LXQt's status notifier plugin on Arch Linux, so maybe it's a Ubuntu/Debian-only issue. |
Baltasarq
commented
Dec 2, 2016
|
Okay, here it is:
|
|
Looks related: https://mail-archive.com/debian-bugs-rc@lists.debian.org/msg441115.html. That bug report says lxqt-qtplugin should be rebuilt to catch up Qt 5.7 changes. @agaida should know more |
j16180339887
commented
Dec 3, 2016
It's possible. LXQt 0.11 with Qt5.7.1 on Debian works fine. I don't know how to get LXQt 0.11 with Qt5.7 on Ubuntu without compiling myself. |
|
IIRC Ubuntu pulls Debian packages from time to time. You may want to ask Ubuntu to update their packages. |
deriamis
commented
Jan 14, 2017
|
You can use the LXQt Team PPA to update to a version of LXQt that doesn't have the behavior: https://launchpad.net/~lxqt/+archive/ubuntu/ppa You'll have to |
agaida
added
the
downstream
label
Jan 14, 2017
|
@yan12125 - from time to time is 2-3 days right now as they are not frozen yet. But this is only for their upcoming release repos (zesty and zesty proposed updates). Released things remain untouched. |



j16180339887 commentedOct 28, 2016
•
Edited 1 time
-
j16180339887
Oct 28, 2016
Using gdb
Ubuntu Server 4.8.0-26
LXQt 0.10.0
Happened about a month ago, vlc works well before that.
Any ideas ? Thanks.