Skip to content

Instantly share code, notes, and snippets.

@moritz
Created July 9, 2011 06:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moritz/1073396 to your computer and use it in GitHub Desktop.
Save moritz/1073396 to your computer and use it in GitHub Desktop.
segfault in exists.rakudo
gdb --args ./perl6 t/spec/S32-hash/exists.rakudo
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/moritz/p6/rakudo/perl6...(no debugging symbols found)...done.
(gdb) bt
No stack.
(gdb) run
Starting program: /home/moritz/p6/rakudo/perl6 t/spec/S32-hash/exists.rakudo
[Thread debugging using libthread_db enabled]
1..19
ok 1 - # SKIP unspecced
ok 2 - Test existence for single key. (method call)
ok 3 - Existence of single key with 0 as value: none
ok 4 - Existence of single key: one
ok 5 - Existence of single key with undefined as value: nothing
ok 6 - Defined 0 value for key: none
ok 7 - Defined 1 value for key: one
ok 8 - NOT Defined value for key: nothing
ok 9 - exists on hashes (1)
ok 10 - exists on hashes (2)
ok 11 - empty hash stays same when read from (1)
ok 12 - empty hash stays same when read from (2)
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7a50d9c in pool_allocate ()
from /home/moritz/p6/rakudo/install/lib/libparrot.so.3.5.0
(gdb) bt
#0 0x00007ffff7a50d9c in pool_allocate ()
from /home/moritz/p6/rakudo/install/lib/libparrot.so.3.5.0
#1 0x00007ffff7a4e8bb in gc_gms_allocate_pmc_attributes ()
from /home/moritz/p6/rakudo/install/lib/libparrot.so.3.5.0
#2 0x00007ffff7a6fcf9 in get_new_pmc_header ()
from /home/moritz/p6/rakudo/install/lib/libparrot.so.3.5.0
#3 0x00007ffff7a7009d in Parrot_pmc_new ()
from /home/moritz/p6/rakudo/install/lib/libparrot.so.3.5.0
#4 0x00007ffff7ad3d08 in autobox_pmc ()
from /home/moritz/p6/rakudo/install/lib/libparrot.so.3.5.0
#5 0x00007ffff7a55736 in fill_params ()
from /home/moritz/p6/rakudo/install/lib/libparrot.so.3.5.0
#6 0x00007ffff7a562da in Parrot_pcc_fill_params_from_varargs ()
from /home/moritz/p6/rakudo/install/lib/libparrot.so.3.5.0
#7 0x00007ffff7a56379 in Parrot_pcc_fill_params_from_c_args ()
from /home/moritz/p6/rakudo/install/lib/libparrot.so.3.5.0
#8 0x00007ffff7ae15b4 in Parrot_ExceptionHandler_nci_handle_types ()
from /home/moritz/p6/rakudo/install/lib/libparrot.so.3.5.0
#9 0x00007ffff7af1fed in Parrot_NativePCCMethod_invoke ()
from /home/moritz/p6/rakudo/install/lib/libparrot.so.3.5.0
#10 0x00007ffff7a70f06 in runops_fast_core ()
from /home/moritz/p6/rakudo/install/lib/libparrot.so.3.5.0
#11 0x00007ffff7a70bea in runops_int ()
---Type <return> to continue, or q <return> to quit---
from /home/moritz/p6/rakudo/install/lib/libparrot.so.3.5.0
#12 0x00007ffff7a58f2e in runops ()
from /home/moritz/p6/rakudo/install/lib/libparrot.so.3.5.0
#13 0x00007ffff7a5468e in Parrot_pcc_invoke_from_sig_object ()
from /home/moritz/p6/rakudo/install/lib/libparrot.so.3.5.0
#14 0x00007ffff7a48f8d in Parrot_ext_call ()
from /home/moritz/p6/rakudo/install/lib/libparrot.so.3.5.0
#15 0x00007ffff3c93d13 in default_type_check ()
from /home/moritz/p6/rakudo/install/lib/parrot/3.5.0-devel/dynext/nqp_ops.so
#16 0x00007ffff3a4df19 in Rakudo_cont_store () from dynext/perl6_ops.so
#17 0x00007ffff3a421c9 in Parrot_perl6_container_store_p_p ()
from dynext/perl6_ops.so
#18 0x00007ffff7a70f06 in runops_fast_core ()
from /home/moritz/p6/rakudo/install/lib/libparrot.so.3.5.0
#19 0x00007ffff7a70bea in runops_int ()
from /home/moritz/p6/rakudo/install/lib/libparrot.so.3.5.0
#20 0x00007ffff7a58f2e in runops ()
from /home/moritz/p6/rakudo/install/lib/libparrot.so.3.5.0
#21 0x00007ffff7a5468e in Parrot_pcc_invoke_from_sig_object ()
from /home/moritz/p6/rakudo/install/lib/libparrot.so.3.5.0
#22 0x00007ffff7a547c1 in Parrot_pcc_invoke_sub_from_c_args ()
from /home/moritz/p6/rakudo/install/lib/libparrot.so.3.5.0
#23 0x00007ffff7a7b2de in Parrot_pf_execute_bytecode_program ()
---Type <return> to continue, or q <return> to quit---
from /home/moritz/p6/rakudo/install/lib/libparrot.so.3.5.0
#24 0x00007ffff7a446ea in Parrot_api_run_bytecode ()
from /home/moritz/p6/rakudo/install/lib/libparrot.so.3.5.0
#25 0x0000000000401510 in main ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment