> On 23 Dec 2013, at 06:59, Roberto De Ioris <[email protected]> wrote:
>
>> you may want to try the addr2line command on the "(http_parse+0x37b)
>> [0x48398b]" block.
>
> I tried, but couldn’t get it to work:
>
> andre.cruz@disco-block01:~$ addr2line -e
> /servers/python-environments/discosite/bin/uwsgi 0x48398b
> ??:0
> andre.cruz@disco-block01:~$ addr2line -e
> /servers/python-environments/discosite/bin/uwsgi 0x37b
> ??:0
> andre.cruz@disco-block01:~$ addr2line -e
> /servers/python-environments/discosite/bin/uwsgi -j http_parse 0x37b
> addr2line: /servers/python-environments/discosite/bin/uwsgi: cannot find
> section http_parse
> andre.cruz@disco-block01:~$
>
> Is this not the right way?
>
>>
>> Eventually send me the binary you use so i can debug it by myself
>
> I am using keepalive, yes. Here is the binary:
> https://meocloud.pt/link/9260c696-3a34-40a8-a39a-15b02ce33d75/uwsgi/
>
> If you need more information just tell me where to look.
>
> Best regards,
> André_______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>

Unfortunately i needed to disassemble your binary http_parse() function.

It looks like the crash happens on

main_peer->session->peers->out = main_peer->in;

the only reason i can think of is some error coming before the backend
instance send a single byte, while the router is still in keepalive mode
(but no more backends are connected)

I have made this one line patch (applies on 1.9.15 too)

https://github.com/unbit/uwsgi/commit/6d91b7317d3d2a99dad71c19779dd4012b38659f

let me know if it solves the issue

Thanks a lot

-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to