Bug 400439 - spectacle-18.08.2 segmentation fault
Summary: spectacle-18.08.2 segmentation fault
Status: RESOLVED UPSTREAM
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 18.08.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-29 05:46 UTC by Ladislav Zitka
Modified: 2018-11-01 18:38 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ladislav Zitka 2018-10-29 05:46:17 UTC
SUMMARY


STEPS TO REPRODUCE
1. Connect external monitor via USB-C
2. Let spectacle main window be located on either primary or secondary screen
3. Click "Take a New Screenshot"

OBSERVED RESULT
Spectacle just shutdown silently. There is no error visible in Xorg.0.log neither in messages. But I see in dmesg output:
[ 1256.092610] spectacle[22229]: segfault at 68 ip 00007fc5650e2d1b sp 00007ffe65f637c0 error 4 in i965_dri.so[7fc564cd2000+7ef000]


EXPECTED RESULT


SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.13.5 (-r3 but I think it is internal Gentoo patch release)
KDE Frameworks Version: 5.50.0
Qt Version: 5.11.1

ADDITIONAL INFORMATION
I am just enabling debugging on Gentoo box (must recompile glibc as well) to get some more valuable data.
Comment 1 Ladislav Zitka 2018-10-29 11:59:34 UTC
I have found this could be issue with /usr/lib64/dri/i965_dri.so (as per error) which is lib from mesa, I found some reports regarding segmentation faults related to specific versions.

I am now on stable mesa in Gentoo, but will try to upgrade:
[I] media-libs/mesa
     Available versions:  18.1.9^d ~18.2.0-r1^t ~18.2.1^t ~18.2.2^t ~18.2.2-r1^t ~18.2.3^t **9999^t {bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 +llvm lm_sensors +nptl opencl openmax osmesa pax_kernel pic selinux test unwind vaapi valgrind vdpau vulkan wayland xa xvmc ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" VIDEO_CARDS="freedreno i915 i965 imx intel nouveau r100 r200 r300 r600 radeon radeonsi vc4 virgl vivante vmware"}
     Installed versions:  18.1.9^d(04:41:06 PM 10/20/2018)(classic dri3 egl gallium gbm llvm nptl wayland -bindist -d3d9 -debug -gles1 -gles2 -opencl -openmax -osmesa -pax_kernel -pic -selinux -unwind -vaapi -valgrind -vdpau -vulkan -xa -xvmc ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" VIDEO_CARDS="i965 intel -freedreno -i915 -imx -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi -vc4 -virgl -vivante -vmware")
     Homepage:            https://www.mesa3d.org/ https://mesa.freedesktop.org/
     Description:         OpenGL-like graphic library for Linux
Comment 2 Nate Graham 2018-11-01 18:38:20 UTC
Thanks, it sounds like this is way below us. Please report this to the Mesa devs, especially if it's 100% reproducible. Thanks again!