Zainstalowałem postgresql najpierw 9.1 wystąpił ten sam błąd co poniżej, przeinstalowałem go na 8.4 błąd się nie zmienił. Na laptopie instalowałem postgresa na tych samych railsach 3.0.3 i zainstalowało się i chodzi bez problemu (tam wprawdzie mam Core 2 Duo a na stacjonarnym Phenona i różnica jest w wersjach systemu błąd wystąpił na Ubuntu 11.10) a teraz nie chce chodzić na stacjonarnym. Jakiś pomysł jakby to można naprawić? Wiem, że RoR 3.0.3 są stare ale projekt mam w starych railsach i muszę w nim coś poprawić, a uruchomić się nie chce.
[code]/home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/postgresql_adapter.rb:928: [BUG] Segmentation fault
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]
– control frame ----------
c:0046 p:---- s:0230 b:0230 l:000229 d:000229 CFUNC :initialize
c:0045 p:---- s:0228 b:0228 l:000227 d:000227 CFUNC :new
c:0044 p:0020 s:0218 b:0218 l:000217 d:000217 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/postgresql_adapter
c:0043 p:0054 s:0215 b:0215 l:000214 d:000214 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/postgresql_adapter
c:0042 p:---- s:0208 b:0208 l:000207 d:000207 FINISH
c:0041 p:---- s:0206 b:0206 l:000205 d:000205 CFUNC :new
c:0040 p:0186 s:0199 b:0199 l:000198 d:000198 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/postgresql_adapter
c:0039 p:0045 s:0190 b:0190 l:000189 d:000189 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connectio
c:0038 p:0011 s:0187 b:0187 l:000186 d:000186 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connectio
c:0037 p:0048 s:0183 b:0183 l:000169 d:000182 BLOCK /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connectio
c:0036 p:---- s:0180 b:0180 l:000179 d:000179 FINISH
c:0035 p:---- s:0178 b:0178 l:000177 d:000177 CFUNC :loop
c:0034 p:0009 s:0175 b:0175 l:000169 d:000174 BLOCK /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connectio
c:0033 p:0019 s:0173 b:0173 l:000172 d:000172 METHOD /home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/monitor.rb:201
c:0032 p:0013 s:0170 b:0170 l:000169 d:000169 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connectio
c:0031 p:0030 s:0167 b:0164 l:000163 d:000163 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connectio
c:0030 p:0033 s:0161 b:0161 l:000160 d:000160 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connectio
c:0029 p:0018 s:0156 b:0156 l:000155 d:000155 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connectio
c:0028 p:0011 s:0153 b:0153 l:000152 d:000152 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connectio
c:0027 p:0043 s:0150 b:0150 l:000149 d:000149 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/query_cache.rb:12
c:0026 p:0019 s:0146 b:0146 l:0013d0 d:0013d0 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/query_cache.rb:31
c:0025 p:0015 s:0142 b:0142 l:000141 d:000141 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connectio
c:0024 p:0029 s:0138 b:0138 l:0003c0 d:000137 BLOCK /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/actionpack-3.0.3/lib/action_dispatch/middleware/callbacks.rb:46
c:0023 p:0155 s:0136 b:0136 l:000135 d:000135 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:415
c:0022 p:0011 s:0126 b:0126 l:0003c0 d:0003c0 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/actionpack-3.0.3/lib/action_dispatch/middleware/callbacks.rb:44
c:0021 p:0015 s:0122 b:0122 l:000121 d:000121 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/rack-1.2.5/lib/rack/sendfile.rb:106
c:0020 p:0049 s:0112 b:0112 l:000111 d:000111 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/actionpack-3.0.3/lib/action_dispatch/middleware/remote_ip.rb:48
c:0019 p:0015 s:0108 b:0108 l:000107 d:000107 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/actionpack-3.0.3/lib/action_dispatch/middleware/show_exceptions.rb:46
c:0018 p:0027 s:0100 b:0100 l:000099 d:000099 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/railties-3.0.3/lib/rails/rack/logger.rb:13
c:0017 p:0032 s:0096 b:0096 l:000095 d:000095 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/rack-1.2.5/lib/rack/runtime.rb:17
c:0016 p:0052 s:0087 b:0087 l:000086 d:000086 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activesupport-3.0.3/lib/active_support/cache/strategy/local_cache.rb:72
c:0015 p:0014 s:0083 b:0083 l:000077 d:000082 BLOCK /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/rack-1.2.5/lib/rack/lock.rb:13
c:0014 p:0019 s:0081 b:0081 l:000080 d:000080 METHOD internal:prelude:10
c:0013 p:0054 s:0078 b:0078 l:000077 d:000077 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/rack-1.2.5/lib/rack/lock.rb:13
c:0012 p:0193 s:0073 b:0073 l:000072 d:000072 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/actionpack-3.0.3/lib/action_dispatch/middleware/static.rb:30
c:0011 p:0032 s:0066 b:0066 l:000065 d:000065 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/railties-3.0.3/lib/rails/application.rb:168
c:0010 p:0021 s:0062 b:0062 l:000061 d:000061 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/railties-3.0.3/lib/rails/application.rb:77
c:0009 p:---- s:0057 b:0057 l:000056 d:000056 FINISH
c:0008 p:0015 s:0055 b:0055 l:000054 d:000054 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/railties-3.0.3/lib/rails/rack/log_tailer.rb:14
c:0007 p:0015 s:0050 b:0050 l:000049 d:000049 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/rack-1.2.5/lib/rack/content_length.rb:13
c:0006 p:0338 s:0042 b:0042 l:000041 d:000041 METHOD /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/rack-1.2.5/lib/rack/handler/webrick.rb:52
c:0005 p:0257 s:0030 b:0030 l:000029 d:000029 METHOD /home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111
c:0004 p:0393 s:0020 b:0020 l:000019 d:000019 METHOD /home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70
c:0003 p:0126 s:0009 b:0009 l:001868 d:000008 BLOCK /home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:---- s:0002 b:0002 l:000001 d:000001 TOP
– Ruby level backtrace information ----------------------------------------
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in block in start_thread' /home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in
run’
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in service' /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/rack-1.2.5/lib/rack/handler/webrick.rb:52:in
service’
/home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/rack-1.2.5/lib/rack/content_length.rb:13:in call' /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/railties-3.0.3/lib/rails/rack/log_tailer.rb:14:in
call’
/home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/railties-3.0.3/lib/rails/application.rb:77:in method_missing' /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/railties-3.0.3/lib/rails/application.rb:168:in
call’
/home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/actionpack-3.0.3/lib/action_dispatch/middleware/static.rb:30:in call' /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/rack-1.2.5/lib/rack/lock.rb:13:in
call’
internal:prelude:10:in synchronize' /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/rack-1.2.5/lib/rack/lock.rb:13:in
block in call’
/home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activesupport-3.0.3/lib/active_support/cache/strategy/local_cache.rb:72:in call' /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/rack-1.2.5/lib/rack/runtime.rb:17:in
call’
/home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/railties-3.0.3/lib/rails/rack/logger.rb:13:in call' /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/actionpack-3.0.3/lib/action_dispatch/middleware/show_exceptions.rb:46:in
call’
/home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/actionpack-3.0.3/lib/action_dispatch/middleware/remote_ip.rb:48:in call' /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/rack-1.2.5/lib/rack/sendfile.rb:106:in
call’
/home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/actionpack-3.0.3/lib/action_dispatch/middleware/callbacks.rb:44:in call' /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:415:in
_run_call_callbacks’
/home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/actionpack-3.0.3/lib/action_dispatch/middleware/callbacks.rb:46:in block in call' /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:353:in
call’
/home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/query_cache.rb:31:in call' /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/query_cache.rb:12:in
cache’
/home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_specification.rb:89:in connection' /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_specification.rb:97:in
retrieve_connection’
/home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:316:in retrieve_connection' /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:93:in
connection’
/home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:185:in checkout' /home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/monitor.rb:201:in
mon_synchronize’
/home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:186:in block in checkout' /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:186:in
loop’
/home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:190:in block (2 levels) in checkout' /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:236:in
checkout_new_connection’
/home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:228:in new_connection' /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/postgresql_adapter.rb:25:in
postgresql_connection’
/home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/postgresql_adapter.rb:25:in new' /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/postgresql_adapter.rb:228:in
initialize’
/home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/postgresql_adapter.rb:928:in connect' /home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/postgresql_adapter.rb:928:in
new’
/home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/activerecord-3.0.3/lib/active_record/connection_adapters/postgresql_adapter.rb:928:in `initialize’
– C level backtrace information -------------------------------------------
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(rb_vm_bugreport+0x61) [0x7fdd12e66641]
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x5f77e) [0x7fdd12d5077e]
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(rb_bug+0xa5) [0x7fdd12d515a5]
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x10be04) [0x7fdd12dfce04]
/lib/x86_64-linux-gnu/libc.so.6(+0x36420) [0x7fdd12988420]
/home/wafcio/.rvm/usr/lib/libcrypto.so.0.9.8(EVP_MD_CTX_md+0) [0x7fdd0fc7f820]
/lib/x86_64-linux-gnu/libssl.so.1.0.0(+0x24b3c) [0x7fdd0eb05b3c]
/lib/x86_64-linux-gnu/libssl.so.1.0.0(+0x1d23d) [0x7fdd0eafe23d]
/lib/x86_64-linux-gnu/libssl.so.1.0.0(+0x1d494) [0x7fdd0eafe494]
/lib/x86_64-linux-gnu/libssl.so.1.0.0(+0x1ebec) [0x7fdd0eaffbec]
/lib/x86_64-linux-gnu/libssl.so.1.0.0(+0x190f4) [0x7fdd0eafa0f4]
/usr/lib/libpq.so.5(+0x1bc10) [0x7fdd0ed4dc10]
/usr/lib/libpq.so.5(PQconnectPoll+0x4de) [0x7fdd0ed3e8ee]
/usr/lib/libpq.so.5(+0xda4e) [0x7fdd0ed3fa4e]
/usr/lib/libpq.so.5(PQconnectdb+0x1f) [0x7fdd0ed4042f]
/home/wafcio/.rvm/gems/ruby-1.9.2-p290@test/gems/pg-0.12.2/lib/pg_ext.so(+0x4c7b) [0x7fdd0ef61c7b]
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x16c156) [0x7fdd12e5d156]
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(rb_class_new_instance+0x30) [0x7fdd12d9d860]
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x16ec36) [0x7fdd12e5fc36]
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x164f68) [0x7fdd12e55f68]
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x16ae4d) [0x7fdd12e5be4d]
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x16c2b3) [0x7fdd12e5d2b3]
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(rb_class_new_instance+0x30) [0x7fdd12d9d860]
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x16ec36) [0x7fdd12e5fc36]
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x164f68) [0x7fdd12e55f68]
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x16ae4d) [0x7fdd12e5be4d]
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x16f54f) [0x7fdd12e6054f]
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(rb_rescue2+0x16b) [0x7fdd12d57b0b]
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x161a4e) [0x7fdd12e52a4e]
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x16ec36) [0x7fdd12e5fc36]
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x164f68) [0x7fdd12e55f68]
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x16ae4d) [0x7fdd12e5be4d]
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x16c2b3) [0x7fdd12e5d2b3]
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x16c965) [0x7fdd12e5d965]
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x16eded) [0x7fdd12e5fded]
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x164f68) [0x7fdd12e55f68]
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x16ae4d) [0x7fdd12e5be4d]
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(rb_vm_invoke_proc+0xe1) [0x7fdd12e5ce11]
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x17a017) [0x7fdd12e6b017]
/home/wafcio/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.so.1.9(+0x17a10b) [0x7fdd12e6b10b]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7efc) [0x7fdd1273cefc]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7fdd12a3389d]
[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[/code]