segmentation fault in hpricot?

B

Brad Tilley

I have a ruby script producing this error on Ubunutu Linux amd64 (I used the
standard ubuntu ruby packages to install ruby... I got ruby gems from source
and used gem install to get mechanize). The script works fine on i386... I'm
using mechanize with threads. I can provide more info. Who should I contact?

I suppose I should compile ruby from source and see if I still get the error...
I'll try that later tonight.

ruby 1.8.4 (2005-12-24) [x86_64-linux]

/usr/lib/ruby/gems/1.8/gems/hpricot-0.4/lib/hpricot/traverse.rb:344: [BUG]
Segmentation fault
 
B

Brad Tilley

Quoting Brad Tilley said:
ruby 1.8.4 (2005-12-24) [x86_64-linux]

/usr/lib/ruby/gems/1.8/gems/hpricot-0.4/lib/hpricot/traverse.rb:344: [BUG]
Segmentation fault

Sometimes, this error is produced:

/usr/lib/ruby/gems/1.8/gems/hpricot-0.4/lib/hpricot/tag.rb:32: [BUG]
rb_gc_mark(): unknown data type 0x38(0x59d240) non object
 
W

_why

Quoting Brad Tilley said:
ruby 1.8.4 (2005-12-24) [x86_64-linux]

/usr/lib/ruby/gems/1.8/gems/hpricot-0.4/lib/hpricot/traverse.rb:344: [BUG]
Segmentation fault

Sometimes, this error is produced:

/usr/lib/ruby/gems/1.8/gems/hpricot-0.4/lib/hpricot/tag.rb:32: [BUG]
rb_gc_mark(): unknown data type 0x38(0x59d240) non object

Similar problems have been brought up on 32-bit Ubuntu[1] with 1.8.4. The fellow
moved to 1.8.5 and had no further problems. Some garbage pointer is finding its
way into an object.

All bugs should be reported to the Hpricot site[2], which accepts your Rubyforge
account quite handily, and I will walk you through getting a trace with gdb.

_why

[1] http://code.whytheluckystiff.net/hpricot/ticket/21
[2] http://code.whytheluckystiff.net/hpricot
 
G

Gregory Brown

All bugs should be reported to the Hpricot site[2], which accepts your Rubyforge
account quite handily, and I will walk you through getting a trace with gdb.

_why, how do you get Trac to recognize people's RubyForge accounts?

That's spiffy!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,234
Latest member
SkyeWeems

Latest Threads

Top