Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Xorg segfault (pkgsrc 2017Q1, radeon)



On a recent current/i386 (7.99.70), I get Xorg (from pkgsrc-2017Q1)
segfaulting when trying to run X11.  This didn't happen with Xorg
from 2016Q4.  gdb output below, any ideas, or other information I
could provide?

| grapetest# gdb Xorg
| [...]
| (gdb) run
| Starting program: /usr/pkg/bin/Xorg 
| 
| X.Org X Server 1.19.3
| Release Date: 2017-03-15
| X Protocol Version 11, Revision 0
| Build Operating System: NetBSD-7.99.70-i386 The NetBSD Foundation
| Current Operating System: NetBSD grapetest.pr0.tips 7.99.70 NetBSD 7.99.70 (GENADDX-4503650a) #0: Sun Apr 30 03:12:54 CEST 2017  build%grapefruit.pr0.tips@localhost:/usr/obj/sys/arch/i386/compile/GENADDX i386
| Build Date: 08 May 2017  08:15:08AM
|  
| Current version of pixman: 0.34.0
|         Before reporting problems, check http://wiki.x.org
|         to make sure that you have the latest version.
| Markers: (--) probed, (**) from config file, (==) default setting,
|         (++) from command line, (!!) notice, (II) informational,
|         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
| (==) Log file: "/var/log/Xorg.0.log", Time: Mon May  8 11:22:20 2017
| (==) Using system config directory "/usr/pkg/share/X11/xorg.conf.d"
| failed to open /dev/ttyE0: Device not configured
| (II) [KMS] Kernel modesetting enabled.
| Program received signal SIGSEGV, Segmentation fault.
| 0xade2589d in shared_dispatch_stub_72 () from /usr/pkg/lib/libglapi.so.0
| (gdb) bt
| #0  0xade2589d in shared_dispatch_stub_72 () from /usr/pkg/lib/libglapi.so.0
| #1  0xac8e9c98 in dri2_make_current (drv=0xac9290e0, disp=0xadd06800, dsurf=0x0, rsurf=0x0, ctx=0x0) at drivers/dri2/egl_dri2.c:1191
| #2  0xac8df68d in eglMakeCurrent (dpy=0xadd06800, draw=0x0, read=0x0, ctx=0x0) at main/eglapi.c:705
| #3  0xad9b4b88 in glamor_egl_make_current (glamor_ctx=0xac9e3b1c) at ../../../glamor/glamor_egl.c:102
| #4  0xad9b695e in glamor_make_current (glamor_priv=0xac9e1000) at glamor_utils.h:728
| #5  0xad9b778b in glamor_init (screen=0xac98e400, flags=3) at glamor.c:509
| #6  0xadaa7dda in radeon_glamor_init (screen=0xac98e400) at radeon_glamor.c:434
| #7  0xada4abc7 in RADEONAccelInit (pScreen=0xac98e400) at radeon_accel.c:187
| #8  0xada9ab33 in RADEONScreenInit_KMS (pScreen=0xac98e400, argc=1, argv=0xbfbebf30) at radeon_kms.c:2298
| #9  0x080cf4c7 in ?? ()
| #10 0x08078332 in AddScreen ()
| #11 0x080d0669 in InitOutput ()
| #12 0x0807d089 in ?? ()
| #13 0x08060ede in _start ()
| (gdb) info reg
| eax            0xac9c6126       -1399037658
| ecx            0x0      0
| edx            0x0      0
| ebx            0xac8ff6e0       -1399851296
| esp            0xbfbebc54       0xbfbebc54
| ebp            0xbfbebca8       0xbfbebca8
| esi            0x60     96
| edi            0x400    1024
| eip            0xade2589d       0xade2589d <shared_dispatch_stub_72+29>
| eflags         0x13283  [ CF SF IF RF ]
| cs             0x17     23
| ss             0x1f     31
| ds             0x1f     31
| es             0x1f     31
| fs             0xab     171
| gs             0xb3     179
| (gdb) disassemble 
| Dump of assembler code for function shared_dispatch_stub_72:
|    0xade25880 <+0>:     mov    %gs:0xfffffed8,%eax
|    0xade25886 <+6>:     nop
|    0xade25887 <+7>:     nop
|    0xade25888 <+8>:     test   %eax,%eax
|    0xade2588a <+10>:    je     0xade25892 <shared_dispatch_stub_72+18>
|    0xade2588c <+12>:    jmp    *-0x5e9afee0(%eax)
|    0xade25892 <+18>:    fdivr  %st(6),%st
|    0xade25894 <+20>:    (bad)  
|    0xade25895 <+21>:    call   *-0xed9fa70(%eax)
|    0xade2589b <+27>:    (bad)  
|    0xade2589c <+28>:    decl   -0x5e9a0380(%ebx)
|    0xade258a2 <+34>:    fdivr  %st(6),%st
|    0xade258a4 <+36>:    (bad)  
|    0xade258a5 <+37>:    call   *-0x4b72ff70(%eax)
|    0xade258ab <+43>:    add    %al,%es:(%eax)
|    0xade258ae <+46>:    add    %al,(%eax)
| End of assembler dump.
| (gdb) 


Home | Main Index | Thread Index | Old Index