Fwd: Segfaults after multiple call of ruby_node_run
Just forwarding to the redmine so that it recognizes the new issue.
---------- Forwarded message ----------
From: Christoph Kappel email@example.com
Subject: [ruby-core:26012] Segfaults after multiple call of ruby_node_run
To: ruby-core firstname.lastname@example.org
I am just trying to solve the embedding issue (ruby-core:25927) and
tried to make a small testing program to narrow it down.
Actually I stumbled over another thing which I don't understand, why
does this program segtaults in the second run of the loop:
It's started like this: ./test test.rb
void *node = NULL;
if(2 != argc)
fprintf(stderr, "Usage: %s \n", argv);
node = ruby_options(argc, argv);
Updated by unexist (Christoph Kappel) about 12 years ago
ruby_exec_node() isn't in any of the headers in /usr/include, but it works with an implicit declaration warning of the compiler. Will this function be added in the headers too?
Also a hint in README.EXE about this behaviour with ruby_cleanup() would be nice. In the case I just overread it, my bad.