LogtalkDotOrg / LogtalkDotOrg/logtalk3

B-Prolog 8.1 silent failure of loading a file with atoms larger than 255 characters

Open
#64 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

backend prolog compiler bug
Dominant language
Logtalk
Stars
496
Forks
34
PR merge metrics
No merged PRs in 30d

Description

When a source file contains an atom whose length is larger than 255 characters, B-Prolog 8.1 apparently succeeds in loading the file when in fact the file contents fails to be loaded into memory.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported behavior in B-Prolog 8.1 with a source file containing an atom longer than 255 characters, then verify whether loading actually populates memory. The issue is done when the failure is reported clearly or the file contents are loaded correctly rather than silently ignored.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.