Project

General

Profile

Actions

Defect #3145

closed

Upload of bigger files fails iff version is defined

Added by Carsten Schurig over 15 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
2009-04-09
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Upload of a bigger file (12 MB) fails, iff a version is defined in the project

  • smaller files seem to work always
  • bigger files work only, iff no version is defined in the project
  • if a version is defined, a segfault in app/models/attachment.rb happens, no matter if it is assigned to a version or not
  • after deleting all the versions of the project, the upload of a big file is again possible without any problems

error.log of apache when the upload fails:

/redmine/app/models/attachment.rb:92: [BUG] Segmentation fault
ruby 1.8.6 (2008-08-08) [i686-linux]

[Thu Apr 09 12:48:58 2009] [error] [client 10.200.0.112] Premature end of script headers: new, referer: https://host/projects/test/files/new
[ pid=12346 file=Hooks.cpp:510 time=2009-04-09 12:48:58.111 ]:
  Backend process 12785 did not return a valid HTTP response. It returned no data.

System configuration:
  • Apache 2.2.9 on Ubuntu
  • ruby 1.8.6 (2008-08-08 patchlevel 286) [i686-linux] (Ruby Enterprise Edition 1.8.6-20090201)
  • Phusion Passenger (mod_rails) 2.1.3

Related issues

Related to Redmine - Defect #3116: Uploading medium size file failsClosed2009-04-03

Actions
Actions

Also available in: Atom PDF