Project

General

Profile

Actions

Bug #11006

closed

Segmentation fault on Ruby 2.2.1

Added by THpubs (Pubudu Kodikara) about 9 years ago. Updated over 4 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:<unknown>]

Description

I built a photo hosting app where people can upload and sell photos. I just tried to test the site. Everything worked earlier but now when I try to upload a photo (I use carrierwave) the rails server stops (It crash and shuts down). The error is so long that I can't even see the start of it. The development log doesn't get this error. Here's the error I get :

SQL (0.3ms)  UPDATE "photos" SET "tempfile" = $1, "width" = $2, "height" = $3, "resolution" = $4, "filetype" = $5, "tempthumb" = $6, "user_id" = $7, "originalname" = $8, "id" = $9, "created_at" = $10, "updated_at" = $11 WHERE "photos"."id" = $12  [["tempfile", "istockseller-49055024-wallhaven-164660.jpg"], ["width", 4636], ["height", 3076], ["resolution", 72], ["filetype", "jpg"], ["tempthumb", "istockseller-thumb-59694024-wallhaven-164660.jpg"], ["user_id", 1], ["originalname", "wallhaven-164660.jpg"], ["id", 59694024], ["created_at", "2015-03-27 08:33:15.999380"], ["updated_at", "2015-03-27 08:33:15.999380"], ["id", 59694024]]
  SQL (0.3ms)  UPDATE "photos" SET "tempfile" = $1, "width" = $2, "height" = $3, "resolution" = $4, "filetype" = $5, "tempthumb" = $6, "user_id" = $7, "originalname" = $8, "id" = $9, "created_at" = $10, "updated_at" = $11 WHERE "photos"."id" = $12  [["tempfile", "istockseller-49055024-wallhaven-164660.jpg"], ["width", 4636], ["height", 3076], ["resolution", 72], ["filetype", "jpg"], ["tempthumb", "istockseller-thumb-59694024-wallhaven-164660.jpg"], ["user_id", 1], ["originalname", "wallhaven-164660.jpg"], ["id", 59694024], ["created_at", "2015-03-27 08:33:15.999380"], ["updated_at", "2015-03-27 08:33:15.999380"], ["id", 59694024]]
  SQL (0.3ms)  UPDATE "photos" SET "tempfile" = $1, "width" = $2, "height" = $3, "resolution" = $4, "filetype" = $5, "tempthumb" = $6, "user_id" = $7, "originalname" = $8, "id" = $9, "created_at" = $10, "updated_at" = $11 WHERE "photos"."id" = $12  [["tempfile", "istockseller-49055024-wallhaven-164660.jpg"], ["width", 4636], ["height", 3076], ["resolution", 72], ["filetype", "jpg"], ["tempthumb", "istockseller-thumb-59694024-wallhaven-164660.jpg"], ["user_id", 1], ["originalname", "wallhaven-164660.jpg"], ["id", 59694024], ["created_at", "2015-03-27 08:33:15.999380"], ["updated_at", "2015-03-27 08:33:15.999380"], ["id", 59694024]]
  SQL (0.3ms)  UPDATE "photos" SET "tempfile" = $1, "width" = $2, "height" = $3, "resolution" = $4, "filetype" = $5, "tempthumb" = $6, "user_id" = $7, "originalname" = $8, "id" = $9, "created_at" = $10, "updated_at" = $11 WHERE "photos"."id" = $12  [["tempfile", "istockseller-49055024-wallhaven-164660.jpg"], ["width", 4636], ["height", 3076], ["resolution", 72], ["filetype", "jpg"], ["tempthumb", "istockseller-thumb-59694024-wallhaven-164660.jpg"], ["user_id", 1], ["originalname", "wallhaven-164660.jpg"], ["id", 59694024], ["created_at", "2015-03-27 08:33:15.999380"], ["updated_at", "2015-03-27 08:33:15.999380"], ["id", 59694024]]
/home/pubudu/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.1/lib/active_record/connection_adapters/postgresql/utils.rb:67: [BUG] Segmentation fault at 0x007f2a1cf61008
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]
(snip)



Files

bug-11006.log (1.27 MB) bug-11006.log nobu (Nobuyoshi Nakada), 03/28/2015 12:34 AM
Actions #1

Updated by nobu (Nobuyoshi Nakada) about 9 years ago

Actions #2

Updated by jeremyevans0 (Jeremy Evans) over 4 years ago

  • Status changed from Open to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0