Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kwin aborts in an alloc 3 times every start via startplasma-wayland #3046

Open
nekopsykose opened this issue Oct 4, 2024 · 0 comments
Open

Comments

@nekopsykose
Copy link
Member

it's invisible since the wrapper just restarts it until it works, but no idea why

(lldb) bt
* thread #1, name = 'kwin_wayland', stop reason = signal SIGABRT
  * frame #0: 0x00007eb94cbc5e9b ld-musl-x86_64.so.1`__restore_sigs [inlined] __syscall4(n=14, a1=2, a2=140726072336624, a3=0, a4=8) at syscall_arch.h:38:2
    frame #1: 0x00007eb94cbc5e87 ld-musl-x86_64.so.1`__restore_sigs(set=0x00007ffd578d60f0) at block.c:43:2
    frame #2: 0x00007eb94cbc6070 ld-musl-x86_64.so.1`raise(sig=<unavailable>) at raise.c:11:2
    frame #3: 0x00007eb94cb882a2 ld-musl-x86_64.so.1`abort at abort.c:11:2
    frame #4: 0x00007eb94cbea46a ld-musl-x86_64.so.1`_mi_error_message [inlined] mi_error_default(err=14) at options.c:423:5
    frame #5: 0x00007eb94cbea465 ld-musl-x86_64.so.1`_mi_error_message(err=14, fmt=<unavailable>) at options.c:449:5
    frame #6: 0x00007eb94cbf1d15 ld-musl-x86_64.so.1`_mi_page_malloc_zero [inlined] mi_block_next(page=0x00007eb948800b98, block=0x00007eb948993f00) at internal.h:718:5
    frame #7: 0x00007eb94cbf1cab ld-musl-x86_64.so.1`_mi_page_malloc_zero(heap=<unavailable>, page=0x00007eb948800b98, size=<unavailable>, zero=false) at alloc.c:40:16
    frame #8: 0x00007eb9476d30c9 libc++abi.so.1`::operator new() [inlined] operator_new_impl at stdlib_new_delete.cpp:54:15
    frame #9: 0x00007eb9476d30b9 libc++abi.so.1`::operator new() at stdlib_new_delete.cpp:67:13
    frame #10: 0x00007eb945bde1bf libQt6Core.so.6`QtPrivate::BindingStatusOrList::addObjectUnlessAlreadyStatus(QObject*) [inlined] void* std::__1::__libcpp_operator_new[abi:fe180100]<unsigned long>(__args=64) at new:271:10
    frame #11: 0x00007eb945bde1b5 libQt6Core.so.6`QtPrivate::BindingStatusOrList::addObjectUnlessAlreadyStatus(QObject*) [inlined] std::__1::__libcpp_allocate[abi:fe180100](__size=64, __align=8) at new:295:10
    frame #12: 0x00007eb945bde1b5 libQt6Core.so.6`QtPrivate::BindingStatusOrList::addObjectUnlessAlreadyStatus(QObject*) [inlined] std::__1::allocator<QObject*>::allocate[abi:fe180100](this=<unavailable>, __n=8) at allocator.h:125:32
    frame #13: 0x00007eb945bde1b5 libQt6Core.so.6`QtPrivate::BindingStatusOrList::addObjectUnlessAlreadyStatus(QObject*) [inlined] std::__1::__allocation_result<std::__1::allocator_traits<std::__1::allocator<QObject*>>::pointer> std::__1::__allocate_at_least[abi:fe180100]<std::__1::allocator<QObject*>>(__alloc=<unavailable>, __n=8) at allocate_at_least.h:55:19
    frame #14: 0x00007eb945bde1b5 libQt6Core.so.6`QtPrivate::BindingStatusOrList::addObjectUnlessAlreadyStatus(QObject*) [inlined] std::__1::__split_buffer<QObject*, std::__1::allocator<QObject*>&>::__split_buffer(this=<unavailable>, __cap=8, __start=0, __a=0x00007eb948835eb0) at __split_buffer:343:25
    frame #15: 0x00007eb945bde1b5 libQt6Core.so.6`QtPrivate::BindingStatusOrList::addObjectUnlessAlreadyStatus(QObject*) [inlined] std::__1::vector<QObject*, std::__1::allocator<QObject*>>::reserve(this=0x00007eb948835ea0 size=0, __n=8) at vector:1425:49
    frame #16: 0x00007eb945bde1b5 libQt6Core.so.6`QtPrivate::BindingStatusOrList::addObjectUnlessAlreadyStatus(this=0x00007eb948930968, object=0x00007eb94671c3a0) at qthread.cpp:609:21
    frame #17: 0x00007eb945bde344 libQt6Core.so.6`QThreadPrivate::addObjectWithPendingBindingStatusChange(this=<unavailable>, obj=0x00007eb94671c3a0) at qthread.cpp:634:37
    frame #18: 0x00007eb945b1acc4 libQt6Core.so.6`QObject::moveToThread(this=0x00007eb94671c3a0, targetThread=0x00007eb94671c3a0, (null)=<unavailable>) at qobject.cpp:1741:40
    frame #19: 0x00007eb9466b33aa libQt6DBus.so.6`QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>::Holder() [inlined] QDBusConnectionManager::QDBusConnectionManager(this=0x00007eb94671c3a0) at qdbusconnectionmanager.cpp:104:5
    frame #20: 0x00007eb9466b3364 libQt6DBus.so.6`QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>::Holder() [inlined] (anonymous namespace)::Q_QGS__q_manager::innerFunction(pointer=0x00007eb94671c3a0) at qdbusconnectionmanager.cpp:24:1
    frame #21: 0x00007eb9466b3364 libQt6DBus.so.6`QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>::Holder(this=0x00007eb94671c3a0) at qglobalstatic.h:37:9
    frame #22: 0x00007eb9466ab54b libQt6DBus.so.6`QDBusConnection::sessionBus() [inlined] QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>>::instance() at qglobalstatic.h:100:23
    frame #23: 0x00007eb9466ab536 libQt6DBus.so.6`QDBusConnection::sessionBus() [inlined] QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>>::operator()(this=<unavailable>) at qglobalstatic.h:82:16
    frame #24: 0x00007eb9466ab536 libQt6DBus.so.6`QDBusConnection::sessionBus() [inlined] QDBusConnectionManager::instance() at qdbusconnectionmanager.cpp:122:12
    frame #25: 0x00007eb9466ab536 libQt6DBus.so.6`QDBusConnection::sessionBus() at qdbusconnection.cpp:920:21
    frame #26: 0x00007eb946559d00 libQt6Gui.so.6`QGenericUnixServices::QGenericUnixServices(this=0x00007eb948993ec0) at qgenericunixservices.cpp:386:36
    frame #27: 0x0000630fd25e4a5e kwin_wayland`KWinIntegrationPlugin::create(QString const&, QList<QString> const&) [inlined] KWin::QPA::Integration::Integration(this=0x00007eb948898c00) at integration.cpp:53:22
    frame #28: 0x0000630fd25e49cb kwin_wayland`KWinIntegrationPlugin::create(this=<unavailable>, system=<unavailable>, paramList=<unavailable>) at main.cpp:31:20
    frame #29: 0x00007eb9460ee4b3 libQt6Gui.so.6`QPlatformIntegrationFactory::create(QString const&, QList<QString> const&, int&, char**, QString const&) [inlined] QPlatformIntegration* qLoadPlugin<QPlatformIntegration, QPlatformIntegrationPlugin, QList<QString> const&, int&, char**&>(loader=0x00007eb9465f38b8, key=0x00007ffd578d6650, args=0x00007ffd578d6670, args=0x00007ffd578d6f6c, args=<unavailable>) at qfactoryloader_p.h:100:52
    frame #30: 0x00007eb9460ee46e libQt6Gui.so.6`QPlatformIntegrationFactory::create(platform=0x00007ffd578d6650, paramList=0x00007ffd578d6670, argc=0x00007ffd578d6f6c, argv=0x00007ffd578d7038, platformPluginPath=0x00007ffd578d68c0) at qplatformintegrationfactory.cpp:23:12
    frame #31: 0x00007eb9460b4dfc libQt6Gui.so.6`init_platform(pluginNamesWithArguments=<unavailable>, platformPluginPath=0x00007ffd578d68c0, platformThemeName=0x00007ffd578d67e0, argc=0x00007ffd578d6f6c, argv=0x00007ffd578d7038) at qguiapplication.cpp:1250:56
    frame #32: 0x00007eb9460b420f libQt6Gui.so.6`QGuiApplicationPrivate::createPlatformIntegration(this=0x00007eb948873200) at qguiapplication.cpp:1539:5
    frame #33: 0x00007eb9460b6b90 libQt6Gui.so.6`QGuiApplicationPrivate::createEventDispatcher(this=<unavailable>) at qguiapplication.cpp:1558:9
    frame #34: 0x00007eb945acb0dc libQt6Core.so.6`QCoreApplicationPrivate::init(this=0x00007eb948873200) at qcoreapplication.cpp:915:9
    frame #35: 0x00007eb9460af3a9 libQt6Gui.so.6`QGuiApplicationPrivate::init(this=<unavailable>) at qguiapplication.cpp:1586:30
    frame #36: 0x00007eb946a87a56 libQt6Widgets.so.6`QApplicationPrivate::init(this=<unavailable>) at qapplication.cpp:472:29
    frame #37: 0x00007eb9483e5500 libkwin.so.6`KWin::Application::Application(this=<unavailable>, mode=OperationModeWaylandOnly, argc=<unavailable>, argv=<unavailable>) at main.cpp:87:7
    frame #38: 0x0000630fd25ef3ec kwin_wayland`main [inlined] KWin::ApplicationWayland::ApplicationWayland(this=0x00007ffd578d6dd0, argc=0x00007ffd578d6f6c, argv=0x00007ffd578d7038) at main_wayland.cpp:110:7
    frame #39: 0x0000630fd25ef3dc kwin_wayland`main(argc=14, argv=0x00007ffd578d7038) at main_wayland.cpp:295:30
    frame #40: 0x00007eb94cb87c1d ld-musl-x86_64.so.1`libc_start_main_stage2(main=(kwin_wayland`main at main_wayland.cpp:271), argc=<unavailable>, argv=0x00007ffd578d7038) at __libc_start_main.c:95:7
    frame #41: 0x0000630fd25bf6a6 kwin_wayland`_start + 22

err=14 is efault which is an internal allocator error of some detected corruption, but it's weird that happens on a malloc and not a free or something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant