Package: gdb=7.6.1-1
Version: gdb
Severity: normal

I tried to run

    generate-core-file /tmp/some-file

with a multi-GB process; that filled up my /tmp completely.


GDB wrote (manually translated)

   warning: Failed to write corefile contents (Out of disk space).
   ...
   Saved corefile /tmp/htr
   warning: cannot close "/tmp/some-file": out of disk space


Deleting the file from another shell wasn't sufficient - GDB still had the
filehandle open (as it says above)!


   # ls -la /proc/`pidof gdb`/fd
   ...
   lrwx------ 1 root root 64 Feb 28 09:57 9 -> /tmp/some-file (deleted)


So I *have* to quite GDB - and lose the debugged process on the way.

Please just make GDB close the filehandle, so the space can be reclaimed.


Thanks a lot!



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to