H
Hal Fulton
Hello, all.
Who else has seen this error?
[BUG] unknown node type 0
ruby 1.8.0 (2003-08-04) [i686-linux-gnu]
Aborted (core dumped)
I'm on a quest to reproduce it reliably. Programmers often
have trouble reproducing.
It's a strange and subtle bug. The slightest change in an
unrelated part of the source code will make it go away.
Adding a (truly irrelevant) blank line or a commented line
will make it go away.
It's only happened to me (naturally) in multi-file apps of
several hundred lines of source which I don't really want
anyone to see yet.
Though I can show the snippet where it fails for me.
You will complain that it's impossible to see what's
happening from this snippet. Quite right. I'm just
illustrating how confusing the bug is.
Without ALL of the context of this program, it wouldn't
fail for you anyway.
all = bestcat.randomize! + best.randomize! + norm.randomize!
# If a blank line follows this one, the bug does not happen.
=begin
puts " Best: #{best.size}"
best.each do |x|
puts x
end
=end
pages = []
Anyway, just curious about this. If I find a way to reproduce
it in under a hundred lines, I will submit the code.
Thanks,
Hal
Who else has seen this error?
[BUG] unknown node type 0
ruby 1.8.0 (2003-08-04) [i686-linux-gnu]
Aborted (core dumped)
I'm on a quest to reproduce it reliably. Programmers often
have trouble reproducing.
It's a strange and subtle bug. The slightest change in an
unrelated part of the source code will make it go away.
Adding a (truly irrelevant) blank line or a commented line
will make it go away.
It's only happened to me (naturally) in multi-file apps of
several hundred lines of source which I don't really want
anyone to see yet.
Though I can show the snippet where it fails for me.
You will complain that it's impossible to see what's
happening from this snippet. Quite right. I'm just
illustrating how confusing the bug is.
Without ALL of the context of this program, it wouldn't
fail for you anyway.
all = bestcat.randomize! + best.randomize! + norm.randomize!
# If a blank line follows this one, the bug does not happen.
=begin
puts " Best: #{best.size}"
best.each do |x|
puts x
end
=end
pages = []
Anyway, just curious about this. If I find a way to reproduce
it in under a hundred lines, I will submit the code.
Thanks,
Hal