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

"free(): double free detected in tcache 2" error when running JasmineGraph #255

Open
ChandiH opened this issue Sep 29, 2024 · 0 comments
Open

Comments

@ChandiH
Copy link
Contributor

ChandiH commented Sep 29, 2024

I'm encountering an error when trying to run JasmineGraph in WSL Ubuntu using Docker. The error message is:

chandimal@Chandimal:~$ docker run -v "/var/run/docker.sock:/var/run/docker.sock:rw" -v "/root/.ssh:/home/user/.ssh" -v "/tmp:/tmp" -v "/var/tmp/jasminegraph-localstore:/var/tmp/jasminegraph-localstore" -v "/var/tmp/jasminegraph-aggregate:/var/tmp/jasminegraph-aggregate" -v "/home/user/Documents/jasminegraph/metadb:/home/ubuntu/software/jasminegraph/metadb" -v "/home/user/Documents/MSc/jasminegraph/performancedb:/home/ubuntu/software/jasminegraph/performancedb" -p 7776:7776 -p 7777:7777 -p 7778:7778 jasminegraph-enhanced --MODE 1 --MASTERIP localhost --WORKERS 4 --WORKERIP localhost --ENABLE_NMON false
--MODE 1 // Optional to see the parameter:value result
--MASTERIP localhost // Optional to see the parameter:value result
--WORKERS 4 // Optional to see the parameter:value result
--WORKERIP localhost // Optional to see the parameter:value result
--ENABLE_NMON false // Optional to see the parameter:value result
7
 [1727624695472] [info] [MASTER : 7:140507431023808] Using JASMINE_GRAPH_HOME=/home/ubuntu/software/jasminegraph
 [1727624695472] [info] [MASTER : 7:140507431023808] Database opened successfully :./metadb/jasminegraph_meta.db
 [1727624695472] [info] [MASTER : 7:140507431023808] Database opened successfully
 [1727624695472] [info] [MASTER : 7:140507431023808] Running the server...
 [1727624695473] [info] [MASTER : 7:140507431023808] masterHost = localhost
 [1727624695473] [info] [MASTER : 7:140507422590528] Database opened successfully :./metadb/jasminegraph_meta.db
 [1727624695473] [info] [MASTER : 7:140507422590528] Database opened successfully
 [1727624695513] [info] [MASTER : 7:140507431023808] Starting threads for workers
 [1727624695514] [info] [MASTER : 7:140507414197824] ###MASTER#### Starting remote workers
 [1727624695520] [info] [MASTER : 7:140507397412416] Backend Listening
 [1727624695520] [info] [MASTER : 7:140507405805120] Frontend Listening
 [1727624695527] [info] [MASTER : 7:140507414197824] Frontend Listening
Unable to find image 'jasminegraph:latest' locally
Unable to find image 'jasminegraph:latest' locally
Unable to find image 'jasminegraph:latest' locally
Unable to find image 'jasminegraph:latest' locally
docker: Error response from daemon: pull access denied for jasminegraph, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
docker: Error response from daemon: pull access denied for jasminegraph, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
docker: Error response from daemon: pull access denied for jasminegraph, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
docker: Error response from daemon: pull access denied for jasminegraph, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
 [1727624726526] [info] [MASTER : 7:140507431023808] Trying to connect to [0]: 127.0.0.1:7780
 [1727624728527] [info] [MASTER : 7:140507431023808] Trying to connect to [1]: 127.0.0.1:7780
 [1727624732527] [info] [MASTER : 7:140507431023808] Trying to connect to [2]: 127.0.0.1:7780
 [1727624738526] [info] [MASTER : 7:140507431023808] Trying to connect to [3]: 127.0.0.1:7780
 [1727624746526] [info] [MASTER : 7:140507431023808] Trying to connect to [4]: 127.0.0.1:7780
 [1727624746541] [error] [MASTER : 7:140507431023808] Error connecting to 127.0.0.1:7780
 [1727624746543] [info] [MASTER : 7:140507431023808] Trying to connect to [0]: 127.0.0.1:7782
 [1727624748544] [info] [MASTER : 7:140507431023808] Trying to connect to [1]: 127.0.0.1:7782
 [1727624752545] [info] [MASTER : 7:140507431023808] Trying to connect to [2]: 127.0.0.1:7782
 [1727624758546] [info] [MASTER : 7:140507431023808] Trying to connect to [3]: 127.0.0.1:7782
 [1727624766547] [info] [MASTER : 7:140507431023808] Trying to connect to [4]: 127.0.0.1:7782
 [1727624766547] [error] [MASTER : 7:140507431023808] Error connecting to 127.0.0.1:7782
 [1727624766548] [info] [MASTER : 7:140507431023808] Trying to connect to [0]: 127.0.0.1:7784
 [1727624768546] [info] [MASTER : 7:140507431023808] Trying to connect to [1]: 127.0.0.1:7784
 [1727624772547] [info] [MASTER : 7:140507431023808] Trying to connect to [2]: 127.0.0.1:7784
 [1727624778548] [info] [MASTER : 7:140507431023808] Trying to connect to [3]: 127.0.0.1:7784
 [1727624786548] [info] [MASTER : 7:140507431023808] Trying to connect to [4]: 127.0.0.1:7784
 [1727624786549] [error] [MASTER : 7:140507431023808] Error connecting to 127.0.0.1:7784
 [1727624786549] [info] [MASTER : 7:140507431023808] Trying to connect to [0]: 127.0.0.1:7786
 [1727624788550] [info] [MASTER : 7:140507431023808] Trying to connect to [1]: 127.0.0.1:7786
 [1727624792550] [info] [MASTER : 7:140507431023808] Trying to connect to [2]: 127.0.0.1:7786
 [1727624798552] [info] [MASTER : 7:140507431023808] Trying to connect to [3]: 127.0.0.1:7786
 [1727624806553] [info] [MASTER : 7:140507431023808] Trying to connect to [4]: 127.0.0.1:7786
 [1727624806555] [error] [MASTER : 7:140507431023808] Error connecting to 127.0.0.1:7786
free(): double free detected in tcache 2
/home/ubuntu/software/jasminegraph/run-docker.sh: line 92:     7 Aborted                 ./JasmineGraph $PROFILE $MODE $MASTERIP $WORKERS $WORKERIP $ENABLE_NMON

I used the following Docker command to start the application:

docker run -v "/var/run/docker.sock:/var/run/docker.sock:rw" \
-v "/root/.ssh:/home/user/.ssh" \
-v "/tmp:/tmp" \
-v "/var/tmp/jasminegraph-localstore:/var/tmp/jasminegraph-localstore" \
-v "/var/tmp/jasminegraph-aggregate:/var/tmp/jasminegraph-aggregate" \
-v "/home/user/Documents/jasminegraph/metadb:/home/ubuntu/software/jasminegraph/metadb" \
-v "/home/user/Documents/MSc/jasminegraph/performancedb:/home/ubuntu/software/jasminegraph/performancedb" \
-p 7776:7776 -p 7777:7777 -p 7778:7778 jasminegraph-enhanced --MODE 1 --MASTERIP localhost --WORKERS 4 --WORKERIP localhost --ENABLE_NMON false

System:
WSL Ubuntu environment
JasmineGraph running via Docker

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

1 participant