[arch-general] trace for xorg dumping core after chromium start running

u34 at net9.ga u34 at net9.ga
Fri Jul 9 19:44:11 UTC 2021


u34--- via arch-general <arch-general at lists.archlinux.org> wrote:

> maderios via arch-general <arch-general at lists.archlinux.org> wrote:
> 
> > On 7/7/21 8:15 PM, u34--- via arch-general wrote:
> > > I am only seeing this with chromium. Perhaps becuase, in general, I am
> > > only using a small set of applications.
> > >
> > > Chromium was started by
> > >
> > >      $chromium |& > chromiumFailure
> > >
> > > AT some point after the chromium window is initially seen, X is getting
> > > killed, core is dumped.
> > >
> > > The machine is a desktop.
> > > linux is       5.12.14-arch1-1
> > > xorg server is 1.20.11-1
> > > libva is       2.12.0-1
> > > chromium is    91.0.4472.114-1
> > Hi
> > 5.12.14-arch1-1 is out of date. Try testing linux 5.12.15.arch1-1
> 
> I decided to start with iHD_drv_video.so.
> The file for iHD_drv_video.so exists. It is recognised as an ELF shared 
> object by the file utility. It is owned by the intel-media-driver 21.2.1-1 
> package. Pacman -Qkk sttaes intel-media-driver is OK. Here, according to 
> pacman, it is only required by inetl-media-sdk. I removed
> 
>     # pacman -Rssc intel-media-sdk intel-media-driver intel-gmmlib
> 
> intel-gmmlib description mentions memory management. 
> For now I haven't removed anything else.  
> 
> It didn't help. xserver still crushed, seemingly because of chromium.
> 
> Now I noticed that if I request chromium to start in another desktop, desktop 
> in the window manager sense, than the crash is delayed until I actally 
> swithcing to the specific desktop chromium is supposed to run in. And even 
> then, the chromium window can be seen for a sortwhile before the crash. 
> Is it obvoius because the xserver causes the segmentation violation?
> So I start requested chromium to run in another desktop, and killed it, 
> ctrl-C, after I got the error messages. This prevents the xserver from 
> crashing. Like before, with 
> 
>     $ chromium |& > chromiumFailure
> 
> I got:
> 
> [1573:1573:0708/091915.153379:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
> [1545:1644:0708/091915.263882:ERROR:object_proxy.cc(622)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
> [1545:1644:0708/091915.264108:ERROR:object_proxy.cc(622)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
> [1545:1644:0708/091915.264305:ERROR:object_proxy.cc(622)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
> [1573:1573:0708/091915.504795:ERROR:shared_context_state.cc(73)] Skia shader compilation error
> ------------------------
> 
> Errors:
> 
> [1573:1573:0708/091915.647497:ERROR:shared_context_state.cc(73)] Skia shader compilation error
> ------------------------
> 
> Errors:
> 
> [1573:1573:0708/091916.804824:ERROR:shared_context_state.cc(73)] Skia shader compilation error
> ------------------------
> 
> Errors:
> 
> 
> I will try the suggestions that were pointed out by this tread, and reoprt.
> 
> --
> u34


With 
chromium 91.0.4472.114-1
xorg-server 1.20.12-1, but with debug info
linux 5.12.15-arch1-1 
gdb thread apply all bt full with the coredump gives

Thread 6 (Thread 0x7f857bfff640 (LWP 492)):
#0  0x00007f85871928ca in __futex_abstimed_wait_common64 () at /usr/lib/libpthread.so.0
#1  0x00007f858718c270 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#2  0x00007f8584ceaecc in  () at /usr/lib/dri/i965_dri.so
#3  0x00007f8584cea888 in  () at /usr/lib/dri/i965_dri.so
#4  0x00007f8587186259 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f85873965e3 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f858637b640 (LWP 489)):
#0  0x00007f85871928ca in __futex_abstimed_wait_common64 () at /usr/lib/libpthread.so.0
#1  0x00007f858718c270 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#2  0x00007f85864d2b90 in  () at /usr/lib/xorg/modules/drivers/intel_drv.so
#3  0x00007f8587186259 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f85873965e3 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f85836c9640 (LWP 493)):
#0  0x00007f85871928ca in __futex_abstimed_wait_common64 () at /usr/lib/libpthread.so.0
#1  0x00007f858718c270 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#2  0x00007f8584ceaecc in  () at /usr/lib/dri/i965_dri.so
#3  0x00007f8584cea888 in  () at /usr/lib/dri/i965_dri.so
#4  0x00007f8587186259 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f85873965e3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f85846cb640 (LWP 490)):
#0  0x00007f85871928ca in __futex_abstimed_wait_common64 () at /usr/lib/libpthread.so.0
#1  0x00007f858718c270 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#2  0x00007f8584ceaecc in  () at /usr/lib/dri/i965_dri.so
#3  0x00007f8584cea888 in  () at /usr/lib/dri/i965_dri.so
#4  0x00007f8587186259 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f85873965e3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f8583eca640 (LWP 491)):
#0  0x00007f85871928ca in __futex_abstimed_wait_common64 () at /usr/lib/libpthread.so.0
#1  0x00007f858718c270 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#2  0x00007f8584ceaecc in  () at /usr/lib/dri/i965_dri.so
#3  0x00007f8584cea888 in  () at /usr/lib/dri/i965_dri.so
#4  0x00007f8587186259 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f85873965e3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f8586950940 (LWP 488)):
#0  0x00007f85872d4d22 in raise () at /usr/lib/libc.so.6
#1  0x00007f85872be862 in abort () at /usr/lib/libc.so.6
#2  0x0000560ad51c3b60 in OsAbort () at ../xorg-server-1.20.12/os/utils.c:1351
#3  0x0000560ad51c5675 in AbortServer () at ../xorg-server-1.20.12/os/log.c:872
        args = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fff60a3a7a0, reg_save_area = 0x7fff60a3a6d0}}
        args2 = {{gp_offset = 8, fp_offset = 48, overflow_arg_area = 0x7fff60a3a7a0, reg_save_area = 0x7fff60a3a6d0}}
        beenhere = 1
#4  FatalError (f=f at entry=0x560ad5251ed8 "Caught signal %d (%s). Server aborting\n") at ../xorg-server-1.20.12/os/log.c:1010
        args = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fff60a3a7a0, reg_save_area = 0x7fff60a3a6d0}}
        args2 = {{gp_offset = 8, fp_offset = 48, overflow_arg_area = 0x7fff60a3a7a0, reg_save_area = 0x7fff60a3a6d0}}
        beenhere = 1
