-
Notifications
You must be signed in to change notification settings - Fork 9
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
Calling vt::initialize
with no arguments silently makes VT fail
#1163
Labels
Comments
reproduction: diff --git a/examples/hello_world/hello_world.cc b/examples/hello_world/hello_world.cc
index b3dc561fb..2fde66be8 100644
--- a/examples/hello_world/hello_world.cc
+++ b/examples/hello_world/hello_world.cc
@@ -56,7 +56,7 @@ static void hello_world(HelloMsg* msg) {
int main(int argc, char** argv) {
- vt::initialize(argc, argv);
+ vt::initialize(/*argc, argv*/);
vt::NodeType this_node = vt::theContext()->getNode(); output:
gdb:
|
cz4rs
added a commit
that referenced
this issue
Nov 26, 2020
Interesting.. I actually didn't get that assertion because I was in release mode. It just hung |
a66cb35 fixes this (on my machine), but I'm not sure what's the desired behavior here one minor thing to note: program name will be unknown in this case
|
it might be worth to look into |
cz4rs
added a commit
that referenced
this issue
Nov 27, 2020
cz4rs
added a commit
that referenced
this issue
Nov 27, 2020
cz4rs
added a commit
that referenced
this issue
Nov 27, 2020
cz4rs
added a commit
that referenced
this issue
Nov 27, 2020
cz4rs
added a commit
that referenced
this issue
Nov 28, 2020
cz4rs
added a commit
that referenced
this issue
Dec 2, 2020
cz4rs
added a commit
that referenced
this issue
Dec 2, 2020
cz4rs
added a commit
that referenced
this issue
Dec 2, 2020
lifflander
pushed a commit
that referenced
this issue
Dec 16, 2020
lifflander
pushed a commit
that referenced
this issue
Dec 16, 2020
lifflander
pushed a commit
that referenced
this issue
Dec 16, 2020
cz4rs
added a commit
that referenced
this issue
Dec 16, 2020
cz4rs
added a commit
that referenced
this issue
Dec 21, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
A simple program that just calls
vt::initialize()
(without passingargc, argv
) compiles and seems to do nothing.The text was updated successfully, but these errors were encountered: