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

"--eq-logfile" followed by no other argument segfaults #175

Closed
hernando opened this issue Nov 13, 2012 · 0 comments
Closed

"--eq-logfile" followed by no other argument segfaults #175

hernando opened this issue Nov 13, 2012 · 0 comments
Assignees
Labels
Milestone

Comments

@hernando
Copy link

Try:
eqPly --eq-logfile

Backtrace:
#0 __strcmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:2112
#1 0x00007ffff7adad95 in eq::_parseArguments (argc=2, argv=0x7fffffffde48)

at /home/jhernando/bbp/Buildyard/src/Equalizer/libs/eq/client/init.cpp:173

#2 0x00007ffff7ada83f in eq::_init (argc=2, argv=0x7fffffffde48, nodeFactory=

0x7fffffffdd20)
at /home/jhernando/bbp/Buildyard/src/Equalizer/libs/eq/client/init.cpp:70

#3 0x000000000049a73d in eq::init (argc=2, argv=0x7fffffffde48,

nodeFactory=0x7fffffffdd20)
at /home/jhernando/bbp/Buildyard/src/Equalizer/libs/eq/client/init.h:60

#4 0x000000000049a2df in main (argc=2, argv=0x7fffffffde48)

at /home/jhernando/bbp/Buildyard/src/Equalizer/examples/eqPly/main.cpp:64

The cause is that strcmp("foo", 0) has undefined behaviour

hernando pushed a commit to hernando/Equalizer that referenced this issue Nov 13, 2012
@ghost ghost assigned hernando Nov 13, 2012
@eile eile closed this as completed in 43b9bd3 Nov 13, 2012
eile pushed a commit that referenced this issue Nov 13, 2012
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