- or download this
use strict;
use warnings;
...
memcpy(0,"source",1);
Inline_Stack_Void;
}
- or download this
starting start_thread at ./test2.pl line 20 thread 1
main::start_thread(1) called at ./test2.pl line 30 thread 1
...
main::start_thread(2) called at ./test2.pl line 33 thread 2
eval {...} called at ./test2.pl line 33 thread 2
Segmentation fault (core dumped)
- or download this
#0 sub_that_core_dumps () at test2_pl_945a.xs:15
#1 0xb7745ad2 in XS_main_sub_that_core_dumps (my_perl=0x93ec518, cv=0
+x947f61c)
...
#5 0xb7416224 in S_ithread_run (arg=0x93a97e8) at threads.xs:509
#6 0xb76b84c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#7 0xb763784e in clone () from /lib/i686/cmov/libc.so.6