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

molfile struct member may need to be initialize in src/cltool/Driver.cpp #545

Closed
nw13slx opened this issue Jan 15, 2020 · 0 comments
Closed

Comments

@nw13slx
Copy link

nw13slx commented Jan 15, 2020

Hello,

I want to use the command line tool with VMD molfile plugin (version1.9.4a38). But it ran into segmentation fault.

It seems in some later version of the VMD molfile plugin, "velocities" member is added to the molfile_timestep_t struct and it needs to be initialized. The segmentation fault I encountered can be removed by setting the pointer to NULL after line 392 in cltools/Driver.cpp:

ts_in.velocities = NULL;

Similar issues may also exist in the molfile module.

GiovanniBussi added a commit that referenced this issue Jan 15, 2020
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