[arch-general] chromium, or libva, or something, makes xorg dump core
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 $ cat chromiumFailure libva error: /usr/lib/dri/iHD_drv_video.so init failed [1258:1258:0707/174743.038477:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process. [1231:1317:0707/174748.760088: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 [1231:1317:0707/174748.760254: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 [1231:1317:0707/174748.760386: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 [1258:1258:0707/174750.638751:ERROR:shared_context_state.cc(73)] Skia shader compilation error ------------------------ Errors: [1258:1289:0707/174752.204699:ERROR:connection.cc(66)] X connection error received. [1258:1258:0707/174752.204698:ERROR:gl_surface_presentation_helper.cc(259)] GetVSyncParametersIfAvailable() failed for 1 times! Related lines in xorg log are: [ 517.923] (EE) [ 517.923] (EE) Backtrace: [ 517.941] (EE) 0: /usr/lib/Xorg (xorg_backtrace+0x53) [0x5608f4bbefd3] [ 517.941] (EE) 1: /usr/lib/Xorg (0x5608f4a78000+0x151df5) [0x5608f4bc9df5] [ 517.941] (EE) 2: /usr/lib/libc.so.6 (0x7f4b16874000+0x3cda0) [0x7f4b168b0da0] [ 517.942] (EE) 3: /usr/lib/Xorg (0x5608f4a78000+0xc1fde) [0x5608f4b39fde] [ 517.942] (EE) 4: /usr/lib/Xorg (0x5608f4a78000+0x1b9611) [0x5608f4c31611] [ 517.942] (EE) 5: /usr/lib/Xorg (0x5608f4a78000+0xd2a72) [0x5608f4b4aa72] [ 517.942] (EE) 6: /usr/lib/Xorg (0x5608f4a78000+0xd9241) [0x5608f4b51241] [ 517.942] (EE) 7: /usr/lib/Xorg (0x5608f4a78000+0xdabac) [0x5608f4b52bac] [ 517.942] (EE) 8: /usr/lib/Xorg (0x5608f4a78000+0xd72ec) [0x5608f4b4f2ec] [ 517.942] (EE) 9: /usr/lib/Xorg (0x5608f4a78000+0x3a195) [0x5608f4ab2195] [ 517.942] (EE) 10: /usr/lib/libc.so.6 (__libc_start_main+0xd5) [0x7f4b1689bb25] [ 517.942] (EE) 11: /usr/lib/Xorg (_start+0x2e) [0x5608f4ab25de] [ 517.942] (EE) [ 517.942] (EE) Segmentation fault at address 0x20 [ 517.942] (EE) Fatal server error: [ 517.942] (EE) Caught signal 11 (Segmentation fault). Server aborting [ 517.942] (EE) [ 517.942] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 517.942] (EE) Please also check the log file at "/home/u34/.local/share/xorg/Xorg.0.log" for additional information. [ 517.942] (EE) [ 517.942] (II) AIGLX: Suspending AIGLX clients for VT switch [ 517.987] (EE) Server terminated with error (1). Closing log file. -- u34
hey u34, so through my first examination of the errors, i don't really notice anything my first thought was to slap `chromium` at the top of my xinitrc and to see what happens (spoiler: it runs) and then i looked at the backtrace something bugged me
Segmentation fault at address 0x20 address 0x20? only a madman with a system so minimalist could achieve that so my second guess: memory could be getting corrupted, or thrown away (i've had this happen to me as a c developer :()
you might want to check that `iHD_drv_video.so` exists, since thats what libva is hinting at more applications could be loaded by systemd, the kernel, bashrc, xinitrc, etc so you may want to check all of those for any additional unwanted applications being loaded (that could be causing your issue) another one of your bets would be to compile xorg yourself & add -g (for debug symbols) onto it & run it under gdb have you made sure you've installed proper video drivers? just my thoughts here that may/may not help ~turret
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
maderios via arch-general <arch-general@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
u34--- via arch-general <arch-general@lists.archlinux.org> wrote:
maderios via arch-general <arch-general@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@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@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
participants (3)
-
leoutation@gmx.fr
-
turret.
-
u34@net9.ga