I have a Perl/Tk app that's crashing with a segfault, presumably because some C code inside Perl/Tk is dereferencing a null pointer or something like that. The crashes are infrequent and hard to reproduce. After waiting patiently for a long time, I managed to capture a core dump. However, is there anything useful I can do with the core dump? I'm just using the binary distro of Perl/Tk that comes with the latest Ubuntu, which I presume wasn't compiled with debugging symbols. I could compile Perl/Tk from source with debugging info, but I'm not even sure that would help. The syntax for gdb in this situation would seem to be 'gdb app core', where app is, I think, supposed to be an ELF executable, not a Perl script that happens to call some C code via XS. Any suggestions on how to approach this?