Skip to content

Instantly share code, notes, and snippets.

@FROGGS
Last active August 29, 2015 14:01
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 FROGGS/9228162347e3b4c03a18 to your computer and use it in GitHub Desktop.
Save FROGGS/9228162347e3b4c03a18 to your computer and use it in GitHub Desktop.
froggs@TL02L-R8RXTCW-linux:~/dev/star/work-m/rakudo-star-2014.04$ ./perl6 modules/perl6-lwp-simple/t/get-w3-latin1-utf8.t
ok 1 - Got latin-1 page
Speicherzugriffsfehler (Speicherabzug geschrieben)
froggs@TL02L-R8RXTCW-linux:~/dev/star/work-m/rakudo-star-2014.04$ MVM_SPESH_DISABLE=1 ./perl6 modules/perl6-lwp-simple/t/get-w3-latin1-utf8.t
ok 1 - Got latin-1 page
ok 2 - Got utf-8 page
1..2
Saw 1 call to deprecated code during execution.
================================================================================
$*PERL<compiler><name> called at:
/home/froggs/dev/star/work-m/rakudo-star-2014.04/install/languages/perl6/lib/LWP/Simple.pm, line 43
Please use $*PERL.compiler.name instead.
--------------------------------------------------------------------------------
Please contact the author to have these calls to deprecated code adapted,
so that this message will disappear!
froggs@TL02L-R8RXTCW-linux:~/dev/star/work-m/rakudo-star-2014.04$ gdb --args /home/froggs/dev/star/work-m/rakudo-star-2014.04/install/bin/moar --execname="$0" --libpath="/home/froggs/dev/star/work-m/rakudo-star-2014.04/install/languages/nqp/lib" --libpath="/home/froggs/dev/star/work-m/rakudo-star-2014.04/install/languages/perl6/lib" --libpath="/home/froggs/dev/star/work-m/rakudo-star-2014.04/install/languages/perl6/runtime" /home/froggs/dev/star/work-m/rakudo-star-2014.04/install/languages/perl6/runtime/perl6.moarvm modules/perl6-lwp-simple/t/get-w3-latin1-utf8.t
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
ok 1 - Got latin-1 page
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff79dfd54 in MVM_6model_try_cache_type_check (tc=tc@entry=0x6035d0, obj=0x7ffff6790e20, type=0x2507a70, result=result@entry=0x7fffffffd700)
at src/6model/6model.c:280
280 MVMuint16 i, elems = STABLE(obj)->type_check_cache_length;
(gdb) bt full
#0 0x00007ffff79dfd54 in MVM_6model_try_cache_type_check (tc=tc@entry=0x6035d0, obj=0x7ffff6790e20, type=0x2507a70, result=result@entry=0x7fffffffd700)
at src/6model/6model.c:280
i = <optimized out>
elems = <optimized out>
cache = <optimized out>
#1 0x00007ffff79f18e0 in optimize_istype (ins=0x514b780, g=0x4838b90, tc=0x6035d0) at src/spesh/optimize.c:91
result = -10480
obj_facts = 0x514cd66
type_facts = 0x514cee6
result_facts = <optimized out>
#2 optimize_bb (tc=tc@entry=0x6035d0, g=g@entry=0x4838b90, bb=0x514be80) at src/spesh/optimize.c:509
arg_info = {cs = 0x4838b90, arg_is_const = "\320\065`", arg_facts = {0xd, 0x1, 0x4838b90, 0x514be80}}
i = <optimized out>
ins = 0x514b780
#3 0x00007ffff79f1c12 in optimize_bb (tc=tc@entry=0x6035d0, g=g@entry=0x4838b90, bb=0x514be10) at src/spesh/optimize.c:567
arg_info = {cs = 0x6035d0, arg_is_const = "\000\000\000", arg_facts = {0x6035d0, 0x7ffff79f0c6e <add_bb_facts+2256>, 0xf547a0, 0x514be10}}
i = 0
ins = <optimized out>
#4 0x00007ffff79f1cd1 in MVM_spesh_optimize (tc=tc@entry=0x6035d0, g=g@entry=0x4838b90) at src/spesh/optimize.c:665
No locals.
#5 0x00007ffff79ef75d in MVM_spesh_candidate_specialize (tc=tc@entry=0x6035d0, static_frame=0x200c110, candidate=0x585c2f8) at src/spesh/candidate.c:116
sc = <optimized out>
sg = 0x4838b90
#6 0x00007ffff79a5618 in remove_one_frame (tc=tc@entry=0x6035d0, unwind=unwind@entry=0 '\000') at src/core/frame.c:479
returner = 0x61b1610
caller = 0x5bb4140
#7 0x00007ffff79a9a4d in MVM_frame_try_return (tc=tc@entry=0x6035d0) at src/core/frame.c:608
No locals.
#8 0x00007ffff79957f2 in MVM_interp_run (tc=tc@entry=0x6035d0, initial_invoke=initial_invoke@entry=0x7ffff7a0276b <toplevel_initial_invoke>,
invoke_data=<optimized out>) at src/core/interp.c:288
op = <optimized out>
cur_op = 0x4a9791e "\v"
bytecode_start = 0x4a97830 "]\002\005"
reg_base = 0x64770b0
cu = 0x5bf6d30
cur_callsite = 0x6761c0
#9 0x00007ffff7a02e68 in MVM_vm_run_file (instance=instance@entry=0x603010, filename=<optimized out>) at src/moar.c:170
start_frame = <optimized out>
tc = 0x6035d0
cu = 0x7ffff638f6e8
#10 0x0000000000400dd0 in main (argc=7, argv=0x7fffffffdc58) at src/main.c:163
instance = 0x603010
input_file = <optimized out>
executable_name = 0x7fffffffe051 "bash"
lib_path = {0x7fffffffe060 "/home/froggs/dev/star/work-m/rakudo-star-2014.04/install/languages/nqp/lib",
0x7fffffffe0b5 "/home/froggs/dev/star/work-m/rakudo-star-2014.04/install/languages/perl6/lib",
0x7fffffffe10c "/home/froggs/dev/star/work-m/rakudo-star-2014.04/install/languages/perl6/runtime", 0x0, 0xf0b2ff "", 0xc2 <Address 0xc2 out of bounds>,
---Type <return> to continue, or q <return> to quit---
0x1 <Address 0x1 out of bounds>,
0x400e5d <__libc_csu_init+93> "H\203\303\001H9\353u\352H\213\\$\bH\213l$\020L\213d$\030L\213l$ L\213t$(L\213|$0H\203\304\070\303\017\037\200"}
dump = 0
full_cleanup = 0
argi = <optimized out>
lib_path_i = 3
(gdb) p *obj
$1 = {header = {owner = 0, flags = 0, size = 0, sc_forward_u = {forwarder = 0x0, sc = {sc_idx = 0, idx = 0}, st = 0x0}}, st = 0x48000400000001}
(gdb) p *STABLE(obj)
Cannot access memory at address 0x48000400000001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment