EMsoft-org / EMsoft-org/EMSphInx

Error when indexing .ebsp file: Can't dereference out of range vector iterator

Open
#13 1 comment 0 reactions 0 assignees View on GitHub
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.

![image](https://user-images.githubusercontent.com/21012958/153134675-4ac34578-f3e0-4fc4-a6c1-05557ee4a757.png)

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.