From: Roger Pack Date: 2009-12-04T08:56:48+09:00 Subject: [ruby-core:27015] seg fault sighting As an FYI, I got this once... /tmp/rdp/p2pwebclient/src/lib/ruby_useful_here.rb:795: [BUG] Segmentation fault ruby 1.9.1p243 (2009-07-16 revision 24175) [i686-linux] -- control frame ---------- c:0050 p:---- s:0267 b:0267 l:000266 d:000266 CFUNC :new c:0049 p:0024 s:0263 b:0262 l:00122c d:000a30 BLOCK /tmp/rdp/p2pwebclient/src/lib/ruby_useful_here.rb:795 c:0048 p:---- s:0259 b:0259 l:000258 d:000258 FINISH c:0047 p:---- s:0257 b:0257 l:000256 d:000256 CFUNC :each c:0046 p:0039 s:0254 b:0254 l:00122c d:00122c METHOD /tmp/rdp/p2pwebclient/src/lib/ruby_useful_here.rb:794 c:0045 p:0431 s:0247 b:0247 l:0004c4 d:0004c4 METHOD /tmp/rdp/p2pwebclient/src/driver.rb:1170 c:0044 p:0264 s:0220 b:0220 l:000219 d:000219 METHOD /tmp/rdp/p2pwebclient/src/driver.rb:1404 c:0043 p:0037 s:0200 b:0200 l:000199 d:000199 METHOD /tmp/rdp/p2pwebclient/src/driver.rb:1067 c:0042 p:0234 s:0195 b:0195 l:000194 d:000194 METHOD /tmp/rdp/p2pwebclient/src/lib/gems_here/rdp-arguments-0.6.2/lib/arguments/class.rb:73 c:0041 p:0030 s:0187 b:0187 l:0007ec d:000186 BLOCK /tmp/rdp/p2pwebclient/src/driver.rb:774 c:0040 p:0005 s:0185 b:0185 l:000174 d:000184 BLOCK /tmp/rdp/p2pwebclient/src/driver.rb:1060 c:0039 p:0043 s:0183 b:0183 l:000182 d:000182 METHOD /home/rdp/installs/ruby-1.9.1-p243_gc/lib/ruby/1.9.1/benchmark.rb:294 c:0038 p:0048 s:0175 b:0175 l:000174 d:000174 METHOD /tmp/rdp/p2pwebclient/src/driver.rb:1060 c:0037 p:0421 s:0169 b:0169 l:0007ec d:000168 BLOCK /tmp/rdp/p2pwebclient/src/driver.rb:773 c:0036 p:---- s:0161 b:0161 l:000160 d:000160 FINISH c:0035 p:---- s:0159 b:0159 l:000158 d:000158 CFUNC :upto c:0034 p:0073 s:0155 b:0155 l:0007ec d:000154 BLOCK /tmp/rdp/p2pwebclient/src/driver.rb:750 c:0033 p:---- s:0149 b:0149 l:000148 d:000148 FINISH c:0032 p:---- s:0147 b:0147 l:000146 d:000146 CFUNC :upto c:0031 p:0013 s:0143 b:0143 l:0007ec d:001268 BLOCK /tmp/rdp/p2pwebclient/src/driver.rb:745 c:0030 p:0005 s:0140 b:0140 l:000129 d:000139 BLOCK /tmp/rdp/p2pwebclient/src/driver.rb:1060 The offending code line was: allThreads << Thread.new(element) {|element| yield(element) } I'll post back if I can ever reproduce it reliably. Thanks. -r