Bug 51622 - X server segfault with indirect rendering after running "gdb empathy" inside KDE, and typing "q".
Summary: X server segfault with indirect rendering after running "gdb empathy" inside ...
Status: RESOLVED WONTFIX
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: 8.0
Hardware: x86-64 (AMD64) Linux (All)
: low critical
Assignee: Ian Romanick
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-01 10:13 UTC by Shlomi Fish
Modified: 2017-09-14 22:13 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Shlomi Fish 2012-07-01 10:13:09 UTC
I'm using Mageia Linux Cauldron on a Core i3 machine with KDE 4.8.95. After I run "gdb empathy", type "r", wait for empathy to crash and then type "q" in the gdb prompt, then X crashes with this backtrace:

[GDB]
Loaded symbols for /usr/lib64/xorg/modules/input/evdev_drv.so
Reading symbols from /usr/lib64/libtxc_dxtn.so...Reading symbols from /usr/lib/debug/usr/lib64/libtxc_dxtn.so.debug...done.
done.
Loaded symbols for /usr/lib64/libtxc_dxtn.so
0x00007f60e3f6b263 in __select_nocancel () at ../sysdeps/unix/syscall-template.S:82
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)

Program received signal SIGUSR1, User defined signal 1.

Program received signal SIGPIPE, Broken pipe.

Program received signal SIGSEGV, Segmentation fault.
__glXDisp_PushMatrix (pc=0x3e9b338 "D") at indirect_dispatch.c:2585
2585	    CALL_PushMatrix(GET_DISPATCH(), ());
#0  __glXDisp_PushMatrix (pc=0x3e9b338 "D") at indirect_dispatch.c:2585
#1  0x00007f60e2d6f3b4 in __glXDisp_Render (cl=<optimized out>, pc=<optimized out>) at glxcmds.c:2011
#2  0x00007f60e2d71e13 in __glXDispatch (client=<optimized out>) at glxext.c:568
#3  0x0000000000434681 in Dispatch () at dispatch.c:428
#4  0x00000000004236d5 in main (argc=7, argv=0x7fff9d3adda8, envp=<optimized out>) at main.c:288
A debugging session is active.

	Inferior 1 [process 2055] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]

[/GDB]

I've been getting many other relatively frequent crashes recently (including using LXDE) and it's annoying.

Please fix it. Let me know if I can prove of further assistance.

My computer's specs are:


My primary machine is a desktop machine with a:

    An Intel Core i3 CPU (x86-64).
    8 GB of RAM.
    Intel Corporation Sandy Bridge Integrated Graphics Controller (rev 09)
    A 2 TB hard-disk.
    A 19״ LCD Screen by ViewSonic.
    Intel Corporation Cougar Point High Definition Audio Controller.
    Intel Corporation 82579V Gigabit Network Connection.
Comment 1 Shlomi Fish 2012-07-01 10:26:20 UTC
I found another way to reproduce it. After I install empathy (which also installs gstreamer0.10-gstclutter-1.6.0-1.mga3.x86_64 ), then double clicking the Pidgin icon on the KDE desktop causes the X server to crash.
Comment 2 Shlomi Fish 2012-07-06 16:38:16 UTC
Hi,

I am still experiencing many frequent crashes and would appreciate if someone can investigate this issue and recommend a fix. Please let me know if you need anything else.

Regards,

-- Shlomi Fish
Comment 3 Shlomi Fish 2012-07-07 02:38:53 UTC
I should note that this happens only if I put «export LIBGL_ALWAYS_INDIRECT=1» inside my .Xclients file, but I've ran into other frequent crashes with running X apps from an ssh sesssion, so this should be fixed.
Comment 4 Eric Anholt 2012-10-03 19:18:02 UTC
We generally don't work on bugs involving indirect rendering (the long-term plan is to render locally and ship images over the wire).
Comment 5 Kenneth Graunke 2017-09-14 22:13:08 UTC
Sorry we never looked at this.  The X server has disabled indirect rendering by default these days, for security reasons, and a lot of things have changed in the last 5 years.  Feel free to reopen if this is still a problem.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.