Skip to content

Instantly share code, notes, and snippets.

@tkelman
Created June 22, 2015 11:21
Show Gist options
  • Save tkelman/f0a7debc2fb6234eefcc to your computer and use it in GitHub Desktop.
Save tkelman/f0a7debc2fb6234eefcc to your computer and use it in GitHub Desktop.
tkelman@ygdesk:~/Julia/julia$ JULIA_CPU_CORES=1 gdb --args usr/bin/julia-debug --check-bounds=yes test/runtests.jl all
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from usr/bin/julia-debug...done.
(gdb) r
Starting program: /home/tkelman/Julia/julia/usr/bin/julia-debug --check-bounds=yes test/runtests.jl all
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Traceback (most recent call last):
File "/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19-gdb.py", line 63, in <module>
from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named 'libstdcxx'
[New Thread 0x7ffdefdbb700 (LWP 5046)]
* linalg1 in 156.45 seconds
* linalg2 in 28.65 seconds
* linalg3 in 24.10 seconds
* linalg4 in 7.51 seconds
* linalg/lapack in 14.71 seconds
* linalg/triangular in 104.22 seconds
* linalg/tridiag in 5.46 seconds
* linalg/bidiag in 8.38 seconds
* linalg/diagonal in 9.39 seconds
* linalg/pinv in 10.07 seconds
* linalg/givens in 2.60 seconds
* linalg/cholesky in 9.49 seconds
* linalg/lu in 19.23 seconds
* linalg/symmetric in 7.93 seconds
* linalg/arnoldi in 22.53 seconds
* core in 24.76 seconds
* keywordargs in 1.65 seconds
* numbers
Program received signal SIGFPE, Arithmetic exception.
0x00007ffdf2adb67a in __gmp_exception () from /home/tkelman/Julia/julia/usr/bin/../lib/libgmp.so
(gdb) c
Continuing.
in 1975.99 seconds
* strings in 25.33 seconds
* dates in 80.54 seconds
* dict in 17.18 seconds
* hashing in 6.51 seconds
* remote in 0.61 seconds
* iobuffer in 1.43 seconds
* staged in 0.79 seconds
* arrayops in 46.32 seconds
* tuple in 1.02 seconds
* subarray in 273.68 seconds
* reduce in 4.75 seconds
* reducedim in 29.59 seconds
* random in 18.29 seconds
* intfuncs in 0.70 seconds
* simdloop in 1.34 seconds
* blas in 3.28 seconds
* sparse in 122.78 seconds
* bitarray in 121.49 seconds
* copy in 3.10 seconds
* math in 15.55 seconds
* fastmath in 4.70 seconds
* functional in 1.86 seconds
* operators in 0.17 seconds
* path in 6.39 seconds
* ccall warning: Could not load shared library symbols for ./libccalltest.so.
Do you need "set solib-search-path" or "set sysroot"?
in 2.85 seconds
* unicode in 6.19 seconds
* bigint in 3.15 seconds
* sorting in 36.19 seconds
* statistics in 18.05 seconds
* spawn [stdio passthrough ok]
in 13.28 seconds
* backtrace in 0.22 seconds
* priorityqueue in 2.05 seconds
* file [New Thread 0x7ffde7d18700 (LWP 5233)]
[New Thread 0x7ffde7517700 (LWP 5234)]
[New Thread 0x7ffde6d16700 (LWP 5235)]
[New Thread 0x7ffde6515700 (LWP 5236)]
in 15.02 seconds
* version in 2.88 seconds
* resolve in 10.29 seconds
* pollfd in 2.87 seconds
* mpfr in 4.38 seconds
* broadcast in 18.20 seconds
* complex in 3.43 seconds
* socket in 2.71 seconds
* floatapprox in 0.34 seconds
* readdlm in 37.84 seconds
* reflection The following 'Returned code...' warnings indicate normal behavior:
Warning: Returned code may not match what actually runs.
Warning: Returned code may not match what actually runs.
Warning: Returned code may not match what actually runs.
Warning: Returned code may not match what actually runs.
Warning: Returned code may not match what actually runs.
Warning: Returned code may not match what actually runs.
Warning: Returned code may not match what actually runs.
Warning: Returned code may not match what actually runs.
Warning: Returned code may not match what actually runs.
Warning: Returned code may not match what actually runs.
Warning: Returned code may not match what actually runs.
Warning: Returned code may not match what actually runs.
in 1.50 seconds
* regex in 0.95 seconds
* float16 in 1.32 seconds
* combinatorics in 4.37 seconds
* sysinfo in 2.11 seconds
* rounding in 1.83 seconds
* ranges in 94.67 seconds
* mod2pi in 0.17 seconds
* euler in 1.25 seconds
* show in 4.64 seconds
* lineedit in 6.87 seconds
* replcompletions in 4.37 seconds
* repl
Program received signal SIGINT, Interrupt.
0x00007ffff6acf20b in raise (sig=2) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
37 ../nptl/sysdeps/unix/sysv/linux/pt-raise.c: No such file or directory.
(gdb) c
Continuing.
Program received signal SIGINT, Interrupt.
0x00007ffff6acf20b in raise (sig=2) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
37 in ../nptl/sysdeps/unix/sysv/linux/pt-raise.c
(gdb) c
Continuing.
Program received signal SIGINT, Interrupt.
0x00007ffff6acf20b in raise (sig=2) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
37 in ../nptl/sysdeps/unix/sysv/linux/pt-raise.c
(gdb) c
Continuing.
in 19.26 seconds
* replutil in 11.68 seconds
* sets in 4.20 seconds
* test in 0.34 seconds
* goto in 0.06 seconds
* llvmcall in 0.15 seconds
* grisu in 6.20 seconds
* nullable in 3.10 seconds
* meta in 0.35 seconds
* profile
Program received signal SIGUSR2, User defined signal 2.
0x00007ffff6e98496 in tv2float (tv=0x7fffffffcd00) at timefuncs.c:42
42 return (double)tv->tv_sec + (double)tv->tv_usec/1.0e6;
(gdb) c
Continuing.
Program received signal SIGUSR2, User defined signal 2.
[Switching to Thread 0x7ffde6515700 (LWP 5236)]
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
185 ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: No such file or directory.
(gdb) c
Continuing.
in 283.81 seconds
* libgit2 in 0.15 seconds
* docs in 2.89 seconds
* markdown in 8.17 seconds
* base64 in 0.68 seconds
* parser in 0.69 seconds
* serialize in 4.67 seconds
* functors in 0.65 seconds
* char in 0.71 seconds
* misc in 100.60 seconds
* enums in 11.80 seconds
* cmdlineargs in 62.79 seconds
* i18n in 0.03 seconds
* fft in 7.94 seconds
* dsp in 6.08 seconds
* examples in 54.61 seconds
* parallel in 42.26 seconds
SUCCESS
julia-debug: gf.c:252: jl_method_table_assoc_exact: Assertion `(((jl_value_t*)(((jl_taggedvalue_t *) ((char *)((ty)) - __builtin_offsetof (jl_taggedvalue_t, value)))->type_bits&~(size_t)3))==(jl_value_t*)(jl_datatype_type))' failed.
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff7fc7780 (LWP 5042)]
0x00007ffff6730cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff6730cc9 in __GI_raise (sig=sig@entry=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff67340d8 in __GI_abort () at abort.c:89
#2 0x00007ffff6729b86 in __assert_fail_base (
fmt=0x7ffff687a830 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=assertion@entry=0x7ffff7794c98 "(((jl_value_t*)(((jl_taggedvalue_t *) ((char *)((ty)) - __builtin_offsetof (jl_taggedvalue_t, value)))->type_bits&~(size_t)3))==(jl_value_t*)(jl_datatype_type))", file=file@entry=0x7ffff7794c71 "gf.c", line=line@entry=252,
function=function@entry=0x7ffff7795440 <__PRETTY_FUNCTION__.10247> "jl_method_table_assoc_exact") at assert.c:92
#3 0x00007ffff6729c32 in __GI___assert_fail (
assertion=0x7ffff7794c98 "(((jl_value_t*)(((jl_taggedvalue_t *) ((char *)((ty)) - __builtin_offsetof (jl_taggedvalue_t, value)))->type_bits&~(size_t)3))==(jl_value_t*)(jl_datatype_type))",
file=0x7ffff7794c71 "gf.c", line=252,
function=0x7ffff7795440 <__PRETTY_FUNCTION__.10247> "jl_method_table_assoc_exact")
at assert.c:101
#4 0x00007ffff6db29ac in jl_method_table_assoc_exact (mt=0x7ffdf42256d0, args=0x7fffffffdfd8, n=1)
at gf.c:252
#5 0x00007ffff6db78e8 in jl_apply_generic (F=0x7ffdf421d9f0, args=0x7fffffffdfd8, nargs=1)
at gf.c:1604
#6 0x00007ffff6e6cf8a in jl_apply (f=0x7ffdf421d9f0, args=0x7fffffffdfd8, nargs=1) at julia.h:1298
#7 0x00007ffff6e6d0af in jl_uv_call_close_callback (val=0x40a5dbf0) at jl_uv.c:51
#8 0x00007ffff6e6d15a in jl_uv_closeHandle (handle=0x23144740) at jl_uv.c:67
#9 0x00007ffff6ea2bbc in uv__run_closing_handles (loop=0x7ffff7dbffc0 <default_loop_struct>)
at src/unix/core.c:228
#10 uv_run (loop=0x7ffff7dbffc0 <default_loop_struct>, mode=UV_RUN_DEFAULT) at src/unix/core.c:296
#11 0x00007ffff6e58fb5 in jl_atexit_hook () at init.c:632
#12 0x0000000000402ba4 in main (argc=2, argv=0x7fffffffe2d8) at repl.c:561
(gdb) Quit
(gdb) q
A debugging session is active.
Inferior 1 [process 5042] will be killed.
Quit anyway? (y or n) y
tkelman@ygdesk:~/Julia/julia$ ./julia -e 'versioninfo()'
Julia Version 0.4.0-dev+5511
Commit 1e081b7* (2015-06-22 05:05 UTC)
DEBUG build
Platform Info:
System: Linux (x86_64-linux-gnu)
CPU: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Penryn)
LAPACK: libopenblas
LIBM: libopenlibm
LLVM: libLLVM-3.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment