Standalone backup agent for Microsoft Windows servers and workstations (formerly Veeam Endpoint Backup FREE)
Post Reply
doktornotor
Enthusiast
Posts: 94
Liked: 29 times
Joined: Mar 07, 2018 12:57 pm
Contact:

[BUG] Non-existent %TEMP% kills Veeam Agent, plus fills drive with logs

Post by doktornotor »

When %TEMP% directory is missing for a user for some reason, and you go to the Status tab and click on some restore point to get details, or click on a backup in progress, the Veeam Agent GUI freezes and starts filling the %ProgramData%\Veeam\Endpoint directory with UI.Tray-<logged_on_username>.X.log files (a new one gets created once the previous has grown to 10MB - which happens extremely fast).

A short excerpt from those logs:

Code: Select all

[15.11.2018 10:20:05] <01> Error    The directory name is invalid.
[15.11.2018 10:20:05] <01> Error     (System.IO.IOException)
[15.11.2018 10:20:05] <01> Error       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
[15.11.2018 10:20:05] <01> Error       at System.IO.Path.InternalGetTempFileName(Boolean checkHost)
[15.11.2018 10:20:05] <01> Error       at System.Windows.Input.Cursor.LoadFromStream(Stream cursorStream)
[15.11.2018 10:20:05] <01> Error       at System.Windows.Controls.GridViewColumnHeader.GetCursor(Int32 cursorID)
[15.11.2018 10:20:05] <01> Error       at System.Windows.Controls.GridViewColumnHeader.get_SplitCursor()
[15.11.2018 10:20:05] <01> Error       at System.Windows.Controls.GridViewColumnHeader.UpdateGripperCursor()
[15.11.2018 10:20:05] <01> Error       at System.Windows.Controls.GridViewColumnHeader.CheckWidthForPreviousHeaderGripper()
[15.11.2018 10:20:05] <01> Error       at System.Windows.Controls.GridViewHeaderRowPresenter.ArrangeOverride(Size arrangeSize)
[15.11.2018 10:20:05] <01> Error       at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
[15.11.2018 10:20:05] <01> Error       at System.Windows.UIElement.Arrange(Rect finalRect)
[15.11.2018 10:20:05] <01> Error       at System.Windows.Controls.ScrollContentPresenter.ArrangeOverride(Size arrangeSize)
[15.11.2018 10:20:05] <01> Error       at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
[15.11.2018 10:20:05] <01> Error       at System.Windows.UIElement.Arrange(Rect finalRect)
[15.11.2018 10:20:05] <01> Error       at System.Windows.Controls.Grid.ArrangeOverride(Size arrangeSize)
[15.11.2018 10:20:05] <01> Error       at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
[15.11.2018 10:20:05] <01> Error       at System.Windows.UIElement.Arrange(Rect finalRect)
...
This log spam only stops when you close the Veeam Agent window.

I'd say this should not happen at all, plus can potentially crash the OS once the %SystemDrive% has filled with these extremely spammy logs. (Seen KB1046 so seems like sort of known issue for ages, just the exception handling got much worse, the KB does not mention anything about unusable GUI and filling the OS drive.) :!:
Dima P.
Product Manager
Posts: 14415
Liked: 1576 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: [BUG] Non-existent %TEMP% kills Veeam Agent, plus fills drive with logs

Post by Dima P. »

Hi Dok.

Thanks for your post, can you please clarify the Veeam Agent for Windows version you are using? Meanwhile I'll check with the QA team and report back. Stay tuned.
doktornotor
Enthusiast
Posts: 94
Liked: 29 times
Joined: Mar 07, 2018 12:57 pm
Contact:

Re: [BUG] Non-existent %TEMP% kills Veeam Agent, plus fills drive with logs

Post by doktornotor »

Well yes, of course. The agent is the latest one available, AFAICT - 2.2.0.589. The issue seems very easily reproducible on any machine I tried.
Dima P.
Product Manager
Posts: 14415
Liked: 1576 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: [BUG] Non-existent %TEMP% kills Veeam Agent, plus fills drive with logs

Post by Dima P. »

May I ask under which circumstances TEMP folder was removed from the machine?
doktornotor
Enthusiast
Posts: 94
Liked: 29 times
Joined: Mar 07, 2018 12:57 pm
Contact:

Re: [BUG] Non-existent %TEMP% kills Veeam Agent, plus fills drive with logs

Post by doktornotor »

Not exactly sure, probably killed by CCleaner in connection with this "genius" Remote Desktop "feature" invented by MS... Does not matter anyway, a missing, super-easy to re-create directory shouldn't be breaking software.
Dima P.
Product Manager
Posts: 14415
Liked: 1576 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: [BUG] Non-existent %TEMP% kills Veeam Agent, plus fills drive with logs

Post by Dima P. »

Understood. We've noted a bug based on your report, thanks again!
doktornotor
Enthusiast
Posts: 94
Liked: 29 times
Joined: Mar 07, 2018 12:57 pm
Contact:

Re: [BUG] Non-existent %TEMP% kills Veeam Agent, plus fills drive with logs

Post by doktornotor »

Thanks as well.
Post Reply

Who is online

Users browsing this forum: No registered users and 25 guests