Skip to content

Instantly share code, notes, and snippets.

@dogbert17
Created November 5, 2016 15:06
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 dogbert17/819c787aed1c1cf4679bb74407e53149 to your computer and use it in GitHub Desktop.
Save dogbert17/819c787aed1c1cf4679bb74407e53149 to your computer and use it in GitHub Desktop.
RT 129781
dogbert@dogbert-VirtualBox ~/repos/rakudo $ ./perl6 -v
This is Rakudo version 2016.10-178-gaedb8e7 built on MoarVM version 2016.10-37-gf769569
implementing Perl 6.c.
dogbert@dogbert-VirtualBox ~/repos/rakudo $ ulimit -c unlimited
dogbert@dogbert-VirtualBox ~/repos/rakudo $ seq 20 | xargs -Iz ./perl6-m --ll-exception -e 'await (for ^10000 { start ‘/etc/hostname’.IO ~~ :e })'
*** Error in `/home/dogbert/repos/rakudo/install/bin/moar': double free or corruption (fasttop): 0x0aff40a0 ***
xargs: ./perl6-m: terminated by signal 6
dogbert@dogbert-VirtualBox ~/repos/rakudo $ gdb /home/dogbert/repos/rakudo/install/bin/moar core
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 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 "i686-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/dogbert/repos/rakudo/install/bin/moar...done.
[New LWP 15991]
[New LWP 15990]
[New LWP 15989]
[New LWP 15993]
[New LWP 15992]
[New LWP 15994]
[New LWP 15995]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Core was generated by `/home/dogbert/repos/rakudo/install/bin/moar --execname=./perl6-m --libpath=/hom'.
Program terminated with signal SIGABRT, Aborted.
#0 0xb76ebcb0 in ?? ()
(gdb) bt
#0 0xb76ebcb0 in ?? ()
#1 0xb72254ba in malloc_printerr (action=<optimized out>, str=0xb7317e80 "double free or corruption (fasttop)", ptr=0xaff40a0) at malloc.c:4996
#2 0xb722612d in _int_free (av=0xb735d420 <main_arena>, p=<optimized out>, have_lock=0) at malloc.c:3840
#3 0xb7228e33 in __GI___libc_free (mem=<optimized out>, mem@entry=0xaff40a0) at malloc.c:2946
#4 0xb74c2edd in MVM_free (p=0xaff40a0) at src/core/alloc.h:29
#5 MVM_string_flatten (tc=tc@entry=0xb123250, s=s@entry=0xb6e4d238) at src/strings/ops.c:1243
#6 0xb745e590 in extract_key (key=0xb6e4d238, klen=<synthetic pointer>, kdata=<synthetic pointer>, tc=0xb123250) at src/6model/reprs/MVMHash.c:21
#7 at_key (tc=0xb123250, st=0x91aecd8, root=0xb4d0dd08, data=0xb4d0dd18, key=0xb6e4d238, result=0xb48fdc38, kind=8) at src/6model/reprs/MVMHash.c:77
#8 0xb7454a27 in MVM_repr_at_key_o (tc=tc@entry=0xb123250, obj=0xb4d0dd08, key=key@entry=0xb6e4d238) at src/6model/reprconv.c:450
#9 0xb7482484 in MVM_6model_find_method (tc=0xb123250, obj=0xb48ffe64, name=0xb6e4d238, res=0xa78cea0) at src/6model/6model.c:91
#10 0xb7417a85 in MVM_interp_run (tc=tc@entry=0xb123250, initial_invoke=initial_invoke@entry=0xb74278c0 <thread_initial_invoke>, invoke_data=0x0) at src/core/interp.c:1697
#11 0xb7427882 in start_thread (data=0xb0f5c88) at src/core/threads.c:77
#12 0xb7500807 in uv.thread_start () from //home/dogbert/repos/rakudo/install/lib/libmoar.so
#13 0xb7155f72 in start_thread (arg=0xb48feb40) at pthread_create.c:312
#14 0xb729df8e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129
(gdb) q
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment