Package: ruby Version: 1:1.9.3 Severity: important Tags: upstream
-- System Information: Debian Release: 7.8 APT prefers oldstable APT policy: (500, 'oldstable'), (20, 'stable'), (10, 'oldstable'), (1, 'oldstable-updates'), (1, 'oldstable') Architecture: i386 (i686) Kernel: Linux 2.6.32-37-pve (SMP w/2 CPU cores) Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages ruby depends on: ii ruby1.9.1 1.9.3.194-8.1+deb7u2 ruby recommends no packages. Versions of packages ruby suggests: pn ri <none> ii ruby1.8-dev [ruby-dev] 1.8.7.358-7.1+deb7u1 -- no debconf information 1) I setup OpenStreetMap API-server: https://github.com/openstreetmap/openstreetmap-website 2) start with debug (It is crashed with, or without --debugger flag): bundle exec rails server --debugger &> /root/osm_rails_crash.log 2) Then I start OsmBot https://github.com/progserega/osmbot , which processing many data in automatic mode. 3) After some time (3-5 hours) - ruby crash (in attachment - full log): var/lib/gems/1.9.1/gems/rack-1.6.4/lib/rack/handler/webrick.rb:113: [BUG] Segmentation fault ruby 1.9.3p194 (2012-04-20 revision 35410) [i486-linux] -- Control frame information ----------------------------------------------- c:0016 p:0017 s:0088 b:0088 l:0007dc d:000087 BLOCK /var/lib/gems/1.9.1/gems/rack-1.6.4/lib/rack/handler/webrick.rb:113 c:0015 p:---- s:0085 b:0085 l:000084 d:000084 FINISH c:0014 p:---- s:0083 b:0083 l:000082 d:000082 CFUNC :each c:0013 p:0017 s:0080 b:0080 l:000079 d:000079 METHOD /var/lib/gems/1.9.1/gems/rack-1.6.4/lib/rack/body_proxy.rb:31 c:0012 p:0017 s:0075 b:0075 l:000074 d:000074 METHOD /var/lib/gems/1.9.1/gems/rack-1.6.4/lib/rack/body_proxy.rb:31 c:0011 p:0017 s:0070 b:0070 l:000069 d:000069 METHOD /var/lib/gems/1.9.1/gems/rack-1.6.4/lib/rack/body_proxy.rb:31 c:0010 p:0017 s:0065 b:0065 l:000064 d:000064 METHOD /var/lib/gems/1.9.1/gems/rack-1.6.4/lib/rack/body_proxy.rb:31 c:0009 p:0017 s:0060 b:0060 l:000059 d:000059 METHOD /var/lib/gems/1.9.1/gems/rack-1.6.4/lib/rack/body_proxy.rb:31 c:0008 p:0017 s:0055 b:0055 l:000054 d:000054 METHOD /var/lib/gems/1.9.1/gems/rack-1.6.4/lib/rack/body_proxy.rb:31 c:0007 p:0017 s:0050 b:0050 l:000049 d:000049 METHOD /var/lib/gems/1.9.1/gems/rack-1.6.4/lib/rack/body_proxy.rb:31 c:0006 p:0587 s:0045 b:0045 l:0007dc d:0007dc METHOD /var/lib/gems/1.9.1/gems/rack-1.6.4/lib/rack/handler/webrick.rb:112 c:0005 p:0257 s:0030 b:0030 l:000029 d:000029 METHOD /usr/lib/ruby/1.9.1/webrick/httpserver.rb:138 c:0004 p:0393 s:0020 b:0020 l:000019 d:000019 METHOD /usr/lib/ruby/1.9.1/webrick/httpserver.rb:94 c:0003 p:0126 s:0009 b:0009 l:000144 d:000008 BLOCK /usr/lib/ruby/1.9.1/webrick/server.rb:191 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:---- s:0002 b:0002 l:000001 d:000001 TOP -- Ruby level backtrace information ---------------------------------------- /usr/lib/ruby/1.9.1/webrick/server.rb:191:in block in start_thread' /usr/lib/ruby/1.9.1/webrick/httpserver.rb:94:inrun' /usr/lib/ruby/1.9.1/webrick/httpserver.rb:138:in service' /var/lib/gems/1.9.1/gems/rack-1.6.4/lib/rack/handler/webrick.rb:112:inservice' /var/lib/gems/1.9.1/gems/rack-1.6.4/lib/rack/body_proxy.rb:31:in each' /var/lib/gems/1.9.1/gems/rack-1.6.4/lib/rack/body_proxy.rb:31:ineach' /var/lib/gems/1.9.1/gems/rack-1.6.4/lib/rack/body_proxy.rb:31:in each' /var/lib/gems/1.9.1/gems/rack-1.6.4/lib/rack/body_proxy.rb:31:ineach' /var/lib/gems/1.9.1/gems/rack-1.6.4/lib/rack/body_proxy.rb:31:in each' /var/lib/gems/1.9.1/gems/rack-1.6.4/lib/rack/body_proxy.rb:31:ineach' /var/lib/gems/1.9.1/gems/rack-1.6.4/lib/rack/body_proxy.rb:31:in each' /var/lib/gems/1.9.1/gems/rack-1.6.4/lib/rack/body_proxy.rb:31:ineach' /var/lib/gems/1.9.1/gems/rack-1.6.4/lib/rack/handler/webrick.rb:113:in `block in service' -- C level backtrace information ------------------------------------------- /usr/lib/libruby-1.9.1.so.1.9(+0x15e5c3) [0xb76ee5c3] /usr/lib/libruby-1.9.1.so.1.9(+0x507ff) [0xb75e07ff] /usr/lib/libruby-1.9.1.so.1.9(rb_bug+0x40) [0xb75e0dd0] /usr/lib/libruby-1.9.1.so.1.9(+0xf8a1c) [0xb7688a1c] [0xb77ae600] /usr/lib/libruby-1.9.1.so.1.9(+0x64c19) [0xb75f4c19] /usr/lib/libruby-1.9.1.so.1.9(+0x163891) [0xb76f3891] /usr/lib/libruby-1.9.1.so.1.9(+0x15267d) [0xb76e267d] /usr/lib/libruby-1.9.1.so.1.9(+0x153280) [0xb76e3280] /usr/lib/libruby-1.9.1.so.1.9(rb_yield+0x180) [0xb76e9b80] /usr/lib/libruby-1.9.1.so.1.9(rb_ary_each+0x54) [0xb75b02e4] /usr/lib/libruby-1.9.1.so.1.9(+0x148d45) [0xb76d8d45] /usr/lib/libruby-1.9.1.so.1.9(+0x157de7) [0xb76e7de7] /usr/lib/libruby-1.9.1.so.1.9(+0x14eb4e) [0xb76deb4e] /usr/lib/libruby-1.9.1.so.1.9(+0x153280) [0xb76e3280] /usr/lib/libruby-1.9.1.so.1.9(+0x153f5f) [0xb76e3f5f] /usr/lib/libruby-1.9.1.so.1.9(+0x164c03) [0xb76f4c03] /usr/lib/libruby-1.9.1.so.1.9(+0x164cdd) [0xb76f4cdd] /lib/i386-linux-gnu/libpthread.so.0(+0x5954) [0xb757c954] /lib/i386-linux-gnu/libc.so.6(clone+0x5e) [0xb7497c1e]