Skip to content

Instantly share code, notes, and snippets.

View garrison's full-sized avatar

Jim Garrison garrison

View GitHub Profile
@garrison
garrison / histest.out
Last active August 29, 2015 14:07
h5py issue 480 testing
16776885
Traceback (most recent call last):
File "histest.py", line 9, in <module>
dsid.get_type()
File "_objects.pyx", line 54, in h5py._objects.with_phil.wrapper (/home/garrison/h5py_bug/newtest/testenv2-site/src/h5py/h5py/_objects.c:2508)
File "_objects.pyx", line 55, in h5py._objects.with_phil.wrapper (/home/garrison/h5py_bug/newtest/testenv2-site/src/h5py/h5py/_objects.c:2461)
File "h5d.pyx", line 307, in h5py.h5d.DatasetID.get_type (/home/garrison/h5py_bug/newtest/testenv2-site/src/h5py/h5py/h5d.c:4144)
RuntimeError: Unable to register datatype (Can't insert duplicate key)
List of pre-defined events (to be used in -e):
cpu-cycles OR cycles [Hardware event]
stalled-cycles-frontend OR idle-cycles-frontend [Hardware event]
stalled-cycles-backend OR idle-cycles-backend [Hardware event]
instructions [Hardware event]
cache-references [Hardware event]
cache-misses [Hardware event]
branch-instructions OR branches [Hardware event]
branch-misses [Hardware event]
bus-cycles [Hardware event]
$ valgrind -q --smc-check=all-non-file --trace-children=yes --suppressions=$PWD/contrib/valgrind-julia.supp make VERBOSE=true
make[1]: Entering directory '/home/garrison/julia/deps'
make[2]: Entering directory '/home/garrison/julia/deps'
make[2]: Leaving directory '/home/garrison/julia/deps'
make[2]: Entering directory '/home/garrison/julia/deps'
make[2]: Leaving directory '/home/garrison/julia/deps'
make[1]: Leaving directory '/home/garrison/julia/deps'
make[1]: Entering directory '/home/garrison/julia/src'
gcc -m64 "-DJL_SYSTEM_IMAGE_PATH=\"../lib/julia/sys.ji\"" -DJULIA_TARGET_ARCH=native -DMEMDEBUG -DMEMDEBUG2 -DGC_VERIFY -std=gnu99 -pipe -fPIC -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -DCOPY_STACKS -O0 -ggdb3 -DJL_DEBUG_BUILD -fstack-protector-all -D_GNU_SOURCE -Iflisp -Isupport -I/home/garrison/julia/usr/include -I/home/garrison/julia/usr/include -I/home/garrison/julia/usr/include -DLIBRARY_EXPORTS -I. -I/home/garrison/julia/deps/valgrind -Wall -Wno-strict-aliasing -fno-omit-frame-pointer -fvisibili
$ valgrind -q --smc-check=all-non-file --suppressions=$PWD/contrib/valgrind-julia.supp --trace-children=yes make
CC src/jltypes.o
CC src/gf.o
FLISP src/julia_flisp.boot
FLISP src/julia_flisp.boot.inc
CC src/ast.o
CC src/builtins.o
CC src/module.o
CC src/codegen.o
CC src/disasm.o
--- valgrind-3.10.1/coregrind/m_debuginfo/storage.c 2014-11-25 11:41:21.000000000 -0800
+++ valgrind-3.10.1-patched/coregrind/m_debuginfo/storage.c 2015-04-28 22:04:06.249387564 -0700
@@ -527,17 +527,28 @@
"warning: ignoring line info entry falling "
"outside current DebugInfo: %#lx %#lx %#lx %#lx\n",
di->text_avma,
di->text_avma + di->text_size,
this, this + size - 1);
return;
}
$ valgrind -q --smc-check=all --suppressions=$PWD/contrib/valgrind-julia.supp --trace-children=yes make
CC src/jltypes.o
CC src/gf.o
FLISP src/julia_flisp.boot
FLISP src/julia_flisp.boot.inc
CC src/ast.o
CC src/builtins.o
CC src/module.o
CC src/codegen.o
CC src/disasm.o
$ valgrind -q --smc-check=all --suppressions=/home/garrison/julia/contrib/valgrind-julia.supp --trace-children=yes make
CC src/jltypes.o
CC src/gf.o
FLISP src/julia_flisp.boot
FLISP src/julia_flisp.boot.inc
CC src/ast.o
CC src/builtins.o
CC src/module.o
CC src/codegen.o
CC src/disasm.o
$ valgrind -q --smc-check=all --suppressions=/home/garrison/julia/contrib/valgrind-julia.supp --trace-children=yes make
CC src/jltypes.o
CC src/gf.o
FLISP src/julia_flisp.boot
FLISP src/julia_flisp.boot.inc
CC src/ast.o
CC src/builtins.o
CC src/module.o
CC src/codegen.o
CC src/disasm.o
$ valgrind -q --smc-check=all --suppressions=/home/garrison/julia/contrib/valgrind-julia.supp --trace-children=yes make
CC src/jltypes.o
CC src/gf.o
FLISP src/julia_flisp.boot
FLISP src/julia_flisp.boot.inc
CC src/ast.o
CC src/builtins.o
CC src/module.o
CC src/codegen.o
In file included from codegen.cpp:746:0:
ArrayFire/generate/generate.jl: "is_sparse" => "issparse", "sparse_to_dense" => "full",
ArrayFire/src/array.jl:import Base: Array, SparseMatrixCSC, copy, deepcopy_internal, issparse, sparse, full, complex, conj
ArrayFire/src/util.jl: @assert issparse(a) "AFArray is not sparse"
ArrayFire/src/util.jl: if issparse(a)
ArrayFire/src/util.jl:toa(a) = issparse(a) ? SparseMatrixCSC(a) : Array(a)
ArrayFire/src/wrap.jl:export is_row, is_scalar, is_single, is_vector, is_window_closed, isinf, isnan, issparse, iszero, le, lgamma
ArrayFire/src/wrap.jl:function issparse(arr::AFArray)
ArrayFire/test/sparse.jl:@test !issparse(A)
ArrayFire/test/sparse.jl:@test issparse(a1)
ArrayFire/test/sparse.jl:@test issparse(Aid)