GNOME Bugzilla – Bug 132693
Infinite recursion in find_and_ref_path
Last modified: 2011-02-04 16:16:03 UTC
With path=="." and model->root_path=="/", I don't seem to be getting any progress in find_and_ref_path and it ends up calling itself with the same arguments recursively. This arose deep down in the call chain from trying to call gtk_file_chooser_set_filename for a file chooser.
Morten, should we close this as invalid after our discussion on irc?
No. At the very least, it should become a doc bug for the _set_filename function. It's a bit surprising that non-absolute filenames can cause such loops.
Infinite recursion in passing a non-absolute filename is certainly not acceptable, even if documented. g_return_if_fail (g_path_is_absolute(), ...) would be the minimum we need to do here.
Fixed on CVS.
*** Bug 133463 has been marked as a duplicate of this bug. ***