X11 apps failing after upgrade

Jon TURNEY jon.turney@dronecode.org.uk
Thu Dec 4 20:55:00 GMT 2008


Jon TURNEY wrote:
> If you are willing to do some further investigation, it would be a great 
> help if you could:
> 
> * build the X server from source with debugging enabled
> (no, don't run away! the autotoolized modular server is much easier to 
> work with the monolithic imaked monstrosity)
> 
> Rebuilding the source *should* be as simple as:
> 
> 1) Run cygwin setup, select cygport, the xorg-server source package; the 
> packages for it's build-time dependencies, and devel packages 
> corresponding to it's run-time dependencies.  The dependencies for 
> xorg-server are listed in /usr/share/doc/Cygwin/xorg-server-1.5.3.README
> 2) cd /usr/src/
> 3) edit xorg-server-1.5.3-3.cygport to add CFLAGS="-g -O0" to the line 
> starting 'cygconf'
> 4) cygport xorg-server-1.5.3-3.cygport prep compile

To save you 30 minutes, here is a binary I built with debugging symbols.

ftp://cygwin.com/pub/cygwinx/XWin.20081204180806.exe.bz2

You will still need to install the source package and cygport prep to have the 
source available for debugging, though.

> * run XWin under gdb, set a breakpoint on ProcXkbSetNamedIndicator, and 
> tell me where and what the context is when it returns BadAlloc...
> 
> 1) cd xorg-server-1.5.3-4/build/hw/xwin/.libs
> 2) gdb --args ./XWin.exe -multiwindow -clipboard
> 3) b ProcXkbSetNamedIndicator
> 4) run


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/



More information about the Cygwin-xfree mailing list