libtidy-ruby [BUG] Segmentation fault after upgrade to Hardy

Bug #232143 reported by Piotr Romanczuk
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libtidy-ruby (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: libtidy-ruby

/usr/lib/ruby/1.8/tidy/tidybuf.rb:39: [BUG] Segmentation fault

After upgrade to Hardy I'm getting error when trying to use tidy in my Rails application

Revision history for this message
Piotr Romanczuk (porbas) wrote :

Problem solved after manual install libtidy-ruby and libtidy-ruby1.8 from lntrepid

sudo dpkg -i libtidy-ruby1.8_1.1.2-3_all.deb
sudo dpkg -i libtidy-ruby_1.1.2-3_all.deb

Revision history for this message
Leon (leonbo) wrote :

I'm having the same problem. I installed the libtidy package with apt. Then I installed the tidy package with the gem command. Then when I use tidy in some ruby I constantly get:

/home/leon/.rubygems/gems/tidy-1.1.2/lib/tidy/tidybuf.rb:39: [BUG] Segmentation fault
ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]

Aborted (core dumped)

When I install the intrepid libtidy package: same error. Only when I installed the Gutsy version I believe (libtidy-0.99-0_20051018-1build1_amd64.deb) it don't get the segmentation fault. The Hardy version also gives a segmentation fault. The alhpa 5 of Intrepid Ibex also generated the same segmentation fault.

Revision history for this message
radsaq (radsaq) wrote :

Anyone ever plan on fixing this? Because it's still broken in 11.04.

Revision history for this message
Jose Angelini (joseangelini-gmail) wrote :

you have to add 1 line to the tidybuf.rb
in the TidyBuffer = struct
you ougth to include:
  "int* allocator",
look at this http://rubyforge.org/tracker/index.php?func=detail&aid=10007&group_id=435&atid=1744

Revision history for this message
radsaq (radsaq) wrote :

Understood, but it's still pretty terrible to have to do this to every new Ubuntu install to get a functional package.

Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Marking as confirmed because it happens to several users.

Changed in libtidy-ruby (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.