Bug 460946 - Plasmashell crashing after resume (after hibernate)
Summary: Plasmashell crashing after resume (after hibernate)
Status: REPORTED
Alias: None
Product: plasma-pa
Classification: Plasma
Component: general (show other bugs)
Version: 5.26.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-24 15:25 UTC by Phos
Modified: 2022-10-29 09:00 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Generated from gdb bt full with debuginfod enabled (4.88 KB, text/plain)
2022-10-24 15:25 UTC, Phos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Phos 2022-10-24 15:25:17 UTC
Created attachment 153168 [details]
Generated from gdb bt full with debuginfod enabled

SUMMARY
Plasmashell crashing after resuming from hibernation


STEPS TO REPRODUCE
1. Hibernate computer
2. Wake up computer
3. Login
4. Plasmashell crashes (but recovers quickly)

OBSERVED RESULT
Plasmashell crashes but recovers

EXPECTED RESULT
Plasmashell doesn't crash

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 5.15.74-1-lts (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz
Memory: 31.1 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630

ADDITIONAL INFORMATION
Attached is the backtrace generated from gdb bt full with debuginfod
Comment 1 Nate Graham 2022-10-24 18:57:59 UTC
Pasting inline for searchability:

#0  __GI___pthread_sigmask (how=1, newmask=<optimized out>, oldmask=0x0) at pthread_sigmask.c:43

                    local_newmask = {__val = {140234402987808, 32, 140733008160304, 140733008160304, 140733008160304, 140733008160316, 140733008161327, 140733008160304, 0, 0, 0, 0, 0, 0, 0, 0}}
        result = 0
#1  0x00007f8adb90cbfd in __GI___sigprocmask (how=<optimized out>, set=<optimized out>, oset=<optimized out>)
    at ../sysdeps/unix/sysv/linux/sigprocmask.c:25
        result = <optimized out>
#2  0x00007f8addc661eb in KCrash::setCrashHandler(void (*)(int)) (handler=handler@entry=0x0)
    at /usr/src/debug/kcrash-5.99.0/src/kcrash.cpp:415

                    mask = {__val = {1256, 0, 0, 0, 2, 11, 140733008159952, 1911979936495614976, 140733008159936, 18446744073709551376, 4, 11, 140733008159952, 2, 140234367620992, 140234366299043}}
#3  0x00007f8addc6885f in KCrash::defaultCrashHandler(int) (sig=11)
    at /usr/src/debug/kcrash-5.99.0/src/kcrash.cpp:632
        crashRecursionCounter = 2
#4  0x00007f8adb90ca00 in <signal handler called> () at /usr/lib/libc.so.6
#5  0x00007f8a4cc305e1 in  () at /usr/lib/qt/qml/org/kde/plasma/private/volume/libplasma-volume-declarative.so
#6  0x00007f8a4cb8ff14 in context_get_server_info_callback
    (pd=pd@entry=0x56368db78a10, command=command@entry=1, tag=tag@entry=4939, t=t@entry=0x0, userdata=userdata@entry=0x563690f26460) at ../pulseaudio/src/pulse/introspect.c:122
        cb = <optimized out>
        o = 0x563690f26460

                      i = {user_name = 0x0, host_name = 0x0, server_version = 0x0, server_name = 0x0, sample_spec = {format = PA_SAMPLE_U8, rate = 0, channels = 0 '\000'}, default_sink_name = 0x0, default_source_name = 0x0, cookie = 0, channel_map = {channels = 0 '\000', map = {PA_CHANNEL_POSITION_MONO <repeats 32 times>}}}
        p = <optimized out>
        __func__ = "context_get_server_info_callback"
        __PRETTY_FUNCTION__ = "context_get_server_info_callback"
#7  0x00007f8a4cb36e52 in run_action (pd=0x56368db78a10, r=0x5636914b70d0, command=1, ts=0x0)
    at ../pulseaudio/src/pulsecore/pdispatch.c:291
        callback = 0x7f8a4cb8fe90 <context_get_server_info_callback>
        userdata = 0x563690f26460
        tag = 4939
        __func__ = "run_action"
        __PRETTY_FUNCTION__ = "run_action"
#8  0x00007f8a4cbd46f1 in dispatch_func (source=0x56368d664590, callback=<optimized out>, userdata=<optimized out>)
    at ../pulseaudio/src/pulse/glib-mainloop.c:574
        now = <optimized out>
        tvnow = {tv_sec = 1666619505, tv_usec = 947526}
        t = 0x563691aa60e0
        g = 0x56368d664590
        e = <optimized out>
        __func__ = "dispatch_func"
#9  0x00007f8ada22f81b in g_main_dispatch (context=0x7f8ad0005010) at ../glib/glib/gmain.c:3444
        dispatch = 0x7f8a4cbd4560 <dispatch_func>
        prev_source = 0x0
        begin_time_nsec = 154890197271457
        was_in_call = 0
        user_data = 0x0
        callback = 0x0
        cb_funcs = 0x0
        cb_data = 0x0
        need_destroy = <optimized out>
        source = 0x56368d664590
        current = 0x56368c726f00
        i = 3
#10 g_main_context_dispatch (context=0x7f8ad0005010) at ../glib/glib/gmain.c:4162
#11 0x00007f8ada285ec9 in g_main_context_iterate.constprop.0
    (context=0x7f8ad0005010, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4238
--Type <RET> for more, q to quit, c to continue without paging--c
        max_priority = 0
        timeout = 0
        some_ready = 1
        nfds = 10
        allocated_nfds = <optimized out>
        fds = <optimized out>
        begin_time_nsec = 154865459050464
#12 0x00007f8ada22e0d2 in g_main_context_iteration (context=0x7f8ad0005010, may_block=1) at ../glib/glib/gmain.c:4303
        retval = <optimized out>
#13 0x00007f8adbfc950c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#14 0x00007f8adbf7732c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#15 0x00007f8adbf81e59 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#16 0x000056368a72010f in  ()
#17 0x00007f8adb8f7290 in __libc_start_call_main (main=main@entry=0x56368a71d240, argc=argc@entry=2, argv=argv@entry=0x7ffef4f5b8c8) at ../sysdeps/nptl/libc_start_call_main.h:58
        self = <optimized out>
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140733008165064, -2538209053507090276, 0, 140733008165088, 94792251434520, 140234407936000, 2538783048229685404, 2581634948491085980}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x7ffef4f5b8c8, 0x2}, data = {prev = 0x0, cleanup = 0x0, canceltype = -185222968}}}
        not_first_call = <optimized out>
#18 0x00007f8adb8f734a in __libc_start_main_impl (main=0x56368a71d240, argc=2, argv=0x7ffef4f5b8c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffef4f5b8b8) at ../csu/libc-start.c:381
#19 0x000056368a7204c5 in  ()
Comment 2 Nate Graham 2022-10-24 18:59:11 UTC
Crashing in context_get_server_info_callback() like Bug 437272, but the rest of the backtrace looks different.
Comment 3 Phos 2022-10-29 09:00:20 UTC
I just noticed that it was Pulseaudio crashing. I should mention that I am using pipewire and I am using pipewire-pulse