XOpenIM can you confirm?

Pavel Kudrna kudrna@plasma.troja.mff.cuni.cz
Tue May 30 10:46:00 GMT 2000


Sorry for cross posting to Cygwin list.

I am currently complaining about X11R6.4 from the archive
01.11.99  14:21  13 988 682 cygwin-xfree-x11r6.4-cygwin-B20.1.tar.bz2
from the directory "cygwin/xfree/xc-4-binaries/".
This one you mean is bad?

I have another X11R6.4 archive which seems to be newer according to
the time of the creation:
27.12.99  17:56   16 461 671 B20_X11R6_4.tar.gz
from " ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin32/packages/
X11R6.4/B20_X11R6_4.tar.gz"
It is recommended by
http://dao.gsfc.nasa.gov/software/grads/win32/X11R6.4
Should I use this instead?

Thanks for help
Pavel Kudrna.

On 30 May 2000, at 8:19, Suhaib Siddiqi wrote:
>
> You need to post only to Cygwin-Xfree.  Please do not CC to Cygwin list.
> Most of Cygwin users subscribe to Cygwin-XFree list therefore do not
> like duplicate messages from multiple listings.  Thanks.
>
> Which version of X libs from Cygwin-Xfree project are you using?
> If it is X11R6.4 then yes, there was a bug in X11R6.4 libraries.  The bug
> existed in the stock X11R6.4 distributed by X.org.
>
> If you are using X11R6 libs from XFree86 ports, from xc-4-binaries
> directory, then it had been fixed.  I fixed this a while ago in our sources
> and this fix should appear in  stock XFree86 4.0.1 future release too.
> The XOpenIM bug was causing memory coruptions.
>
> Suhaib
>
> > -----Original Message-----
> > From: cygwin-xfree-owner@sourceware.cygnus.com
> > [ mailto:cygwin-xfree-owner@sourceware.cygnus.com]On Behalf Of Pavel
> > Kudrna
> > Sent: Tuesday, May 30, 2000 8:10 AM
> > To: cygwin@sourceware.cygnus.com; cygwin-xfree@sourceware.cygnus.com
> > Subject: 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




More information about the Cygwin-xfree mailing list