Comment 3 for bug 1069897

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

This looks to me as a bug in a debian specific patch; see debian/patches/gdbinit-ownership.patch
+ warning ("not using untrusted file \"%s\"", file);
+ fclose (stream);
+ do_cleanups (old_cleanups);
+ return;

As far as I can tell from the weird cleanup system, the do_cleanups is fclose'ing stream as well, and that's why it fails.
commenting out the fclose(stream) there makes it work for me, and the fd is closed according to /proc/*/fd