NetBSD-Bugs archive

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

Re: xsrc/46138: netbsd-6 20120303 X11 issue (post expat move)

The following reply was made to PR xsrc/46138; it has been noted by GNATS.

From: Matthew Mondor <>
Subject: Re: xsrc/46138: netbsd-6 20120303 X11 issue (post expat move)
Date: Sun, 4 Mar 2012 14:09:42 -0500

 On Sun,  4 Mar 2012 18:20:04 +0000 (UTC)
 Matthew Mondor <> wrote:
 >  On Sun,  4 Mar 2012 11:20:04 +0000 (UTC)
 >  Martin Husemann <> wrote:
 >  >  Also, if for some reason you do not get this far, please try to ssh
 >  >  into the machine and fire up an xterm with proper -display manually and
 >  >  see if this starts.
 >  I'll try this today, thanks for the suggestion.
 >  I've been wondering if anything might try to dynamically load a module
 >  with expat dependency which would now be failing...  So a next step
 >  would be to try with a copy of the expat libraries
 >  under /use/X11R7/lib/, that'll be my second test.
 So I performed two tests:
 - with the libexpat libraries copied from my old X11R7:
        Unfortunately no change
 - ssh in the box after startx:
 Interestingly here I noticed that X was simply not running.  Obviously,
 trying to get an X client to connect to DISPLAY :0.0 also then failed.
 This unfortunately suggests that the video mode is changed, that X11
 crashes or quits, and the video state is then left stale in graphics
 mode with a blank screen.  I could also switch to the VT and type
 commands which succeeded, but I couldn't see any output, of course,
 another indication that X is simply no longer running at that point.
 A next test will be piping the output of startx to a file.  I guess
 that I could also over ssh try to start it under gdb, but I'd have to
 rebuild it with symbols.  I'm not sure if I'll have the necessary time
 today to do that, but I'll report with more info when I do.
 To build a system with debug symbols, is it sufficient to add "-O0 -g"
 to CFLAGS and "-g" to LDFLAGS?  Or is there another recommended

Home | Main Index | Thread Index | Old Index