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]

XOpenIM can you confirm?


Hello !
Please can you confirm that following example (~14 lines) crashes
calling XOpenIM (->STATUS_ACCESS_VIOLATION) not only under my 
instalation of cygwin?

I did update of my instalation yesterday (may 25) with setup-1.45.
The output of cygcheck utility is appended.
Thanks
Pavel Kudrna.


bash2.03 ~ $ gcc qr.c -g -lX11 -L/usr/X11R6.4/lib
bash2.03 ~ $ a
Hello !
Display: 0xa0412c0
      0 [main] a 1053 handle_exceptions: Exception:                   
        STATUS_ACCESS_VIOLATION
    576 [main] a 1053 stackdump: Dumping stack trace to               
        a.exe.stackdump
bash2.03 ~ $


#include <stdio.h>
#include <X11/Xlib.h>

int main(void)
{
 Display *display;
 XIM input_method;

 printf("Hello !\n");
 display = XOpenDisplay("localhost:0.0");
 printf("Display: %p\n", display);

 input_method=XOpenIM(display, NULL, NULL, NULL);

 printf("Input method: %p\n",input_method);
 return 0;
}



Cygnus Win95/NT Configuration Diagnostics
Current System Time: Tue May 30 13:27:32 2000
WinNT Ver 4.0 build 1381 Service Pack 6
Path:	.
	/usr/bin
	/usr/local/bin
	/usr/X11R6.4/bin
SysDir: C:\WINNT\System32
WinDir: C:\WINNT
HOME = `/home/kudrna'
MAKE_MODE = `unix'
PWD = `/home/kudrna'
TCL_LIBRARY = `/usr/share/tcl8.0'

a:  fd           N/A    N/A                    
c:  hd  FAT     2047Mb  99% CP    UN           
d:  fd           N/A    N/A                    

c:\progra~1\cygwin\bin  /usr/bin  user    binmode
c:\progra~1\cygwin\lib  /usr/lib  user    binmode
c:\progra~1\cygwin  /        user    binmode
c:\temp  /temp    user    binmode

Found: c:\progra~1\cygwin\bin\bash.exe
Found: c:\progra~1\cygwin\bin\cat.exe
Found: c:\progra~1\cygwin\bin\cpp.exe
Found: c:\progra~1\cygwin\bin\find.exe
Found: c:\progra~1\cygwin\bin\gcc.exe
Found: c:\progra~1\cygwin\bin\gdb.exe
Found: c:\progra~1\cygwin\bin\ld.exe
Found: c:\progra~1\cygwin\bin\ls.exe
Found: c:\progra~1\cygwin\bin\make.exe
Found: c:\progra~1\cygwin\bin\sh.exe

  115k 1999/09/14 c:\progra~1\cygwin\bin\cygitcl30.dll
   63k 1999/09/14 c:\progra~1\cygwin\bin\cygitk30.dll
  474k 1999/09/14 c:\progra~1\cygwin\bin\cygtcl80.dll
   19k 1999/09/14 c:\progra~1\cygwin\bin\cygtclpip80.dll
   24k 1999/09/14 c:\progra~1\cygwin\bin\cygtclreg80.dll
  768k 1999/09/14 c:\progra~1\cygwin\bin\cygtk80.dll
  569k 2000/05/15 c:\progra~1\cygwin\bin\cygwin1.dll
Use -h to see help about each section


--
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]