Project

General

Profile

Actions

Bug #6745

closed

Segmentation fault in postgresql_adapter.rb:607

Added by garysweaver (Gary Weaver) about 10 years ago. Updated about 10 years ago.

Status:
Third Party's Issue
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.4.0]
Backport:
[ruby-core:46524]

Description

I can reproduce the bug, but it only occurs in a script that I can't share. Fails each time in 1.9.3-p194. Attempted to get RVM's ruby-head running locally, but brew's openssl install is not brave enough to update OS X's and attempt to have it use the openssl that rvm can provide to build didn't work, so unfortunately not tested in latest Ruby. Sorry if this is a waste of time, but thought I'd pass it on. Included both dumps/logs from both crashes. Hope it helps.


Files

postgres_error.txt (121 KB) postgres_error.txt garysweaver (Gary Weaver), 07/17/2012 07:16 AM
postgres_error_2.txt (121 KB) postgres_error_2.txt garysweaver (Gary Weaver), 07/17/2012 07:16 AM
ruby_2012-07-16-165504_computername.crash (26.3 KB) ruby_2012-07-16-165504_computername.crash garysweaver (Gary Weaver), 07/17/2012 07:16 AM
ruby_2012-07-16-170100_computername.crash (26.2 KB) ruby_2012-07-16-170100_computername.crash garysweaver (Gary Weaver), 07/17/2012 07:16 AM

Updated by oscardelben (Oscar Del Ben) about 10 years ago

You can install Ruby yourself:

cd ruby
autoconf
configure --prefix=/tmp
make & make install

Updated by naruse (Yui NARUSE) about 10 years ago

  • Status changed from Open to Third Party's Issue

It crashes on pgresult_values(), so it seems pg_ext's bug.

6 pg_ext.bundle 0x0000000109dd6578 pgresult_values + 200 (pg_result.c:735)

Could you report this to pg_ext?

Actions

Also available in: Atom PDF