<!-- 
RSS generated by JIRA (4.4#649-r158309) at Mon May 20 21:21:39 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://dev.clojure.org/jira/si/jira.issueviews:issue-xml/LOGIC-114/LOGIC-114.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Clojure JIRA</title>
    <link>http://dev.clojure.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>4.4</version>
        <build-number>649</build-number>
        <build-date>25-07-2011</build-date>
    </build-info>

<item>
            <title>[LOGIC-114] stack overflow with conda/u</title>
                <link>http://dev.clojure.org/jira/browse/LOGIC-114</link>
                <project id="10020" key="LOGIC">core.logic</project>
                        <description>&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;(ns test
  (:refer-clojure :exclude [==])
  (:require
   [clojure.core.logic :refer :all]))
 
(defn foo [in out]
  (matcha 
   [in out]
   ([(&apos;and a b . ()) (&apos;and x y . ())] (foo a x) (foo b y))
   ([a (&apos;bar (&apos;baz a . ()) . ())])))
 
;; I get a stack overflow with the following, but &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; I remove one conjunct, then it will run.
 
(run 1 [q] (foo
            &apos;(and p
                  (and p
                       (and p
                            (and p
                                 (and p
                                      (and p
                                           (and p
                                                (and p
                                                     (and p
                                                          (and p
                                                               (and p p)))))))))))
            q))&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="16012">LOGIC-114</key>
            <summary>stack overflow with conda/u</summary>
                <type id="1" iconUrl="http://dev.clojure.org/jira/images/icons/bug.gif">Defect</type>
                                <priority id="3" iconUrl="http://dev.clojure.org/jira/images/icons/priority_major.gif">Major</priority>
                    <status id="1" iconUrl="http://dev.clojure.org/jira/images/icons/status_open.gif">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="dnolen">David Nolen</assignee>
                                <reporter username="austinhaas">Austin Haas</reporter>
                        <labels>
                    </labels>
                <created>Thu, 14 Feb 2013 13:15:03 -0600</created>
                <updated>Sun, 17 Mar 2013 21:02:42 -0500</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="30601" author="dnolen" created="Thu, 14 Feb 2013 13:22:04 -0600"  >&lt;p&gt;It looks this issue still exists even if you swap the matcha with matche&lt;/p&gt;</comment>
                    <comment id="30607" author="austinhaas" created="Thu, 14 Feb 2013 20:06:52 -0600"  >&lt;p&gt;I think the overflow is occurring during reification.&lt;/p&gt;

&lt;p&gt;I was getting this error when returning a result from run, but now that I&apos;m using the same value as the input to another goal there is no overflow.&lt;/p&gt;

&lt;p&gt;If you replace q in the foo call with a fresh variable, it will not overflow.&lt;/p&gt;</comment>
                    <comment id="30791" author="dnolen" created="Sun, 17 Mar 2013 19:30:32 -0500"  >&lt;p&gt;This works for me on master. Can you give me more specifics about your setup so I can try to recreate? I&apos;m on OS X 10.8 running JDK 7 64bit.&lt;/p&gt;</comment>
                    <comment id="30793" author="austinhaas" created="Sun, 17 Mar 2013 20:50:19 -0500"  >&lt;p&gt;I don&apos;t see the issue anymore, but I believe I was using Java 1.6 when I reported it and now I am using:&lt;/p&gt;


&lt;p&gt;$ java -version&lt;br/&gt;
java version &quot;1.7.0_15&quot;&lt;br/&gt;
Java(TM) SE Runtime Environment (build 1.7.0_15-b03)&lt;br/&gt;
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)&lt;/p&gt;</comment>
                    <comment id="30794" author="dnolen" created="Sun, 17 Mar 2013 21:02:42 -0500"  >&lt;p&gt;OK, thanks for the quick response, I&apos;ll double check how things look under 1.6.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>
</channel>
</rss>