Bug 460346 - Plasmashell crashing randomly
Summary: Plasmashell crashing randomly
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 5.26.0
Platform: Neon Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-13 08:57 UTC by Tony Murray
Modified: 2022-10-14 18:57 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
debug (16.94 KB, text/plain)
2022-10-13 08:57 UTC, Tony Murray
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Murray 2022-10-13 08:57:30 UTC
Created attachment 152763 [details]
debug

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Version 5.26.0 - (not on list, upgraded yesterday 12 Oct 2022)
2. Plasma shell is crashing repeatedly, randomly (as far as I can tell - no common actions, applications open prior to crash)
3. Losing certain amount of current work - need to save regularly

OBSERVED RESULT
Crash, black screen. plasmashell --replace, restarts the desktop (though all applications need restarted)

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.26.0
(available in About System)
KDE Plasma Version:  5.26.0
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6

ADDITIONAL INFORMATION
Using dual-screens
Comment 1 Nicolas Fella 2022-10-13 09:55:01 UTC
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007f3421d5e859 in __GI_abort () at abort.c:79
#2  0x00007f3421dc926e in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f3421ef3298 "%s\n") at ../sysdeps/posix/libc_fatal.c:155
#3  0x00007f3421dd12fc in malloc_printerr (str=str@entry=0x7f3421ef144d "corrupted size vs. prev_size") at malloc.c:5347
#4  0x00007f3421dd196b in unlink_chunk (p=p@entry=0x55b6b59d8b10, av=0x7f3421f28b80 <main_arena>) at malloc.c:1454
#5  0x00007f3421dd45f3 in _int_malloc (av=av@entry=0x7f3421f28b80 <main_arena>, bytes=bytes@entry=40) at malloc.c:4041
#6  0x00007f3421dd7b95 in __libc_calloc (n=<optimized out>, elem_size=<optimized out>) at malloc.c:3428
#7  0x00007f3416683347 in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#8  0x00007f3416846a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#9  0x00007f342465682d in KWin::GLTexture::create() () from /lib/x86_64-linux-gnu/libkwinglutils.so.14
#10 0x00007f3424656d2f in KWin::GLTexture::GLTexture(unsigned int, int, int, int, bool) () from /lib/x86_64-linux-gnu/libkwinglutils.so.14
#11 0x00007f3424660db6 in KWin::EGLImageTexture::EGLImageTexture(void*, void*, int, QSize const&) () from /lib/x86_64-linux-gnu/libkwinglutils.so.14
#12 0x00007f3424b175b2 in KWin::AbstractEglBackend::importDmaBufAsTexture(KWin::DmaBufAttributes const&) const () from /lib/x86_64-linux-gnu/libkwin.so.5
#13 0x00007f3424a24ef4 in KWin::DrmBackend::createDmaBufTexture(QSize const&, unsigned int, unsigned long) () from /lib/x86_64-linux-gnu/libkwin.so.5
#14 0x00007f342487b3f8 in KWin::Platform::createDmaBufTexture(KWin::DmaBufParams const&) () from /lib/x86_64-linux-gnu/libkwin.so.5
#15 0x000055b6b497698e in ?? ()
#16 0x00007f34222e13fb in ?? () from /lib/x86_64-linux-gnu/libpipewire-0.3.so.0
#17 0x00007f34222da1a5 in pw_impl_port_use_buffers () from /lib/x86_64-linux-gnu/libpipewire-0.3.so.0
#18 0x00007f33e7b65f4c in ?? () from /usr/lib/x86_64-linux-gnu/pipewire-0.3/libpipewire-module-client-node.so
#19 0x00007f33e7b788bf in ?? () from /usr/lib/x86_64-linux-gnu/pipewire-0.3/libpipewire-module-client-node.so
#20 0x00007f33e835ecda in ?? () from /usr/lib/x86_64-linux-gnu/pipewire-0.3/libpipewire-module-protocol-native.so
#21 0x00007f33e835f230 in ?? () from /usr/lib/x86_64-linux-gnu/pipewire-0.3/libpipewire-module-protocol-native.so
#22 0x00007f33e83cf783 in ?? () from /usr/lib/x86_64-linux-gnu/spa-0.2/support/libspa-support.so
#23 0x000055b6b496c751 in ?? ()
#24 0x00007f342301d2f2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f34230213d3 in QSocketNotifier::activated(QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f3423021b73 in QSocketNotifier::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f34224afe43 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007f34224b8c58 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007f3422fe603a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007f342303ddab in QEventDispatcherUNIXPrivate::activateSocketNotifiers() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007f342303e20b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x000055b6b4a48c61 in ?? ()
#33 0x00007f3422fe4b3b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007f3422fecce4 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x000055b6b4944df3 in ?? ()
#36 0x00007f3421d60083 in __libc_start_main (main=0x55b6b4943620, argc=14, argv=0x7ffdc159afc8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdc159afb8) at ../csu/libc-start.c:308
#37 0x000055b6b494695e in ?? ()
Comment 2 Nicolas Fella 2022-10-13 09:55:52 UTC
>#7  0x00007f3416683347 in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
>#8  0x00007f3416846a7b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so

The crash seems to be inside the Intel graphics driver
Comment 3 Tony Murray 2022-10-13 11:15:01 UTC
I switched to X11 graphics for now: and the crashes no longer occur.
Here is some info about the Graphics card/driver. Computer is an intel NUC.

$sudo lshw -c video

*-display                 
       description: VGA compatible controller
       product: Iris Graphics 540
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 0a
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:132 memory:de000000-deffffff memory:80000000-bfffffff ioport:f000(size=64) memory:c0000-dffff

I think the graphic drivers are in the kernel? 
Is any further info or actions that would be useful from my side?
Comment 4 Nate Graham 2022-10-14 18:57:59 UTC
Report this to Mesa please. https://docs.mesa3d.org/bugs.html

Thanks!