zenchild / gssapi

A Ruby FFI wrapper around GSSAPI
Other
40 stars 50 forks source link

Fail when do some simple test with rspec on rails env #28

Open Zogoo opened 5 years ago

Zogoo commented 5 years ago

/Users/user/.gem/gems/gssapi-1.2.0/lib/gssapi/lib_gssapi.rb:182: [BUG] Segmentation fault at 0x0000000000000000 ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-darwin18]

-- Crash Report log information -------------------------------------------- See Crash Report log file under the one of following:

-- Control frame information ----------------------------------------------- c:0025 p:---- s:0133 e:000132 CFUNC :gss_delete_sec_context c:0024 p:0045 s:0126 e:000125 METHOD /Users/user/.gem/gems/gssapi-1.2.0/lib/gssapi/lib_gssapi.rb:182 c:0023 p:0106 s:0119 e:000118 METHOD /Users/user/.gem/gems/gssapi-1.2.0/lib/gssapi/lib_gssapi.rb:165 c:0022 p:0011 s:0114 e:000113 METHOD /Users/user/.gem/gems/ffi-1.9.25/lib/ffi/autopointer.rb:162 c:0021 p:0020 s:0109 e:000108 METHOD /Users/user/.gem/gems/ffi-1.9.25/lib/ffi/autopointer.rb:150 [FINISH] c:0020 p:0009 s:0104 e:000103 METHOD /Users/user/.rbenv/versions/2.5.3/lib/ruby/2.5.0/erb.rb:561 c:0019 p:0060 s:0099 e:000098 METHOD /Users/user/.rbenv/versions/2.5.3/lib/ruby/2.5.0/erb.rb:580 c:0018 p:0125 s:0093 e:000092 METHOD /Users/user/.rbenv/versions/2.5.3/lib/ruby/2.5.0/erb.rb:607 c:0017 p:0039 s:0084 e:000083 METHOD /Users/user/.rbenv/versions/2.5.3/lib/ruby/2.5.0/erb.rb:813 [FINISH] c:0016 p:---- s:0075 e:000074 CFUNC :new c:0015 p:0059 s:0070 e:000069 METHOD /Users/user/.gem/gems/simplecov-html-0.10.2/lib/simplecov-html.rb:36 c:0014 p:0006 s:0065 e:000064 METHOD /Users/user/.gem/gems/simplecov-html-0.10.2/lib/simplecov-html.rb:56 c:0013 p:0017 s:0060 e:000058 BLOCK (erb):36 [FINISH] c:0012 p:---- s:0055 e:000054 CFUNC :each c:0011 p:0351 s:0051 E:000fd8 EVAL (erb):35 [FINISH] c:0010 p:---- s:0047 e:000046 CFUNC :eval c:0009 p:0041 s:0039 e:000038 METHOD /Users/user/.rbenv/versions/2.5.3/lib/ruby/2.5.0/erb.rb:876 c:0008 p:0016 s:0034 E:000c68 BLOCK /Users/user/.gem/gems/simplecov-html-0.10.2/lib/simplecov-html.rb:23 [FINISH] c:0007 p:---- s:0029 e:000028 CFUNC :open c:0006 p:0068 s:0023 E:001278 METHOD /Users/user/.gem/gems/simplecov-html-0.10.2/lib/simplecov-html.rb:22 c:0005 p:0017 s:0018 e:000017 METHOD /Users/user/.gem/gems/simplecov-0.16.1/lib/simplecov/result.rb:48 c:0004 p:0014 s:0014 e:000013 BLOCK /Users/user/.gem/gems/simplecov-0.16.1/lib/simplecov/configuration.rb:182 [FINISH] c:0003 p:0025 s:0011 e:000010 METHOD /Users/user/.gem/gems/simplecov-0.16.1/lib/simplecov.rb:200 c:0002 p:0051 s:0006 e:000005 BLOCK /Users/user/.gem/gems/simplecov-0.16.1/lib/simplecov/defaults.rb:27 [FINISH] c:0001 p:0000 s:0003 E:000d90 (none) [FINISH]

