tag 800698 moreinfo thanks On Tuesday 06 October 2015 17:59:17 Boris Pek wrote: > control: retitle 800698 libqtgui4: GUI applications become unusable when > shared memory is exhausted
With this title I'm even more convinced that this is not a bug ;) Please read below. > Hi Lisandro, [snip] > >> but hey, why Qt5 based and Gtk+ > >> based programs were working without any issues in the same conditions? > > > > I do have an idea. Where those java applications creating an icon in the > > taskbar? > > > > The only change that *might* be causing the problem here is the addition > > of a patch that allows the systray to use sni-qt. > > At first look I do not see anything related to shared memory usage in patch > [1]. > > [1] > http://anonscm.debian.org/cgit/pkg-kde/qt/qt4-x11.git/tree/debian/patches/p > lugin_system_for_systemtray.patch?h=debian/4.8.7%2bdfsg-3 > > Did any of the Java created a taskbar icon? > > If you had in mind a notification area, then yes, the most complex of these > Java based programs creates an icon in system tray. And this icon is > blinking when some events inside program trigger it. The only source change between the versions you mentioned in the original bug report is that patch. And I know Qt4 is using (X-11-related?) shared memory to draw things because I remember having to fix some permissions issues in past releases (for Wheezy IIRC). I don't know why GTK doesn't fails, and I *guess* that Qt5 might be using some OpenGL-related stuff that might make things go without problems. Are you running sni-qt? If so maybe the bug is there, or at least related. > > The reason why openjdk-8 *might* be working is that they might be using > > the > > new protocol for the taskbar. > > No, Java applications launched with openjdk-8 still use legacy system tray. > Also I have tested openjdk-6 and in this case all Qt4 based applications > worked fine too. So bug is present only when openjdk-7 is used for Java > programs. (Though I haven't tested openjdk-9 from experimental yet.) Well, at least we do know this. > The main question is what to do with Qt4 libraries? > > Other Debian users may face to this bug because package default-jdk depends > from openjdk-7-jdk in Debian Stretch. Well, if the memory gets exhausted is no wonder that Qt4 fails. Now I hardly doubt that this is a bug in Qt4 due to the amount of testing the current version has, after all it's just bug fixes from stable, and not many linux- related precisely. And the behavior started with just a patch for sni-qt. If you have sni-qt installed I would definitely take a look there first. I'll leave the bug open tagged as moreinfo in case you want to reassign it, else I'll close it in a couple of weeks, as nothing shows this is really a Qt4 bug. Kinds regards, Lisandro. -- I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones. Linus Benedict Torvalds. Lisandro Damián Nicanor Pérez Meyer http://perezmeyer.com.ar/ http://perezmeyer.blogspot.com/
signature.asc
Description: This is a digitally signed message part.