YaK:: tmp : 2019-08 debugging lwasm | [Changes] [Calendar] [Search] [Index] [PhotoTags] |
Works with gcc -O2; crashes with gcc -O3.
Also fails on dw (module? cmd? I forget)
In this one, it thinks 'ReEnt' is not defined, and then *as->cl is trashed.
Reading symbols from /home/strick/go/src/github.com/strickyak/doing-nitros9-6809/bin/lwasm...done. (gdb) run --6309 --format=obj --pragma=pcaspcr,condundefzero,undefextern,dollarnotlocal,noforwardrefmax,export --includedir=. --includedir=/home/strick/go/src/github.com/strickyak/doing-nitros9-6809/vendor/nitros9/defs -DNOS9VER=3 -DNOS9MAJ=3 -DNOS9MIN=0 -DNOS9DBG=1 -Dcoco1=1 --includedir=/home/strick/go/src/github.com/strickyak/doing-nitros9-6809/vendor/nitros9/3rdparty/packages/basic09 /home/strick/go/src/github.com/strickyak/doing-nitros9-6809/vendor/nitros9/level1/cmds/telnet.as -otelnet.o Starting program: /home/strick/go/src/github.com/strickyak/doing-nitros9-6809/bin/lwasm --6309 --format=obj --pragma=pcaspcr,condundefzero,undefextern,dollarnotlocal,noforwardrefmax,export --includedir=. --includedir=/home/strick/go/src/github.com/strickyak/doing-nitros9-6809/vendor/nitros9/defs -DNOS9VER=3 -DNOS9MAJ=3 -DNOS9MIN=0 -DNOS9DBG=1 -Dcoco1=1 --includedir=/home/strick/go/src/github.com/strickyak/doing-nitros9-6809/vendor/nitros9/3rdparty/packages/basic09 /home/strick/go/src/github.com/strickyak/doing-nitros9-6809/vendor/nitros9/level1/cmds/telnet.as -otelnet.o Program received signal SIGSEGV, Segmentation fault. __strstr_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S:40 40 ../sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: No such file or directory. (gdb) where #0 __strstr_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S:40 #1 0x0000555555565039 in lwasm_parse_testmode_comment (buf=0x0, len=0x0, err=0x7fffffffd0cc, flags=<synthetic pointer>, l=0x7fffffffd800) at lwasm/lwasm.c:370 #2 lwasm_register_error_real (as=0x7fffffffd970, l=0x7fffffffd800, error_code=E_SYMBOL_UNDEFINED, msg=0x7fffffffd230 "Undefined symbol ReEnt") at lwasm/lwasm.c:370 #3 0x0000555555565769 in lwasm_register_error2 (as=as@entry=0x7fffffffd970, l=0x7fffffffd800, err=err@entry=E_SYMBOL_UNDEFINED, fmt=fmt@entry=0x55555557e7ca "%s") at lwasm/lwasm.c:424 #4 0x0000555555565d75 in lwasm_evaluate_var (var=0x55555572c810 "ReEnt", priv=0x7fffffffd970) at lwasm/lwasm.c:113 #5 0x00005555555757b4 in lw_expr_simplify_go (E=E@entry=0x5555557429f0, priv=priv@entry=0x7fffffffd970) at lwlib/lw_expr.c:623 #6 0x0000555555577324 in lw_expr_simplify_l (priv=<optimized out>, E=<optimized out>) at lwlib/lw_expr.c:1123 #7 lw_expr_simplify_l (priv=0x7fffffffd970, E=0x5555557429f0) at lwlib/lw_expr.c:1105 #8 lw_expr_simplify (E=E@entry=0x5555557429f0, priv=priv@entry=0x7fffffffd970) at lwlib/lw_expr.c:1137 #9 0x0000555555566a97 in lwasm_reduce_expr (as=as@entry=0x7fffffffd970, expr=expr@entry=0x5555557429f0) at lwasm/lwasm.c:916 #10 0x000055555556a989 in write_code_obj (as=as@entry=0x7fffffffd970, of=of@entry=0x55555558c820) at lwasm/output.c:909 #11 0x000055555556b6b3 in do_output (as=0x7fffffffd970) at lwasm/output.c:88 #12 0x000055555555e514 in main (argc=<optimized out>, argv=<optimized out>) at lwasm/main.c:395 (gdb) (gdb) (gdb) (gdb) fr 10 #10 0x000055555556a989 in write_code_obj (as=as@entry=0x7fffffffd970, of=of@entry=0x55555558c820) at lwasm/output.c:909 909 lwasm_reduce_expr(as, te); (gdb) p as $1 = (asmstate_t *) 0x7fffffffd970 (gdb) p * as $2 = {output_format = 3, debug_level = 0, debug_file = 0x0, flags = 0, pragmas = 2597, errorcount = 0, warningcount = 0, testmode_errorcount = 0, inmacro = 0, instruct = 0, skipcond = 0, skipcount = 0, skipmacro = 0, endseen = 0, execaddr = 0, execaddr_expr = 0x0, inmod = 0, undefzero = 0, pretendmax = 0, crc = "\000\000", cycle_total = 0, badsymerr = 1, line_head = 0x55555558dc50, line_tail = 0x5555557a52f0, cl = 0x7fffffffd800, csect = 0x555555593b60, context = 70, nextcontext = 71, symtab = {head = 0x55555558c360}, macros = 0x0, sections = 0x55555559bad0, exportlist = 0x555555789860, importlist = 0x555555697cd0, list_file = 0x0, symbol_dump_file = 0x0, tabwidth = 8, map_file = 0x0, output_file = 0x55555558c2e0 "telnet.o", input_files = 0x55555558c280, input_data = 0x0, include_list = 0x55555558c260, file_dir = 0x55555558c730, includelist = 0x55555558c750, structs = 0x0, cstruct = 0x0, savedaddr = 0x0, exportcheck = 1, passno = 6, preprocess = 0, fileerr = 0, exprwidth = 16, listnofile = 0} (gdb) p te $3 = (lw_expr_t) 0x5555557429f0 (gdb) p *te $4 = {type = 2, value = 0, value2 = 0x55555572c810, operands = 0x0} (gdb) do #9 0x0000555555566a97 in lwasm_reduce_expr (as=as@entry=0x7fffffffd970, expr=expr@entry=0x5555557429f0) at lwasm/lwasm.c:916 916 lw_expr_simplify(expr, as); (gdb) p *expr $5 = {type = 2, value = 0, value2 = 0x55555572c810, operands = 0x0} (gdb) do #8 lw_expr_simplify (E=E@entry=0x5555557429f0, priv=priv@entry=0x7fffffffd970) at lwlib/lw_expr.c:1137 1137 lw_expr_simplify_l(E, priv); (gdb) p *E $6 = {type = 2, value = 0, value2 = 0x55555572c810, operands = 0x0} (gdb) p *priv Attempt to dereference a generic pointer. (gdb) p priv $7 = (void *) 0x7fffffffd970 (gdb) do #7 lw_expr_simplify_l (priv=0x7fffffffd970, E=0x5555557429f0) at lwlib/lw_expr.c:1105 1105 void lw_expr_simplify_l(lw_expr_t E, void *priv) (gdb) p *E $8 = {type = 2, value = 0, value2 = 0x55555572c810, operands = 0x0} (gdb) do #6 0x0000555555577324 in lw_expr_simplify_l (priv=<optimized out>, E=<optimized out>) at lwlib/lw_expr.c:1123 1123 lw_expr_simplify_go(E, priv); (gdb) do #5 0x00005555555757b4 in lw_expr_simplify_go (E=E@entry=0x5555557429f0, priv=priv@entry=0x7fffffffd970) at lwlib/lw_expr.c:623 623 te = evaluate_var(E -> value2, priv); (gdb) p *E $9 = {type = 2, value = 0, value2 = 0x55555572c810, operands = 0x0} (gdb) do #4 0x0000555555565d75 in lwasm_evaluate_var (var=0x55555572c810 "ReEnt", priv=0x7fffffffd970) at lwasm/lwasm.c:113 113 lwasm_register_error2(as, as -> cl, E_SYMBOL_UNDEFINED, "%s", var); (gdb) p *as $10 = {output_format = 3, debug_level = 0, debug_file = 0x0, flags = 0, pragmas = 2597, errorcount = 0, warningcount = 0, testmode_errorcount = 0, inmacro = 0, instruct = 0, skipcond = 0, skipcount = 0, skipmacro = 0, endseen = 0, execaddr = 0, execaddr_expr = 0x0, inmod = 0, undefzero = 0, pretendmax = 0, crc = "\000\000", cycle_total = 0, badsymerr = 1, line_head = 0x55555558dc50, line_tail = 0x5555557a52f0, cl = 0x7fffffffd800, csect = 0x555555593b60, context = 70, nextcontext = 71, symtab = {head = 0x55555558c360}, macros = 0x0, sections = 0x55555559bad0, exportlist = 0x555555789860, importlist = 0x555555697cd0, list_file = 0x0, symbol_dump_file = 0x0, tabwidth = 8, map_file = 0x0, output_file = 0x55555558c2e0 "telnet.o", input_files = 0x55555558c280, input_data = 0x0, include_list = 0x55555558c260, file_dir = 0x55555558c730, includelist = 0x55555558c750, structs = 0x0, cstruct = 0x0, savedaddr = 0x0, exportcheck = 1, passno = 6, preprocess = 0, fileerr = 0, exprwidth = 16, listnofile = 0} (gdb) p *as->cl $11 = {addr = 0x1, daddr = 0x16, len = 1434032320, dlen = 21845, minlen = -9872, maxlen = 32767, insn = 16, symset = 32767, sym = 0x7fffffffd880 "\247\334WUUU", output = 0x7fffffffd840 "\244\330\377\377\377\177", outputl = 1381180672, outputbl = -1790461132, dpval = -10076, cycle_base = 32767, cycle_adj = -10084, cycle_flags = 32767, genmode = 438, fcc_extras = 0, err = 0x9547bb3452532500, warn = 0x5555557998c0, err_testmode = 1431881760, prev = 0x55555558c820, next = 0x55555557dca8, inmod = 1431821479, csect = 0x1, exprs = 0x0, lstr = 0x7ffff7a927fa <_IO_new_file_fopen+250> "I\211\305H\205\300\017\204R\377\377\377L\215x\005\276,", pb = -139906592, lint = 32767, lint2 = 0, conditional_return = 0, as = 0x7fffffffd970, pragmas = 1434043056, context = 21845, ltext = 0x0, linespec = 0x9547bb3452532500 <error: Cannot access memory at address 0x9547bb3452532500>, lineno = -9872, soff = 32767, dshow = 1431881760, dsize = 21845, isbrpt = 1431881760, dptr = 0x55555558c2e0, noexpand_start = 1431821479, noexpand_end = 21845, hideline = 1, hidecond = 0} (gdb) p var $12 = 0x55555572c810 "ReEnt" (gdb) ~/go/src/github.com/strickyak/doing-nitros9-6809/vendor/lwtools-4.17$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 8.2.0-14+build1' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 8.2.0 (Debian 8.2.0-14+build1)
strick@gwarn-glaptop:~/go/src/github.com/strickyak/doing-nitros9-6809/vendor/nitros9/level1/coco1/cmds$ PATH="/home/strick/go/src/github.com/strickyak/doing-nitros9-6809/bin:/usr/bin:/bin" NITROS9DIR=/home/strick/go/src/github.com/strickyak/doing-nitros9-6809/vendor/nitros9 valgrind /home/strick/go/src/github.com/strickyak/doing-nitros9-6809/bin/lwasm --6309 --format=obj --pragma=pcaspcr,condundefzero,undefextern,dollarnotlocal,noforwardrefmax,export --includedir=. --includedir=/home/strick/go/src/github.com/strickyak/doing-nitros9-6809/vendor/nitros9/defs -DNOS9VER=3 -DNOS9MAJ=3 -DNOS9MIN=0 -DNOS9DBG=1 -Dcoco1=1 --includedir=/home/strick/go/src/github.com/strickyak/doing-nitros9-6809/vendor/nitros9/3rdparty/packages/basic09 /home/strick/go/src/github.com/strickyak/doing-nitros9-6809/vendor/nitros9/level1/cmds/telnet.as -otelnet.o Starting program: /home/strick/go/src/github.com/strickyak/doing-nitros9-6809/bin/lwasm --6309 --format=obj --pragma=pcaspcr,condundefzero,undefextern,dollarnotlocal,noforwardrefmax,export --includedir=. --includedir=/home/strick/go/src/github.com/strickyak/doing-nitros9-6809/vendor/nitros9/defs -DNOS9VER=3 -DNOS9MAJ=3 -DNOS9MIN=0 -DNOS9DBG=1 -Dcoco1=1 --includedir=/home/strick/go/src/github.com/strickyak/doing-nitros9-6809/vendor/nitros9/3rdparty/packages/basic09 /home/strick/go/src/github.com/strickyak/doing-nitros9-6809/vendor/nitros9/level1/cmds/telnet.as -otelnet.o ==204925== Memcheck, a memory error detector ==204925== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==204925== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info ==204925== Command: /home/strick/go/src/github.com/strickyak/doing-nitros9-6809/bin/lwasm --6309 --format=obj --pragma=pcaspcr,condundefzero,undefextern,dollarnotlocal,noforwardrefmax,export --includedir=. --includedir=/home/strick/go/src/github.com/strickyak/doing-nitros9-6809/vendor/nitros9/defs -DNOS9VER=3 -DNOS9MAJ=3 -DNOS9MIN=0 -DNOS9DBG=1 -Dcoco1=1 --includedir=/home/strick/go/src/github.com/strickyak/doing-nitros9-6809/vendor/nitros9/3rdparty/packages/basic09 /home/strick/go/src/github.com/strickyak/doing-nitros9-6809/vendor/nitros9/level1/cmds/telnet.as -otelnet.o ==204925== ==204925== Conditional jump or move depends on uninitialised value(s) ==204925== at 0x1269A0: lookup_symbol (symbol.c:262) ==204925== by 0x119BB1: lwasm_evaluate_var (lwasm.c:68) ==204925== by 0x1297B3: lw_expr_simplify_go (lw_expr.c:623) ==204925== by 0x12B323: lw_expr_simplify_l (lw_expr.c:1123) ==204925== by 0x12B323: lw_expr_simplify_l (lw_expr.c:1105) ==204925== by 0x12B323: lw_expr_simplify (lw_expr.c:1137) ==204925== by 0x11AA96: lwasm_reduce_expr (lwasm.c:916) ==204925== by 0x11E988: write_code_obj (output.c:909) ==204925== by 0x11F6B2: do_output (output.c:88) ==204925== by 0x112513: main (main.c:395) ==204925== ==204925== Conditional jump or move depends on uninitialised value(s) ==204925== at 0x119CF2: lwasm_evaluate_var (lwasm.c:95) ==204925== by 0x1297B3: lw_expr_simplify_go (lw_expr.c:623) ==204925== by 0x12B323: lw_expr_simplify_l (lw_expr.c:1123) ==204925== by 0x12B323: lw_expr_simplify_l (lw_expr.c:1105) ==204925== by 0x12B323: lw_expr_simplify (lw_expr.c:1137) ==204925== by 0x11AA96: lwasm_reduce_expr (lwasm.c:916) ==204925== by 0x11E988: write_code_obj (output.c:909) ==204925== by 0x11F6B2: do_output (output.c:88) ==204925== by 0x112513: main (main.c:395) ==204925== ==204925== Conditional jump or move depends on uninitialised value(s) ==204925== at 0x11901D: lwasm_register_error_real (lwasm.c:366) ==204925== by 0x119768: lwasm_register_error2 (lwasm.c:424) ==204925== by 0x119D74: lwasm_evaluate_var (lwasm.c:113) ==204925== by 0x1297B3: lw_expr_simplify_go (lw_expr.c:623) ==204925== by 0x12B323: lw_expr_simplify_l (lw_expr.c:1123) ==204925== by 0x12B323: lw_expr_simplify_l (lw_expr.c:1105) ==204925== by 0x12B323: lw_expr_simplify (lw_expr.c:1137) ==204925== by 0x11AA96: lwasm_reduce_expr (lwasm.c:916) ==204925== by 0x11E988: write_code_obj (output.c:909) ==204925== by 0x11F6B2: do_output (output.c:88) ==204925== by 0x112513: main (main.c:395) ==204925== ==204925== ==204925== HEAP SUMMARY: ==204925== in use at exit: 406,832 bytes in 11,441 blocks ==204925== total heap usage: 2,332,326 allocs, 2,320,885 frees, 48,992,218 bytes allocated ==204925== ==204925== LEAK SUMMARY: ==204925== definitely lost: 80 bytes in 3 blocks ==204925== indirectly lost: 133 bytes in 5 blocks ==204925== possibly lost: 0 bytes in 0 blocks ==204925== still reachable: 406,619 bytes in 11,433 blocks ==204925== suppressed: 0 bytes in 0 blocks ==204925== Rerun with --leak-check=full to see details of leaked memory ==204925== ==204925== For counts of detected and suppressed errors, rerun with: -v ==204925== Use --track-origins=yes to see where uninitialised values come from ==204925== ERROR SUMMARY: 9 errors from 3 contexts (suppressed: 0 from 0)
==205417== Conditional jump or move depends on uninitialised value(s) ==205417== at 0x1269A0: lookup_symbol (symbol.c:262) ==205417== by 0x119BB1: lwasm_evaluate_var (lwasm.c:68) ==205417== by 0x1297B3: lw_expr_simplify_go (lw_expr.c:623) ==205417== by 0x12B323: lw_expr_simplify_l (lw_expr.c:1123) ==205417== by 0x12B323: lw_expr_simplify_l (lw_expr.c:1105) ==205417== by 0x12B323: lw_expr_simplify (lw_expr.c:1137) ==205417== by 0x11AA96: lwasm_reduce_expr (lwasm.c:916) ==205417== by 0x11E988: write_code_obj (output.c:909) ==205417== by 0x11F6B2: do_output (output.c:88) ==205417== by 0x112513: main (main.c:395) ==205417== Uninitialised value was created by a stack allocation ==205417== at 0x11E780: write_code_obj (output.c:815) ==205417== ==205417== Conditional jump or move depends on uninitialised value(s) ==205417== at 0x119CF2: lwasm_evaluate_var (lwasm.c:95) ==205417== by 0x1297B3: lw_expr_simplify_go (lw_expr.c:623) ==205417== by 0x12B323: lw_expr_simplify_l (lw_expr.c:1123) ==205417== by 0x12B323: lw_expr_simplify_l (lw_expr.c:1105) ==205417== by 0x12B323: lw_expr_simplify (lw_expr.c:1137) ==205417== by 0x11AA96: lwasm_reduce_expr (lwasm.c:916) ==205417== by 0x11E988: write_code_obj (output.c:909) ==205417== by 0x11F6B2: do_output (output.c:88) ==205417== by 0x112513: main (main.c:395) ==205417== Uninitialised value was created by a stack allocation ==205417== at 0x11E780: write_code_obj (output.c:815) ==205417== ==205417== Conditional jump or move depends on uninitialised value(s) ==205417== at 0x11901D: lwasm_register_error_real (lwasm.c:366) ==205417== by 0x119768: lwasm_register_error2 (lwasm.c:424) ==205417== by 0x119D74: lwasm_evaluate_var (lwasm.c:113) ==205417== by 0x1297B3: lw_expr_simplify_go (lw_expr.c:623) ==205417== by 0x12B323: lw_expr_simplify_l (lw_expr.c:1123) ==205417== by 0x12B323: lw_expr_simplify_l (lw_expr.c:1105) ==205417== by 0x12B323: lw_expr_simplify (lw_expr.c:1137) ==205417== by 0x11AA96: lwasm_reduce_expr (lwasm.c:916) ==205417== by 0x11E988: write_code_obj (output.c:909) ==205417== by 0x11F6B2: do_output (output.c:88) ==205417== by 0x112513: main (main.c:395) ==205417== Uninitialised value was created by a stack allocation ==205417== at 0x11E780: write_code_obj (output.c:815) ==205417== ==205417== ==205417== HEAP SUMMARY: ==205417== in use at exit: 406,832 bytes in 11,441 blocks ==205417== total heap usage: 2,332,326 allocs, 2,320,885 frees, 48,992,218 bytes allocated ==205417== ==205417== Searching for pointers to 11,441 not-freed blocks ==205417== Checked 489,216 bytes ==205417== ==205417== 48 bytes in 2 blocks are definitely lost in loss record 37 of 168 ==205417== at 0x403177F: malloc (vg_replace_malloc.c:299) ==205417== by 0x1279AB: lw_alloc (lw_alloc.c:29) ==205417== by 0x127D6F: lw_expr_copy (lw_expr.c:151) ==205417== by 0x11546F: insn_resolve_indexed_aux.part.0 (insn_indexed.c:497) ==205417== by 0x1163CC: insn_resolve_indexed_aux (insn_indexed.c:488) ==205417== by 0x1163CC: insn_resolve_indexed (insn_indexed.c:754) ==205417== by 0x11B938: lwasm_reduce_line_exprs (lwasm.c:1442) ==205417== by 0x120508: do_pass1 (pass1.c:412) ==205417== by 0x112445: main (main.c:356) ==205417== ==205417== 165 (32 direct, 133 indirect) bytes in 1 blocks are definitely lost in loss record 84 of 168 ==205417== at 0x403177F: malloc (vg_replace_malloc.c:299) ==205417== by 0x1279AB: lw_alloc (lw_alloc.c:29) ==205417== by 0x119139: lwasm_register_error_real (lwasm.c:385) ==205417== by 0x119139: lwasm_register_error_real (lwasm.c:359) ==205417== by 0x119768: lwasm_register_error2 (lwasm.c:424) ==205417== by 0x119D74: lwasm_evaluate_var (lwasm.c:113) ==205417== by 0x1297B3: lw_expr_simplify_go (lw_expr.c:623) ==205417== by 0x12B323: lw_expr_simplify_l (lw_expr.c:1123) ==205417== by 0x12B323: lw_expr_simplify_l (lw_expr.c:1105) ==205417== by 0x12B323: lw_expr_simplify (lw_expr.c:1137) ==205417== by 0x11AA96: lwasm_reduce_expr (lwasm.c:916) ==205417== by 0x11E988: write_code_obj (output.c:909) ==205417== by 0x11F6B2: do_output (output.c:88) ==205417== by 0x112513: main (main.c:395) ==205417== ==205417== LEAK SUMMARY: ==205417== definitely lost: 80 bytes in 3 blocks ==205417== indirectly lost: 133 bytes in 5 blocks ==205417== possibly lost: 0 bytes in 0 blocks ==205417== still reachable: 406,619 bytes in 11,433 blocks ==205417== suppressed: 0 bytes in 0 blocks ==205417== Reachable blocks (those to which a pointer was found) are not shown. ==205417== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==205417== ==205417== ERROR SUMMARY: 11 errors from 5 contexts (suppressed: 0 from 0) ==205417== ==205417== 3 errors in context 1 of 5: ==205417== Conditional jump or move depends on uninitialised value(s) ==205417== at 0x11901D: lwasm_register_error_real (lwasm.c:366) ==205417== by 0x119768: lwasm_register_error2 (lwasm.c:424) ==205417== by 0x119D74: lwasm_evaluate_var (lwasm.c:113) ==205417== by 0x1297B3: lw_expr_simplify_go (lw_expr.c:623) ==205417== by 0x12B323: lw_expr_simplify_l (lw_expr.c:1123) ==205417== by 0x12B323: lw_expr_simplify_l (lw_expr.c:1105) ==205417== by 0x12B323: lw_expr_simplify (lw_expr.c:1137) ==205417== by 0x11AA96: lwasm_reduce_expr (lwasm.c:916) ==205417== by 0x11E988: write_code_obj (output.c:909) ==205417== by 0x11F6B2: do_output (output.c:88) ==205417== by 0x112513: main (main.c:395) ==205417== Uninitialised value was created by a stack allocation ==205417== at 0x11E780: write_code_obj (output.c:815) ==205417== ==205417== ==205417== 3 errors in context 2 of 5: ==205417== Conditional jump or move depends on uninitialised value(s) ==205417== at 0x119CF2: lwasm_evaluate_var (lwasm.c:95) ==205417== by 0x1297B3: lw_expr_simplify_go (lw_expr.c:623) ==205417== by 0x12B323: lw_expr_simplify_l (lw_expr.c:1123) ==205417== by 0x12B323: lw_expr_simplify_l (lw_expr.c:1105) ==205417== by 0x12B323: lw_expr_simplify (lw_expr.c:1137) ==205417== by 0x11AA96: lwasm_reduce_expr (lwasm.c:916) ==205417== by 0x11E988: write_code_obj (output.c:909) ==205417== by 0x11F6B2: do_output (output.c:88) ==205417== by 0x112513: main (main.c:395) ==205417== Uninitialised value was created by a stack allocation ==205417== at 0x11E780: write_code_obj (output.c:815) ==205417== ==205417== ==205417== 3 errors in context 3 of 5: ==205417== Conditional jump or move depends on uninitialised value(s) ==205417== at 0x1269A0: lookup_symbol (symbol.c:262) ==205417== by 0x119BB1: lwasm_evaluate_var (lwasm.c:68) ==205417== by 0x1297B3: lw_expr_simplify_go (lw_expr.c:623) ==205417== by 0x12B323: lw_expr_simplify_l (lw_expr.c:1123) ==205417== by 0x12B323: lw_expr_simplify_l (lw_expr.c:1105) ==205417== by 0x12B323: lw_expr_simplify (lw_expr.c:1137) ==205417== by 0x11AA96: lwasm_reduce_expr (lwasm.c:916) ==205417== by 0x11E988: write_code_obj (output.c:909) ==205417== by 0x11F6B2: do_output (output.c:88) ==205417== by 0x112513: main (main.c:395) ==205417== Uninitialised value was created by a stack allocation ==205417== at 0x11E780: write_code_obj (output.c:815) ==205417== ==205417== ERROR SUMMARY: 11 errors from 5 contexts (suppressed: 0 from 0)
(last modified 2019-08-29) [Login] |