Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StackOverflowError when deleting large workspace #112

Closed
felixb opened this issue Jun 10, 2016 · 1 comment
Closed

StackOverflowError when deleting large workspace #112

felixb opened this issue Jun 10, 2016 · 1 comment
Labels

Comments

@felixb
Copy link
Contributor

felixb commented Jun 10, 2016

lambdacd runs into stackoverflow when deleting/closing a large workspace.

StackOverflowError 
    clojure.core/apply (core.clj:632)
    me.raynes.fs/file (fs.clj:56)
    me.raynes.fs/as-path (fs.clj:170)
    me.raynes.fs/directory? (fs.clj:205)
    clojure.core/apply (core.clj:632)
    me.raynes.fs/delete-dir (fs.clj:212)
    clojure.core/apply (core.clj:632)
    me.raynes.fs/delete-dir (fs.clj:214)
    clojure.core/apply (core.clj:632)
    me.raynes.fs/delete-dir (fs.clj:214)
    clojure.core/apply (core.clj:632)
    me.raynes.fs/delete-dir (fs.clj:214)
flosell added a commit that referenced this issue Jun 11, 2016
@flosell flosell added the bug label Jun 11, 2016
@flosell
Copy link
Owner

flosell commented Jun 11, 2016

Hi, thanks for reporting this. I think the issue wasn't the size of the workspace but symlinks it contained:

I reproduced the behavior with a deep directory structure with symlinks that led back to the start. Doesn't happen on OS X by the way, only on Linux.

Let me know if this fixes your issue, otherwise feel free to reopen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants