Public bug reported: On ARM64 (aarch64) fuseiso does not work. It loops forever. Tracing shows looping with getopt, so parsing command line options.
To reproduse - on aarch64 - just type fuseiso, no need to bother with options. See that it does nothing (visible), just stays there. With top one can see one CPU going to 100% I reported patch to the original developer but it seems fuseiso is not maintained since 2007. https://sourceforge.net/p/fuseiso/patches/2/ The loop happens because getopt returns -1 (no more options) which is assigned to a char. Type char on arm64 is always unsigned, so the test for ">0" will always be true. The loop thinks it has more options to parse resulting in an infinite cycle. Fix simply changes the type of lvalue from char to int. Patch is attached. With it fuseison on arm64 works as on x86. Thank you, Dan. ** Affects: fuseiso (Ubuntu) Importance: Undecided Status: New ** Patch added: "0001-Fix-infinite-loop-parsing-line-options-on-arm64.patch" https://bugs.launchpad.net/bugs/1661289/+attachment/4812125/+files/0001-Fix-infinite-loop-parsing-line-options-on-arm64.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1661289 Title: fuseiso loops parsing options on aarch64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fuseiso/+bug/1661289/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
