This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Pixmap problem


My program crashes calling XFillRectangle after it successfully 
creates the pixmap with the function XCreatePixmap:

pixmap = XCreatePixmap(theDisplay, Tk_WindowId(tkwin),
					   Tk_Width(tkwin), Tk_Height(tkwin),
					   Tk_Depth(tkwin)
                      );
XFillRectangle(theDisplay, pixmap, wingc,
		       0, 0, Tk_Width(tkwin), Tk_Height(tkwin)
              );

The error message is:

[main] c:\progra~1\cygnus\root\home\kudrna\xtest.exe 2029 (0) 
handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
[main] xtest 2029 (0) handle_exceptions: Dumping stack trace to 
xtest.exe.core

The same program under ddd debugger gives

Program received signal SIGSEGV, Segmentation fault.
0x66309485 in _size_of_stack_reserve__ ()
(gdb)

Program is running on WinNT4.0, CygwinB20, Starnet X-Win32, Pentium 
II, 512MB memory.

Do you have any idea about the reason why?

Thanks
Pavel Kudrna.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]