On 04/11/2009 10:45, Matthew Boyle wrote:
mine seems to be running out of stack space:
[chemn...@10:36 ~]$ gdb perl
[...]
(gdb) run downloads/linked_list_segfault.pl
Starting program: /usr/bin/perl downloads/linked_list_segfault.pl
Ah! That's the magic incantation I needed. I was trying these:
$ gdb linked_list_segfault.pl
$ gdb perl linked_list_segfault.pl
And of course, gdb complained that linked_list_segfault.pl wasn't a
core file.
quarter of a million frames is quite a lot :-)
Indeed. I'll try not to be so greedy in future :-)
> looks like it is a stack issue:
>
> [chemn...@10:52 ~]$ ulimit -s
> 10240
That's another useful tip to remember. Thank you.
A