#5  0x0000560ad51cb32a in OsSigHandler (unused=<optimized out>, sip=0x7fff60a3a8f0, signo=11) at ../xorg-server-1.20.12/os/osinit.c:156
#6  OsSigHandler (signo=11, sip=0x7fff60a3a8f0, unused=<optimized out>) at ../xorg-server-1.20.12/os/osinit.c:110
#7  0x00007f85872d4da0 in <signal handler called> () at /usr/lib/libc.so.6
#8  0x0000560ad513a546 in dixGetPrivateAddr (key=0x560ad52f6e80 <damagePixPrivateKeyRec>, privates=0x20) at ../xorg-server-1.20.12/include/privates.h:122
        pPrev = <optimized out>
        pDamage = 0x560ad5dddfd0
        pScreen = 0x560ad58ea110
        pScrPriv = 0x560ad58dd130
#9  dixLookupPrivateAddr (key=0x560ad52f6e80 <damagePixPrivateKeyRec>, privates=0x20) at ../xorg-server-1.20.12/include/privates.h:179
        pPrev = <optimized out>
        pDamage = 0x560ad5dddfd0
        pScreen = 0x560ad58ea110
        pScrPriv = 0x560ad58dd130
#10 damageSetWindowPixmap (pWindow=0x560ad5ab8840, pPixmap=0x0) at ../xorg-server-1.20.12/miext/damage/damage.c:1568
        pPrev = <optimized out>
        pDamage = 0x560ad5dddfd0
        pScreen = 0x560ad58ea110
        pScrPriv = 0x560ad58dd130
#11 0x0000560ad52338f5 in DRI2SetWindowPixmap (pWin=0x560ad5ab8840, pPix=<optimized out>) at ../xorg-server-1.20.12/hw/xfree86/dri2/dri2.c:1415
        pScreen = 0x560ad58ea110
        ds = 0x560ad58feb80
