From owner-freebsd-ruby@FreeBSD.ORG Thu Feb 12 17:06:09 2009 Return-Path: Delivered-To: freebsd-ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 236EF1065675 for ; Thu, 12 Feb 2009 17:06:09 +0000 (UTC) (envelope-from saad@hush.com) Received: from smtp12.hushmail.com (smtp12.hushmail.com [65.39.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 0A6958FC14 for ; Thu, 12 Feb 2009 17:06:08 +0000 (UTC) (envelope-from saad@hush.com) Received: from smtp12.hushmail.com (localhost.localdomain [127.0.0.1]) by smtp12.hushmail.com (Postfix) with SMTP id 619257004F for ; Thu, 12 Feb 2009 16:33:54 +0000 (UTC) Received: from smtp.hushmail.com (app1.hushmail.com [65.39.178.74]) by smtp12.hushmail.com (Postfix) with ESMTP for ; Thu, 12 Feb 2009 16:33:53 +0000 (UTC) Message-ID: From: Saad Kadhi To: FreeBSD Ruby Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Thu, 12 Feb 2009 17:33:51 +0100 X-Mailer: Apple Mail (2.930.3) Subject: ruby 1.8.6 patchlevel 287 dumps core on 7.0-RELEASE-p7 X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 17:06:09 -0000 Hi, I am using Ruby 1.8.6 (2008-08-11 patchlevel 287) on FreeBSD 7.0- RELEASE-p7. I have some code that -among other things- parses XML files and when it does in at least one case, it dumps core with the following error msg: -x-x-x- /usr/local/lib/ruby/1.8/rexml/parent.rb:19: [BUG] object allocation during garbage collection phase ruby 1.8.6 (2008-08-11) [i386-freebsd7] -x-x-x- At times, I get a different error msg: -x-x-x- /usr/local/lib/ruby/1.8/rexml/namespace.rb:16: [BUG] object allocation during garbage collection phase ruby 1.8.6 (2008-08-11) [i386-freebsd7] -x-x-x- I initially developed my code using Ruby 1.8.6 patchlevel 111 on the same platform and everything worked as expected. And when I upgraded to the latest stable version from ports, I started having these issues. Staying with 1.8.6 patchlevel 111 is not an option since this version is riddled with security vulnerabilities. Any ideas on how to fix this problem? TIA. -- Saad Kadhi "It might look like I'm standing motionless, but I'm actively waiting for my problems to go away." Bob the Dinosaur, Dilbert. From owner-freebsd-ruby@FreeBSD.ORG Thu Feb 12 17:09:11 2009 Return-Path: Delivered-To: freebsd-ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 372DC1065676 for ; Thu, 12 Feb 2009 17:09:11 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (backbone.deglitch.com [IPv6:2001:16d8:fffb:4::abba]) by mx1.freebsd.org (Postfix) with ESMTP id CB9C98FC2F for ; Thu, 12 Feb 2009 17:09:10 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from DSPAM-Daemon (localhost [127.0.0.1]) by mx0.deglitch.com (Postfix) with SMTP id B394B8FC2B for ; Thu, 12 Feb 2009 20:09:06 +0300 (MSK) Received: from orion.SpringDaemons.com (drsun1.static.corbina.ru [85.21.245.235]) by mx0.deglitch.com (Postfix) with ESMTPA id 43C668FC27; Thu, 12 Feb 2009 20:09:06 +0300 (MSK) Received: from orion (localhost [127.0.0.1]) by orion.SpringDaemons.com (Postfix) with SMTP id F3DC339B1B; Thu, 12 Feb 2009 20:09:30 +0300 (MSK) Date: Thu, 12 Feb 2009 20:09:30 +0300 From: Stanislav Sedov To: Saad Kadhi Message-Id: <20090212200930.725b2493.stas@FreeBSD.org> In-Reply-To: References: Organization: The FreeBSD Project X-XMPP: ssedov@jabber.ru X-Voice: +7 916 849 20 23 X-PGP-Fingerprint: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-DSPAM-Result: Innocent X-DSPAM-Processed: Thu Feb 12 20:09:06 2009 X-DSPAM-Confidence: 1.0000 X-DSPAM-Improbability: 1 in 98689409 chance of being spam X-DSPAM-Probability: 0.0023 X-DSPAM-Signature: 499457b2967001033744424 Cc: FreeBSD Ruby Subject: Re: ruby 1.8.6 patchlevel 287 dumps core on 7.0-RELEASE-p7 X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 17:09:13 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 12 Feb 2009 17:33:51 +0100 Saad Kadhi mentioned: > Hi, > > I am using Ruby 1.8.6 (2008-08-11 patchlevel 287) on FreeBSD 7.0- > RELEASE-p7. I have some code that -among other things- parses XML > files and when it does in at least one case, it dumps core with the > following error msg: > > -x-x-x- > /usr/local/lib/ruby/1.8/rexml/parent.rb:19: [BUG] object allocation > during garbage collection phase > ruby 1.8.6 (2008-08-11) [i386-freebsd7] > -x-x-x- > > At times, I get a different error msg: > -x-x-x- > /usr/local/lib/ruby/1.8/rexml/namespace.rb:16: [BUG] object allocation > during garbage collection phase > ruby 1.8.6 (2008-08-11) [i386-freebsd7] > -x-x-x- > > I initially developed my code using Ruby 1.8.6 patchlevel 111 on the > same platform and everything worked as expected. And when I upgraded > to the latest stable version from ports, I started having these > issues. Staying with 1.8.6 patchlevel 111 is not an option since this > version is riddled with security vulnerabilities. > > Any ideas on how to fix this problem? > Can you, please, check with ruby 1.8.7p72? I have updated the port today. This problems might be fixed in this release. If not, we'll look further. - -- Stanislav Sedov ST4096-RIPE -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAkmUV8oACgkQK/VZk+smlYEo2ACeI9HcGLRMfjorVvhtTuijO58b PzsAnjKOZciunnG/u6dPUwh1UkqWiMTs =g32u -----END PGP SIGNATURE----- !DSPAM:499457b2967001033744424! From owner-freebsd-ruby@FreeBSD.ORG Fri Feb 13 15:37:25 2009 Return-Path: Delivered-To: freebsd-ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C4A8106573D for ; Fri, 13 Feb 2009 15:37:24 +0000 (UTC) (envelope-from saad@hush.com) Received: from smtp12.hushmail.com (smtp12.hushmail.com [65.39.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 35F648FC16 for ; Fri, 13 Feb 2009 15:37:23 +0000 (UTC) (envelope-from saad@hush.com) Received: from smtp12.hushmail.com (localhost.localdomain [127.0.0.1]) by smtp12.hushmail.com (Postfix) with SMTP id 7E6AB70114 for ; Fri, 13 Feb 2009 15:37:20 +0000 (UTC) Received: from smtp.hushmail.com (app1.hushmail.com [65.39.178.74]) by smtp12.hushmail.com (Postfix) with ESMTP for ; Fri, 13 Feb 2009 15:37:20 +0000 (UTC) Message-ID: <07d70cb21efa30525f495bc996cc29c0@smtp.hushmail.com> From: Saad Kadhi To: FreeBSD Ruby In-Reply-To: <20090212200930.725b2493.stas@FreeBSD.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Fri, 13 Feb 2009 16:37:19 +0100 References: <20090212200930.725b2493.stas@FreeBSD.org> X-Mailer: Apple Mail (2.930.3) Subject: Re: ruby 1.8.6 patchlevel 287 dumps core on 7.0-RELEASE-p7 X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2009 15:37:26 -0000 Hi, On Feb 12, 2009, at 6:09 PM, Stanislav Sedov wrote: > Can you, please, check with ruby 1.8.7p72? I have updated the port > today. > This problems might be fixed in this release. Thank you for your prompt answer. I have upgraded as you advised but I still have the same problem: --- ---> parsing xxxxx-conf.xml /usr/local/lib/ruby/1.8/rexml/source.rb:206: [BUG] object allocation during garbage collection phase ruby 1.8.7 (2008-08-11 patchlevel 72) [i386-freebsd7] zsh: abort (core dumped) --- $ uname -a FreeBSD xxxx 7.0-RELEASE-p7 FreeBSD 7.0-RELEASE-p7 #0: Sun Dec 21 12:33:45 UTC 2008 root@i386-builder.daemonology.net:/usr/obj/usr/ src/sys/GENERIC i386 $ pkg_info ruby-1.8.7.72,1 |head -1 Information for ruby-1.8.7.72,1: As a reminder, this doesn't occur with ruby 1.8.6 patchlevel 111. Regards, -- Saad Kadhi "Welcome to Dogbert's Anger Management Seminar. My goal is to transform you from angry nuts into angry nuts who have paid me." -- Dogbert, Dilbert.