I'm not sure what the issue is.  I'd suggest contacting gloss's author Zach 
Tellman.  Several github tickets seem to suggest some kind of problem with 
Clojure 1.3 and using import-fn from the potemkin library, which gloss uses.  I 
don't know if that problem leads to this behavior, though:

https://github.com/ztellman/gloss/pull/1

Andy

On Oct 9, 2012, at 9:00 AM, Brian Craft wrote:

> This is reproducible on ubuntu with a different jre:
> 
> java version "1.6.0_24"
> OpenJDK Runtime Environment (IcedTea6 1.11.4) (6b24-1.11.4-1ubuntu0.12.04.1)
> OpenJDK Server VM (build 20.0-b12, mixed mode)
> 
> 
> 
> On Monday, October 8, 2012 10:00:37 PM UTC-7, Brian Craft wrote:
> It's something to do with gloss.io. This is enough to cause the deadlock:
> 
> (ns downsample.core
>   (:require [gloss.io])
>   (:gen-class))
> 
> 
> (defn -main
>   "I don't do a whole lot ... yet."
>   [& args]
>   (println "Hello, World!"))
> 
> 
> On Monday, October 8, 2012 6:37:57 PM UTC-7, Brian Craft wrote:
> CentOS release 5.5 (Final)
> 
> java version "1.6.0_11"
> Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
> Java HotSpot(TM) 64-Bit Server VM (build 11.0-b16, mixed mode)
> 
> 
> 
> On Monday, October 8, 2012 5:32:43 PM UTC-7, Andy Fingerhut wrote:
> Which OS are you using? 
> 
> Which JVM?  (i.e. output of "java -version") 
> 
> Andy 
> 
> On Oct 8, 2012, at 5:25 PM, Brian Craft wrote: 
> 
> > I'm noticing that very regularly "lein run" will hang. Where it hangs is 
> > variable. At the moment it's right here: 
> > 
> > > lein run 
> > Compiling downsample.core 
> > 
> > 
> > Though sometimes it's after dumping some errors, here, for example: 
> > 
> >         at clojure.lang.LispReader.read(LispReader.java:180) 
> >         at clojure.lang.Compiler.compile(Compiler.java:7094) 
> >         ... 23 more 
> > 
> > 
> > At these times attaching with strace gives me this: 
> > 
> > Process 1810 attached - interrupt to quit 
> > futex(0x402fc9d0, FUTEX_WAIT, 1811, NULL 
> > 
> > 
> > It will stay like that forever.= 
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your 
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to