Aborted (core dumped)

Hey,

When I’m trying to upload images I get this following error and my ruby
server shuts down:

Processing UploadController#new (for 127.0.0.1 at 2007-10-23 14:50:47)
[GET]
Session ID: 3c39b2b1da22bc63513f83f8ced2e93a
Parameters: {“action”=>“new”, “controller”=>“upload”}
User Columns (0.002187) SHOW FIELDS FROM users
User Load (0.000983) SELECT * FROM users WHERE (users.id = 2)
LIMIT 1
Logo Columns (0.002538) SHOW FIELDS FROM logos
Rendering within layouts/upload
Rendering upload/new
Completed in 0.28104 (3 reqs/sec) | Rendering: 0.06342 (22%) | DB:
0.00571 (2%) | 200 OK [http://localhost/upload/new]

Processing ApplicationController#index (for 127.0.0.1 at 2007-10-23
14:50:48) [GET]
Session ID: 3c39b2b1da22bc63513f83f8ced2e93a
Parameters: {}

ActionController::RoutingError (no route found to match
“/images/logo.png” with {:method=>:get}):
.//vendor/rails/actionpack/lib/action_controller/routing.rb:1266:in
recognize_path' .//vendor/rails/actionpack/lib/action_controller/routing.rb:1256:in recognize’
.//vendor/rails/railties/lib/dispatcher.rb:40:in dispatch' /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:78:in process’
/var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:76:in
synchronize' /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:76:in process’
/var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:618:in
process_client' /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:617:in each’
/var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:617:in
process_client' /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in run’
/var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in
initialize' /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in new’
/var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in run' /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:720:in initialize’
/var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:720:in new' /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:720:in run’
/var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:271:in
run' /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:270:in each’
/var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:270:in
run' /var/lib/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:127:in run’
/var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/command.rb:211:in
run' /var/lib/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:243 .//vendor/rails/activesupport/lib/active_support/dependencies.rb:489:in load’
.//vendor/rails/activesupport/lib/active_support/dependencies.rb:489:in
load' .//vendor/rails/activesupport/lib/active_support/dependencies.rb:343:in new_constants_in’
.//vendor/rails/activesupport/lib/active_support/dependencies.rb:489:in
load' .//vendor/rails/railties/lib/commands/servers/mongrel.rb:60 /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in gem_original_require’
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in require' .//vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in require’
.//vendor/rails/activesupport/lib/active_support/dependencies.rb:343:in
new_constants_in' .//vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in require’
.//vendor/rails/railties/lib/commands/server.rb:39
script/server:5:in `require’
script/server:5

Rendering
./script/…/config/…/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.rhtml
(404 Page Not Found)
terminate called after throwing an instance of ‘int’
Aborted (core dumped)

Never had this problem before. Would appreciate any help?

Cheers

Looks like you’re trying to access the image in your view, and it cannot
be found. I’d suggest checking that first.
And secondly, it looks as if actionpack is mangled.
./script/…/config/…/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.rhtml
cannot be found. No reason for the server to choke though.
Can layout.rhtml be found in that location?

Thanks for that. Actually I managed to resolve the problem. It was
something to do with the image processor I was using. I just changed it
to another one (RMagick) and the uploading seems to work fine. Still I
find it strange, because the default image processor I was using before
never used to give me any problems. The only changes I made was that I
had to drop my database which meant I lost all my data, but don’t really
know how that could have had any affects.

Cheers