#12 0x0000560ad514c3d2 in present_set_tree_pixmap_visit (data=<synthetic pointer>, window=0x560ad5ab8840) at ../xorg-server-1.20.12/present/present.c:129
        visit = <synthetic pointer>
        screen = 0x560ad58ea110
        result = <optimized out>
        pChild = 0x560ad5ab8840
        screen = <optimized out>
#13 TraverseTree (data=<optimized out>, func=<optimized out>, pWin=<optimized out>) at ../xorg-server-1.20.12/dix/window.c:441
        result = <optimized out>
        pChild = 0x560ad5ab8840
        screen = <optimized out>
#14 TraverseTree (data=<optimized out>, func=<optimized out>, pWin=<optimized out>) at ../xorg-server-1.20.12/dix/window.c:433
        screen = <optimized out>
#15 present_set_tree_pixmap (window=0x560ad5a59950, expected=expected at entry=0x0, pixmap=0x0) at ../xorg-server-1.20.12/present/present.c:148
        screen = <optimized out>
#16 0x0000560ad5150fe1 in present_execute (vblank=0x560ad5d7f690, ust=1361973507, crtc_msc=41097) at ../xorg-server-1.20.12/present/present_scmd.c:602
        damage = <optimized out>
        screen = 0x560ad58ea110
        screen_priv = 0x560ad58fee10
#17 0x0000560ad51531b9 in present_scmd_pixmap (window=<optimized out>, pixmap=0x560ad5d12290, serial=1, valid=0x0, update=0x0, x_off=<optimized out>, y_off=0, target_crtc=0x560ad58eb550, wait_fence=0x0, idle_fence=0x560ad6092eb0, options=1, window_msc=<optimized out>, divisor=0, remainder=0, notifies=0x0, num_notifies=0) at ../xorg-server-1.20.12/present/present_scmd.c:778
        ust = 1361973507
        target_msc = 41097
        crtc_msc = 41097
        ret = <optimized out>
        vblank = 0x560ad5d7f690
        tmp = <optimized out>
        screen = 0x560ad58ea110
        window_priv = <optimized out>
        screen_priv = <optimized out>
#18 0x0000560ad5151f06 in present_pixmap (num_notifies=0, notifies=0x0, remainder=<optimized out>, divisor=<optimized out>, window_msc=<optimized out>, options=<optimized out>, idle_fence=<optimized out>, wait_fence=<optimized out>, target_crtc=0x0, y_off=<optimized out>, x_off=<optimized out>, update=<optimized out>, valid=<optimized out>, serial=<optimized out>, pixmap=0x560ad5d12290, window=0x560ad605a780) at ../xorg-server-1.20.12/present/present.c:208
        screen = <optimized out>
        screen_priv = <optimized out>
        stuff = <optimized out>
        window = 0x560ad605a780
        pixmap = 0x560ad5d12290
        valid = 0x0
        update = 0x0
        wait_fence = 0x0
        idle_fence = 0x560ad6092eb0
        target_crtc = 0x0
        ret = <optimized out>
        nnotifies = 0
        notifies = 0x0
#19 proc_present_pixmap (client=<optimized out>) at ../xorg-server-1.20.12/present/present_request.c:150
        stuff = <optimized out>
        window = 0x560ad605a780
        pixmap = 0x560ad5d12290
        valid = 0x0
        update = 0x0
        wait_fence = 0x0
        idle_fence = 0x560ad6092eb0
        target_crtc = 0x0
        ret = <optimized out>
        nnotifies = 0
        notifies = 0x0
#20 0x0000560ad50b183c in Dispatch () at ../xorg-server-1.20.12/dix/dispatch.c:478
        result = <optimized out>
        client = 0x560ad5ab5d30
        start_tick = 70
        i = <optimized out>
        alwaysCheckForInput = {0, 1}
#21 dix_main (envp=<optimized out>, argv=<optimized out>, argc=<optimized out>) at ../xorg-server-1.20.12/dix/main.c:276
        i = <optimized out>
        alwaysCheckForInput = {0, 1}
#22 main (argc=6, argv=0x7fff60a3b1b8, envp=<optimized out>) at ../xorg-server-1.20.12/dix/stubmain.c:34

--
u34


More information about the arch-general mailing list