From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.52.169.74 with SMTP id ac10cs3085vdc; Fri, 18 Mar 2011 00:57:25 -0700 (PDT) Received: by 10.43.55.1 with SMTP id vw1mr1094030icb.204.1300435045030; Fri, 18 Mar 2011 00:57:25 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id hj41si5125050ibb.112.2011.03.18.00.57.24; Fri, 18 Mar 2011 00:57:25 -0700 (PDT) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 5D4341858379; Fri, 18 Mar 2011 03:57:24 -0400 (EDT) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by rubyforge.org (Postfix) with ESMTP id BACEF1858376 for ; Fri, 18 Mar 2011 03:16:08 -0400 (EDT) Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p2I6Wdj4004955 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 18 Mar 2011 02:32:39 -0400 Received: from localhost (dhcp-25-240.brq.redhat.com [10.34.25.240]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p2I6WcaE017034 for ; Fri, 18 Mar 2011 02:32:39 -0400 From: Stanislav Ochotnicky To: sup-talk Date: Fri, 18 Mar 2011 07:32:31 +0100 Message-Id: <1300429882-sup-6298@sochotnicky.usersys.redhat.com> User-Agent: Sup/0.12.1 MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 Subject: [sup-talk] Endless loop when using chronic extension straight from git X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1376080423==" Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org --===============1376080423== Content-Transfer-Encoding: 8bit Content-Type: multipart/signed; micalg="pgp-sha256"; boundary="=-1300429958-155903-29725-1055-1-="; protocol="application/pgp-signature" --=-1300429958-155903-29725-1055-1-= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I encountered this weird endless loop when I was trying to hack on sup a bit and using it at the same time. I have a shell script that looks more-less like this: ------------------- #!/bin/sh export SUP_LOG_LEVEL=3Ddebug cd ~/projects/sup ruby -I lib bin/sup ---------------- Normal usage/searching is OK, but when I run sup like that and do query like "after:(2 days ago)" sup goes into endless loop (with ruby CPU use going to 100%). I also have to kill off the remaining ruby process (as in -SIGKILL). When I try to do the same with sup already installed with "gem install sup" everything works as expected. Note that I can reproduce this even with 0.12.1 tag checked out in git so it's not my changes that are causing this. It seems like I am doing something terribly wrong here. Any idea what that might be? -- Stanislav Ochotnicky Software Engineer - Base Operating Systems Brno PGP: 7B087241 Red Hat Inc. http://cz.redhat.com --=-1300429958-155903-29725-1055-1-= Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJNgvx/AAoJELy9dS57CHJBQuUP/if8IqJq9dkokxRZPnMS2m0a G23ejI5cnS9ErdfwXjUs2118uT13CM6d74TxEarRAP/y+02XdAfE3w0CTsrViL3Y HWhlLBOhLC3aTpHJUOBpfz1/DiOrz4/WIWrDjEm0kegaxyY6TS+2phzWL5aHqvwq joSns4Xvar4UzEhZ7gZhV38hRwPLMkXCy8BQF+rm0gA6zmxVcu+FfcTgznsmcRK+ 19YreEZADXla7tAyPMV9+w5Jvg/Xen1wwFHLfMzLZ+TshZrt+lGdvEuvNPE3WyOk 8Qw8ACg4dEEyTYbGphYO7PDVZ8K+D/dFY+F0Cb1PgYpN3ehIE5jH0LjO4nXQF9DW mTahUoz+B/el6QDRl7IL0ijzdAt39WYcgY5eGZvf503PsJzNBsN/nPvQPSskQbL3 +X1FV2tXFp/hW2sx+oPNO5BKvZzmevYihJrGiQSRwHqhLYT0WSxPGnJjGewI7YAn e4jnr9raQY/b869U6jXkAeUIkGLXCyeOqBQC7tyqUXyvxXA1VY5hZJEOwuqDShxo GqX24p5acksSSj3x0w4GnOlC+sgasWtmul/fBHSuoZnpTcAuw0ZLQBJn6ei6j1RB W7Jxsp7flDnGOnOQ+TlswNCHDtq+3Aepp8j/WBuDN8Ktf3PcJP1/qwyCh2LboC8h Px04c5ULrwwj3DYs/3zk =YGT9 -----END PGP SIGNATURE----- --=-1300429958-155903-29725-1055-1-=-- --===============1376080423== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk --===============1376080423==--