Cygwin/X just now started to crash with Solaris app, 8bpp

2004-10-19 Thread Sebastian
Hey ppl! As I've written earlier (posts http://sources.redhat.com/ml/cygwin-xfree/2004-09/msg00157.html and http://sources.redhat.com/ml/cygwin-xfree/2004-09/msg00097.html) I've been using Cygwin/X to remotely display a Solaris app, which uses pseudocolor on my laptop. It worked when using the su

Re: Cygwin/X just now started to crash with Solaris app, 8bpp UPDATE

2004-10-20 Thread Sebastian
Hello again! I've been doing debugging and testing the last two days, and things are weird ;) When running XWinEMU2 from gdb with mwm it both works and crashes. (run -ac -screen 0 1280 1024 -emulatepseudo) Program received signal SIGSEGV, Segmentation fault. 0x00ff in ?? () (gdb) bt #0 0x

Re: Cygwin/X just now started to crash with Solaris app, 8bpp UPDATE

2004-10-20 Thread Alexander Gottwald
On Wed, 20 Oct 2004, Sebastian wrote: > Hello again! > I've been doing debugging and testing the last two days, and things are weird ;) > > When running XWinEMU2 from gdb with mwm it both works and crashes. > (run -ac -screen 0 1280 1024 -emulatepseudo) > Program received signal SIGSEGV, Segmenta

Re: Cygwin/X just now started to crash with Solaris app, 8bpp UPDATE

2004-10-21 Thread Sebastian
Hey again, I've excluded the option that pScreen might be NULL by adding if(pScreen != NULL) { the code }...it still crashes thought, with the same gdb output. The strange thing is that this crash happens something like 1 time out of 3, the other two times i can use the application for hours wi

Re: Cygwin/X just now started to crash with Solaris app, 8bpp UPDATE

2004-10-21 Thread Alexander Gottwald
On Thu, 21 Oct 2004, Sebastian wrote: > Hey again, > > I've excluded the option that pScreen might be NULL by adding if(pScreen != NULL) { > the code }...it still crashes thought, with the same gdb output. > The strange thing is that this crash happens something like 1 time out of 3, the > oth

Re: Cygwin/X just now started to crash with Solaris app, 8bpp UPDATE

2004-10-22 Thread Sebastian
Back with some more debug info. GDB "settings" break shadow.c:1290, 1295,1298 commands silent printf "PWB1/2/3 0x%x\n",*pScreen->PaintWindowBackground cont end Friday 22/10 17.35 CET PWB1 0x78364c PWB2 0x78364c PW

Re: Cygwin/X just now started to crash with Solaris app, 8bpp UPDATE

2004-10-27 Thread Sebastian
Here's another update... I've located what goes wrong when Cygwin/X crashes. In shadow.c, shadowSetup() sets all functionpointers, pScreen->CreateGC, pScreen->PaintWindowBackground etc.. then in the functions shadowCreateGC, shadowPaintWindow etc.. the screen privates are retreived ,shadowScrPriv

Re: Cygwin/X just now started to crash with Solaris app, 8bpp UPDATE

2004-10-27 Thread Alexander Gottwald
On Wed, 27 Oct 2004, Sebastian wrote: > Here's another update... > I've located what goes wrong when Cygwin/X crashes. > In shadow.c, shadowSetup() sets all functionpointers, pScreen->CreateGC, > pScreen->PaintWindowBackground etc.. > then in the functions shadowCreateGC, shadowPaintWindow etc..