From: Daniel Carrera Date: 2003-06-19T18:45:40+09:00 Subject: Re: Thread Problems - Random Segfaults -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have no idea, but if you send me your program I can test it ona Sun SPARC with Ruby 1.8.0. If it runs here you can try moving up to 1.8.0. Do I need anything special other than Ruby to run your application? On Thu, Jun 19, 2003 at 06:40:32PM +0900, Stefan Arentz wrote: > > I have a thread-intensive application that gives random segfaults. They occur at > random places in both my own code and third party code. > > ./dhcp.rb:34: [BUG] Segmentation fault > /sw/lib/ruby/site_ruby/1.6/http-access2.rb:676: [BUG] Segmentation fault > /sw/lib/ruby/site_ruby/1.6/nqxml/entities.rb:18: [BUG] Segmentation fault > > My code is not very special, it is mostly threads that sleep and wake up to do > a SOAP call or a DRb call. All shared data is protected with a mutex. > > Are threads known to be buggy? > > My platform is OS X 10.2.6 with Ruby 1.6.7: > > ruby 1.6.7 (2002-03-01) [powerpc-darwin6.6] > > S. - -- Daniel Carrera | OpenPGP fingerprint: Graduate TA, Math Dept | 6643 8C8B 3522 66CB D16C D779 2FDD 7DAC 9AF7 7A88 UMD (301) 405-5137 | http://www.math.umd.edu/~dcarrera/pgp.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (SunOS) iD8DBQE+8YY8nxE8DWHf+OcRAqpvAKCVwELlrexDSD+ovww1D9tyXy5TBQCg1zcW RAp2VIHwqD/ukfXoevzFJHY= =Rcvq -----END PGP SIGNATURE-----