Segfault from libX11.so.6.3.0

Bug #1636564 reported by Thomas A. F. Thorne
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
libx11 (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Something went wrong with my Ubuntu 16.04 LTS desktop today. When I got back to the system Mattermost and a Chrome were indicating that the network was not working. I started to look about and it seemed that my main ethernet network connection had lost its IPv4 address somehow. ifconfig and the GUI network manager confirmed this.

To try and resolve this I physically removed the connector and the plugged it back in. Shortly after I did this my GUI seemed to die out and I ended up back at the login screen.

Once everything had calmed down I logged back in. After some digging about in the logs I noticed the following in /var/log/kern.log

Oct 25 13:01:09 thorne-ul-dt kernel: [694321.877561] Mattermost[744]: segfault at 968 ip 00007f8a9e257643 sp 00007ffe72a3b510 error 4 in libX11.so.6.3.0[7f8a9e22f000+135000]
Oct 25 13:01:09 thorne-ul-dt kernel: [694322.029362] chrome[745]: segfault at 968 ip 00007fd4b5c73643 sp 00007fff94f78d90 error 4 in libX11.so.6.3.0[7fd4b5c4b000+135000]

That seemed to be the correct time for the problem I noticed. What exactly caused it I am not sure.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: libx11-6 2:1.6.3-1ubuntu2
ProcVersionSignature: Ubuntu 4.4.0-42.62-generic 4.4.21
Uname: Linux 4.4.0-42-generic x86_64
.tmp.unity_support_test.0:

ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity
Date: Tue Oct 25 17:07:28 2016
DistUpgraded: Fresh install
DistroCodename: xenial
DistroVariant: ubuntu
GraphicsCard:
 Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06) (prog-if 00 [VGA controller])
   Subsystem: Gigabyte Technology Co., Ltd Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1458:d000]
