[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Segmentation fault & X



I apologise in advance for the long message.

I seem to have screwed up xserver (not that it was operating that
well).  

I used the Debian packages to set it up, but had trouble getting it to
recognise my "card" and monitor.  The best I could get was a purported
640 x 480 screen, except that the message announcing success was (I'm
guessing) four times the size it should have been, the buttons for
selecting xvidtune, etc. were off the screen to the right (as was half
the message).  I guessed at where the xvidtune button was, so I could
retune, but it saved the configuration.  I could not get xvidtune to
run after that.

I downloaded XF86 3.3.6, and tried to install, but could not get
extract to work, so simply gzip'd and tar'd the files into place. 
Clearly a mistake.  Attempts to run startx, xf86config, or XF86Setup
now end in error messages.  

What is my best course of action, please?  It appears to be necessary
to generate two or three scripts or files, but I don't know about the
segmentation fault.

I am very new to Linux, so could be missing something very obvious to
those more experienced.

I have run strace on all three of the apps, and I provide below some
excerpts.  I include the open and most stat commands:

startx:

execve("/usr/X11R6/bin/startx", ["startx"], [/* 17 vars */]) = 0
brk(0)                                  = 0x80b44dc
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 4
open("/lib/libreadline.so.2", O_RDONLY) = 4
open("/lib/libncurses.so.4", O_RDONLY)  = 4
open("/lib/libdl.so.2", O_RDONLY)       = 4
open("/lib/libc.so.6", O_RDONLY)        = 4
open("/dev/tty", O_RDWR|O_NONBLOCK)     = 4
stat("/usr/local/sbin/sh", 0xbffffaa4)  = -1 ENOENT (No such file or
directory)
stat("/usr/local/bin/sh", 0xbffffaa4)   = -1 ENOENT (No such file or
directory)
stat("/usr/sbin/sh", 0xbffffaa4)        = -1 ENOENT (No such file or
directory)
stat("/usr/bin/sh", 0xbffffaa4)         = -1 ENOENT (No such file or
directory)
stat("/sbin/sh", 0xbffffaa4)            = -1 ENOENT (No such file or
directory)
stat("/bin/sh", {st_dev=makedev(3, 66), st_ino=9756,
st_mode=S_IFREG|0755, st_nlink=1, open("/usr/X11R6/bin/startx",
O_RDONLY) = 4
stat("/root/.xinitrc", 0xbffffa9c)      = -1 ENOENT (No such file or
directory)
stat("/usr/X11R6/lib/X11/xinit/xinitrc", {st_dev=makedev(3, 8),
st_ino=125329, st_mode=S_IFREG|0444, st_nlink=1, st_uid=0, st_gid=10,
st_blksize=4096, st_blocks=2, st_size=666, st_atime=100/06/11-12:57:05,
st_mtime=100/01/08-09:09:58, st_ctime=100/06/09-17:27:04}) = 0
stat("/root/.xserverrc", 0xbffffa9c)    = -1 ENOENT (No such file or
directory)
stat("/usr/X11R6/lib/X11/xinit/xserverrc", 0xbffffa20) = -1 ENOENT (No
such file or directory)
stat("/usr/local/sbin/xinit", 0xbffffaa4) = -1 ENOENT (No such file or
directory)
stat("/usr/local/bin/xinit", 0xbffffaa4) = -1 ENOENT (No such file or
directory)
stat("/usr/sbin/xinit", 0xbffffaa4)     = -1 ENOENT (No such file or
directory)
stat("/usr/bin/xinit", 0xbffffaa4)      = -1 ENOENT (No such file or
directory)
stat("/sbin/xinit", 0xbffffaa4)         = -1 ENOENT (No such file or
directory)
stat("/bin/xinit", 0xbffffaa4)          = -1 ENOENT (No such file or
directory)
stat("/usr/X11R6/bin/xinit", {st_dev=makedev(3, 8), st_ino=113,
st_mode=S_IFREG|0755, st_nlink=1, st_uid=0, st_gid=10, st_blksize=4096,
st_blocks=22, st_size=10612, st_atime=100/06/11-12:40:52,
st_mtime=100/01/08-09:09:57, st_ctime=100/06/09-17:26:46}) = 0
stat("/usr/X11R6/bin/xinit", {st_dev=makedev(3, 8), st_ino=113,
st_mode=S_IFREG|0755, st_nlink=1, st_uid=0, st_gid=10, st_blksize=4096,
st_blocks=22, st_size=10612, st_atime=100/06/11-12:40:52,
st_mtime=100/01/08-09:09:57, st_ctime=100/06/09-17:26:46}) = 0
_exit(139)                              = ?


XF86Setup:

execve("/usr/X11R6/bin/XF86Setup", ["XF86Setup"], [/* 17 vars */]) = 0
brk(0)                                  = 0x8178c10
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 4
open("/usr/X11R6/lib/Xaw3d/libXaw.so.6", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/lib/libXaw.so.6", O_RDONLY)      = 4
open("/usr/X11R6/lib/libXmu.so.6", O_RDONLY) = 4
open("/usr/X11R6/lib/libXt.so.6", O_RDONLY) = 4
open("/usr/X11R6/lib/libSM.so.6", O_RDONLY) = 4
open("/usr/X11R6/lib/libICE.so.6", O_RDONLY) = 4
open("/usr/X11R6/lib/libXext.so.6", O_RDONLY) = 4
open("/usr/X11R6/lib/libX11.so.6", O_RDONLY) = 4
open("/lib/libm.so.6", O_RDONLY)        = 4
open("/lib/libdl.so.2", O_RDONLY)       = 4
open("/lib/libc.so.6", O_RDONLY)        = 4
getpid()                                = 279
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

My system:

triple boot (DOS, OS/2, Debian Linux)
ASUS SP97-V mobo, which provides video through the Sis 5598 chipset
80 MB RAM, four of them reserved for video
Sceptre Dragon Eye monitor, which is a multisync, adaptable to just
about anything


Thanks for any help anyone can offer

Cam


Cam Ellison, Ph.D., R.Psych.

cam_ellison@uniserve.com  or cam@fleuryassociates.com

>From the lovely Sunshine Coast, where it only SEEMS to rain.



 



Reply to: