Project

General

Profile

Actions

Bug #2783

closed

Segmentation Fault (using libxml-ruby)

Added by ddonia (Damián D'Onia) about 14 years ago. Updated about 13 years ago.

Status:
Rejected
Assignee:
-
ruby -v:
ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32]
[ruby-core:28315]

Description

=begin
I was running a program that creates a new XML node each iteration and save it to a file. I'm newbi using Ruby. This was the error text:

C:/workspace/netbeans/DespegarLogPreProcessor/lib/despegar_log_file.rb:36: [BUG] Segmentation fault
ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32]

-- control frame ----------
c:0015 p:---- s:0051 b:0051 l:000050 d:000050 CFUNC :[]
c:0014 p:0008 s:0047 b:0047 l:000028 d:000046 BLOCK C:/workspace/netbeans/DespegarLogPreProcessor/lib/despegar_log_file.rb:36
c:0013 p:---- s:0043 b:0043 l:000042 d:000042 FINISH
c:0012 p:---- s:0041 b:0041 l:000040 d:000040 CFUNC :each
c:0011 p:0058 s:0038 b:0038 l:000028 d:000037 BLOCK C:/workspace/netbeans/DespegarLogPreProcessor/lib/despegar_log_file.rb:35
c:0010 p:---- s:0034 b:0034 l:000033 d:000033 FINISH
c:0009 p:---- s:0032 b:0032 l:000031 d:000031 CFUNC :each
c:0008 p:0055 s:0029 b:0029 l:000028 d:000028 METHOD C:/workspace/netbeans/DespegarLogPreProcessor/lib/despegar_log_file.rb:32
c:0007 p:0118 s:0025 b:0025 l:000024 d:000024 METHOD C:/workspace/netbeans/DespegarLogPreProcessor/lib/despegar_log_file_manager.rb:111
c:0006 p:0065 s:0018 b:0018 l:001a3c d:000017 BLOCK C:/workspace/netbeans/DespegarLogPreProcessor/lib/main.rb:20
c:0005 p:---- s:0013 b:0013 l:000012 d:000012 FINISH
c:0004 p:---- s:0011 b:0011 l:000010 d:000010 CFUNC :each
c:0003 p:0108 s:0008 b:0008 l:001a3c d:00193c EVAL C:/workspace/netbeans/DespegarLogPreProcessor/lib/main.rb:13
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:001a3c d:001a3c TOP

C:/workspace/netbeans/DespegarLogPreProcessor/lib/despegar_log_file.rb:36: [BUG] object allocation during garbage collection phase
ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32]

-- control frame ----------
c:0015 p:---- s:0051 b:0051 l:000050 d:000050 CFUNC :[]
c:0014 p:0008 s:0047 b:0047 l:000028 d:000046 BLOCK C:/workspace/netbeans/DespegarLogPreProcessor/lib/despegar_log_file.rb:36
c:0013 p:---- s:0043 b:0043 l:000042 d:000042 FINISH
c:0012 p:---- s:0041 b:0041 l:000040 d:000040 CFUNC :each
c:0011 p:0058 s:0038 b:0038 l:000028 d:000037 BLOCK C:/workspace/netbeans/DespegarLogPreProcessor/lib/despegar_log_file.rb:35
c:0010 p:---- s:0034 b:0034 l:000033 d:000033 FINISH
c:0009 p:---- s:0032 b:0032 l:000031 d:000031 CFUNC :each
c:0008 p:0055 s:0029 b:0029 l:000028 d:000028 METHOD C:/workspace/netbeans/DespegarLogPreProcessor/lib/despegar_log_file.rb:32
c:0007 p:0118 s:0025 b:0025 l:000024 d:000024 METHOD C:/workspace/netbeans/DespegarLogPreProcessor/lib/despegar_log_file_manager.rb:111
c:0006 p:0065 s:0018 b:0018 l:001a3c d:000017 BLOCK C:/workspace/netbeans/DespegarLogPreProcessor/lib/main.rb:20
c:0005 p:---- s:0013 b:0013 l:000012 d:000012 FINISH
c:0004 p:---- s:0011 b:0011 l:000010 d:000010 CFUNC :each
c:0003 p:0108 s:0008 b:0008 l:001a3c d:00193c EVAL C:/workspace/netbeans/DespegarLogPreProcessor/lib/main.rb:13
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:001a3c d:001a3c TOP

-- Ruby level backtrace information-----------------------------------------
C:/workspace/netbeans/DespegarLogPreProcessor/lib/despegar_log_file.rb:36:in []' C:/workspace/netbeans/DespegarLogPreProcessor/lib/despegar_log_file.rb:36:in block (2 levels) in getrecord'
C:/workspace/netbeans/DespegarLogPreProcessor/lib/despegar_log_file.rb:35:in each' C:/workspace/netbeans/DespegarLogPreProcessor/lib/despegar_log_file.rb:35:in block in getrecord'
C:/workspace/netbeans/DespegarLogPreProcessor/lib/despegar_log_file.rb:32:in each' C:/workspace/netbeans/DespegarLogPreProcessor/lib/despegar_log_file.rb:32:in getrecord'
C:/workspace/netbeans/DespegarLogPreProcessor/lib/despegar_log_file_manager.rb:111:in to_xml3' C:/workspace/netbeans/DespegarLogPreProcessor/lib/main.rb:20:in block in '
C:/workspace/netbeans/DespegarLogPreProcessor/lib/main.rb:13:in each' C:/workspace/netbeans/DespegarLogPreProcessor/lib/main.rb:13:in '

[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0