# New Ticket Created by  Carlin Bingham 
# Please include the string:  [perl #126297]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=126297 >


Doesn't seem to happen if the main program thread is still running when
the thread exits.


    use v6;

    Thread.start({
        my $fh = open('/dev/urandom');
        say $fh.read(16);
        say "alive";
    });

    say "main program ending";


main program ending
Buf[uint8]:0x<ae c0 d2 b1 fa c9 63 29 1a fb 5c de 56 a2 6a 07>
alive
Segmentation fault (core dumped)


-- 
Carlin

Reply via email to