On Mon, Jul 28, 2003 at 04:45:34PM -0400, Michael Denio wrote:
> I try to start ION and it cores in:
> 
> static bool screen_init(WScreen *scr, WRootWin *rootwin, int id, WRectangle geom, 
> bool useroot)
> {
>     win=XCreateWindow(....)
> }
> 
> It only cores with xinerama enabled.  I do have two monitors but running
> at different resolutions one at 1600x1200 and the other 1280x1024.
> 

A little further information.  After I sent you the backtrace I played
around a little more.  As I said the core occurs during the call:

        win=XCreateWindow(wglobal.dpy, WROOTWIN_ROOT(rootwin),
                          geom.x, geom.y, geom.w, geom.h, 0, 
                          DefaultDepth(wglobal.dpy,
                          rootwin->xscr),
                          InputOutput,
                          DefaultVisual(wglobal.dpy,
                          rootwin->xscr),
                          attrflags,
                          &attr);

This is in the second call to screen_init().  The variable rootwin is
different (and I presume invalid) then the first call.  I didn't see any
reason why it should have been corrupted so I removed optimizations --
that fixed it. I've got Redhat Advanced Server ehre with GCC 2.96.  I'm
guessing that it is an error during the -Os optimization.
                                                                                       
                                           
-- 
Michael Denio <[EMAIL PROTECTED]>
Imagine Software, Inc.

Reply via email to