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

Creating a volume with --create-root will throw error #21

Open
Fank opened this issue Apr 22, 2017 · 1 comment
Open

Creating a volume with --create-root will throw error #21

Fank opened this issue Apr 22, 2017 · 1 comment

Comments

@Fank
Copy link

Fank commented Apr 22, 2017

Examples:
1.

$ infinit volume create --as fankserver --name test --network cluster --fetch --push --create-root
[infinit.Network] [main] client version: 0.7.3
[infinit.model.Model] [main] infinit::model::Model(0xe06830): compatibility version 0.7.3
[infinit.model.doughnut.Local] [main] dht::Local(0x0d20819e00): listen on tcp://[::]:51671
[infinit.model.doughnut.Local] [main] dht::Local(0x0d20819e00): listen on utp://[::]:51671
[         cli.volume         ] [main] create root directory
Locally saved volume descriptor "fankserver/test".
infinit: ../nptl/pthread_mutex_lock.c:350: __pthread_mutex_lock_full: Assertion `(-(e)) != 3 || !robust' failed.
Aborted
$ infinit volume create --as fankserver --name test2 --network cluster --fetch --push --create-root
[infinit.Network] [main] client version: 0.7.3
[infinit.model.Model] [main] infinit::model::Model(0x1598830): compatibility version 0.7.3
[infinit.model.doughnut.Local] [main] dht::Local(0x0d20819e00): listen on tcp://[::]:40028
[infinit.model.doughnut.Local] [main] dht::Local(0x0d20819e00): listen on utp://[::]:40028
[         cli.volume         ] [main] create root directory
Locally saved volume descriptor "fankserver/test2".
terminate called after throwing an instance of 'std::system_error'
  what():  Invalid argument
Aborted

2.1 Tried command again

$ infinit volume create --as fankserver --name test2 --network cluster --fetch --push --create-root
[infinit.Network] [main] client version: 0.7.3
[infinit.model.Model] [main] infinit::model::Model(0x1d43830): compatibility version 0.7.3
[infinit.model.doughnut.Local] [main] dht::Local(0x0d20819e00): listen on tcp://[::]:35855
[infinit.model.doughnut.Local] [main] dht::Local(0x0d20819e00): listen on utp://[::]:35855
[         cli.volume         ] [main] create root directory
Segmentation fault
$ infinit volume create --as fankserver --name test3 --network cluster --fetch --push --create-root
[infinit.Network] [main] client version: 0.7.3
[infinit.model.Model] [main] infinit::model::Model(0x1de7830): compatibility version 0.7.3
[infinit.model.doughnut.Local] [main] dht::Local(0x0d20819e00): listen on tcp://[::]:52573
[infinit.model.doughnut.Local] [main] dht::Local(0x0d20819e00): listen on utp://[::]:52573
[         cli.volume         ] [main] create root directory
Locally saved volume descriptor "fankserver/test3".
Segmentation fault
infinit volume create --as fankserver --name test4 --network cluster --fetch --push --create-root
[infinit.Network] [main] client version: 0.7.3
[infinit.model.Model] [main] infinit::model::Model(0x13e5830): compatibility version 0.7.3
[infinit.model.doughnut.Local] [main] dht::Local(0x0d20819e00): listen on tcp://[::]:53805
[infinit.model.doughnut.Local] [main] dht::Local(0x0d20819e00): listen on utp://[::]:53805
[         cli.volume         ] [main] create root directory
Locally saved volume descriptor "fankserver/test4".
terminate called after throwing an instance of 'std::system_error'
  what():  Invalid argument
Aborted

List volumes:

$ infinit volume list --as fankserver
fankserver/test4: network fankserver/cluster
fankserver/test2: network fankserver/cluster
fankserver/test: network fankserver/cluster
fankserver/test3: network fankserver/cluster
@chris-crone
Copy link

Thanks for reporting this Fank!

This appears to still be an issue in our master branch so I've created a ticket for it so that we can investigate further.

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