InstallationDate: Installed on 2015-03-12 (592 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
MachineType: Gigabyte Technology Co., Ltd. H81M-DS2V
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-38-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro quiet splash crashkernel=384M-:128M vt.handoff=7
SourcePackage: libx11
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/11/2015
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F6
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: H81M-DS2V
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF6:bd08/11/2015:svnGigabyteTechnologyCo.,Ltd.:pnH81M-DS2V:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnH81M-DS2V:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: H81M-DS2V
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
version.compiz: compiz 1:0.9.12.2+16.04.20160823-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.67-1ubuntu0.16.04.2
version.libgl1-mesa-dri: libgl1-mesa-dri 11.2.0-1ubuntu2.2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 11.2.0-1ubuntu2.2
version.xserver-xorg-core: xserver-xorg-core 2:1.18.4-0ubuntu0.1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.1-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.7.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1.1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.12-1build2
xserver.bootTime: Tue Oct 25 13:01:04 2016
xserver.configfile: default
xserver.errors:

xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
 product id 30926
 vendor BNQ
xserver.version: 2:1.18.4-0ubuntu0.1

Revision history for this message
Thomas A. F. Thorne (tafthorne) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libx11 (Ubuntu):
status: New → Confirmed
Changed in libx11 (Ubuntu):
importance: Undecided → High
Revision history for this message
Jan Lachnitt (pepalogik) wrote :

Another report and some thoughts below

HW: Asus Vivobook (touchscreen, Intel graphics), external monitor attached.
OS: Linux Mint 18 Cinnamon x64.
State before crash: Running X session using both displays ("big desktop"), several applications, Vivaldi browser active.
My aim: Lock the computer.
Course of action, the USUAL part: Pressed Ctrl+Alt+L, not locked - Vivaldi displayed its menu (to be displayed upon pressing Alt), tapped the touchscreen to get rid of the menu and thus actually lock the computer.
Course of action, the UNUSUAL part: Black screen for a few seconds, then login screen, old X session gone.

syslog:
Mar 20 14:43:20 VivoBook org.a11y.atspi.Registry[1729]: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Mar 20 14:43:20 VivoBook org.a11y.atspi.Registry[1729]: after 2925 requests (2925 known processed) with 0 events remaining.
Mar 20 14:43:20 VivoBook cinnamon-session[1640]: Gdk-WARNING: t+4492,79569s: cinnamon-session: Fatal IO error 11 (Prostředek je dočasně nepřístupný) on X server :0.
Mar 20 14:43:20 VivoBook org.gtk.vfs.Daemon[1711]: A connection to the bus can't be made
Mar 20 14:43:20 VivoBook org.gtk.vfs.Daemon[1711]: A connection to the bus can't be made
Mar 20 14:43:20 VivoBook mdm[1212]: WARNING: mdm_slave_xioerror_handler: Kritická chyba X - Restartování :0
Mar 20 14:43:20 VivoBook kernel: [ 4538.677519] vivaldi-bin[4100]: segfault at 968 ip 00007f61ac384643 sp 00007ffc09f25b50 error 4 in libX11.so.6.3.0[7f61ac35c000+135000]
Mar 20 14:43:20 VivoBook ag[4118]: mdm-superpost Starting...
Mar 20 14:43:20 VivoBook ag[4122]: mdm-superpost Finished
Mar 20 14:43:20 VivoBook console-kit-daemon[1566]: (process:4128): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Mar 20 14:43:21 VivoBook acpid: client 1219[0:0] has disconnected
Mar 20 14:43:21 VivoBook acpid: client connected from 4131[0:0]
Mar 20 14:43:21 VivoBook acpid: 1 client rule loaded
Mar 20 14:43:22 VivoBook ag[4139]: mdm-superinit Starting...
Mar 20 14:43:22 VivoBook ag[4140]: mdm-superinit Finished

Xorg.0.log covers the new session, Xorg.0.log.old has no record of the event.

The segfault really seems to affect multiple users, especially with Chromium-based browsers, e.g.:
https://bbs.archlinux.org/viewtopic.php?id=131328 - from 2011 already
https://bbs.archlinux.org/viewtopic.php?id=221888 - solution?

I don't know if syslog preserves the order of events (within a second), but if yes, then the segfault is just a consequence of another problem, e.g.:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/999191

Revision history for this message
Thomas A. F. Thorne (tafthorne) wrote : Re: [Bug 1636564] Re: Segfault from libX11.so.6.3.0
Download full text (7.6 KiB)

I don't think I'm using the Nvidia drivers on the machine I reported this
from. That would mean they could not be the route cause.

On Mon, 20 Mar 2017, 17:51 Jan Lachnitt, <email address hidden> wrote:

> Another report and some thoughts below
>
> HW: Asus Vivobook (touchscreen, Intel graphics), external monitor attached.
> OS: Linux Mint 18 Cinnamon x64.
> State before crash: Running X session using both displays ("big desktop"),
> several applications, Vivaldi browser active.
> My aim: Lock the computer.
> Course of action, the USUAL part: Pressed Ctrl+Alt+L, not locked - Vivaldi
> displayed its menu (to be displayed upon pressing Alt), tapped the
> touchscreen to get rid of the menu and thus actually lock the computer.
> Course of action, the UNUSUAL part: Black screen for a few seconds, then
> login screen, old X session gone.
>
> syslog:
> Mar 20 14:43:20 VivoBook org.a11y.atspi.Registry[1729]: XIO: fatal IO
> error 11 (Resource temporarily unavailable) on X server ":0"
> Mar 20 14:43:20 VivoBook org.a11y.atspi.Registry[1729]: after 2925
> requests (2925 known processed) with 0 events remaining.
> Mar 20 14:43:20 VivoBook cinnamon-session[1640]: Gdk-WARNING:
> t+4492,79569s: cinnamon-session: Fatal IO error 11 (Prostředek je dočasně
> nepřístupný) on X server :0.
> Mar 20 14:43:20 VivoBook org.gtk.vfs.Daemon[1711]: A connection to the bus
> can't be made
> Mar 20 14:43:20 VivoBook org.gtk.vfs.Daemon[1711]: A connection to the bus
> can't be made
> Mar 20 14:43:20 VivoBook mdm[1212]: WARNING: mdm_slave_xioerror_handler:
> Kritická chyba X - Restartování :0
> Mar 20 14:43:20 VivoBook kernel: [ 4538.677519] vivaldi-bin[4100]:
> segfault at 968 ip 00007f61ac384643 sp 00007ffc09f25b50 error 4 in
> libX11.so.6.3.0[7f61ac35c000+135000]
> Mar 20 14:43:20 VivoBook ag[4118]: mdm-superpost Starting...
> Mar 20 14:43:20 VivoBook ag[4122]: mdm-superpost Finished
> Mar 20 14:43:20 VivoBook console-kit-daemon[1566]: (process:4128):
> GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
> Mar 20 14:43:21 VivoBook acpid: client 1219[0:0] has disconnected
> Mar 20 14:43:21 VivoBook acpid: client connected from 4131[0:0]
> Mar 20 14:43:21 VivoBook acpid: 1 client rule loaded
> Mar 20 14:43:22 VivoBook ag[4139]: mdm-superinit Starting...
> Mar 20 14:43:22 VivoBook ag[4140]: mdm-superinit Finished
>
> Xorg.0.log covers the new session, Xorg.0.log.old has no record of the
> event.
>
> The segfault really seems to affect multiple users, especially with
> Chromium-based browsers, e.g.:
> https://bbs.archlinux.org/viewtopic.php?id=131328 - from 2011 already
> https://bbs.archlinux.org/viewtopic.php?id=221888 - solution?
>
> I don't know if syslog preserves the order of events (within a second),
> but if yes, then the segfault is just a consequence of another problem,
> e.g.:
>
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/999191
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1636564
>
> Title:
> Segfault from libX11.so.6.3.0
>
> Status in libx11 package in Ubuntu:
> Confirmed
>
> Bug description:
> Something went wr...

Read more...

Revision history for this message
Jan Lachnitt (pepalogik) wrote :

Although the referenced bug regards Nvidia, some comments mention similar problems with Radeon (and I'm not using Nvidia drivers either - I have integrated Intel graphics). My main point was that the syslog lists other errors before the segfault, so this can be a result rather than the cause. I could not find a syslog in your report.

Revision history for this message
Jadzia (jadzia2341) wrote :

I have the same problem. See the attached syslog. The x-server almost crashes, and if I wait for a long time I might manage to get back to the login screen.

The problem seems to occur mainly in my case when using the Google Chrome browswer.

I have an Nvidia card using KMS and Nouveau, and my network connection is via WiFi.

I can confirm the problem is distro-inpependent, I use Gentoo Linux.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.