VMD-L Mailing List
From: Oleg Stroganov (oleg.stroganov_at_gmail.com)
Date: Tue Nov 13 2018 - 04:16:09 CST
- Next message: Brian Radak: "Re: Patching for bond between protein and organic ligand"
- Previous message: Francesco Pietra: "Re: Patching for bond between protein and organic ligand"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Dear all,
I'm trying to open a pdb file from directory with large name by dragging it
from explored and dropping into VMD display window.
When I drag the first file, VMD opens it but a horizontal scrollbar appears
in VMD Main window with some parts of the file path where "F" or "Atoms"
field should be. When I drag the second file, VMD crashes.
I guess the problem is due to some buffer overflow when handling paths, as
it is dependent on the length of the path: when total length of the
directory and filename is below some 80 symbols, VMD opens it, when length
is eqaual or above 80 symbols, VMD crashes:
The file
C:\123456789_123456789_123456789_123456789_123456789_123456789_123456789_12.pdb
works fine, while the file
C:\123456789_123456789_123456789_123456789_123456789_123456789_123456789_123.pdb
lead to crash
The actual content of the file and current working directory does not seem
to matter.
Sincerely,
Oleg Stroganov
- Next message: Brian Radak: "Re: Patching for bond between protein and organic ligand"
- Previous message: Francesco Pietra: "Re: Patching for bond between protein and organic ligand"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]