EMsoft-org / EMsoft-org/EMSphInx
Error when indexing .ebsp file: Can't dereference out of range vector iterator
- Dominant language
- C++
- Stars
- 13
- Forks
- 27
- Avg merge
- 1d 42m
- Merged PRs (30d)
- 2
Description
Hello!
The following error occurs at the end of the analysis when running EMSphInx on a .ebsp file. It occurs for both the precompiled binary files and a debug version compiled from source. When I set the batchsize equal to an even factor of the total number of patterns then it completes the analysis without this error.

The Ni example data completes the analysis with any batchsize parameter without issue.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the failure at the end of EMSphInx analysis using the reported .ebsp file and a batchsize that is not an even factor of the total pattern count. Compare this with an even-factor batchsize and the Ni example data, then inspect the indexing path for the out-of-range vector iterator and confirm completion without the error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- data
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100