Critical warnings at start

Bug #1391939 reported by PerfectCarl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Files
Fix Released
Low
Jeremy Wootten

Bug Description

When the application starts, it emits critical warnings.

[_LOG_LEVEL_FATAL 16:53:21.477314] gof_file_update_icon_internal: assertion 'size >= 1' failed
[_LOG_LEVEL_FATAL 16:53:21.477389] Files will not function properly.
[_LOG_LEVEL_FATAL 16:53:21.483914] gof_file_update_icon_internal: assertion 'size >= 1' failed
[_LOG_LEVEL_FATAL 16:53:21.483986] Files will not function properly.
[_LOG_LEVEL_FATAL 16:53:21.485972] gof_file_update_icon_internal: assertion 'size >= 1' failed
[_LOG_LEVEL_FATAL 16:53:21.486072] Files will not function properly.

Related branches

Revision history for this message
Jeremy Wootten (jeremywootten) wrote :

I do not get this, but I think it is due to a race between the creation of the view and the updating of the icons. When initialized, GOF.Files have an icon size of -1. If the icons get updated before their actual size has been set then this error would result. As this does not seem to have any visible effect, other than the error messages, I have just guarded against calling this gof_file_update_icon_internal function with an invalid size.

Changed in pantheon-files:
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Jeremy Wootten (jeremywootten)
Revision history for this message
PerfectCarl (name-is-carl) wrote : Re: [Bug 1391939] Re: Critical warnings at start

I can provide a detailed full stack trace if that's useful.

Changed in pantheon-files:
status: In Progress → Fix Committed
milestone: none → freya-beta2
Changed in pantheon-files:
status: Fix Committed → Fix Released
Cody Garver (codygarver)
Changed in pantheon-files:
milestone: freya-beta2 → 0.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.