Project

General

Profile

Actions

Bug #2358

closed

Segmentation fault using dl/import

Added by chavista (Luis Adolfo Hernandez Lara) over 14 years ago. Updated over 4 years ago.

Status:
Closed
ruby -v:
ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-mingw32]
[ruby-core:26693]

Description

=begin
I try to include in my ruby application the zkemsdk.dll.

When I invoke the second function named 'short Z_GetTime()', I got this:


72 ==> return by Z_Connect_NET: the conection is true
C:/Ruby19/lib/ruby/1.9.1/dl/func.rb:39: [BUG] Segmentation fault
ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-mingw32]

-- control frame ----------
c:0006 p:---- s:0023 b:0023 l:000022 d:000022 CFUNC :call
c:0005 p:0076 s:0019 b:0019 l:000018 d:000018 METHOD C:/Ruby19/lib/ruby/1.9.1/dl/func.rb:39
c:0004 p:0019 s:0012 b:0012 l:000011 d:000011 METHOD (eval):2
c:0003 p:0071 s:0007 b:0006 l:00139c d:000d4c EVAL C:/Users/luis/Documents/NetBeansProjects/RubyApplication1/lib/main.rb:12
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:00139c d:00139c TOP

-- Ruby level backtrace information-----------------------------------------
C:/Ruby19/lib/ruby/1.9.1/dl/func.rb:39:in call' C:/Ruby19/lib/ruby/1.9.1/dl/func.rb:39:in call'
(eval):2:in Z_GetTime' C:/Users/luis/Documents/NetBeansProjects/RubyApplication1/lib/main.rb:12: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


Files

main.rb (227 Bytes) main.rb Script que genera la excepcion chavista (Luis Adolfo Hernandez Lara), 11/12/2009 06:08 AM
zkemsdk.rar (838 KB) zkemsdk.rar Rar que contiene los DLLs y un manual de la dll. chavista (Luis Adolfo Hernandez Lara), 11/12/2009 06:08 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0