VirtualBox

Ignore:
Timestamp:
Aug 11, 2021 12:31:27 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
146235
Message:

Additions: X11: VBoxSVGA: prevent fatal error notification flooding, bugref:10028.

At some circumstances, VbglR3GetDisplayChangeRequestMulti(), which is called in a loop,
might fail. This will trigger VBClLogFatalError() call which, in turn, will trigger
notification popup on a guest side for some desktop environments. If
VbglR3GetDisplayChangeRequestMulti() will constantly fail, it will result
in popup notification flooding. This commit replaces VBClLogFatalError() with VBClLogError()
in order to prevent it.

Location:
trunk/src/VBox/Additions/x11/VBoxClient
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/display-drm.cpp

    r86318 r90624  
    226226        fAck = true;
    227227        if (RT_FAILURE(rc))
    228             VBClLogFatalError("Failed to get display change request, rc=%Rrc\n", rc);
     228            VBClLogError("Failed to get display change request, rc=%Rrc\n", rc);
    229229        if (cDisplaysOut > VMW_MAX_HEADS)
    230             VBClLogFatalError("Display change request contained, rc=%Rrc\n", rc);
     230            VBClLogError("Display change request contained, rc=%Rrc\n", rc);
    231231        if (cDisplaysOut > 0)
    232232        {
  • trunk/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp

    r90581 r90624  
    13881388        fAck = true;
    13891389        if (RT_FAILURE(rc))
    1390             VBClLogFatalError("Failed to get display change request, rc=%Rrc\n", rc);
     1390            VBClLogError("Failed to get display change request, rc=%Rrc\n", rc);
    13911391        if (cDisplaysOut > VMW_MAX_HEADS)
    1392             VBClLogFatalError("Display change request contained, rc=%Rrc\n", rc);
     1392            VBClLogError("Display change request contained, rc=%Rrc\n", rc);
    13931393        if (cDisplaysOut > 0)
    13941394        {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette