Bug #8932

ruby-2.0.0-p247/gems/rubyzip-0.9.9/lib/zip/inflater.rb:42: [BUG] Segmentation fault

Added by vincent moreno 7 months ago. Updated 3 months ago.

[ruby-core:57298]
Status:Feedback
Priority:Normal
Assignee:-
Category:core
Target version:current: 2.2.0
ruby -v:uby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.3.0] Backport:1.9.3: UNKNOWN, 2.0.0: UNKNOWN

Description

Hello,
My program is working on Linux and Windows but not on my mac OSX, I have the error segmentation fault
Program example:
require 'rubygems'
require 'nokogiri'
require 'zip/zip' #rubyzip 0.9.9
require 'lib/semboxlib'
@zip = Zip::ZipFile.open("SDD001.docx")
#initialise Nokogiri reader with document.xml
doc = Nokogiri::XML(@zip.read('word/document.xml'))
#open xsl file
xslt = Nokogiri::XSLT(File.read("DocxHtml.xsl"))
#convert document.xml in html using xsl sheet return html
#Nokogiri::HTML(xslt.transform(doc).to
html)
xslt.transform(doc).to_s

log_core_dump.log (158 KB) vincent moreno, 09/21/2013 07:41 AM

ruby_2013-09-21-003109_MacBook-Air-de-vincent-moreno.crash (23.9 KB) vincent moreno, 09/21/2013 07:41 AM


Related issues

Duplicated by ruby-trunk - Bug #8933: ruby-2.0.0-p247/gems/rubyzip-0.9.9/lib/zip/inflater.rb:42... Closed 09/21/2013

History

#1 Updated by Hiroshi SHIBATA 5 months ago

  • Status changed from Open to Feedback

Could you try latest version of Ruby 2.0 and rubyzip?

#2 Updated by Hiroshi SHIBATA 3 months ago

  • Target version changed from 2.1.0 to current: 2.2.0

Also available in: Atom PDF