# New Ticket Created by Mikhail Khorkov # Please include the string: [perl #122274] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=122274 >
I have a stable SIGSEGV on my code https://github.com/atroxaper/Pod-SAX/commit/80e45173429c493f0a8ffe5f667ada51917e195d Current log of lldb (it is like gdb but in OS X): .oO(atroxaper:Goes)$ uname -a Darwin MacBook-Pro-atroxaper.local 13.3.0 Darwin Kernel Version 13.3.0: Tue Jun 3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64 .oO(atroxaper:Goes)$ /Users/atroxaper/.rakudobrew/parrot-HEAD/install/bin/perl6 -v This is perl6 version 2014.06-98-g87dcd11 built on parrot 6.5.0 revision RELEASE_6_5_0 .oO(atroxaper:Goes)$ lldb /Users/atroxaper/.rakudobrew/parrot-HEAD/install/bin/perl6 Current executable set to '/Users/atroxaper/.rakudobrew/parrot-HEAD/install/bin/perl6' (x86_64). (lldb) run /Users/atroxaper/idea/podmaster/t/Pod/SAX/Goes/01\ -\ html.pm Process 29473 launched: '/Users/atroxaper/.rakudobrew/parrot-HEAD/install/bin/perl6' (x86_64) 1..23 ok 1 - just pod ok 2 - just title not ok 3 - just headings # got: '<h1>Heading1</h1><h2>Heading2</h2><h1>Heading11</h1>' # expected: '<h1 id="Heading1">Heading1</h1><h2 id="Heading2">Heading2</h2><h1 id="Heading11">Heading11</h1>' ok 4 - link: L<http://www.mp3dev.org/mp3/> ok 5 - link: L<http://perlcabal.org/syn/S04.html#The_for_statement> ok 6 - link: L<http:tutorial/faq.html> ok 7 - link: L<file:/usr/local/lib/.configrc> ok 8 - link: L<file:.configrc> ok 9 - link: L<mailto:[email protected]> ok 10 - link: L<man:find(1)> ok 11 - link: L<doc:perldata> ok 12 - link: L<doc:#Special Features> ok 13 - link: L<#Special Features> ok 14 - link: L<defn:lexiphania> ok 15 - link: L<issn:1087-903X> ok 16 - link: L<isbn:2-266-11156-6> ok 17 - link: L<name|link> ok 18 - link: L<C<name>> ok 19 - link: L<C<n>amC<e>> ok 20 - link: L<name> Process 29473 stopped * thread #1: tid = 0x207a06, 0x0000000101d0c956 perl6_ops.bundle`Rakudo_cont_is_rw_scalar(interp=0x00000001019039d0, check=0x0000000110357270) + 15 at container.c:187, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0) frame #0: 0x0000000101d0c956 perl6_ops.bundle`Rakudo_cont_is_rw_scalar(interp=0x00000001019039d0, check=0x0000000110357270) + 15 at container.c:187 184 185 /* Checks if the thing we have is a rw scalar. */ 186 INTVAL Rakudo_cont_is_rw_scalar(PARROT_INTERP, PMC *check) { -> 187 if (IS_CONCRETE(check) && STABLE(check)->WHAT == scalar_type) { 188 Rakudo_Scalar *scalar = (Rakudo_Scalar *)PMC_data(check); 189 if (!PMC_IS_NULL(scalar->descriptor)) 190 return ((Rakudo_ContainerDescriptor *)PMC_data(scalar->descriptor))->rw; (lldb) bt * thread #1: tid = 0x207a06, 0x0000000101d0c956 perl6_ops.bundle`Rakudo_cont_is_rw_scalar(interp=0x00000001019039d0, check=0x0000000110357270) + 15 at container.c:187, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0) * frame #0: 0x0000000101d0c956 perl6_ops.bundle`Rakudo_cont_is_rw_scalar(interp=0x00000001019039d0, check=0x0000000110357270) + 15 at container.c:187 frame #1: 0x0000000101d054c2 perl6_ops.bundle`Parrot_perl6_decontainerize_return_value_p_p_p(cur_opcode=0x000000010a7288f0, interp=0x00000001019039d0) + 63 at perl6_ops.c:3446 frame #2: 0x0000000100061362 libparrot.dylib`runops_fast_core(interp=<unavailable>, runcore_unused=<unavailable>, pc=<unavailable>) + 51 at cores.c:495 frame #3: 0x0000000100060d4e libparrot.dylib`runops_int(interp=0x00000001019039d0, offset=<unavailable>) + 96 at main.c:220 frame #4: 0x000000010004c9b0 libparrot.dylib`runops(interp=0x00000001019039d0, offs=<unavailable>) + 318 at ops.c:123 frame #5: 0x0000000100048c70 libparrot.dylib`Parrot_pcc_invoke_from_sig_object(interp=0x00000001019039d0, sub_obj=<unavailable>, call_object=<unavailable>) + 206 at pcc.c:337 frame #6: 0x000000010003e1bc libparrot.dylib`Parrot_ext_call(interp=0x00000001019039d0, sub_pmc=<unavailable>, signature=<unavailable>) + 222 at extend.c:158 frame #7: 0x0000000100103f6c libparrot.dylib`Parrot_Task_invoke(interp=0x00000001019039d0, _self=0x0000000108aca768, next=0x0000000000000000) + 188 at task.pmc:175 frame #8: 0x0000000100048c39 libparrot.dylib`Parrot_pcc_invoke_from_sig_object(interp=0x00000001019039d0, sub_obj=0x0000000108aca768, call_object=<unavailable>) + 151 at pcc.c:329 frame #9: 0x000000010003e1bc libparrot.dylib`Parrot_ext_call(interp=0x00000001019039d0, sub_pmc=<unavailable>, signature=<unavailable>) + 222 at extend.c:158 frame #10: 0x0000000100064550 libparrot.dylib`Parrot_cx_outer_runloop(interp=0x00000001019039d0) + 64 at scheduler.c:149 frame #11: 0x00000001000643f5 libparrot.dylib`Parrot_cx_begin_execution(interp=0x00000001019039d0, main=<unavailable>, argv=<unavailable>) + 104 at scheduler.c:109 frame #12: 0x000000010006c875 libparrot.dylib`Parrot_pf_execute_bytecode_program(interp=0x00000001019039d0, pbc=<unavailable>, args=0x0000000103013e48) + 466 at api.c:2860 frame #13: 0x0000000100039f59 libparrot.dylib`Parrot_api_run_bytecode(interp_pmc=<unavailable>, pbc=0x000000010301ce10, args=<unavailable>) + 229 at bytecode.c:161 frame #14: 0x000000010000186c perl6`main(argc=<unavailable>, argv=<unavailable>) + 462 at perl6-p.c:993 (lldb) exit Quitting LLDB will kill one or more processes. Do you really want to proceed: [Y/n] Y
