Crash when parsing ELF file with symbols on armhf

Bug #1879519 reported by Alfonso Sanchez-Beato
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
Medium
Chris Patterson

Bug Description

I am getting this crash:

https://paste.ubuntu.com/p/BMjVrcBv99/

while building

https://github.com/alfonsosanchezbeato/abeato-gdb-snap/blob/master/snapcraft.yaml

for armhf - things are good for amd64 and arm64.

This happens for snapcraft 3.11 and 4.0.2.

Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

The _ensure_str(s) method is crashing with an s of type None.

Changed in snapcraft:
assignee: nobody → Chris Patterson (cjp256)
Revision history for this message
Chris Patterson (cjp256) wrote :

I don't have a good way of testing this atm on armhf, but I tested on arm64 w/ armhf debug symbols being primed by including armhf/focal debug packages (which reproduced on arm64).

Fix PR: https://github.com/snapcore/snapcraft/pull/3149

Changed in snapcraft:
status: New → In Progress
Changed in snapcraft:
status: In Progress → Fix Committed
importance: Undecided → Medium
Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote :

Revision 4857 fixes the issue, thanks!

Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.