https://bugzilla.redhat.com/show_bug.cgi?id=2269669
Bug ID: 2269669 Summary: Fastboot crashes with std::out_of_range on android-tools 34.0.4-4.fc39 Product: Fedora Version: 39 Hardware: x86_64 OS: Linux Status: NEW Component: android-tools Keywords: External Severity: medium Assignee: ivan.afonichev@gmail.com Reporter: patryk.ryczko@protonmail.com QA Contact: extras-qa@fedoraproject.org CC: admiller@redhat.com, epel-packagers-sig@lists.fedoraproject.org, go-sig@lists.fedoraproject.org, ivan.afonichev@gmail.com, jeroen@tietema.net Target Milestone: --- Classification: Fedora
I was flashing FaiprhoneOS when this crash happened:
Sending 'dtbo_b' (24576 KB) OKAY [ 0.843s] Writing 'dtbo_b' OKAY [ 0.103s] Finished. Total time: 0.957s terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::compare: __pos (which is 917456) > this->size() (which is 0) ./flash_fp5_factory.sh: line 205: 20588 Aborted (core dumped) ( "${FASTBOOT_BIN}" -s "${ANDROID_SERIAL}" flash "${partition}" "${image_file}" ) ERROR: Could not flash the super partition on device 49ba2508.
ERROR: Please unplug the phone, take the battery out, boot the device into ERROR: fastboot mode, and start this script again. ERROR: (To get to fastboot mode, press Volume-Down and plug in the USB-C) ERROR: (cable until the fastboot menu appears.) ERROR: Aborting now (press Enter to terminate).
Reproducible always, after rebooting the same error is appearing again.
After I've deleted android-tools and used ones from google it worked perfectly, no issues.
There seems to be problem with this version on upstream, more details here: https://gitlab.archlinux.org/archlinux/packaging/packages/android-tools/-/is...
Reproducible: Always
Steps to Reproduce: 1. Try flashing android image with fastboot from android-tools provided by Fedora 39 2. After some time this error will appear. Actual Results: terminate called after throwing an instance of 'std::out_of_range' appears, image not flashed.
Expected Results: Image flashed successfully.
Stable Fedora 39, latest android-tools provided by Fedora. Here is the link to Fairphone Community forum, just in case: https://forum.fairphone.com/t/flashing-fp5-with-fastboot-error-could-not-fla....
https://bugzilla.redhat.com/show_bug.cgi?id=2269669
Erwan Georget egeorget@dremor.info changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |egeorget@dremor.info
--- Comment #1 from Erwan Georget egeorget@dremor.info --- I'm affected too, Fedora 40 Kinoite, 34.0.5 seem to have fixed the problem (according to Arch users with the same issue), but both Fedora version still uses the 34.0.4 version, according to the package page : https://packages.fedoraproject.org/pkgs/android-tools/android-tools/index.ht...
https://bugzilla.redhat.com/show_bug.cgi?id=2269669
Alex Kapranoff kappa@yandex.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kappa@yandex.ru
--- Comment #2 from Alex Kapranoff kappa@yandex.ru --- I can confirm this bug.
Pull request to update to 35.0.1: https://src.fedoraproject.org/rpms/android-tools/pull-request/8
https://bugzilla.redhat.com/show_bug.cgi?id=2269669
--- Comment #3 from Erwan Georget egeorget@dremor.info --- Update has been merged in Rawhide, but F39 and F40 are still affected. Maintainer seems to be inactive.
https://bugzilla.redhat.com/show_bug.cgi?id=2269669
Stephen John Smoogen smooge@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |smooge@redhat.com Doc Type|--- |If docs needed, set a value
--- Comment #4 from Stephen John Smoogen smooge@redhat.com --- I believe I am the EPEL maintainer of the package and will look to see if I can fix.
https://bugzilla.redhat.com/show_bug.cgi?id=2269669
--- Comment #5 from Aoife Moloney amoloney@redhat.com --- This message is a reminder that Fedora Linux 39 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 39 on 2024-11-26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '39'.
Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it.
Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 39 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
https://bugzilla.redhat.com/show_bug.cgi?id=2269669
Aoife Moloney amoloney@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |EOL Last Closed| |2024-11-28 11:45:07
--- Comment #6 from Aoife Moloney amoloney@redhat.com --- Fedora Linux 39 entered end-of-life (EOL) status on 2024-11-26.
Fedora Linux 39 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of Fedora Linux please feel free to reopen this bug against that version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see the version field.
If you are unable to reopen this bug, please file a new report against an active release.
Thank you for reporting this bug and we are sorry it could not be fixed.
epel-packagers-sig@lists.fedoraproject.org