Actions
Bug #11006
closedSegmentation fault on Ruby 2.2.1
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
2.2.1
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
Updated by nobu (Nobuyoshi Nakada) about 9 years ago
- File bug-11006.log bug-11006.log added
- Description updated (diff)
- Priority changed from 6 to Normal
Updated by jeremyevans0 (Jeremy Evans) over 4 years ago
- Status changed from Open to Closed
Actions
Like0
Like0Like0