Request hangs/segfaults with SPDY patch and ngx.location.capture #173

Closed
Doridian opened this Issue Nov 6, 2012 · 6 comments

Comments

Projects
None yet
2 participants

Doridian commented Nov 6, 2012

As said above.
Whenever I have SPDY enabled for a request and that request calls ngx.location.capture (to another internal location) the whole request just hangs there and never returns.
My location that I pass to is a proxy_pass if that matters.

Owner

agentzh commented Nov 6, 2012

Hello!

On Tue, Nov 6, 2012 at 9:53 AM, Mark Dietzer wrote:

As said above.
Whenever I have SPDY enabled for a request and that request calls ngx.location.caputre (to another internal location) the whole request just hangs there and never returns.
My location that I pass to is a proxy_pass if that matters.

Could you please provide the corresponding Nginx debugging logs? See
here for how to enable it:

http://wiki.nginx.org/Debugging#Debugging_log

Best regards,
-agentzh

Okay, with debug log enabled the hang turns into a SEGFAULT.
Debugging log of the request: http://pastebin.com/nC135474

Whoops, forgot the vHost has its own log: Here it is: http://pastebin.com/8uTZjgSt

Also, the location that is causing the error (minus sensitive data): http://pastebin.com/jgfmADNZ

@ALL skids out there: Don't worry about the potentially sensitive credentials in there, they have all been invalidated before I even posted this :)

Owner

agentzh commented Nov 18, 2012

Could you post the backtrace for the segfault with tools like gdb?

Owner

agentzh commented Mar 1, 2014

@Doridian I just committed a patch in the hope to fix this in git master. Will you try it out again on your side? BTW, you are recommended to use a recent enough NGINX with builtin SPDY support rather than using the obsolete SPDY patch :) Sorry for the long delay on my side!

Owner

agentzh commented Feb 16, 2016

SPDY is now dead. I'm closing this.

agentzh closed this Feb 16, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment