From: gm@... (George Moschovitis) Date: 2003-07-10T16:18:42+09:00 Subject: Re: Ruby 1.8.0 prev3 segfault ts wrote in message news:<200307091220.h69CK8R18526@moulon.inra.fr>... > >>>>> "G" == George Moschovitis writes: > > G> .../navel/web/srv/request.rb:339: [BUG] obj_free() called for broken object > G> ruby 1.8.0 (2003-06-23) [i686-linux] > > G> here is the relevant code: > > Well, unfortunately this is not really usefull. Can you give the complete > script (with an example to reproduce the bug) ? Do it use some externals > extensions ? I use the mysql.so extension (DBI). the problem seems to come from gets though. I changed the code to: if io and (!io.closed?) return io.gets(sep) <---------------- ERROR LINE else and i dont get the error any more, now I get the following error (not so frequent error): .../navel/web/srv/request.rb:341: [BUG] gc_sweep(): unknown data type 0x401b305c(49) ruby 1.8.0 (2003-06-23) [i686-linux] saddly i cannot give you an example that reproduces the bug, it seems to be random :( -g.