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(a)gmail.com
Reporter: patryk.ryczko(a)protonmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: admiller(a)redhat.com,
epel-packagers-sig(a)lists.fedoraproject.org,
go-sig(a)lists.fedoraproject.org,
ivan.afonichev(a)gmail.com, jeroen(a)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/-...
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-....
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2269669
Report this comment as SPAM:
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=rep...