[#1094] Re: [ruby-cvs] ruby, ruby/lib: * eval.c (ev_const_defined, ev_const_get), variable.c — Dave Thomas <dave@...>

> * eval.c (rb_mod_autoload, rb_mod_autoload_p): new method;

12 messages 2003/05/29
[#1095] Re: [ruby-cvs] ruby, ruby/lib: * eval.c (ev_const_defined, ev_const_get), variable.c — nobu.nokada@... 2003/05/29

Hi,

crash involving Qundef

From: Mathieu Bouchard <matju@...>
Date: 2003-05-25 16:42:28 UTC
List: ruby-core #1074
Hi. In my extension called GridFlow, I have a documentation processor
that only uses "xmlparser" (libexpat.so) to read its input file, and then
produces a html file using only regular ruby (no C). The problem is that
it crashes with 1.8.0 (cvs). It does not with 1.6(.7), and this is why I
still have 1.6.7 installed.

I decided to get rid of the "xmlparser" dependency, just in case. I
ported my script to REXML. Well, it still crashes exactly in the same way.

I found out it calls a method on an object whose VALUE is 6, which is
Qundef. I have not seen Qundef, but by looking at the source, it seems
like something that is used internally by some classes and subsystems, but
that should not escape from there ever.

My script is available at
http://www.artengine.ca/cgi-bin/cvsweb.cgi/~checkout~/doc/moulinette.rb?rev=1.17&content-type=text/plain
but I suspect that if you want to try to find the bug you'll need to get
the whole directory with the supplied *.xml files. It crashes for any one
of the several *.xml files, though.

________________________________________________________________
Mathieu Bouchard                       http://artengine.ca/matju


In This Thread

Prev Next