Comments (4)
I had the same problem. How did you solve it?
from nginx-upload-module.
I had the same problem. How did you solve it?
I dont remember, sorry
from nginx-upload-module.
@pigfu this ticket was opened against a very old version of nginx-upload-module. If you're experiencing a similar issue with the latest version, could you provide an example of your config and a capture of the requests, so I can try to reproduce (and thus fix) the issue?
from nginx-upload-module.
I encountered this problem in v1.8 and v1.2,It's is caused by [upload_pass /nginxupload.php?$args],if my configuration is [upload_pass /nginxupload.php],The nginx works well.
config:
location /upload {
# Pass altered request body to this location
upload_pass /nginxupload.php?$args;
# Store files to this directory
# The directory is hashed, subdirectories 0 1 2 3 4 5 6 7 8 9 should exist
upload_store /tmp ;
# Allow uploaded files to be read only by user
upload_store_access all:rw;
# Set specified fields in request body
upload_set_form_field $upload_field_name.name "$upload_file_name";
upload_set_form_field $upload_field_name.content_type "$upload_content_type";
upload_set_form_field $upload_field_name.path "$upload_tmp_path";
# Inform backend about hash and size of a file
upload_aggregate_form_field "$upload_field_name.md5" "$upload_file_md5";
upload_aggregate_form_field "$upload_field_name.size" "$upload_file_size";
upload_pass_form_field "^submit$|^description$";
upload_pass_args on;
upload_cleanup 400 404 499 500-505;
track_uploads proxied 30s;
}
coredump:
Core was generated by `nginx: worker process '.
Program terminated with signal 11, Segmentation fault.
#0 0x00000000004ecadb in ngx_http_upload_eval_state_path (r=0x1c6f150) at ../nginx_modules/nginx-upload-module-2.255/ngx_http_upload_module.c:959
warning: Source file is more recent than executable.
959 if(ulcf->state_store_path == NULL){
(gdb) bt
#0 0x00000000004ecadb in ngx_http_upload_eval_state_path (r=0x1c6f150) at ../nginx_modules/nginx-upload-module-2.255/ngx_http_upload_module.c:959
#1 ngx_http_upload_handler (r=0x1c6f150) at ../nginx_modules/nginx-upload-module-2.255/ngx_http_upload_module.c:857
#2 0x0000000000489768 in ngx_http_core_content_phase (r=0x1c6f150, ph=0x1ce1a48) at src/http/ngx_http_core_module.c:1386
#3 0x0000000000483e13 in ngx_http_core_run_phases (r=0x1c6f150) at src/http/ngx_http_core_module.c:860
#4 0x0000000000483f26 in ngx_http_handler (r=) at src/http/ngx_http_core_module.c:843
#5 0x000000000048f60a in ngx_http_process_request (r=0x1c6f150) at src/http/ngx_http_request.c:1921
#6 0x000000000048fc48 in ngx_http_process_request_headers (rev=) at src/http/ngx_http_request.c:1348
#7 0x00000000004901b8 in ngx_http_process_request_line (rev=0x7fa9d2a04490) at src/http/ngx_http_request.c:1028
#8 0x00000000004907b8 in ngx_http_wait_request_handler (rev=0x7fa9d2a04490) at src/http/ngx_http_request.c:503
#9 0x0000000000478e3f in ngx_epoll_process_events (cycle=0x1b676e0, timer=, flags=) at src/event/modules/ngx_epoll_module.c:902
#10 0x000000000046f4ab in ngx_process_events_and_timers (cycle=0x1b676e0) at src/event/ngx_event.c:242
#11 0x0000000000476e22 in ngx_worker_process_cycle (cycle=0x1b676e0, data=) at src/os/unix/ngx_process_cycle.c:749
#12 0x0000000000475571 in ngx_spawn_process (cycle=0x1b676e0, proc=0x476d8f <ngx_worker_process_cycle>, data=0x1, name=0x68ee22 "worker process", respawn=-3)
at src/os/unix/ngx_process.c:198
#13 0x00000000004762aa in ngx_start_worker_processes (cycle=0x1b676e0, n=2, type=-3) at src/os/unix/ngx_process_cycle.c:358
#14 0x00000000004774b6 in ngx_master_process_cycle (cycle=0x1b676e0) at src/os/unix/ngx_process_cycle.c:130
#15 0x0000000000450e41 in main (argc=, argv=) at src/core/nginx.c:375
from nginx-upload-module.
Related Issues (20)
- build error with boringssl
- File name of 25 characters or more, corrupt the upload_field_name.path in the http header HOT 4
- POST form data are lost when using chunk mode of blueimp-jQuery-File-Upload HOT 1
- Compile errors on windows HOT 4
- Upload failing with http2 HOT 3
- Problem with compiling 2.2 with nginx 1.19 HOT 3
- nginx崩溃 HOT 3
- Upload to fastcgi backend HOT 2
- web client cross domain, not work HOT 1
- chunked upload file hashes dropped
- behind upload_pass only can use php? HOT 5
- why `upload_pass_form_field` does not work HOT 3
- Hi, when will you release a new tag ? HOT 2
- Does this support http3? HOT 1
- Uploaded files do not appear in the directory HOT 1
- unable to build with nginx HOT 2
- Nginx error - Page is temporarily unavailable.
- upload_file_name
- upload_pass_form_field does not work HOT 1
- I don't want to use the proxy feature. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nginx-upload-module.