https://bugs.kde.org/show_bug.cgi?id=525947
Bug ID: 525947
Summary: Crash on startup: malloc(): unaligned tcache chunk
detected in CalendarApplication constructor via
ViewTitleDelegate
Classification: Applications
Product: Merkuro
Version First 26.08.1
Reported In:
Platform: Manjaro
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
Created attachment 196365
--> https://bugs.kde.org/attachment.cgi?id=196365&action=edit
Merkuro backtrace
STEPS TO REPRODUCE
1. Launch `merkuro-calendar` from terminal.
2. The UI attempts to load views and delegates.
OBSERVED RESULT
Merkuro aborts immediately with SIGABRT / malloc corruption:
"malloc(): unaligned tcache chunk detected"
EXPECTED RESULT
Merkuro should initialize CalendarApplication and ViewTitleDelegate without
heap corruption.
SOFTWARE / SYSTEM VERSIONS
OS: Manjaro Linux (x86_64)
KDE Gear / Merkuro: 26.08.1
Qt: 6.11.2 (qt6-base, qt6-declarative)
KF6 KI18n: 6.30.0
Kirigami: 6.30.0
Kirigami-Addons: 1.14.0
BACKTRACE
#0 __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1 0x00007ffff409a243 in __pthread_kill_internal (threadid=<optimized out>,
signo=6) at pthread_kill.c:89
#2 0x00007ffff403e5d0 in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#3 0x00007ffff4025685 in __GI_abort () at abort.c:77
#4 0x00007ffff4026704 in __libc_message_impl
(vma_name=vma_name@entry=0x7ffff41b9916 "glibc: fatal",
fmt=fmt@entry=0x7ffff41bcf65 "%s\n") at ../sysdeps/posix/libc_fatal.c:138
#5 0x00007ffff40a482c in __libc_message_wrapper (vmaname=0x7ffff41b9916
"glibc: fatal", fmt=0x7ffff41bcf65 "%s\n") at ../include/stdio.h:203
#6 malloc_printerr (str=str@entry=0x7ffff41bff40 "malloc(): unaligned tcache
chunk detected") at malloc.c:5093
#7 0x00007ffff40a8aa8 in tcache_get_n (tc_idx=<optimized out>, ep=<optimized
out>, mangled=<optimized out>) at malloc.c:2857
#8 tcache_get (tc_idx=<optimized out>) at malloc.c:2879
#9 __GI___libc_malloc (bytes=bytes@entry=22) at malloc.c:3112
#10 0x00007ffff4a5534d in allocateHelper (alignment=16, dptr=<synthetic
pointer>, objectSize=1, capacity=4, option=QArrayData::KeepSize) at
/usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.cpp:179
#11 QArrayData::allocate1 (option=QArrayData::KeepSize, dptr=<synthetic
pointer>, capacity=4) at
/usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.cpp:206
#12 QTypedArrayData<char>::allocate (capacity=4, option=QArrayData::KeepSize)
at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.h:150
#13 QArrayDataPointer<char>::QArrayDataPointer (this=0x7fffffff2d80, alloc=4,
n=4, option=QArrayData::KeepSize) at
/usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydatapointer.h:59
#14 QByteArray::QByteArray (this=<optimized out>, data=<optimized out>,
size=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/text/qbytearray.cpp:1846
#15 0x00007ffff4a55718 in QByteArray::QByteArray (this=<optimized out>, v=...)
at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qbytearray.h:95
#16 QByteArrayView::toByteArray (this=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/text/qbytearray.h:841
#17 QByteArray::assign (this=this@entry=0x555556236ef0, v=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/text/qbytearray.cpp:2294
#18 0x00007ffff4a55802 in QByteArray::operator= (this=0x555556236ef0,
str=str@entry=0x5555557130cc "Sort") at
/usr/src/debug/qt6-base/qtbase/src/corelib/text/qbytearray.cpp:1388
#19 0x00007ffff73acd3c in KLocalizedString::KLocalizedString (this=<optimized
out>, text=<optimized out>) at
/usr/src/debug/ki18n/ki18n-6.30.0/src/i18n/klocalizedstring.cpp:380
#20 0x00007ffff73c55c3 in ki18n (text=text@entry=0x5555557130cc "Sort") at
/usr/src/debug/ki18n/ki18n-6.30.0/src/i18n/klocalizedstring.cpp:1394
#21 0x00005555556b7eee in i18n (text=0x5555557130cc "Sort") at
/usr/include/KF6/KI18n/klocalizedstring.h:1206
#22 CalendarApplication::CalendarApplication(QObject*) [clone .constprop.0]
(this=0x555556264090, parent=0x0) at
/usr/src/debug/merkuro/merkuro-26.08.1/src/calendar/calendarapplication.cpp:28
#23 0x00005555555b16b6 in
QQmlPrivate::createSingletonInstance<CalendarApplication, CalendarApplication,
(QQmlPrivate::SingletonConstructionMode)1> (q=<optimized out>, j=<optimized
out>) at /usr/include/qt6/QtQml/qqmlprivate.h:190
#24 0x00007ffff52e8422 in std::function<QObject* (QQmlEngine*,
QJSEngine*)>::operator()(QQmlEngine*, QJSEngine*) const (this=0x7fffb8009b68,
__args#0=0x7fffffffd0a0, __args#1=0x7fffffffd0a0) at
/usr/include/c++/16/bits/std_function.h:581
#25 QQmlEnginePrivate::singletonInstance<QJSValue> (this=0x555555adeeb0,
type=...) at
/usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlengine.cpp:1840
#26 0x00007ffff51ee7f6 in QQmlEnginePrivate::singletonInstance<QObject*>
(this=<optimized out>, type=...) at
/usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmlengine_p.h:366
#27 0x00007ffff540a64b in QV4::QQmlTypeWrapper::object (this=<optimized out>)
at
/usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqmltypewrapper.cpp:169
#28 0x00007ffff5291e08 in QQmlPrivate::AOTCompiledContext::loadSingletonLookup
(this=this@entry=0x7fffffff3350, index=index@entry=49,
target=target@entry=0x7fffffff3278) at
/usr/src/debug/qt6-declarative/qtdeclarative/src/qml/qml/qqml.cpp:2653
#29 0x00005555555e5f61 in
QmlCacheGeneratedCode::_qt_qml_org_kde_merkuro_calendar_qml_Delegates_ViewTitleDelegate_qml::aotBuiltFunctions::{lambda(QQmlPrivate::AOTCompiledContext
const*, void**)#4}::operator() at
/usr/src/debug/merkuro/build/src/calendar/.rcc/qmlcache/merkuro_calendar_static_qml_Delegates_ViewTitleDelegate_qml.cpp:834
--
You are receiving this mail because:
You are watching all bug changes.