Re: [perl #131889] Segfault / malloc errors testing Uzu with latest Rakudo

2017-08-14 Thread Bart Wiegmans via RT
Hang on, it's only MVM_JIT_DISABLE sensitive on my branch (even-moar-jit).
It appears to happen within the perl6 extension opcodes.
Regards,
Bart


2017-08-14 10:26 GMT+02:00 Bart Wiegmans :

> It's a bus error that goes away with MVM_JIT_DISABLE.
> This is going to be interesting.
>
> 2017-08-14 10:23 GMT+02:00 Bart Wiegmans :
>
>> Can reproduce, thank you!
>>
>> This also requires the following modules:
>>
>> JSON::Fast (broken test on my machine, but may be for any reason)
>> File::Temp
>> HTTP::Server::Async
>> HTTP::Server::Router
>> Test::Output
>> Template::Mustache
>> YAMLish
>>
>> (I'm going to guess some of these were installed by rakudo star)
>>
>> Arguably, we should have more of a 'batteries included' approach to a
>> rakudo release.
>>
>> 2017-08-13 15:05 GMT+02:00 Evan Miller via RT <
>> perl6-bugs-follo...@perl.org>:
>>
>>> Update: Uzu has been updated to remove parallelism in order to work
>>> around the crash. To reproduce the issue, check out commit 6e0997d:
>>>
>>> $ zef install Template6
>>> $ git clone g...@github.com:scmorrison/uzu.git
>>> $ cd uzu
>>> $ git checkout 6e0997d
>>> $ perl6 t/02-build.t
>>>
>>>
>>
>



Re: [perl #131889] Segfault / malloc errors testing Uzu with latest Rakudo

2017-08-14 Thread Bart Wiegmans via RT
It's a bus error that goes away with MVM_JIT_DISABLE.
This is going to be interesting.

2017-08-14 10:23 GMT+02:00 Bart Wiegmans :

> Can reproduce, thank you!
>
> This also requires the following modules:
>
> JSON::Fast (broken test on my machine, but may be for any reason)
> File::Temp
> HTTP::Server::Async
> HTTP::Server::Router
> Test::Output
> Template::Mustache
> YAMLish
>
> (I'm going to guess some of these were installed by rakudo star)
>
> Arguably, we should have more of a 'batteries included' approach to a
> rakudo release.
>
> 2017-08-13 15:05 GMT+02:00 Evan Miller via RT <
> perl6-bugs-follo...@perl.org>:
>
>> Update: Uzu has been updated to remove parallelism in order to work
>> around the crash. To reproduce the issue, check out commit 6e0997d:
>>
>> $ zef install Template6
>> $ git clone g...@github.com:scmorrison/uzu.git
>> $ cd uzu
>> $ git checkout 6e0997d
>> $ perl6 t/02-build.t
>>
>>
>



Re: [perl #131889] Segfault / malloc errors testing Uzu with latest Rakudo

2017-08-14 Thread Bart Wiegmans via RT
Can reproduce, thank you!

This also requires the following modules:

JSON::Fast (broken test on my machine, but may be for any reason)
File::Temp
HTTP::Server::Async
HTTP::Server::Router
Test::Output
Template::Mustache
YAMLish

(I'm going to guess some of these were installed by rakudo star)

Arguably, we should have more of a 'batteries included' approach to a
rakudo release.

2017-08-13 15:05 GMT+02:00 Evan Miller via RT 
:

> Update: Uzu has been updated to remove parallelism in order to work around
> the crash. To reproduce the issue, check out commit 6e0997d:
>
> $ zef install Template6
> $ git clone g...@github.com:scmorrison/uzu.git
> $ cd uzu
> $ git checkout 6e0997d
> $ perl6 t/02-build.t
>
>



Re: [perl #131889] Segfault / malloc errors testing Uzu with latest Rakudo

2017-08-14 Thread Bart Wiegmans
Hang on, it's only MVM_JIT_DISABLE sensitive on my branch (even-moar-jit).
It appears to happen within the perl6 extension opcodes.
Regards,
Bart


2017-08-14 10:26 GMT+02:00 Bart Wiegmans :

> It's a bus error that goes away with MVM_JIT_DISABLE.
> This is going to be interesting.
>
> 2017-08-14 10:23 GMT+02:00 Bart Wiegmans :
>
>> Can reproduce, thank you!
>>
>> This also requires the following modules:
>>
>> JSON::Fast (broken test on my machine, but may be for any reason)
>> File::Temp
>> HTTP::Server::Async
>> HTTP::Server::Router
>> Test::Output
>> Template::Mustache
>> YAMLish
>>
>> (I'm going to guess some of these were installed by rakudo star)
>>
>> Arguably, we should have more of a 'batteries included' approach to a
>> rakudo release.
>>
>> 2017-08-13 15:05 GMT+02:00 Evan Miller via RT <
>> perl6-bugs-follo...@perl.org>:
>>
>>> Update: Uzu has been updated to remove parallelism in order to work
>>> around the crash. To reproduce the issue, check out commit 6e0997d:
>>>
>>> $ zef install Template6
>>> $ git clone g...@github.com:scmorrison/uzu.git
>>> $ cd uzu
>>> $ git checkout 6e0997d
>>> $ perl6 t/02-build.t
>>>
>>>
>>
>


Re: [perl #131889] Segfault / malloc errors testing Uzu with latest Rakudo

2017-08-14 Thread Bart Wiegmans
It's a bus error that goes away with MVM_JIT_DISABLE.
This is going to be interesting.

2017-08-14 10:23 GMT+02:00 Bart Wiegmans :

> Can reproduce, thank you!
>
> This also requires the following modules:
>
> JSON::Fast (broken test on my machine, but may be for any reason)
> File::Temp
> HTTP::Server::Async
> HTTP::Server::Router
> Test::Output
> Template::Mustache
> YAMLish
>
> (I'm going to guess some of these were installed by rakudo star)
>
> Arguably, we should have more of a 'batteries included' approach to a
> rakudo release.
>
> 2017-08-13 15:05 GMT+02:00 Evan Miller via RT <
> perl6-bugs-follo...@perl.org>:
>
>> Update: Uzu has been updated to remove parallelism in order to work
>> around the crash. To reproduce the issue, check out commit 6e0997d:
>>
>> $ zef install Template6
>> $ git clone g...@github.com:scmorrison/uzu.git
>> $ cd uzu
>> $ git checkout 6e0997d
>> $ perl6 t/02-build.t
>>
>>
>


Re: [perl #131889] Segfault / malloc errors testing Uzu with latest Rakudo

2017-08-14 Thread Bart Wiegmans
Can reproduce, thank you!

This also requires the following modules:

JSON::Fast (broken test on my machine, but may be for any reason)
File::Temp
HTTP::Server::Async
HTTP::Server::Router
Test::Output
Template::Mustache
YAMLish

(I'm going to guess some of these were installed by rakudo star)

Arguably, we should have more of a 'batteries included' approach to a
rakudo release.

2017-08-13 15:05 GMT+02:00 Evan Miller via RT 
:

> Update: Uzu has been updated to remove parallelism in order to work around
> the crash. To reproduce the issue, check out commit 6e0997d:
>
> $ zef install Template6
> $ git clone g...@github.com:scmorrison/uzu.git
> $ cd uzu
> $ git checkout 6e0997d
> $ perl6 t/02-build.t
>
>


[perl #131889] Segfault / malloc errors testing Uzu with latest Rakudo

2017-08-13 Thread Evan Miller via RT
Update: Uzu has been updated to remove parallelism in order to work around the 
crash. To reproduce the issue, check out commit 6e0997d:

$ zef install Template6
$ git clone g...@github.com:scmorrison/uzu.git
$ cd uzu
$ git checkout 6e0997d
$ perl6 t/02-build.t



[perl #131889] Segfault / malloc errors testing Uzu with latest Rakudo

2017-08-12 Thread via RT
# New Ticket Created by  Evan Miller 
# Please include the string:  [perl #131889]
# in the subject line of all future correspondence about this issue. 
# https://rt.perl.org/Ticket/Display.html?id=131889 >


$ zef install Template6
$ git clone g...@github.com:scmorrison/uzu.git
$ cd uzu
$ perl6 t/02-build.t

1..3
1..5
Clear old files
Create build directory
Copy public, assets
Compile templates [en]
fish: 'perl6 t/02-build.t' terminated by signal SIGSEGV (Address boundary
error)


Other memory errors sometimes appear instead, e.g.:


moar(63339,0x7b4a6000) malloc: *** error for object 0x7fa57da56e00:
double free
*** set a breakpoint in malloc_error_break to debug


moar(63470,0x76845000) malloc: *** error for object 0x7ff9dfdbd290:
pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug


$ perl6 --version
This is Rakudo version 2017.07-148-g5fcce6732 built on MoarVM version
2017.07-382-g348b4262
implementing Perl 6.c.


Might be related to #131888; I see that error occasionally as well. I am
running Mac OS X 10.12.6.