epam / epam/Indigo

Windows x64 problems reading reactions

Open
#360 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

The win64 version of indigo has problems when reading of a reaction leads to an exception. When this happens all following attempts to read a valid reaction leads to an exception 'scanner: BufferScanner::read() error'.

Steps to reproduce:
open a query reaction by normal reaction reading and catch the exception. All so good so far:

try
m:= indigoLoadReactionFromFile('QueryReaction.rxn');
except
//
end

But now try to open the reaction by the correct function:
p: = indigoLoadQueryReactionFromFile('QueryReaction.rxn');
--> exception 'scanner: BufferScanner::read() error'
this gives an exception and all following attempts to read any reaction will fail by exception 'scanner: BufferScanner::read() error'.

This problem exists in x64 version.
The windows x32 version is OK and can normally process reaction after catching first exception.

[QueryReaction.zip](https://github.com/epam/Indigo/files/6150522/QueryReaction.zip)

Contributor guide

No contributing guide indexed for this repository

Research direction

Use the attached QueryReaction.zip and reproduce the sequence involving indigoLoadReactionFromFile followed by indigoLoadQueryReactionFromFile on Windows x64. Compare the x64 behavior with the stated-working x32 behavior; done means catching the first exception does not prevent the query reaction or later valid reactions from being read.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend
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.