Solved xorg-server 1.14: segmentation fault

I upgraded xorg-server on a 2nd machine. I don't know about segmentation fault

here is the output after failing:

Code:
segmentation fault at address 0x0
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE)
(EE)
Please consult the The X.Org Foundation support
  at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional info
rmation.
(EE)
(EE) Server terminated with error (1). Closing log file.
XIO:  fatal IO error 35 (Resource temporarily unavailable) on X server ":0"
  after 555 requests (555 known processed) with 6 events remaining.
XIO:  fatal IO error 35 (Resource temporarily unavailable) on X server "

output of /var/log/Xorg.0.log :

Code:
(EE) Segmentation fault at address 0x0
[  2865.168] (EE)
Fatal server error:
[  2865.169] (EE) Caught signal 11 (Segmentation fault). Server aborting
[  2865.169] (EE)
[  2865.169] (EE)
[ ..... ]
[  2865.169] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  2865.169] (EE)
[  2865.175] (II) SIS(0): Restoring by setting old mode 0x03
[  2865.358] (==) SIS(0): Write-combining range (0x0,0x2000) was already clear
[  2865.698] (EE) Server terminated with error (1). Closing log file.

Should I edit the xorg.conf file ?

Thanks
 
The issue should not be related to the configuration file. There might be some serious mismatch causing the crash. How have you done the update? Please install sysutils/bsdadminscripts and run pkg_libchk. This might report issues with the libraries which are required but not available or out of date.

EDIT: I have just seen that you have had a different discussion Thread xorg-upgrading-problems-with-some-dependencies.50313. Maybe you should verify if there are any items which needs to be considered for your second PC as well.
 
chrbr
I ran a full upgrade for the both PCs, some 235 packages for the first one and 130 packages for the second one, and I attempted to properly follow the UPDATING file instructions.
You can figure how many time these updates have aborted! I fixed some issues before starting over and over again. So I probably lacked something. I thought a portmaster -r png was not complete. I used pkg_libchk on the first machine, it helped me.
For this machine:
Code:
cairomm-1.10.0.2:/usr/local/lib/libcairomm-10.0.so.1.4.0 misses libpng15.so.15
I ran portmaster cairomm but it doesn't work. Xorg failed
 
Dear pierre,
may be this is still related to
Code:
20141225:
  AFFECTS: users of graphics/png
  AUTHOR: antoine@FreeBSD.org

  The PNG library has been updated to version 1.6.16.  Please rebuild all
  ports that depend on it.

  If you use portmaster:
  portmaster -r png
  If you use portupgrade:
  portupgrade -fr graphics/png
The version libpng15.so.15 should not be required anymore. You are right, portmaster -r png should have fixed the issue. Do you still see errors from pkg_libchk?

EDIT: I have just installed graphics/cairomm by portmaster graphics/cairomm with success on a test setup. The dependencies do not show libpng15 as
Code:
# pkg info cairomm
cairomm-1.10.0_2
Name  : cairomm
Version  : 1.10.0_2
Installed on  : Fri Feb 13 18:18:30 CET 2015
Origin  : graphics/cairomm
Architecture  : freebsd:10:x86:64
Prefix  : /usr/local
Categories  : graphics
Licenses  : LGPL20
Maintainer  : gnome@FreeBSD.org
WWW  : http://cairographics.org
Comment  : C++ interface to cairo
Options  :
  DOCS  : off
Shared Libs required:
  libsigc-2.0.so.0
  libpng16.so.16
  libfreetype.so.6
  libcairo.so.2
  libXrender.so.1
  libXext.so.6
  libX11.so.6
Shared Libs provided:
  libcairomm-1.0.so.1
Annotations  :
Flat size  : 373KiB
Description  :
C++ interface to cairo

WWW: http://cairographics.org
is it possible that you need to update your ports by portsnap fetch update? If so may be you have to run portmaster -r png again.
 
chrbr
I re-install cairomm, pkg_libchk didn't output any error. I updated the ports 4 or 5 days ago and png is updated. I have to look for another track.
I didn't mentionned the the full ouput when the X server stop.

Code:
The XKEYBARD 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
Fontconfig error: "local.conf", line 11: invalid attribute 'name'
(EE) Segmentation fault at address 0x0
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE)
(EE)
Please consult the The X.Org Foundation support
  at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional info
rmation.
(EE)
(EE) Server terminated with error (1). Closing log file.
XIO:  fatal IO error 35 (Resource temporarily unavailable) on X server ":0"
  after 559 requests (559 known processed) with 3 events remaining.
XIO:  fatal IO error 35 (Resource temporarily unavailable) on X server ":0"
  after 85 requests (84 known processed) with 0 events remaining.
xterm: fatal IO error 35 (Resource temporarily unavailable) or KillClient on X s
erver ":0"
xterm: fatal IO error 35 (Resource temporarily unavailable) or KillClient on X s
erver ":0"
xterm: fatal IO error 35 (Resource temporarily unavailable) or KillClient on X s
erver ":0"
xinit: connection to X server lost
waiting for X server to shut down

I don't understand the meanings of the 4 lines of the beginning, but it should be a track.
Thanks for your help chrbr !
 
I have had the first four lines, too. Regarding the error message about local.conf I would try run start X without the additional local font configuration. It might be an option to try X without any xorg.conf and additional configurations at all.
 
Right, I have the first four lines too on my first machine and the message about local.conf. The §6.6.3 of the handbook advise to create /usr/local/etc/fonts/local.conf, so I did because it's better for Firefox.
 
Hello pierre,
I am running out of ideas. I have found one item in /usr/ports/UPDATING as:
Code:
20141219:
  AFFECTS: users of x11/xorg and all xorg ports
  AUTHOR: dumbbell@FreeBSD.org

  The X.Org server (x11-servers/xorg-server) is updated to 1.14. All
  ports which provide X.Org drivers must be updated simultaneously, i.e.
  x11-drivers/xf86-*, emulators/virtualbox-ose-additions, net/tigervnc,
  etc.

  The input device autodetection backend is switched from HAL to devd.
  If you configure your keyboard layout through HAL .fdi files, you need
  to migrate this configuration to plain X.Org configuration files.

  Up-to-date instructions and a description of the changes brought by
  this update are detailed in a blog post:

  http://blogs.freebsdish.org/graphics/2014/11/19/xserver-1-14-update-ready/
May be there is something open.

Another basic test should be running Xorg -configure as root. This does not mean that the resulting configuration file is OK. But this does not involve a desktop environment or so.
 
Hello chrbr.
I have already considered this article above. Xorg -configure output the same message.
:)Just now, I delete xf86-video-sis driver that was in use, (it's an old MB with a Sis chipset), so X is working now with the vesa driver.
Thank you for your interest
 
Back
Top