https://bugs.kde.org/show_bug.cgi?id=521933
Bug ID: 521933
Summary: "Fatal allocator error: sized deallocation mismatch
(small)" caught by hardened_malloc when trying to
extract text
Classification: Applications
Product: Spectacle
Version First 6.7.0
Reported In:
Platform: Fedora RPMs
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: General
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
DESCRIPTION
A memory error occurs when you try to extract text from a screenshot. It's
caught when using GrapheneOS's hardened-malloc which gives the error "Fatal
allocator error: sized deallocation mismatch (small)". It means it's hitting
undefined behavior in that code path, in particular it's trying to deallocate
something as a different-sized type than it was allocated as.
STEPS TO REPRODUCE
1. Take a screenshot of text
2. Press the "Extract Text" button
OBSERVED RESULT
A memory error occurs (and a crash when using hardened-malloc)
EXPECTED RESULT
A memory error doesn't occur
SOFTWARE/OS VERSIONS
Operating System: secureblue 44
KDE Plasma Version: 6.7.0
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1
LOGS
qt.qml.propertyCache.append: Member focusPolicy of the object
UndoRedoGroup_QMLTYPE_108 overrides a member of the base object. Consider
renaming it or adding final or override specifier
qt.qml.propertyCache.append: Member focusPolicy of the object
ButtonGrid_QMLTYPE_111 overrides a member of the base object. Consider renaming
it or adding final or override specifier
qt.qml.propertyCache.append: Member focusPolicy of the object
AnnotationOptionsToolBarContents_QMLTYPE_115 overrides a member of the base
object. Consider renaming it or adding final or override specifier
Estimating resolution as 123
fatal allocator error: sized deallocation mismatch (small)
Aborted (core dumped) /usr/bin/spectacle
--
You are receiving this mail because:
You are watching all bug changes.