-- Ruby level backtrace information ---------------------------------------- /Users/user/.gem/gems/simplecov-0.16.1/lib/simplecov/defaults.rb:27:in block in <top (required)>' /Users/user/.gem/gems/simplecov-0.16.1/lib/simplecov.rb:200:inrun_exit_tasks!' /Users/user/.gem/gems/simplecov-0.16.1/lib/simplecov/configuration.rb:182:in block in at_exit' /Users/user/.gem/gems/simplecov-0.16.1/lib/simplecov/result.rb:48:informat!' /Users/user/.gem/gems/simplecov-html-0.10.2/lib/simplecov-html.rb:22:in format' /Users/user/.gem/gems/simplecov-html-0.10.2/lib/simplecov-html.rb:22:inopen' /Users/user/.gem/gems/simplecov-html-0.10.2/lib/simplecov-html.rb:23:in block in format' /Users/user/.rbenv/versions/2.5.3/lib/ruby/2.5.0/erb.rb:876:inresult' /Users/user/.rbenv/versions/2.5.3/lib/ruby/2.5.0/erb.rb:876:in eval' (erb):35:inblock in format' (erb):35:in each' (erb):36:inblock (2 levels) in format' /Users/user/.gem/gems/simplecov-html-0.10.2/lib/simplecov-html.rb:56:in formatted_source_file' /Users/user/.gem/gems/simplecov-html-0.10.2/lib/simplecov-html.rb:36:intemplate' /Users/user/.gem/gems/simplecov-html-0.10.2/lib/simplecov-html.rb:36:in new' /Users/user/.rbenv/versions/2.5.3/lib/ruby/2.5.0/erb.rb:813:ininitialize' /Users/user/.rbenv/versions/2.5.3/lib/ruby/2.5.0/erb.rb:607:in compile' /Users/user/.rbenv/versions/2.5.3/lib/ruby/2.5.0/erb.rb:580:inadd_put_cmd' /Users/user/.rbenv/versions/2.5.3/lib/ruby/2.5.0/erb.rb:561:in push' /Users/user/.gem/gems/ffi-1.9.25/lib/ffi/autopointer.rb:150:incall' /Users/user/.gem/gems/ffi-1.9.25/lib/ffi/autopointer.rb:162:in release' /Users/user/.gem/gems/gssapi-1.2.0/lib/gssapi/lib_gssapi.rb:165:inrelease' /Users/user/.gem/gems/gssapi-1.2.0/lib/gssapi/lib_gssapi.rb:182:in release_ptr' /Users/user/.gem/gems/gssapi-1.2.0/lib/gssapi/lib_gssapi.rb:182:ingss_delete_sec_context'

-- Machine register context ------------------------------------------------ rax: 0x0000000000000000 rbx: 0x00007fcbcaa08078 rcx: 0x0000000108801f64 rdx: 0x0000000000000000 rdi: 0x42dec92a00000006 rsi: 0x00007fcbcaa08078 rbp: 0x00007ffee7f04050 rsp: 0x00007ffee7f04050 r8: 0x00007fcbc9774e90 r9: 0x00007fcbc93881b0 r10: 0x0000000000000000 r11: 0x00007fff42dc6fb1 r12: 0x00007fcbcb033ae0 r13: 0x00007ffee7f04250 r14: 0x00007ffee7f0408c r15: 0x0000000000000000 rip: 0x00007fff4072a75f rfl: 0x0000000000010246

