! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
GLib-CRITICAL **: g_file_test: assertion 'filename != NULL' failed
Status:
RESOLVED: FIXED

Comments

Description Andre Miranda editbugs 2017-06-20 03:42:02 CEST
Created attachment 7184 
Patch

Recently Thunar started to spam stdout with this message:
GLib-CRITICAL **: g_file_test: assertion 'filename != NULL' failed

Also reported here:
https://forum.manjaro.org/t/testing-update-2017-05-10-kernel-virtualbox-haskell-gnome/23426/7

I'm running Thunar from master (338e6b9) on Arch Linux with gtk 2.24.31 and glib2 2.52.2.
This problem also affects the gtk3-based Thunar.

Please check if the patch is ok before we push to master.
Comment 1 Andre Miranda editbugs 2017-06-21 03:40:48 CEST
Investigating this issue a bit more, I found that a return_if_fail was added to g_file_test in 2017-04-08[1] and Arch is building the glib package from a commit of 2017-06-01. Now I know why some guys from Manjaro and I are getting this message, but I wonder if we should just ignore NULL file paths or fix the source of problem (if there's one).

1 - https://git.gnome.org/browse/glib/commit/?id=a5b58da6bf3bb21cbd3d030a369aad330f90f891

Bug #13663

Reported by:
Andre Miranda
Reported on: 2017-06-20
Last modified on: 2017-06-23

People

Assignee:
Xfce Bug Triage
CC List:
2 users

Version

Version:
1.6.11

Attachments

Patch (2.21 KB, patch)
2017-06-20 03:42 CEST , Andre Miranda
no flags

Additional information