Skip to content

Instantly share code, notes, and snippets.

@FROGGS
Last active December 24, 2015 18:49
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/7fe668092e7d08a387d3 to your computer and use it in GitHub Desktop.
Save FROGGS/7fe668092e7d08a387d3 to your computer and use it in GitHub Desktop.
froggs@TL02L-R8RXTCW-linux:~/dev/nqp$ gdb --args /home/froggs/dev/nqp/install/bin/moar --libpath=src/vm/moar/stage0 src/vm/moar/stage0/nqp.moarvm --bootstrap --module-path=src/stage1 --setting-path=src/stage1 --setting=NQPCORE --no-regex-lib --target=mbc --stagestats --output=src/stage1/NQPHLL.moarvm src/stage1/gen/NQPHLL.nqp
GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu
Copyright (C) 2013 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".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/froggs/dev/nqp/install/bin/moar...done.
(gdb) run
Starting program: /home/froggs/dev/nqp/install/bin/moar --libpath=src/vm/moar/stage0 src/vm/moar/stage0/nqp.moarvm --bootstrap --module-path=src/stage1 --setting-path=src/stage1 --setting=NQPCORE --no-regex-lib --target=mbc --stagestats --output=src/stage1/NQPHLL.moarvm src/stage1/gen/NQPHLL.nqp
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Stage start: 0.000015Stage start : 0.000
Stage parse: 9.455715Stage parse : 9.456
Stage ast: 0.00005Stage ast : 0.000
Stage mast: 10.052175Stage mast : 10.052
Stage mbc: 0.058457Stage mbc : 0.058
moar: 3rdparty/libuv/src/unix/loop.c:150: uv__loop_delete: Assertion `!((((*(&(loop)->active_reqs))[0]) == (&(loop)->active_reqs)) == 0)' failed.
Program received signal SIGABRT, Aborted.
0x00007ffff731f037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt full
#0 0x00007ffff731f037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
resultvar = 0
pid = 26220
selftid = 26220
#1 0x00007ffff7322698 in __GI_abort () at abort.c:90
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x7fffffffe2cd, sa_sigaction = 0x7fffffffe2cd}, sa_mask = {__val = {140737341991204, 6005216, 150, 4294967296,
140737340610705, 33585264, 4200134, 4294967295, 4, 140737488346160, 0, 0, 0, 140737341990547, 140737353953280, 140737342006648}}, sa_flags = 6005328,
sa_restorer = 0x5ba2a0 <__PRETTY_FUNCTION__.6693>}
sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007ffff7317e03 in __assert_fail_base (fmt=0x7ffff746e578 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=assertion@entry=0x5ba250 "!((((*(&(loop)->active_reqs))[0]) == (&(loop)->active_reqs)) == 0)", file=file@entry=0x5ba1e0 "3rdparty/libuv/src/unix/loop.c",
line=line@entry=150, function=function@entry=0x5ba2a0 <__PRETTY_FUNCTION__.6693> "uv__loop_delete") at assert.c:92
str = 0x4004da80 " \224\035@"
total = 4096
#3 0x00007ffff7317eb2 in __GI___assert_fail (assertion=0x5ba250 "!((((*(&(loop)->active_reqs))[0]) == (&(loop)->active_reqs)) == 0)",
file=0x5ba1e0 "3rdparty/libuv/src/unix/loop.c", line=150, function=0x5ba2a0 <__PRETTY_FUNCTION__.6693> "uv__loop_delete") at assert.c:101
No locals.
#4 0x00000000004944dd in uv__loop_delete (loop=0x8264c0 <default_loop_struct>) at 3rdparty/libuv/src/unix/loop.c:150
__PRETTY_FUNCTION__ = "uv__loop_delete"
#5 0x0000000000493f86 in uv_loop_delete (loop=0x8264c0 <default_loop_struct>) at 3rdparty/libuv/src/unix/loop.c:65
No locals.
#6 0x0000000000459b18 in MVM_tc_destroy (tc=0x827300) at src/core/threadcontext.c:71
No locals.
#7 0x0000000000442256 in MVM_vm_destroy_instance (instance=0x827010) at src/moar.c:185
No locals.
#8 0x0000000000404349 in main (argc=12, argv=0x7fffffffdf68) at src/main.c:132
instance = 0x827010
input_file = 0x7fffffffe2ef "src/vm/moar/stage0/nqp.moarvm"
lib_path = 0x7fffffffe2dc "src/vm/moar/stage0"
dump = 0
argi = 3
flag = -2
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment