Segfault in net/protocol.rb with xmlrpc4r

Hello !

I have the following problem: I am running an XMLRPC server (debian
woody, xmlrpc4r) and it keeps crashing, always at the same point of
execution (approximately once a day it crashes with the following log
message):

/usr/lib/ruby/1.6/net/protocol.rb:604: [BUG] Segmentation fault
ruby 1.6.7 (2002-03-19) [i386-linux]

This is the part of the Ruby file where the crash happens:
602 def do_write( str )
603 @debugout << str.dump if @debugout
604 @writtensize += (n = @socket.write(str))
605 n
606 end

Does anybody know what could be the cause for this problem ? Perhaps
concurrent access to the XMLRPC functions ?

Thanks,

Peter Schüller

Hi,

I have the following problem: I am running an XMLRPC server (debian
woody, xmlrpc4r) and it keeps crashing, always at the same point of
execution (approximately once a day it crashes with the following log
message):

Can’t you try with newer release of ruby? Some bugs had been
fixed since 1.6.7 (and also 1.6.8).

Does anybody know what could be the cause for this problem ? Perhaps
concurrent access to the XMLRPC functions ?

[BUG] message always means a bug in ruby itself or extension
libraries. XML-RPC doesn’t seem to contain its own extension.

···

At Wed, 2 Apr 2003 00:12:15 +0900, ps@solution-x.at wrote:


Nobu Nakada