Skip to contentSkip to conversation

QupZilla crashes at startup after mesa upgrade

Bug 100984 [email protected] 1 participant 12 messages May 10, 2017 – Aug 14, 2017

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=100984

            Bug ID: 100984
           Summary: QupZilla crashes at startup after mesa upgrade
           Product: Mesa
           Version: 17.1
          Hardware: x86-64 (AMD64)
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i915
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

Since I upgraded media-libs/mesa from version 17.0.4 to version 17.1.0_rc4 I cannot start QupZilla anymore because it produces a segmentation fault. I have an Intel GPU (Q35 chipset). My GNU/Linux distribution is Gentoo.

# lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated
Graphics Controller (rev 02)
# emerge -pv qupzilla mesa

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] www-client/qupzilla-2.1.2::gentoo USE="dbus -debug
-gnome-keyring -kwallet -libressl -nonblockdialogs" LINGUAS="-ar_SA -bg_BG -ca_ES -cs_CZ -da_DK -de_DE -el_GR -es_ES -es_MX -es_VE -eu_ES -fa_IR -fi_FI -fr_FR -gl_ES -he_IL -hr_HR -hu_HU -id_ID -is -it_IT -ja_JP -ka_GE -lg -lt -lv_LV -nl_NL -nqo -pl_PL -pt_BR -pt_PT -ro_RO -ru_RU -sk_SK -sr -sr@ijekavian -sr@ijekavianlatin -sr@latin -sv_SE -tr_TR -uk_UA -uz@Latn -zh_CN -zh_HK -zh_TW" 2,703 KiB
[ebuild R ] media-libs/mesa-17.1.0_rc4::gentoo USE="classic debug dri3
egl gallium gbm nptl -bindist -d3d9 -gles1 -gles2 -llvm -opencl -openmax -osmesa -pax_kernel -pic (-selinux) -vaapi -valgrind -vdpau -vulkan -wayland -xa -xvmc" VIDEO_CARDS="i915 intel (-freedreno) -i965 -imx -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi (-vc4) (-vivante) -vmware" 0 KiB

Total: 2 packages (2 reinstalls), Size of downloads: 2,703 KiB

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=100984

--- Comment #1 from Francesco Turco <[email protected]> --- Created attachment 131290
--> https://bugs.freedesktop.org/attachment.cgi?id=131290&action=edit
gdb backtrace (basic version)

I used the "bt" gdb command.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100984

--- Comment #2 from Francesco Turco <[email protected]> --- Created attachment 131291
--> https://bugs.freedesktop.org/attachment.cgi?id=131291&action=edit
gdb backtrace (full version)

I used the "thread apply all bt full" gdb command.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100984

--- Comment #3 from Francesco Turco <[email protected]> ---
I found another applications that segfaults with media-libs/mesa-17.1.0_rc4 and media-libs/mesa-9999 (git version): media-video/mpv.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100984

--- Comment #5 from Emil Velikov <[email protected]> --- Francesco there can be two driver for your device. The following command will show which one.

$ glxinfo| grep "renderer string"

In either case - these drivers have hardly anyone looking at them, so a simple test case, or a offending commit considering it's a regression, will be appreciated.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100984

--- Comment #6 from Francesco Turco <[email protected]> ---

$ glxinfo | grep "renderer string"
couldn't open libtxc_dxtn.so, software DXTn compression/decompression
unavailable
i915_get_shader_param: Unknown cap 28.
i915_get_shader_param: Unknown cap 30.
i915_get_param: Unknown cap 49.
i915_get_param: Unknown cap 119.
i915_get_param: Unknown cap 49.
i915_get_shader_param: Unknown cap 28.
i915_get_shader_param: Unknown cap 30.
i915_get_param: Unknown cap 49.
i915_get_param: Unknown cap 119.
i915_get_param: Unknown cap 49.
i915_get_shader_param: Unknown cap 28.
i915_get_shader_param: Unknown cap 30.
i915_get_param: Unknown cap 49.
i915_get_param: Unknown cap 119.
i915_get_param: Unknown cap 49.
i915_get_shader_param: Unknown cap 28.
i915_get_shader_param: Unknown cap 30.
i915_get_param: Unknown cap 49.
i915_get_param: Unknown cap 119.
i915_get_param: Unknown cap 49.
i915_program_error: bad opcode 133
i915_program_error: bad opcode 121
i915_program_error: bad opcode 133
i915_program_error: bad opcode 121
i915_program_error: bad opcode 133
i915_program_error: bad opcode 121
i915_program_error: bad opcode 133
i915_program_error: bad opcode 121
i915_program_error: bad opcode 133
i915_program_error: bad opcode 121
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn
compression/decompression unavailable
i915_get_shader_param: Unknown cap 28.
i915_get_shader_param: Unknown cap 30.
i915_get_param: Unknown cap 49.
i915_get_param: Unknown cap 119.
i915_get_param: Unknown cap 49.
OpenGL renderer string: Gallium 0.4 on i915 (chipset: Q35)
i915_program_error: bad opcode 133
i915_program_error: bad opcode 121
i915_program_error: bad opcode 133
i915_program_error: bad opcode 121
i915_program_error: bad opcode 133
i915_program_error: bad opcode 121
i915_program_error: bad opcode 133
i915_program_error: bad opcode 121
i915_program_error: bad opcode 133
i915_program_error: bad opcode 121
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn
compression/decompression unavailable
i915_get_shader_param: Unknown cap 28.
i915_get_shader_param: Unknown cap 30.
i915_get_param: Unknown cap 49.
i915_get_param: Unknown cap 119.
i915_get_param: Unknown cap 49.
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100984

--- Comment #7 from Alexander Tsoy <[email protected]> --- Confirming this issue with i915g driver.

$ DISPLAY=:0 glxinfo | egrep 'renderer string|OpenGL version string'
OpenGL renderer string: Gallium 0.4 on i915 (chipset: 945GM)
OpenGL version string: 2.1 Mesa 17.1.0-rc4

"glxgears" and "mpv --vo=opengl" segfaults:

[35772.915780] mpv/vo[8568]: segfault at 12c ip 00007f456c76ae76 sp
00007f456dbad880 error 4 in i915g_dri.so[7f456c261000+6a9000]
[35779.817131] mpv/vo[8599]: segfault at 12c ip 00007f14033bce76 sp
00007f1408b6a880 error 4 in i915g_dri.so[7f1402eb3000+6a9000]
[35792.307840] glxgears[8625]: segfault at 12c ip 00007f07ee640e76 sp
00007fff2adb5900 error 4 in i915g_dri.so[7f07ee137000+6a9000]
[35874.392980] glxgears[8638]: segfault at 12c ip 00007f54a2cfae76 sp

00007ffeb5249370 error 4 in i915g_dri.so[7f54a27f1000+6a9000]

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100984

Alexander Tsoy <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Component|Drivers/DRI/i915 |Drivers/Gallium/i915g

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100984

--- Comment #9 from Francesco Turco <[email protected]> --- I have upgraded media-libs/mesa from 17.1.0_rc4 to 17.1.0.

After running "eselect mesa set i915 2" (gallium) both qupzilla and mpv crash. After running "eselect mesa set i915 1" (classic) both qupzilla and mpv run successfully.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100984

Andre Klapper <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Product|Mesa                        |Spam
         Resolution|---                         |INVALID
            Version|17.1                        |unspecified
             Status|NEW                         |RESOLVED
          Component|Drivers/Gallium/i915g       |Two
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel