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

Bug#800698: libqtgui4: GUI applications are unusable on amd64 systems



control: retitle 800698 libqtgui4: GUI applications become unusable when shared memory is exhausted


Hi Lisandro,

>>  Today I had some a bit time for searching of possible root of this bug.
>>  And I have found similar bug report [1] for one of Qt4 based applications.
>>
>>  [1] https://github.com/git-cola/git-cola/issues/482
>>
>>  When I have killed all openjdk-7 applications, my problem was solved.
>>  Then I have replaced openjdk-7* packages to openjdk-8* packages and all
>>  is working fine during few hours.
>>
>>  It looks that problem is in openjdk-7,
>
> It might probably be.
>
>>  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/plugin_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 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.)

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.

Best regards,
Boris


Reply to: