Public bug reported:
Dear gbutils developers,
Thank you very much for such excellent set of tools!
I would like to supply a bug in ARM architecture. I found the bug in
gblreg program, but I think, that it affects all the utils.
Step to reproduce:
Ubuntu 16.04 ARM. Run gblreg program on any dataset with any options (except
-h) and the program hangs.
The origin of the bug:
ARM architecture, by default treat char as unsigned variable, so loop
will be infinite as EOF is -1 and opt is not negative value by the definition.
1) add -fsigned-char option to compiler. The easiest way, but can affect the
rest of the code possibly creates new bugs.
2) Change char opt to signed char opt.
3) The best way from my point of view is to change char opt to int, as getopt
function returns native.
** Affects: gbutils (Ubuntu)
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
gbutils ARM bug (programs freezes)
To manage notifications about this bug go to:
ubuntu-bugs mailing list