Skip to content

Crash in ngx_http_lua_io_read_all #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
splitice opened this issue May 30, 2023 · 2 comments · May be fixed by #8
Open

Crash in ngx_http_lua_io_read_all #7

splitice opened this issue May 30, 2023 · 2 comments · May be fixed by #8

Comments

@splitice
Copy link

#0  0x00005603b2e4b020 in ngx_http_lua_io_read_all ()
#1  0x00005603b2e4a3e7 in ngx_http_lua_io_file_do_read ()
#2  0x00005603b2e49fce in ngx_http_lua_io_prepare_retvals ()
#3  0x00005603b2e49672 in ngx_http_lua_io_resume ()
#4  0x00005603b2e49514 in ngx_http_lua_io_content_wev_handler ()
#5  0x00005603b2e495db in ngx_http_lua_io_thread_event_handler ()
#6  0x00005603b2c91d14 in ngx_thread_pool_handler ()
#7  0x00005603b2c8ff0b in ngx_epoll_notify_handler ()
#8  0x00005603b2c90a63 in ngx_epoll_process_events ()
#9  0x00005603b2c7f9c8 in ngx_process_events_and_timers ()
#10 0x00005603b2c8e362 in ngx_worker_process_cycle ()
#11 0x00005603b2c8ac63 in ngx_spawn_process ()
#12 0x00005603b2c8ddf1 in ngx_reap_children ()
#13 0x00005603b2c8cb39 in ngx_master_process_cycle ()
#14 0x00005603b2c4a7a5 in main ()
@splitice
Copy link
Author

It looks like its related to #2

@splitice
Copy link
Author

Basically when the lua context shuts down due to a timeout etc the file-io op is still executing and using lua memory.

@splitice splitice linked a pull request May 30, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant