[#68137] improve semantics of manpages — "Anthony J. Bentley" <anthony@...>
Hi,
1 message
2015/02/17
[#68144] Re: Future of test suites for Ruby — Anthony Crumley <anthony.crumley@...>
FYI...
4 messages
2015/02/17
[#68343] [Ruby trunk - Bug #10916] [Open] What the Ruby? SegFault? — ruby@...
Issue #10916 has been reported by why do i need this acct just to create a bug report.
5 messages
2015/02/27
[#68373] Re: [Ruby trunk - Bug #10916] [Open] What the Ruby? SegFault?
— "Martin J. Dürst" <duerst@...>
2015/03/02
> * Author: why do i need this acct just to create a bug report
[#68358] [Ruby trunk - Bug #10902] require("enumerator") scans LOAD_PATH 2x on every invocation — [email protected]
Issue #10902 has been updated by Aman Gupta.
3 messages
2015/02/28
[ruby-core:68273] [Backport200 - Backport #10897] [Third Party's Issue] Segmentation fault with ruby-ldap under rails 4.2.0 during bind
From:
nobu@...
Date:
2015-02-24 02:55:14 UTC
List:
ruby-core #68273
Issue #10897 has been updated by Nobuyoshi Nakada.
Description updated
Status changed from Open to Third Party's Issue
Priority changed from High to Normal
Occurs inside ldap gem and system libraries called by it, please report there.
And you should show the crash report file too.
----------------------------------------
Backport #10897: Segmentation fault with ruby-ldap under rails 4.2.0 during bind
https://bugs.ruby-lang.org/issues/10897#change-51628
* Author: Carlton O'Riley
* Status: Third Party's Issue
* Priority: Normal
* Assignee:
----------------------------------------
Running the same code from the command line using a script and the same bundler gems works correctly. However, when running inside or rails, or the rails console, when the bind is called a segmentation fault occurs. The basic code is as follows (this is the working command line script, however it is equivalent to the rails one):
~~~ruby
#!/usr/bin/env ruby
require 'rubygems'
require 'bundler/setup'
require 'ldap'
username = 'username'
connect = LDAP::SSLConn.new( 'ldapserver', 636 )
connect.set_option( LDAP::LDAP_OPT_PROTOCOL_VERSION, 3 )
connect.bind('cn=Login,ou=Service Accounts,dc=example,dc=com','Password') do |conn|
connect.perror("bind")
scope = LDAP::LDAP_SCOPE_SUBTREE
base = "dc=example,dc=com"
filter = "(uid=#{username})"
result = nil
conn.search(base, scope, filter, "dn") do |entry|
result = entry.dn
end
puts result.inspect
end
~~~
---Files--------------------------------
stacktrace.txt (200 KB)
--
https://bugs.ruby-lang.org/