-
-
Notifications
You must be signed in to change notification settings - Fork 3
-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Graphical Debugger Crashes #28
Comments
The program contains syntax errors in at least two places and you give no clue how you |
I don't know what the syntax errors are, prolog does does not give any errors when loading the file. I am trying to debug the program as I know it does not work. I just load the file from the command line: Welcome to SWI-Prolog (Multi-threaded, 64 bits, Version 7.3.9) For help, use ?- help(Topic). or ?- apropos(Word). ?- gtrace. [trace] ?- gen_arcs(1,[0,1],T), maplist(sep,T,Arcs,_). at this point the system hangs and I abort by pressing ctrl-c a I then try the goal again: [trace] ?- gen_arcs(1,[0,1],T), maplist(sep,T,Arcs,_). |
Ah. It is GitHub's wiki syntax that breaks the program ... Added |
Hmm. I found two bugs in the gui tracer, but I'm unsure whether or not this particular one is fixed. You may want to try the latest git version. |
Using SWI-Prolog (Multi-threaded, 64 bits, Version 7.3.9) Ubuntu
When trying to graphically debug a program prolog crashes.
The query is:
?- gen_arcs(1,[0,1],T), maplist(sep,T,Arcs,_).
The error:
[trace] ?- gen_arcs(1,[0,1],T), maplist(sep,T,Arcs,_).
T = [t(arc(1, 0, 1), [1, 0, 1])],
Arcs = [arc(1, 0, 1)] ;
T = [t(arc(1, 1, 1), [1, 1, 1])],
Arcs = [arc(1, 1, 1)] ;
[Thread 1 (main) at Sat Oct 17 18:39:46 2015] pl-write.c:1040: writePrimitive: Assertion failed: 0
C-stack trace labeled "assert_fail":
[0] PL_strtod() at ??:? [0x7fc33e48d7f0]
[1] __assert_fail() at ??:? [0x7fc33e4522c1]
[2] destroyXR() at ??:? [0x7fc33e44d489]
[3] destroyXR() at ??:? [0x7fc33e44dc7b]
[4] destroyXR() at ??:? [0x7fc33e44e340]
[5] destroyXR() at ??:? [0x7fc33e44f250]
[6] utf8_strncmp() at ??:? [0x7fc33e486c01]
[7] PL_next_solution() at ??:? [0x7fc33e3e9145]
[8] PL_call_predicate() at ??:? [0x7fc33e3f23bc]
[9] pl_pce_init() at ??:? [0x7fc33c513b0d]
[10] pl_pce_init() at ??:? [0x7fc33c513b90]
[11] PL_next_solution() at ??:? [0x7fc33e3e917f]
[12] PL_call_predicate() at ??:? [0x7fc33e3f23bc]
[13] pl_pce_init() at ??:? [0x7fc33c513b0d]
[14] pl_pce_init() at ??:? [0x7fc33c513b90]
[15] PL_next_solution() at ??:? [0x7fc33e3e917f]
[16] pl_skip_list3_va() at ??:? [0x7fc33e425fa3]
[17] pl_skip_list3_va() at ??:? [0x7fc33e42615d]
[18] PL_next_solution() at ??:? [0x7fc33e3e9248]
[19] PL_interrupt() at ??:? [0x7fc33e4440c4]
[20] PL_interrupt() at ??:? [0x7fc33e443b63]
[21] PL_next_solution() at ??:? [0x7fc33e3f06e4]
[22] pl_skip_list3_va() at ??:? [0x7fc33e425b2e]
[23] pl_skip_list3_va() at ??:? [0x7fc33e4262b0]
[24] PL_toplevel() at ??:? [0x7fc33e3e314d]
[25] prolog(main+0x2d) [0x40083d]
[26] __libc_start_main() at /build/buildd/eglibc-2.19/csu/libc-start.c:321 [0x7fc33ddf5ec5]
[27] prolog(+0x881) [0x400881]
Aborted (core dumped)
The program is:
The text was updated successfully, but these errors were encountered: