delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/03/07/04:43:45

Message-Id: <200003070943.EAA02596@delorie.com>
Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: "Pavel Kudrna" <kudrna AT plasma DOT troja DOT mff DOT cuni DOT cz>
Organization: MFF-UK Praha, Plasma Phys. Grp.
To: cygwin AT sourceware DOT cygnus DOT com
Date: Tue, 7 Mar 2000 10:42:43 +0100
MIME-Version: 1.0
Subject: Pixmap problem
X-mailer: Pegasus Mail for Win32 (v3.12b)

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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019