[Mesa-dev] [Bug 33492] New: Wayland clients immediately segfaulting starting with 731ec60da3ccb92f5bfb4d6f1bc3c8e712751376

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 25 11:06:49 PST 2011


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

           Summary: Wayland clients immediately segfaulting starting with
                    731ec60da3ccb92f5bfb4d6f1bc3c8e712751376
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: darxus at chaosreigns.com
                CC: dimitry at andric.com


Wayland clients start segfaulting immediately for me as of this commit (while
using nouveau):

$ git bisect bad
731ec60da3ccb92f5bfb4d6f1bc3c8e712751376 is the first bad commit
commit 731ec60da3ccb92f5bfb4d6f1bc3c8e712751376
Author: Dimitry Andric <dimitry at andric.com>
Date:   Tue Jan 25 09:22:12 2011 -0700

    glapi: adding missing @GOTPCREL qualifer in glapi_x86-64.S


$ libtool --mode=execute gdb wayland/clients/terminal
GNU gdb (GDB) 7.2-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from
/home/darxus/wayland/wayland/clients/.libs/lt-terminal...done.
(gdb) run
Starting program: /home/darxus/wayland/wayland/clients/.libs/lt-terminal 
[Thread debugging using libthread_db enabled]
 -> display at 1.range(1280)
 -> display at 1.global(new id 1, "display", 1)
 -> display at 1.global(new id 2, "drm", 1)
 -> display at 1.global(new id 3, "compositor", 1)
 -> display at 1.global(new id 4, "visual", 1)
 -> display at 1.global(new id 5, "visual", 1)
 -> display at 1.global(new id 6, "visual", 1)
 -> display at 1.global(new id 7, "shm", 1)
 -> display at 1.global(new id 8, "shell", 1)
 -> display at 1.global(new id 9, "screenshooter", 1)
 -> display at 1.global(new id 10, "output", 1)
 -> display at 1.global(new id 11, "input_device", 1)
 -> drm at 2.device("/dev/dri/card0")
 -> output at 10.geometry(0, 0, 1024, 640)
drm at 2.authenticate(31)
 -> drm at 2.authenticated()
libEGL debug: EGL search path is /home/darxus/install/lib/egl
libEGL debug: added /home/darxus/install/lib/egl/egl_gallium.so to module array
libEGL debug: added egl_dri2 to module array
libEGL debug: added egl_glx to module array
libEGL debug: dlopen(/home/darxus/install/lib/egl/egl_gallium.so)
libEGL info: use DRM for display 0x6
libEGL debug: searching for pipe module nouveau
libEGL debug: loaded /home/darxus/install/lib/egl/pipe_nouveau.so
libEGL debug: Failed to get KMS resources.  Disable modeset.
libEGL debug: the best driver is Gallium
libEGL debug: searching for st module GL
libEGL debug: loaded /home/darxus/install/lib/egl/st_GL.so
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn
compression/decompression unavailable
nv50_screen_get_param:135 -  Unknown PIPE_CAP 43

Program received signal SIGSEGV, Segmentation fault.
glGetString () at glapi_x86-64.S:9876
9876        movq    2200(%rax), %r11
(gdb) backtrace
#0  glGetString () at glapi_x86-64.S:9876
#1  0x00007ffff74f5cb8 in _cairo_gl_get_version () at cairo-gl-info.c:39
#2  0x00007ffff74f458c in _cairo_gl_dispatch_init (dispatch=0x1f02,
get_proc_addr=0x7ffff79c07f0 <eglGetProcAddress>)
    at cairo-gl-dispatch.c:127
#3  0x00007ffff74f9c00 in cairo_egl_device_create (dpy=0x620a70, egl=0x6381f0)
at cairo-egl-context.c:182
#4  0x0000000000409d01 in init_drm (argc=<value optimized out>,
argv=0x7fffffffdce0, 
    option_entries=<value optimized out>) at window.c:1615
#5  display_create (argc=<value optimized out>, argv=0x7fffffffdce0,
option_entries=<value optimized out>)
    at window.c:1674
#6  0x0000000000407804 in main (argc=1, argv=0x7fffffffde08) at terminal.c:2385
(gdb)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list