Skip to content

Instantly share code, notes, and snippets.

@rened
Created January 17, 2014 12:16
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 rened/8472496 to your computer and use it in GitHub Desktop.
Save rened/8472496 to your computer and use it in GitHub Desktop.
Valgrind output of test case resulting in memory corruption / segfault
==6481== Memcheck, a memory error detector
==6481== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==6481== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==6481== Command: julia -e using\ WebApp;\ WebApp.demo()
==6481== Parent PID: 22678
==6481==
--6481--
--6481-- Valgrind options:
--6481-- --track-origins=yes
--6481-- -v
--6481-- --log-file=valgrind.out
--6481-- Contents of /proc/version:
--6481-- Linux version 2.6.32-431.3.1.el6.x86_64 (mockbuild@c6b10.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Fri Jan 3 21:39:27 UTC 2014
--6481-- Arch and hwcaps: AMD64, amd64-sse3-cx16
--6481-- Page sizes: currently 4096, max supported 4096
--6481-- Valgrind library directory: /usr/lib64/valgrind
--6481-- Reading syms from /home/rene/local/julia/usr/bin/julia-debug-readline
--6481-- Reading syms from /lib64/ld-2.12.so
--6481-- Reading syms from /usr/lib64/valgrind/memcheck-amd64-linux
--6481-- object doesn't have a dynamic symbol table
--6481-- Scheduler: using generic scheduler lock implementation.
--6481-- Reading suppressions file: /usr/lib64/valgrind/default.supp
==6481== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-6481-by-rene-on-cn0.cir.meduniwien.ac.at
==6481== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-6481-by-rene-on-cn0.cir.meduniwien.ac.at
==6481== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-6481-by-rene-on-cn0.cir.meduniwien.ac.at
==6481==
==6481== TO CONTROL THIS PROCESS USING vgdb (which you probably
==6481== don't want to do, unless you know exactly what you're doing,
==6481== or are doing some strange experiment):
==6481== /usr/lib64/valgrind/../../bin/vgdb --pid=6481 ...command...
==6481==
==6481== TO DEBUG THIS PROCESS USING GDB: start GDB like this
==6481== /path/to/gdb julia
==6481== and then give GDB the following command
==6481== target remote | /usr/lib64/valgrind/../../bin/vgdb --pid=6481
==6481== --pid is optional if only one valgrind process is running
==6481==
--6481-- REDIR: 0x4017530 (strlen) redirected to 0x38049551 (vgPlain_amd64_linux_REDIR_FOR_strlen)
--6481-- Reading syms from /usr/lib64/valgrind/vgpreload_core-amd64-linux.so
--6481-- Reading syms from /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so
--6481-- REDIR: 0x40173a0 (index) redirected to 0x4c28bf0 (index)
--6481-- REDIR: 0x4017420 (strcmp) redirected to 0x4c29530 (strcmp)
--6481-- Reading syms from /lib64/libncurses.so.5.7
--6481-- object doesn't have a symbol table
--6481-- Reading syms from /home/rene/local/julia/usr/lib/libjulia-debug.so
--6481-- Reading syms from /lib64/libz.so.1.2.3
--6481-- object doesn't have a symbol table
--6481-- Reading syms from /lib64/librt-2.12.so
--6481-- Reading syms from /lib64/libdl-2.12.so
--6481-- Reading syms from /lib64/libpthread-2.12.so
--6481-- Reading syms from /home/rene/local/gcc/gcc47/lib64/libstdc++.so.6.0.17
--6481-- Reading syms from /lib64/libm-2.12.so
--6481-- Reading syms from /home/rene/local/gcc/gcc47/lib64/libgcc_s.so.1
--6481-- Reading syms from /lib64/libc-2.12.so
--6481-- Reading syms from /lib64/libtinfo.so.5.7
--6481-- object doesn't have a symbol table
--6481-- REDIR: 0x6b5bfb0 (strcasecmp) redirected to 0x4a2255c (_vgnU_ifunc_wrapper)
--6481-- REDIR: 0x6b5e270 (strncasecmp) redirected to 0x4a2255c (_vgnU_ifunc_wrapper)
--6481-- REDIR: 0x6b58440 (__GI_strlen) redirected to 0x4c28f70 (__GI_strlen)
--6481-- REDIR: 0x6b59f20 (__GI_strrchr) redirected to 0x4c28a70 (__GI_strrchr)
--6481-- REDIR: 0x639b480 (operator new(unsigned long)) redirected to 0x4c2853a (operator new(unsigned long))
--6481-- REDIR: 0xffffffffff600000 (???) redirected to 0x38049533 (vgPlain_amd64_linux_REDIR_FOR_vgettimeofday)
--6481-- REDIR: 0x6b5ac80 (memset) redirected to 0x4a2255c (_vgnU_ifunc_wrapper)
--6481-- REDIR: 0x6b5acc0 (__GI_memset) redirected to 0x4c2aa10 (memset)
--6481-- REDIR: 0x6b51920 (malloc) redirected to 0x4c2796c (malloc)
--6481-- REDIR: 0x6b60950 (memcpy) redirected to 0x4c29b20 (memcpy)
--6481-- REDIR: 0x6b52800 (free) redirected to 0x4c27369 (free)
--6481-- REDIR: 0x6b5aae0 (memmove) redirected to 0x4c2aab0 (memmove)
--6481-- REDIR: 0x63997a0 (operator delete(void*)) redirected to 0x4c26f4f (operator delete(void*))
--6481-- REDIR: 0x6b51560 (calloc) redirected to 0x4c266d7 (calloc)
--6481-- REDIR: 0x6b58400 (strlen) redirected to 0x4a2255c (_vgnU_ifunc_wrapper)
--6481-- REDIR: 0x6c0a860 (__strlen_sse42) redirected to 0x4c28f50 (strlen)
--6481-- REDIR: 0x6b569c0 (strcmp) redirected to 0x4a2255c (_vgnU_ifunc_wrapper)
--6481-- REDIR: 0x6bff590 (__strcmp_sse42) redirected to 0x4c29490 (strcmp)
--6481-- REDIR: 0x6b56a00 (__GI_strcmp) redirected to 0x4c294e0 (__GI_strcmp)
--6481-- REDIR: 0x6b58670 (__GI_strncmp) redirected to 0x4c29430 (__GI_strncmp)
--6481-- REDIR: 0x6b56940 (__GI_strchr) redirected to 0x4c28b30 (__GI_strchr)
--6481-- REDIR: 0x6b61dd0 (strchrnul) redirected to 0x4c2af10 (strchrnul)
--6481-- REDIR: 0x6b5b7e0 (mempcpy) redirected to 0x4c2af80 (mempcpy)
--6481-- REDIR: 0x6b5be60 (__GI_stpcpy) redirected to 0x4c2a7a0 (__GI_stpcpy)
--6481-- REDIR: 0x6b52cf0 (realloc) redirected to 0x4c27b17 (realloc)
--6481-- REDIR: 0x6b5e2c0 (__GI___strncasecmp_l) redirected to 0x4c2be10 (__GI___strncasecmp_l)
--6481-- REDIR: 0xffffffffff600400 (???) redirected to 0x3804953d (vgPlain_amd64_linux_REDIR_FOR_vtime)
--6481-- REDIR: 0x6b5a630 (memchr) redirected to 0x4c295d0 (memchr)
--6481-- REDIR: 0x6b61d80 (__GI___rawmemchr) redirected to 0x4c2af60 (__GI___rawmemchr)
--6481-- REDIR: 0x6b57e50 (strcpy) redirected to 0x4a2255c (_vgnU_ifunc_wrapper)
--6481-- REDIR: 0x6c0b300 (???) redirected to 0x4c28f90 (strcpy)
--6481-- REDIR: 0x6b56910 (index) redirected to 0x4a2255c (_vgnU_ifunc_wrapper)
--6481-- REDIR: 0x6bff4e0 (__strchr_sse42) redirected to 0x4c28b00 (index)
--6481-- REDIR: 0x6b59fc0 (strpbrk) redirected to 0x4a2255c (_vgnU_ifunc_wrapper)
--6481-- REDIR: 0x6c0ac80 (__strpbrk_sse42) redirected to 0x4c2b1e0 (strpbrk)
--6481-- REDIR: 0x6c02630 (__strcasecmp_sse42) redirected to 0x4c2ba40 (strcasecmp)
--6481-- REDIR: 0x6b5a6b0 (bcmp) redirected to 0x4a2255c (_vgnU_ifunc_wrapper)
--6481-- REDIR: 0x6c15910 (__memcmp_sse4_1) redirected to 0x4c2a630 (bcmp)
--6481-- REDIR: 0x639b590 (operator new[](unsigned long)) redirected to 0x4c280d0 (operator new[](unsigned long))
--6481-- REDIR: 0x63997d0 (operator delete[](void*)) redirected to 0x4c26a9f (operator delete[](void*))
--6481-- REDIR: 0x6b59ef0 (rindex) redirected to 0x4a2255c (_vgnU_ifunc_wrapper)
--6481-- REDIR: 0x6c015f0 (__strrchr_sse42) redirected to 0x4c28a40 (rindex)
--6481-- REDIR: 0x6b58520 (strnlen) redirected to 0x4c28ef0 (strnlen)
--6481-- REDIR: 0x6b57e80 (__GI_strcpy) redirected to 0x4c29060 (__GI_strcpy)
--6481-- Reading syms from /home/rene/local/julia/usr/lib/julia/sys.so
--6481-- memcheck GC: 1000 nodes, 546 survivors ( 54.6%)
--6481-- memcheck GC: 1414 new table size (stepup)
--6481-- memcheck GC: 1414 nodes, 1114 survivors ( 78.7%)
--6481-- memcheck GC: 1999 new table size (stepup)
--6481-- memcheck GC: 1999 nodes, 1600 survivors ( 80.0%)
--6481-- memcheck GC: 2827 new table size (stepup)
--6481-- memcheck GC: 2827 nodes, 2228 survivors ( 78.8%)
--6481-- memcheck GC: 3997 new table size (stepup)
--6481-- memcheck GC: 3997 nodes, 3453 survivors ( 86.3%)
--6481-- memcheck GC: 5652 new table size (stepup)
--6481-- memcheck GC: 5652 nodes, 4735 survivors ( 83.7%)
--6481-- memcheck GC: 7993 new table size (stepup)
--6481-- memcheck GC: 7993 nodes, 6624 survivors ( 82.8%)
--6481-- memcheck GC: 11303 new table size (stepup)
--6481-- memcheck GC: 11303 nodes, 9317 survivors ( 82.4%)
--6481-- memcheck GC: 15984 new table size (stepup)
--6481-- memcheck GC: 15984 nodes, 12585 survivors ( 78.7%)
--6481-- memcheck GC: 22604 new table size (stepup)
--6481-- memcheck GC: 22604 nodes, 16681 survivors ( 73.7%)
--6481-- memcheck GC: 31966 new table size (stepup)
--6481-- memcheck GC: 31966 nodes, 22219 survivors ( 69.5%)
--6481-- memcheck GC: 45206 new table size (stepup)
--6481-- REDIR: 0x6b58630 (strncmp) redirected to 0x4a2255c (_vgnU_ifunc_wrapper)
--6481-- REDIR: 0x6c00430 (__strncmp_sse42) redirected to 0x4c293d0 (strncmp)
--6481-- REDIR: 0x639b510 (operator new(unsigned long, std::nothrow_t const&)) redirected to 0x4c2780a (operator new(unsigned long, std::nothrow_t const&))
--6481-- REDIR: 0x63997c0 (operator delete(void*, std::nothrow_t const&)) redirected to 0x4c26d8d (operator delete(void*, std::nothrow_t const&))
--6481-- REDIR: 0x4018460 (stpcpy) redirected to 0x4c2a940 (stpcpy)
--6481-- Reading syms from /home/rene/local/julia/usr/lib/librandom.so
--6481-- Reading syms from /home/rene/local/julia/usr/lib/libopenblas.so
--6481-- Reading syms from /home/rene/local/gcc/gcc47/lib64/libgfortran.so.3.0.0
--6481-- Reading syms from /home/rene/local/gcc/gcc47/lib64/libquadmath.so.0.0.0
--6481-- Reading syms from /home/rene/local/julia/usr/lib/libpcre.so.1.0.1
--6481-- Reading syms from /home/rene/local/julia/usr/lib/libgmp.so.10.1.3
--6481-- Reading syms from /home/rene/local/julia/usr/lib/libmpfr.so.4.1.2
--6481-- memcheck GC: 45206 nodes, 22949 survivors ( 50.7%)
--6481-- memcheck GC: 63930 new table size (stepup)
--6481-- memcheck GC: 63930 nodes, 23321 survivors ( 36.4%)
--6481-- memcheck GC: 64888 new table size (driftup)
--6481-- REDIR: 0x6b657a0 (strstr) redirected to 0x4a2255c (_vgnU_ifunc_wrapper)
--6481-- REDIR: 0x6c01790 (__strstr_sse42) redirected to 0x4c2b160 (strstr)
--6481-- Reading syms from /usr/lib64/libicui18n.so.42.1
--6481-- object doesn't have a symbol table
--6481-- Reading syms from /opt/matlab2011a_full/bin/glnxa64/libicuuc.so.42.1
--6481-- Reading syms from /usr/lib64/libicuuc.so.42.1
--6481-- object doesn't have a symbol table
--6481-- memcheck GC: 64888 nodes, 24232 survivors ( 37.3%)
--6481-- memcheck GC: 65861 new table size (driftup)
--6481-- memcheck GC: 65861 nodes, 24440 survivors ( 37.1%)
--6481-- memcheck GC: 66848 new table size (driftup)
--6481-- REDIR: 0x6b59ec0 (strncpy) redirected to 0x4a2255c (_vgnU_ifunc_wrapper)
--6481-- REDIR: 0x6c0bd20 (???) redirected to 0x4c29130 (strncpy)
--6481-- REDIR: 0x6b56750 (strcat) redirected to 0x4c28c20 (strcat)
--6481-- REDIR: 0x6b61d50 (rawmemchr) redirected to 0x4a2255c (_vgnU_ifunc_wrapper)
--6481-- REDIR: 0x6c073c0 (__rawmemchr_sse42) redirected to 0x4c2af40 (rawmemchr)
--6481-- memcheck GC: 66848 nodes, 24797 survivors ( 37.0%)
--6481-- memcheck GC: 67850 new table size (driftup)
--6481-- memcheck GC: 67850 nodes, 25055 survivors ( 36.9%)
--6481-- memcheck GC: 68867 new table size (driftup)
--6481-- memcheck GC: 68867 nodes, 25491 survivors ( 37.0%)
--6481-- memcheck GC: 69900 new table size (driftup)
--6481-- memcheck GC: 69900 nodes, 25527 survivors ( 36.5%)
--6481-- memcheck GC: 70948 new table size (driftup)
--6481-- Reading syms from /home/rene/.julia/HttpParser/deps/usr/lib/libhttp_parser.so
--6481-- Discarding syms at 0x21ab4f10-0x21ab7808 in /home/rene/.julia/HttpParser/deps/usr/lib/libhttp_parser.so due to munmap()
--6481-- Reading syms from /home/rene/.julia/HttpParser/deps/usr/lib/libhttp_parser.so
==7450== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-7450-by-rene-on-cn0.cir.meduniwien.ac.at
==7450== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-7450-by-rene-on-cn0.cir.meduniwien.ac.at
==7450== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-7450-by-rene-on-cn0.cir.meduniwien.ac.at
==7450==
==7450== TO CONTROL THIS PROCESS USING vgdb (which you probably
==7450== don't want to do, unless you know exactly what you're doing,
==7450== or are doing some strange experiment):
==7450== /usr/lib64/valgrind/../../bin/vgdb --pid=7450 ...command...
==7450==
==7450== TO DEBUG THIS PROCESS USING GDB: start GDB like this
==7450== /path/to/gdb julia
==7450== and then give GDB the following command
==7450== target remote | /usr/lib64/valgrind/../../bin/vgdb --pid=7450
==7450== --pid is optional if only one valgrind process is running
==7450==
==7450==
==7450== HEAP SUMMARY:
==7450== in use at exit: 62,046,062 bytes in 52,657 blocks
==7450== total heap usage: 689,450 allocs, 636,793 frees, 315,018,882 bytes allocated
==7450==
==7450== Searching for pointers to 52,657 not-freed blocks
==7450== Checked 359,319,584 bytes
==7450==
==7450== LEAK SUMMARY:
==7450== definitely lost: 4,537 bytes in 87 blocks
==7450== indirectly lost: 1,471 bytes in 24 blocks
==7450== possibly lost: 463,738 bytes in 4,559 blocks
==7450== still reachable: 61,576,316 bytes in 47,987 blocks
==7450== suppressed: 0 bytes in 0 blocks
==7450== Rerun with --leak-check=full to see details of leaked memory
==7450==
==7450== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 9 from 9)
--7450--
--7450-- used_suppression: 7 U1004-ARM-_dl_relocate_object
--7450-- used_suppression: 2 glibc-2.5.x-on-SUSE-10.2-(PPC)-2a
==7450==
==7450== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 9 from 9)
--6481-- memcheck GC: 70948 nodes, 25671 survivors ( 36.1%)
--6481-- memcheck GC: 72012 new table size (driftup)
==6481== Syscall param msync(start) points to uninitialised byte(s)
==6481== at 0x612EEDD: ??? (in /lib64/libpthread-2.12.so)
==6481== by 0x57A5D26: msync_validate (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A5E53: validate_mem (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A5F90: access_mem (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A3C29: dwarf_get (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A3EF7: _ULx86_64_access_reg (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A3795: _ULx86_64_get_reg (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A8AF7: apply_reg_state (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A9172: _ULx86_64_dwarf_find_save_locs (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A5437: _ULx86_64_dwarf_step (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A40B6: _ULx86_64_step (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x4F417FF: rec_backtrace_ctx (task.c:613)
==6481== Address 0x7feff6004 is on thread 1's stack
==6481== Uninitialised value was created by a stack allocation
==6481== at 0x57A5D97: validate_mem (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481==
--6481-- memcheck GC: 72012 nodes, 26423 survivors ( 36.6%)
--6481-- memcheck GC: 73092 new table size (driftup)
--6481-- memcheck GC: 73092 nodes, 26556 survivors ( 36.3%)
--6481-- memcheck GC: 74188 new table size (driftup)
--6481-- memcheck GC: 74188 nodes, 26190 survivors ( 35.3%)
--6481-- memcheck GC: 75300 new table size (driftup)
--6481-- memcheck GC: 75300 nodes, 26217 survivors ( 34.8%)
--6481-- memcheck GC: 76429 new table size (driftup)
--6481-- memcheck GC: 76429 nodes, 26359 survivors ( 34.4%)
--6481-- memcheck GC: 77575 new table size (driftup)
--6481-- Reading syms from /usr/lib64/libgnutls.so.26.14.12
--6481-- object doesn't have a symbol table
--6481-- Reading syms from /usr/lib64/libtasn1.so.3.1.6
--6481-- object doesn't have a symbol table
--6481-- Reading syms from /lib64/libgcrypt.so.11.5.3
--6481-- object doesn't have a symbol table
--6481-- Reading syms from /lib64/libgpg-error.so.0.5.0
--6481-- object doesn't have a symbol table
--6481-- Discarding syms at 0x3a94e15f30-0x3a94e815c8 in /usr/lib64/libgnutls.so.26.14.12 due to munmap()
--6481-- Discarding syms at 0x3a95201a50-0x3a9520cf08 in /usr/lib64/libtasn1.so.3.1.6 due to munmap()
--6481-- Discarding syms at 0x220bfe00-0x22109278 in /lib64/libgcrypt.so.11.5.3 due to munmap()
--6481-- Discarding syms at 0x3a92600820-0x3a92600d88 in /lib64/libgpg-error.so.0.5.0 due to munmap()
--6481-- Reading syms from /usr/lib64/libgnutls.so.26.14.12
--6481-- object doesn't have a symbol table
--6481-- Reading syms from /usr/lib64/libtasn1.so.3.1.6
--6481-- object doesn't have a symbol table
--6481-- Reading syms from /lib64/libgcrypt.so.11.5.3
--6481-- object doesn't have a symbol table
--6481-- Reading syms from /lib64/libgpg-error.so.0.5.0
--6481-- object doesn't have a symbol table
--6481-- REDIR: 0x6b60940 (__memcpy_chk) redirected to 0x4c2bbd0 (__memcpy_chk)
--6481-- REDIR: 0x6bd65d0 (__strcpy_chk) redirected to 0x4c2bd30 (__strcpy_chk)
--6481-- memcheck GC: 77575 nodes, 27079 survivors ( 34.9%)
--6481-- memcheck GC: 78738 new table size (driftup)
--6481-- memcheck GC: 78738 nodes, 27805 survivors ( 35.3%)
--6481-- memcheck GC: 79919 new table size (driftup)
--6481-- memcheck GC: 79919 nodes, 27726 survivors ( 34.6%)
--6481-- memcheck GC: 81117 new table size (driftup)
==6481== Syscall param msync(start) points to unaddressable byte(s)
==6481== at 0x612EEDD: ??? (in /lib64/libpthread-2.12.so)
==6481== by 0x57A5D26: msync_validate (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A5E53: validate_mem (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A5F90: access_mem (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A3C29: dwarf_get (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A3EF7: _ULx86_64_access_reg (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A3795: _ULx86_64_get_reg (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A8AF7: apply_reg_state (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A9172: _ULx86_64_dwarf_find_save_locs (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A5437: _ULx86_64_dwarf_step (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A40B6: _ULx86_64_step (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x4F417FF: rec_backtrace_ctx (task.c:613)
==6481== Address 0x7feffd000 is not stack'd, malloc'd or (recently) free'd
==6481==
--6481-- memcheck GC: 81117 nodes, 28093 survivors ( 34.6%)
==6481== Invalid read of size 8
==6481== at 0x4ECCC8D: jl_is_cpointer_type (julia.h:633)
==6481== by 0x4ED2497: jl_static_show (builtins.c:1141)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==6481==
==6481==
==6481== Process terminating with default action of signal 11 (SIGSEGV)
==6481== Access not within mapped region at address 0x0
==6481== at 0x4ECCC8D: jl_is_cpointer_type (julia.h:633)
==6481== by 0x4ED2497: jl_static_show (builtins.c:1141)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== If you believe this happened as a result of a stack
==6481== overflow in your program's main thread (unlikely but
==6481== possible), you can try to increase the size of the
==6481== main thread stack using the --main-stacksize= flag.
==6481== The main thread stack size used in this run was 10485760.
==6481==
==6481== HEAP SUMMARY:
==6481== in use at exit: 66,277,704 bytes in 108,737 blocks
==6481== total heap usage: 1,954,060 allocs, 1,845,323 frees, 798,113,660 bytes allocated
==6481==
==6481== Searching for pointers to 108,737 not-freed blocks
==6481== Checked 439,366,144 bytes
==6481==
==6481== LEAK SUMMARY:
==6481== definitely lost: 10,870 bytes in 112 blocks
==6481== indirectly lost: 1,567 bytes in 25 blocks
==6481== possibly lost: 1,208,168 bytes in 10,450 blocks
==6481== still reachable: 65,057,099 bytes in 98,150 blocks
==6481== suppressed: 0 bytes in 0 blocks
==6481== Rerun with --leak-check=full to see details of leaked memory
==6481==
==6481== ERROR SUMMARY: 18 errors from 3 contexts (suppressed: 9 from 9)
==6481==
==6481== 1 errors in context 1 of 3:
==6481== Syscall param msync(start) points to unaddressable byte(s)
==6481== at 0x612EEDD: ??? (in /lib64/libpthread-2.12.so)
==6481== by 0x57A5D26: msync_validate (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A5E53: validate_mem (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A5F90: access_mem (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A3C29: dwarf_get (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A3EF7: _ULx86_64_access_reg (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A3795: _ULx86_64_get_reg (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A8AF7: apply_reg_state (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A9172: _ULx86_64_dwarf_find_save_locs (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A5437: _ULx86_64_dwarf_step (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A40B6: _ULx86_64_step (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x4F417FF: rec_backtrace_ctx (task.c:613)
==6481== Address 0x7feffd000 is not stack'd, malloc'd or (recently) free'd
==6481==
==6481==
==6481== 2 errors in context 2 of 3:
==6481== Invalid read of size 8
==6481== at 0x4ECCC8D: jl_is_cpointer_type (julia.h:633)
==6481== by 0x4ED2497: jl_static_show (builtins.c:1141)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== by 0x4ED3414: jl_static_show (builtins.c:1297)
==6481== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==6481==
==6481==
==6481== 15 errors in context 3 of 3:
==6481== Syscall param msync(start) points to uninitialised byte(s)
==6481== at 0x612EEDD: ??? (in /lib64/libpthread-2.12.so)
==6481== by 0x57A5D26: msync_validate (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A5E53: validate_mem (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A5F90: access_mem (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A3C29: dwarf_get (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A3EF7: _ULx86_64_access_reg (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A3795: _ULx86_64_get_reg (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A8AF7: apply_reg_state (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A9172: _ULx86_64_dwarf_find_save_locs (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A5437: _ULx86_64_dwarf_step (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x57A40B6: _ULx86_64_step (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481== by 0x4F417FF: rec_backtrace_ctx (task.c:613)
==6481== Address 0x7feff6004 is on thread 1's stack
==6481== Uninitialised value was created by a stack allocation
==6481== at 0x57A5D97: validate_mem (in /home/rene/local/julia/usr/lib/libjulia-debug.so)
==6481==
--6481--
--6481-- used_suppression: 7 U1004-ARM-_dl_relocate_object
--6481-- used_suppression: 2 glibc-2.5.x-on-SUSE-10.2-(PPC)-2a
==6481==
==6481== ERROR SUMMARY: 18 errors from 3 contexts (suppressed: 9 from 9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment