You are not logged in.

#1 2010-08-07 01:49:51

marfig
Member
From: Portugal
Registered: 2010-07-30
Posts: 189
Website

[SOLVED] X server segfault after exiting

The X server on my machine always crashes with a segfault generated by a Fatal IO Error 11, when I exit from an X session. Otherwise works perfectly fine. So this really has no apparent impact on my ability to use X. I'm just curious what may be generating this segfault and what I can do to fix it.

This is the report while X is running (startx):

(EE) Failed to load module "vmwgfx" (module does not exist, 0)
(EE) vmware: Please ignore the above warnings about not being able to to load module/driver vmwgfx
error setting MTRR (base = 0xd0000000, size = 0x01130000, type = 1) Inappropriate ioctl for device (25)
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
cp: cannot stat `/usr/share/lxde/pcmanfm/pcmanfm.conf': No such file or directory
GuestApp: no value for option 'unity.desktop.backgroundColor'
** (pcmanfm:3974): DEBUG: unable to load icon system-software-install

(pcmanfm:3974): Gtk-WARNING **: Radio group does not contain an action with value '0'

This is the actual segfault when I exit my X session:

** (lxsession-logout:4166): WARNING **: dbus-interface.c:71: DBUS: The name org.freedesktop.Hal was not provided by any .service files

** (lxsession-logout:4166): WARNING **: dbus-interface.c:71: DBUS: The name org.freedesktop.Hal was not provided by any .service files
** (pcmanfm:4158): DEBUG: icon theme changed!

waiting for X server to shut down XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 2438 requests (2438 known processed) with 0 events remaining.

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x3b) [0x80df05b]
1: /usr/bin/X (0x8048000+0x63da5) [0x80abda5]
2: (vdso) (__kernel_rt_sigreturn+0x0) [0xb77e040c]
3: /usr/bin/X (FreeCursor+0x57) [0x809cb47]
4: /usr/lib/xorg/modules/drivers/vmwlegacy_drv.so (0xb73bc000+0x6c84) [0xb73c2c84]
5: /usr/lib/xorg/modules/drivers/vmwlegacy_drv.so (0xb73bc000+0x4faa) [0xb73c0faa]
6: /usr/lib/xorg/modules/libshadowfb.so (0xb7398000+0x5020) [0xb739d020]
7: /usr/bin/X (0x8048000+0x15b26c) [0x81a326c]
8: /usr/bin/X (0x8048000+0xc61d4) [0x810e1d4]
9: /usr/bin/X (0x8048000+0x5aebc) [0x80a2ebc]
10: /usr/bin/X (0x8048000+0x16d3dc) [0x81b53dc]
11: /usr/bin/X (0x8048000+0x14ae3e) [0x8192e3e]
12: /usr/bin/X (0x8048000+0x14782e) [0x818f82e]
13: /usr/lib/xorg/modules/extensions/libextmod.so (0xb743a000+0x9d61) [0xb7443d61]
14: /usr/bin/X (0x8048000+0xb564c) [0x80fd64c]
15: /usr/bin/X (0x8048000+0x6f0c5) [0x80b70c5]
16: /usr/bin/X (0x8048000+0x145902) [0x818d902]
17: /usr/bin/X (0x8048000+0x9ba80) [0x80e3a80]
18: /usr/bin/X (0x8048000+0xc3989) [0x810b989]
19: /usr/bin/X (0x8048000+0x987d2) [0x80e07d2]
20: /usr/lib/xorg/modules/extensions/libglx.so (0xb73e7000+0x38c0a) [0xb741fc0a]
21: /usr/bin/X (0x8048000+0x1a548) [0x8062548]
22: /lib/libc.so.6 (__libc_start_main+0xe6) [0xb752ac76]
23: /usr/bin/X (0x8048000+0x1a0a1) [0x80620a1]
Segmentation fault at address 0x19

Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting

And this is Xorg.0.log:

marfig@archway ~ $ cat /var/log/Xorg.0.log | grep -Ew 'WW|EE'
[  5260.295] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  5260.318] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  5260.322] (WW) Warning, couldn't open module vmwgfx
[  5260.322] (EE) Failed to load module "vmwgfx" (module does not exist, 0)
[  5260.323] (EE) vmware: Please ignore the above warnings about not being able to to load module/driver vmwgfx
[  5263.782] (WW) vmwlegacy(0): Option "DPMS" is not used
[  5263.782] (WW) vmwlegacy(0): Option "PreferredMode" is not used

Please advise if you need more information. I'm curious what may be generating this segfault and what I can do to fix it.

Last edited by marfig (2010-08-07 10:05:02)


I probably made this post longer than it should only because I lack the time to make it shorter.
- Paraphrased from Blaise Pascal

Offline

#2 2010-08-07 01:59:40

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] X server segfault after exiting

IIRC that error means you exited it in a not-clean way, f.e. by Ctrl-C from tty1.

Offline

#3 2010-08-07 02:02:28

marfig
Member
From: Portugal
Registered: 2010-07-30
Posts: 189
Website

Re: [SOLVED] X server segfault after exiting

No. I used LXDE's logout button.
And before I installed LXDE I'd exit with 'exit' on the last term window.


I probably made this post longer than it should only because I lack the time to make it shorter.
- Paraphrased from Blaise Pascal

Offline

#4 2010-08-07 02:03:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] X server segfault after exiting

marfig wrote:

No. I used LXDE's logout button.
And before I installed LXDE I'd exit with 'exit' on the last term window.

So you exit, it crashes - can you restart it?

Offline

#5 2010-08-07 02:07:50

marfig
Member
From: Portugal
Registered: 2010-07-30
Posts: 189
Website

Re: [SOLVED] X server segfault after exiting

Yup. startx fires up X again, without any problems or anything different showing up in the log.


I probably made this post longer than it should only because I lack the time to make it shorter.
- Paraphrased from Blaise Pascal

Offline

#6 2010-08-07 02:24:57

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] X server segfault after exiting

Maybe try to take care of the errors and warnings from Xorg.0.log and it will go away. Looks like it's some vmware stuff, so I won't be of any help as I've never used it.

Offline

#7 2010-08-07 09:13:28

webnull
Member
Registered: 2009-11-10
Posts: 7

Re: [SOLVED] X server segfault after exiting

Try to delete xf86-video-vmware.

-- WebNuLL

Offline

#8 2010-08-07 09:24:44

marfig
Member
From: Portugal
Registered: 2010-07-30
Posts: 189
Website

Re: [SOLVED] X server segfault after exiting

Ok, seems to be a problem with the graphics driver (xf86-video-vmware).
Changing my device driver from 'vmware' to 'vesa' in xorg.conf.d, makes the segfault go away.


I probably made this post longer than it should only because I lack the time to make it shorter.
- Paraphrased from Blaise Pascal

Offline

#9 2010-08-07 10:02:32

ekenbrand
Member
From: Argentina
Registered: 2010-06-21
Posts: 28

Re: [SOLVED] X server segfault after exiting

It happened to me too. Changing video driver is the solution

Offline

#10 2010-08-07 10:04:39

marfig
Member
From: Portugal
Registered: 2010-07-30
Posts: 189
Website

Re: [SOLVED] X server segfault after exiting

Thanks for the confirmation, ekenbrand.


I probably made this post longer than it should only because I lack the time to make it shorter.
- Paraphrased from Blaise Pascal

Offline

Board footer

Powered by FluxBB