N
Nicko Kaltner
Hi,
I've found a bug in the 1.9.0 csvparser. I've got a script and data
that effectively breaks it, but it is 567kb. Is that too large for this
list?
The ruby instance takes 100% of cpu while processing this file, and I
had to stop it after 5 minutes..
the code is
#!/usr/local/bin/ruby1.9.0
require 'csv'
filename = 'broken.csv'
CSV.foreach(filename) do |row|
STDERR.puts row.length
row.each do |entry|
puts entry
end
puts "\n####################################\n"
end
I would try and debug it further, but the debugger seems broken in 1.9.0.
Regards,
Nicko
I've found a bug in the 1.9.0 csvparser. I've got a script and data
that effectively breaks it, but it is 567kb. Is that too large for this
list?
The ruby instance takes 100% of cpu while processing this file, and I
had to stop it after 5 minutes..
the code is
#!/usr/local/bin/ruby1.9.0
require 'csv'
filename = 'broken.csv'
CSV.foreach(filename) do |row|
STDERR.puts row.length
row.each do |entry|
puts entry
end
puts "\n####################################\n"
end
I would try and debug it further, but the debugger seems broken in 1.9.0.
Regards,
Nicko