-- C level backtrace information ------------------------------------------- 0 ruby 0x0000000107ef6197 rb_vm_bugreport + 135 1 ruby 0x0000000107d6d4b3 rb_bug_context + 467 2 ruby 0x0000000107e64701 sigsegv + 81 3 libsystem_platform.dylib 0x00007fff6c871b5d _sigtramp + 29 4 CoreFoundation 0x00007fff4072a75f CFRelease + 15 5 GSS 0x00007fff42dc6e35 gss_release_cred + 26 6 GSS 0x00007fff42dc6ffb gss_delete_sec_context + 74 7 ffi_c.bundle 0x0000000108802d8d ffi_call_unix64 + 85 8 ffi_c.bundle 0x0000000108801f64 ffi_call_int + 1204 9 ffi_c.bundle 0x0000000108801aa6 ffi_call + 102 10 ffi_c.bundle 0x00000001087f6069 rbffi_CallFunction + 217 11 ffi_c.bundle 0x00000001087f9dd9 custom_trampoline + 25 12 ruby 0x0000000107ee8c87 vm_call_cfunc + 295 13 ruby 0x0000000107ed0dc3 vm_exec_core + 12419 14 ruby 0x0000000107ee3310 vm_exec + 144 15 ruby 0x0000000107edd2bd rb_check_funcall_default + 349 16 ruby 0x0000000107d93d1a run_finalizer + 234 17 ruby 0x0000000107d93bd8 finalize_list + 104 18 ruby 0x0000000107d86518 gc_finalize_deferred + 56 19 ruby 0x0000000107efa3c4 rb_postponed_job_flush + 228 20 ruby 0x0000000107e9fe81 rb_threadptr_execute_interrupts + 113 21 ruby 0x0000000107ed1bfb vm_exec_core + 16059 22 ruby 0x0000000107ee3310 vm_exec + 144 23 ruby 0x0000000107edb495 rb_funcallv + 245 24 ruby 0x0000000107ddfa39 rb_class_s_new + 41 25 ruby 0x0000000107ee8c87 vm_call_cfunc + 295 26 ruby 0x0000000107ed0dc3 vm_exec_core + 12419 27 ruby 0x0000000107ee3310 vm_exec + 144 28 ruby 0x0000000107ef13ba invoke_block_from_c_bh + 378 29 ruby 0x0000000107ede48e rb_yield + 158 30 ruby 0x0000000107cfba39 rb_ary_each + 57 31 ruby 0x0000000107ee8c87 vm_call_cfunc + 295 32 ruby 0x0000000107ed0382 vm_exec_core + 9794 33 ruby 0x0000000107ee3310 vm_exec + 144 34 ruby 0x0000000107ef21bd eval_string_with_cref + 1437 35 ruby 0x0000000107eded2a rb_f_eval + 234 36 ruby 0x0000000107ee8c87 vm_call_cfunc + 295 37 ruby 0x0000000107ed0dc3 vm_exec_core + 12419 38 ruby 0x0000000107ee3310 vm_exec + 144 39 ruby 0x0000000107ef13ba invoke_block_from_c_bh + 378 40 ruby 0x0000000107ede48e rb_yield + 158 41 ruby 0x0000000107d78035 rb_ensure + 197 42 ruby 0x0000000107ee8c87 vm_call_cfunc + 295 43 ruby 0x0000000107ed0382 vm_exec_core + 9794 44 ruby 0x0000000107ee3310 vm_exec + 144 45 ruby 0x0000000107ee1daa vm_invoke_proc + 362 46 ruby 0x0000000107eea1bf vm_call_opt_call + 159 47 ruby 0x0000000107ed0dc3 vm_exec_core + 12419 48 ruby 0x0000000107ee3310 vm_exec + 144 49 ruby 0x0000000107ee1daa vm_invoke_proc + 362 50 ruby 0x0000000107e0def2 rb_proc_call + 82 51 ruby 0x0000000107d76aa7 rb_exec_end_proc + 439 52 ruby 0x0000000107d77055 ruby_finalize_0 + 133 53 ruby 0x0000000107d7719f ruby_cleanup + 303 54 ruby 0x0000000107d7746f ruby_run_node + 63 55 ruby 0x0000000107cf8d0f main + 79

-- Other runtime information -----------------------------------------------

[NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html

[IMPORTANT] Don't forget to include the Crash Report log file under DiagnosticReports directory in bug reports.

zenchild commented 3 years ago

I know this is a bit old but if you are still interested could you test with version 1.3.1?

Zogoo commented 3 years ago

@zenchild okay, i will let know my result.