https://bugs.kde.org/show_bug.cgi?id=492889

--- Comment #9 from Parag W <parag.l...@gmail.com> ---
(In reply to cwo from comment #8)
> Can you try it with a fresh user account, so we can narrow down whether
> there's a user setting that causes this or whether it happens on default
> settings as well?

Looks like a compiler/optimization level issue with my build - I nuked
everything, created a fresh user account and the crash only happens on my
source build plasmashell - i.e. no crash on the Arch packaged one.

Ran it under gdb and under my build which uses - 

cmake-options -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER=clang
-DCMAKE_CXX_COMPILER=clang++ -DCMAKE_LINKER=lld -DCMAKE_C_FLAGS="-flto=thin
-fuse-ld=lld" -DCMAKE_CXX_FLAGS="-flto=thin -fuse-ld=lld"
-DCMAKE_LD_FLAGS="-flto=thin -fuse-ld=lld" 

The crash happens in 

    T take(const Key &key)
    {
        if (!d)
            return T();

  Crash -->      const auto copy = d.isShared() ? *this : QMap(); // keep `key`
alive across the detach

And when it crashes 'd' is 0x0 - so the if (!d) line doesn't really get
executed.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to