Skip to content
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

lib/mongrel.rb:122: Segmentation fault #13

Open
ReinoutStevens opened this issue Dec 11, 2010 · 0 comments
Open

lib/mongrel.rb:122: Segmentation fault #13

ReinoutStevens opened this issue Dec 11, 2010 · 0 comments

Comments

@ReinoutStevens
Copy link

We use mongrel to host a small network-based mediaplayer. Basicly http-requests with the media as body, that gets played with mplayer.
Lately we've been having some random crashes, which really shouldn't happen as every request is wrapped in a begin-rescue clause. After starting our media-player in a screen instead of a daemon we noticed the cause was mongrel seg-faulting. Now I can't reproduce it, but it happens from time to time (every couple of days).

Fri Dec 10 00:59:23 +0100 2010: Error reading HTTP body: #<RuntimeError: Socket read returned insufficient data: 4226>
/opt/ruby1.8/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/http_request.rb:107:in read_socket' /opt/ruby1.8/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/http_request.rb:86:inread_body'
/opt/ruby1.8/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/http_request.rb:55:in initialize' /opt/ruby1.8/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:149:innew'
/opt/ruby1.8/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:149:in process_client' /opt/ruby1.8/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:inrun'
/opt/ruby1.8/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in initialize' /opt/ruby1.8/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:innew'
/opt/ruby1.8/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in run' /opt/ruby1.8/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:ininitialize'
/opt/ruby1.8/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in new' /opt/ruby1.8/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:inrun'
/usr/local/mpgx/src/mpgX/mpgX.rb:21:in run' /usr/local/mpgx/src/mpgx.rb:27:inrun'
/usr/local/mpgx/src/mpgx.rb:56
/opt/ruby1.8/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:122: [BUG] Segmentation fault
ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]

Aborted

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

No branches or pull requests

1 participant