Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apport/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -1862,11 +1862,11 @@ def crash_signature_addresses(self) -> str | None:
failed = 0
for line in self["Stacktrace"].splitlines():
if line.startswith("#"):
addr = line.split()[1]
if not addr.startswith("0x"):
addr_str = line.split()[1]
if not addr_str.startswith("0x"):
continue
# we do want to know about ValueErrors here, so don't catch
addr = int(addr, 16)
addr = int(addr_str, 16)
# ignore impossibly low addresses; these are usually artifacts
# from gdb when not having debug symbols
if addr < 0x1000:
Expand Down
Loading