-
-
Save patternspandemic/d7cf7b0605cc0c15c11fbcac9f615d20 to your computer and use it in GitHub Desktop.
genname.c - type_append failed assertion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(lldb) bt | |
* thread #1, name = 'ponyc', stop reason = signal SIGABRT | |
frame #0: 0x00007ffff3680be0 libc.so.6`__GI_raise + 256 | |
frame #1: 0x00007ffff3681dc1 libc.so.6`__GI_abort + 321 | |
frame #2: 0x00000000004c4010 ponyc`ponyint_assert_fail(expr=<unavailable>, file=<unavailable>, line=<unavailable>, func=<unavailable>) at ponyassert.c:60 | |
* frame #3: 0x00000000004baac7 ponyc`type_append(buf=0x00007fffe9f4cdc0, type=0x00007fffe9567b00, first=<unavailable>) at genname.c:63 | |
frame #4: 0x00000000004ba8fa ponyc`types_append(buf=0x00007fffe9f4cdc0, elements=<unavailable>) at genname.c:77 | |
frame #5: 0x00000000004bac5f ponyc`genname_fun at genname.c:69 | |
frame #6: 0x00000000004bac4f ponyc`genname_fun(cap=TK_TAG, name="_muxed_sink", typeargs=0x00007fffe9571a80) at genname.c:174 | |
frame #7: 0x00000000004a4101 ponyc`add_rmethod(r=0x00007fffea1c9500, t=0x00007fffec78ed00, n=0x00007fffe9569c80, cap=TK_TAG, typeargs=0x00007fffe9571a80, opt=0x00007fffffffb140, internal=false) at reach.c:334 | |
frame #8: 0x00000000004a50ba ponyc`reachable_method(r=0x00007fffea1c9500, reify=<unavailable>, type=<unavailable>, name="_muxed_sink", typeargs=0x00007fffe9571a80, opt=0x00007fffffffb140) at reach.c:1327 | |
frame #9: 0x00000000004a53e1 ponyc`reachable_fun(r=0x00007fffea1c9500, reify=0x00007fffe9569bc0, ast=<unavailable>, opt=0x00007fffffffb140) at reach.c:1071 | |
frame #10: 0x00000000004a576e ponyc`reachable_expr at reach.c:1096 | |
frame #11: 0x00000000004a5718 ponyc`reachable_expr(r=0x00007fffea1c9500, reify=0x00007fffe9569bc0, ast=0x00007ffff11cdc40, opt=0x00007fffffffb140) at reach.c:1192 | |
frame #12: 0x00000000004a5528 ponyc`reachable_expr(r=0x00007fffea1c9500, reify=0x00007fffe9569bc0, ast=<unavailable>, opt=0x00007fffffffb140) at reach.c:1307 | |
frame #13: 0x00000000004a5da7 ponyc`reach at reach.c:1383 | |
frame #14: 0x00000000004a5d61 ponyc`reach(r=0x00007fffea1c9500, type=<unavailable>, name=<unavailable>, typeargs=<unavailable>, opt=0x00007fffffffb140) at reach.c:1413 | |
frame #15: 0x00000000004b4465 ponyc`genexe(c=0x00007fffffffac90, program=0x00007ffff31f9c80) at genexe.c:506 | |
frame #16: 0x0000000000483489 ponyc`codegen(program=0x00007ffff31f9c80, opt=0x00007fffffffb140) at codegen.c:875 | |
frame #17: 0x0000000000423a66 ponyc`compile_package(path=<unavailable>, opt=0x00007fffffffb140, print_program_ast=<unavailable>, print_package_ast=<unavailable>) at main.c:67 | |
frame #18: 0x000000000042356d ponyc`main(argc=<unavailable>, argv=0x00007fffffffb318) at main.c:111 | |
frame #19: 0x00007ffff366db8e libc.so.6`__libc_start_main + 238 | |
frame #20: 0x000000000042397a ponyc`_start at start.S:120 | |
(lldb) frame variable *type->t | |
(token_t) *type->t = { | |
id = TK_TYPEPARAMREF | |
source = 0x00007ffff2855cc0 | |
line = 109 | |
pos = 61 | |
printed = 0x0000000000000000 | |
= { | |
= (string = 0x0000000000000000, str_length = 0) | |
real = 0 | |
integer = (low = 0, high = 0) | |
} | |
frozen = false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment