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

pointer being freed was not allocated #18

Open
pauldeden opened this issue Dec 1, 2014 · 1 comment
Open

pointer being freed was not allocated #18

pauldeden opened this issue Dec 1, 2014 · 1 comment

Comments

@pauldeden
Copy link

On Mac OS X 10.9.5 when I run 'lein bin' the binary is generated, but gives the following error when run:

paul$ target/event-hub-cli 
-bash(64435,0x7fff7e177310) malloc: *** error for object 0x7fdd7d10f190: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6

But when I run the uberjar it works.

paul$ java -jar target/event-hub-cli-0.1.0-SNAPSHOT-standalone.jar 
Hello, World!

My project.clj is the following

(defproject event-hub-cli "0.1.0-SNAPSHOT"
  :description "An event hub client"
  :dependencies [[org.clojure/clojure "1.5.1"]
                 [edu.byu.eventhub/eventhub-client "1.0.0-SNAPSHOT"]]
  :main event-hub-cli.core
  :target-path "target/%s"
  :profiles {:uberjar {:aot :all}}
  :plugins [[lein-bin "0.3.4"]]
  :bin {:name "event-hub-cli"
        :bin-path "~/bin"}
)

Is this a bug or am I simply using the plugin incorrectly?

@olange
Copy link

olange commented Aug 22, 2015

Version 0.3.5 of the plugin seems to have solved this issue.

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

No branches or pull requests

2 participants