From: "Iñaki Baz Castillo" Date: 2011-01-12T08:54:21+09:00 Subject: Re: Ruby 1.9.2-p0: segmenfault in multithreading when using a custom C extension 2011/1/12 Iñaki Baz Castillo : > 2011/1/11 Iñaki Baz Castillo : >> Hi, I've coded a SIP protocol parser (very close to the Ragel HTTP >> parser) as a Ruby C extension. It works nice (even with very high >> traffic)... until now when I've tryed to add multithread logic to >> handle the parser SIP message. It seems complex but I've been able to >> create a very simple test script that generates the segmentfault. > > The segment fault also occurs with Ruby 1.9.2-p136. I've repeated the same test but using the Ragel HTTP parser (in em-http-request gem) and it doesn't crash, so I expect some bug in my C code :( -- Iñaki Baz Castillo