bug reporting and file descriptors...

Daniel J Blueman daniel.blueman at gmail.com
Tue Jul 20 21:27:38 UTC 2010


With certain types of bug, it really helps to know what file
descriptors were open at the time of crashing.

For example, gstreamer is crashing in libavformat, however no
information was gathered to show the path of inodes attached to the
file descriptors [1], where it would be immediately clear what file to
try and reproduce with:

$ ls -l /proc/6117/fd
0 -> /dev/null
1 -> pipe:[3602840]
2 -> /dev/pts/6
3 -> socket:[3602928]
4 -> pipe:[3602929]
5 -> pipe:[3602929]
6 -> socket:[3602931]
7 -> /home/daniel/test.mp3

Would it make sense to have this information, or have I overlooked something?

--- [1] https://bugs.launchpad.net/ubuntu/+source/ffmpeg/+bug/607718
-- 
Daniel J Blueman




More information about the Ubuntu-devel-discuss mailing list