Skip to content

SIGSEGV in a very specific setting #17

@mbollmann

Description

@mbollmann

When running

normalize -c test.cfg -f test.txt --train

with the attached sample files, Norma (0.5.0 with ICU strings) randomly segfaults (SIGSEGV) about 80% of the time.

This...

  • happens only when the parameter files are not yet created
  • happens also when the lines in test.txt are followed by 50000+ more tokens
  • only seems to happen when the lines in test.txt are at the beginning of a file
  • is the only segfault I experienced in almost 1.2 millions tokens of training

There must be something special going on here, though I don't know what it is.

test.cfg.txt
test.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions