Project

General

Profile

Actions

Bug #12146

closed

Some between gem pg, postgresql and rails seems broken: active_record/connection_adapters/postgresql/database_statements.rb:155: [BUG] Segmentation fault at 0x00000000000000

Added by dieglock (Diego Carlock) about 9 years ago. Updated about 9 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
[ruby-core:74171]

Description

Hello, I think I found a bug.

FRAME

*Working with ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux], Centos 6, vps at Bluehost, EasyApache, whm, rails 4.2.4, rake 10.5.0, therubyracer-0.12.2.

I know for sure, thanks to cPanel and whm that user and database are created. I even have another rails app in same server, with identical database.yml that works sometimes and other fails. If I reinstall the pg gem directly at gem (not via bundler) works again when failing. The trick however does not work with the second app, the one that triggers the bug.

Thanks.

BUG REPORT

When running bundle exec rake assets:precompile db:migrate RAILS_ENV=production

This is what comes after assets are compiled:

**/home/dominim6/.rvm/gems/ruby-2.2.2@424_blogger/gems/activerecord-4.2.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:155: [BUG] Segmentation fault at 0x00000000000000
ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]**
(snip)
Aborted (core dumped)

Files

bug-12146.log (250 KB) bug-12146.log nobu (Nobuyoshi Nakada), 03/06/2016 01:46 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0