Project

General

Profile

Actions

Bug #2613

closed

Interpreter crash using BlueCloth gem

Added by Phrogz (Gavin Kistner) about 14 years ago. Updated almost 13 years ago.

Status:
Third Party's Issue
Assignee:
-
ruby -v:
ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10.0.0]
[ruby-core:27617]

Description

=begin
$ uname -a
Darwin Slim2.local 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386

$ ruby -e "require 'bluecloth'; p BlueCloth::VERSION; p BlueCloth.new('foo').to_html"
"2.0.6"
-e:1: [BUG] Segmentation fault
ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10.0.0]

-- control frame ----------
c:0005 p:---- s:0012 b:0012 l:000011 d:000011 CFUNC :inspect
c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :p
c:0003 p:0061 s:0006 b:0006 l:0019d8 d:000118 EVAL -e:1
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:0019d8 d:0019d8 TOP

-- Ruby level backtrace information-----------------------------------------
-e:1:in inspect' -e:1:in p'
-e:1:in `'

-- C level backtrace information -------------------------------------------

This is a bug in the BlueCloth gem v2.0.6, which I've reported and will be fixed.
I'm also reporting this against Ruby under the assumption that it's not normal for even misbehaving gems to crash the interpreter.
=end

Actions

Also available in: Atom PDF

Like0
Like0