[OSM-dev] rails_port seg. fault

Matt Amos zerebubuth at gmail.com
Tue May 17 00:23:59 BST 2011


On Mon, May 16, 2011 at 9:49 PM, Jaroslaw Wozny
<jaroslaw_wozny at poczta.onet.pl> wrote:
>
>> libxml-ruby (1.1.4) should be 1.1.3
>
> Hi,
>
> Reinstalled and I have got similar problem.
>
> Error:
> 2011-05-16 22:39:13.659425 #13825]
> ERROROAuth::Signature::UnknownSignatureMethod
> [2011-05-16 22:39:13.661038 #13825] Filter chain halted as [:authorize]
> rendered_or_redirected.
> [2011-05-16 22:39:13.661322 #13825] Completed in 39ms (View: 1, DB: 1) | 401
> Unauthorized [http://127.0.0.1/api/0.6/changeset/1/upload]
> /home/jarekw/rubygems-1.3.7/rails/app/models/node.rb:82: [BUG] Segmentation
> fault
> ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]
>
> My list of gems:
> *** LOCAL GEMS ***
>
> actionmailer (2.3.8)
> actionpack (2.3.8)
> activerecord (2.3.8)
> activeresource (2.3.8)
> activesupport (2.3.8)
> httpclient (2.2.0.2)
> i18n (0.5.0)
> libxml-ruby (1.1.3)
> nokogiri (1.4.4)
> oauth (0.4.4)
> oauth-plugin (0.3.14)
> pg (0.11.0)
> rack (1.1.2)
> rails (2.3.8)
> rake (0.8.7)
> rmagick (2.13.1)
> sanitize (2.0.1)
> SystemTimer (1.2.3)
> timecop (0.3.5)

interesting. i've just done a test with the latest git code (e120e59)
and got no errors. unfortunately, my setup is different from yours:

$ ruby -v
ruby 1.8.7 (2011-02-18 patchlevel 334) [x86_64-linux]

$ gem list

*** LOCAL GEMS ***

actionmailer (2.3.8)
actionpack (2.3.8)
activerecord (2.3.8)
activeresource (2.3.8)
activesupport (2.3.8)
gash (0.1.3)
gemcutter (0.7.0)
grancher (0.1.5)
haml (2.2.24)
hanna (0.1.12)
httpclient (2.2.0.2)
i18n (0.5.0)
json (1.5.1)
libxml-ruby (2.0.3, 1.1.3)
nokogiri (1.4.4)
oauth (0.4.4)
oauth-plugin (0.3.14)
open4 (0.9.6)
pg (0.11.0)
rack (1.1.2)
rails (2.3.8)
rake (0.8.7)
rake-compiler (0.7.8)
rake-rubygems (0.2.0)
rake-tasks (0.2)
rdoc (2.3.0)
rmagick (2.13.1)
sanitize (2.0.1)
SystemTimer (1.2.3)
test-unit (2.3.0)
test-unit-ext (0.5.0)
timecop (0.3.5)
wirble (0.1.3)

and i'm (still) running ubuntu 10.10.

> Note:
> I executed tests and it shows 3 problems:
> 1) Failure:
> test_changes_simple(ApiControllerTest)
> [/test/functional/api_controller_test.rb:207]:
> Expected response to be a <:success>, but was <500>
> <"">
>
>  2) Failure:
> test_changes_zoom_valid(ApiControllerTest)
>   [/test/functional/api_controller_test.rb:231:in `test_changes_zoom_valid'
>    /test/functional/api_controller_test.rb:229:in `upto'
>    /test/functional/api_controller_test.rb:229:in
> `test_changes_zoom_valid']:
> Expected response to be a <:success>, but was <500>
> <"">
>
>  3) Failure:
> test_hours_valid(ApiControllerTest)
>   [/test/functional/api_controller_test.rb:260:in `test_hours_valid'
>    /test/functional/api_controller_test.rb:258:in `upto'
>    /test/functional/api_controller_test.rb:258:in `test_hours_valid']:
> Expected response to be a <:success>, but was <500>
> <"">
>
> 187 tests, 2413 assertions, 3 failures, 0 errors

what's your log/test.log? are you using the postgres extensions in
db/functions/?

cheers,

matt



More information about the dev mailing list