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.
epel-packagers-sig@lists.fedoraproject.org