From saad at hush.com Thu Feb 12 09:06:09 2009 From: saad at hush.com (Saad Kadhi) Date: Thu Feb 12 09:06:20 2009 Subject: ruby 1.8.6 patchlevel 287 dumps core on 7.0-RELEASE-p7 Message-ID: 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 stas at FreeBSD.org Thu Feb 12 09:09:13 2009 From: stas at FreeBSD.org (Stanislav Sedov) Date: Thu Feb 12 09:09:24 2009 Subject: ruby 1.8.6 patchlevel 287 dumps core on 7.0-RELEASE-p7 In-Reply-To: References: Message-ID: <20090212200930.725b2493.stas@FreeBSD.org> -----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 saad at hush.com Fri Feb 13 07:37:26 2009 From: saad at hush.com (Saad Kadhi) Date: Fri Feb 13 07:37:39 2009 Subject: ruby 1.8.6 patchlevel 287 dumps core on 7.0-RELEASE-p7 In-Reply-To: <20090212200930.725b2493.stas@FreeBSD.org> References: <20090212200930.725b2493.stas@FreeBSD.org> Message-ID: <07d70cb21efa30525f495bc996cc29c0@smtp.hushmail.com> 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. From stas at FreeBSD.org Mon Feb 16 04:35:43 2009 From: stas at FreeBSD.org (Stanislav Sedov) Date: Mon Feb 16 04:35:50 2009 Subject: Ruby port update to 1.8.7 breaks Merb apps In-Reply-To: <20090216025904.GA11005@jesters-court.net> References: <20090216025904.GA11005@jesters-court.net> Message-ID: <20090216153549.3bd1df66.stas@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 15 Feb 2009 18:59:05 -0800 mpd mentioned: > Hi, > > The recent port upgrade to 1.8.7 seems to have broken Merb apps. > Even newly-generated apps (generated w/ merb-gen) do not work with > the port. The server starts up fine, but when hitting the page, > nothing is rendered and you get only a white page. > > All the log output is the same, but the app does not render > pages, and thin actually exits its process if you're using it > (Mongrel does not, however.) > > I have no idea if this is a Merb, Ruby, or port problem. > Downgrading back to 1.8.6p287 via portdowngrade solves the issue > immediately. > > I'm not sure what the reason for the problems are, though, but I > wanted to let you know in case others have the same problem. Thanks > for all the work you've done. > Hi! Thanks for reporting! What version of merb are you using? Is it ports version, or the one from the official site? - -- Stanislav Sedov ST4096-RIPE -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkmZXasACgkQK/VZk+smlYG6NQCfaQxhvXL2kjyS36tXbVnYzMqE 8lgAnRMaABVrgmUF0jxkyWguFjB31v4N =zyPi -----END PGP SIGNATURE----- !DSPAM:49995d9d967005601217985! From stas at FreeBSD.org Sat Feb 21 03:50:10 2009 From: stas at FreeBSD.org (Stanislav Sedov) Date: Sat Feb 21 03:50:16 2009 Subject: ruby 1.8.6 patchlevel 287 dumps core on 7.0-RELEASE-p7 In-Reply-To: <07d70cb21efa30525f495bc996cc29c0@smtp.hushmail.com> References: <20090212200930.725b2493.stas@FreeBSD.org> <07d70cb21efa30525f495bc996cc29c0@smtp.hushmail.com> Message-ID: <20090221145010.93e251eb.stas@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 13 Feb 2009 16:37:19 +0100 Saad Kadhi mentioned: > 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. > Can you give me a test case so I can work on the solution? - -- Stanislav Sedov ST4096-RIPE -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAkmf6nMACgkQK/VZk+smlYEkVgCfUUijyo983uAWS18CMqsBFQv4 aIMAn2B99aOEZ0PFUoFO8mkITuD3kH1/ =Hynk -----END PGP SIGNATURE----- !DSPAM:499fea70967002099781856! From pav at FreeBSD.org Fri Feb 27 05:49:27 2009 From: pav at FreeBSD.org (pav@FreeBSD.org) Date: Fri Feb 27 05:49:34 2009 Subject: ports/132158: ruby port is broken Message-ID: <200902271349.n1RDnQOx087323@freefall.freebsd.org> Synopsis: ruby port is broken Responsible-Changed-From-To: freebsd-ports-bugs->ruby Responsible-Changed-By: pav Responsible-Changed-When: Fri Feb 27 13:48:49 UTC 2009 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=132158 From pav at FreeBSD.org Fri Feb 27 05:49:37 2009 From: pav at FreeBSD.org (pav@FreeBSD.org) Date: Fri Feb 27 05:49:49 2009 Subject: ports/132158: ruby port is broken Message-ID: <200902271349.n1RDnbAg087378@freefall.freebsd.org> Synopsis: ruby port is broken Responsible-Changed-From-To: ruby->stas Responsible-Changed-By: pav Responsible-Changed-When: Fri Feb 27 13:49:29 UTC 2009 Responsible-Changed-Why: Assign http://www.freebsd.org/cgi/query-pr.cgi?pr=132158