On Thu, Sep 08, 2016 at 11:54:50AM -0700, Zoffix Znet via RT wrote:
> I'm unable to reproduce this on HEAD Rakudo even with $n set to 40 and 
> RAKUDO_MAX_THREADS set to 50.

thanks, I wasn't aware of that env, makes reproducing these much easier
:)
 
> What is your perl6 version (perl6 -v). Are you able to try this against HEAD 
> [^1]? Yesterday a fix went in addressing issues in sockets and threads; and 
> recently there have been many other async fixes.

I can see the problem on:
This is Rakudo version 2016.08.1-131-g7925d66 built on MoarVM version
2016.08-43-g3d04391

I really don't understand the relationship between the rakudo build and
the moar build, and how it finds the modules from there. how can I make
a perl6 built like this pick up the modules from another perl6? 

but that aside and with some hackery, I now have a 
This is Rakudo version 2016.08.1-142-g8a66833 built on MoarVM version
2016.08-43-g3d04391

however, I still get similar crashes:

#0  0x00007f61c5ff7067 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or
directory.
(gdb) bt
#0  0x00007f61c5ff7067 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007f61c5ff8448 in __GI_abort () at abort.c:89
#2  0x00007f61c60351b4 in __libc_message (do_abort=do_abort@entry=1,
fmt=fmt@entry=0x7f61c612a530 "*** Error in `%s': %s: 0x%s ***\n")
    at ../sysdeps/posix/libc_fatal.c:175
#3  0x00007f61c603a98e in malloc_printerr (action=1, str=0x7f61c612a718
"double free or corruption (fasttop)", ptr=<optimized out>)
    at malloc.c:4996
#4  0x00007f61c603b696 in _int_free (av=<optimized out>, p=<optimized
out>, have_lock=0) at malloc.c:3840
#5  0x00007f61c6b3fb02 in MVM_interp_run (tc=0x285d, tc@entry=0x4a6bd60,
initial_invoke=0x0, invoke_data=0x6, invoke_data@entry=0x400a530)
    at src/core/interp.c:1601
#6  0x00007f61c6b5489e in start_thread (data=data@entry=0x400a530) at
src/core/threads.c:77
#7  0x00007f61c6c1b227 in uv__thread_start (arg=<optimized out>) at
3rdparty/libuv/src/unix/thread.c:49
#8  0x00007f61c5aac0a4 in start_thread (arg=0x7f61c2928700) at
pthread_create.c:309
#9  0x00007f61c60aa87d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

I did have to run it quite often before it crashed however.

please let me what I can do to help debug! I want to learn more about
rakudo and moar much more than get this working.

thanks  robet

-- 
Robert Lemmen                               http://www.semistable.com 

Attachment: signature.asc
Description: PGP signature

Reply via email to