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

--- Comment #12 from ltstarwars...@gmail.com ---
(In reply to Anil from comment #11)
> I need to figure out how to get debug symbols and/or recompile a local
> version. However, the steps from here appear to give a full stack trace:
> https://community.kde.org/KWin/Debugging
> 
> namely:
> echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
> sudo gdb -pid $(pidof kwin_wayland) -batch -ex "set logging file
> kwin_wayland.gdb" -ex "set logging on" -ex "continue" -ex "thread apply all
> backtrace" -ex "quit"
> 
> Here's the stack, but without proper symbolication:
> Thread 1 (Thread 0x7f12da9340c0 (LWP 4456) "kwin_wayland"):
> #0  0x00007f12e201af14 in
> KWin::Workspace::clientArea(KWin::clientAreaOption, KWin::AbstractOutput
> const*, KWin::VirtualDesktop const*) const () at /usr/lib/libkwin.so.5
> #1  0x00007f12e1ec9f13 in  () at /usr/lib/libkwin.so.5
> #2  0x00007f12e1ecb743 in  () at /usr/lib/libkwin.so.5
> #3  0x00007f12e1ecb765 in  () at /usr/lib/libkwin.so.5
> #4  0x00007f12df1f0d16 in  () at /usr/lib/libQt5Qml.so.5
> #5  0x00007f12df0f403d in  () at /usr/lib/libQt5Qml.so.5
> #6  0x00007f12df0f510b in QV4::QObjectMethod::callInternal(QV4::Value
> const*, QV4::Value const*, int) const () at /usr/lib/libQt5Qml.so.5
> #7  0x00007f12df11508e in
> QV4::Runtime::CallPropertyLookup::call(QV4::ExecutionEngine*, QV4::Value
> const&, unsigned int, QV4::Value*, int) () at /usr/lib/libQt5Qml.so.5
> #8  0x00007f12a00b9c51 in  ()
> #9  0x00007ffe118e3a50 in  ()
> #10 0x00007f12a0f2f930 in  ()
> #11 0x00007f12a00b93a0 in  ()
> #12 0x0000000000000000 in  ()
> A debugging session is active.
> 
> Maybe someone else who has a setup already working can help :)

It depends on the distro if you want already compiled debug symbol packages of
course, but if you're on an ubuntu based fork, they usually can be found here
ready to go as .debs:
https://launchpad.net/~kubuntu-ppa
https://launchpad.net/ubuntu/+search?text=wayland

If you need source code to compile:
https://gitlab.freedesktop.org/wayland
https://invent.kde.org/plasma/kwin
https://invent.kde.org/plasma/kwayland-server
https://invent.kde.org/plasma/kwayland-integration

A lot of distros also have separate source code you can manually download
through a browser at their repo website instead of through terminal if your
package manager can't find it for whatever reason. That's where I found debug
symbol packs that weren't showing up for the package manager's command line
search.

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

Reply via email to