Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com X-MESINK_Inbound: 0 X-MESINK_MailForType: SMTP X-MESINK_SenderType: SMTP X-MESINK_Sender: samc AT lookandfeel DOT com X-MESINK_MailFor: cygwin AT cygwin DOT com From: Sam Clippinger subject: wait_sig_inited assertion in Cygwin JNI DLL Date: Fri, 10 Jan 2003 17:28:46 -0600 Content-Type: multipart/mixed;boundary="----_=_NextPart_000_01C2B900.05E138E0" x-receiver: cygwin AT cygwin DOT com x-sender: samc AT lookandfeel DOT com MIME-Version: 1.0 Message-ID: <0000090e050c6a07d3@[12.108.129.174]> Subject: [spam?] (no subject) Note-from-DJ: This may be spam ------_=_NextPart_000_01C2B900.05E138E0 Content-Type: text/plain;charset="iso-8859-1" Content-Transfer-Encoding: Quoted-Printable I'm trying to create a JNI DLL to provide an interface to the GPGME library= and I'm having little success. GPG, GPGME (GPG Made Easy) and my JNI code all compile cleanly under Cygwin but when I run java to test it, I get the following: ............................................................ CP1 CP2 CP2.5 CP2.7 Usage: java [-options] class [args...] (to execute a class) or java -jar [-options] jarfile [args...] (to execute a jar file) where options include: assertion "!wait_sig_inited" failed: file "/netrel/src/cygwin-1.3.18-1/winsup/cygwin/sigproc.cc", line 657 2528 [main] java 1592 sync_with_child: child 1492(0x3F0) died before initialization with status code 0x 2680 [main] java 1592 sync_with_child: *** child state waiting for longjmp CP3 CP4 assertion "!wait_sig_inited" failed: file "/netrel/src/cygwin-1.3.18-1/winsup/cygwin/sigproc.cc", line 657 CP5 CP6 CP7 assertion "!wait_sig_inited" failed: file "/netrel/src/cygwin-1.3.18-1/winsup/cygwin/sigproc.cc", line 657 CP8 CP9 assertion "!wait_sig_inited" failed: file "/netrel/src/cygwin-1.3.18-1/winsup/cygwin/sigproc.cc", line 657 Usage: java [-options] class [args...] (to execute a class) or java -jar [-options] jarfile [args...] (to execute a jar file) where options include: assertion "!wait_sig_inited" failed: file "/netrel/src/cygwin-1.3.18-1/winsup/cygwin/sigproc.cc", line 657 201249 [main] java 1592 sync_with_child: child 1584(0x40C) died before initialization with status code 0x 201866 [main] java 1592 sync_with_child: *** child state waiting for longjmp null assertion "!wait_sig_inited" failed: file "/netrel/src/cygwin-1.3.18-1/winsup/cygwin/sigproc.cc", line 657 ........................................................... The "CPx" lines above are from my JNI DLL, sprinkled in among the calls to the GPGME API; apparently java is loading my DLL and running at least part of it. I've written a standalone C program that uses this same code with n= o problem; this seems to happen only when I run it through java. GPGME works= by running the GPG executable in the background -- my best guess is that this sub-process is exiting improperly or too fast and causing this assertion. I'm currently running Cygwin 1.3.18-1, though I've also tested 1.3.17-1, 1.3.16-1 and the 1/9/2003 snapshot; they all behave the same way (cygcheck output is attached). Any ideas? Would using the mingw32 options avoid this problem? I've been unable to link correctly with mingw32 but I'm willing to keep trying if that's a possible solution. I'd be happy to post the source to my JNI DLL if that would help (it's very small). Thanks in advance! -- Sam Clippinger lookandfeel new media "The only difference between myself and a madman is that I am not mad!" -Salvador Dali ------_=_NextPart_000_01C2B900.05E138E0 Content-Type: application/octet-stream;name="cygcheck.out" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment;filename="cygcheck.out" Cygwin Win95/NT Configuration Diagnostics Current System Time: Fri Jan 10 17:26:07 2003 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2 Path:=09E:\cygwin\base\usr\local\bin =09E:\cygwin\base\bin =09E:\cygwin\base\bin =09c:\WINNT\system32 =09c:\WINNT =09c:\WINNT\System32\Wbem =09c:\Program Files\Microsoft SQL Server\80\Tools\BINN =09e:\Projects\Output =09e:\Program Files\GNU\VIM-6.0 =09e:\j2sdk1.4.0\bin =09c:\Program Files\Common Files\Compuware\NMShared =09e:\Scripts =09E:\cygwin\base\bin SysDir: C:\WINNT\System32 WinDir: C:\WINNT HOME =3D `E:\cygwin\base\samc' MAKE_MODE =3D `unix' PWD =3D `/cygdrive/e' USER =3D `samc' ALLUSERSPROFILE =3D `C:\Documents and Settings\All Users' APPDATA =3D `C:\Documents and Settings\samc\Application Data' COMMONPROGRAMFILES =3D `C:\Program Files\Common Files' COMPUTERNAME =3D `TROILE' COMSPEC =3D `C:\WINNT\system32\cmd.exe' HOMEDRIVE =3D `X:' HOMEPATH =3D `\samc' HOMESHARE =3D `\\kringle\users' LOGONSERVER =3D `\\MAXIMUS' MANPATH =3D `:/usr/ssl/man' NUMBER_OF_PROCESSORS =3D `1' OLDPWD =3D `/usr/local/src/gpgjni' OS2LIBPATH =3D `C:\WINNT\system32\os2\dll;' OS =3D `Windows_NT' PATHEXT =3D `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE =3D `x86' PROCESSOR_IDENTIFIER =3D `x86 Family 6 Model 8 Stepping 6, GenuineIntel' PROCESSOR_LEVEL =3D `6' PROCESSOR_REVISION =3D `0806' PROGRAMFILES =3D `C:\Program Files' PROMPT =3D `$P$G' PS1 =3D `\u@\h:\w\$ ' SHLVL =3D `1' SYSTEMDRIVE =3D `C:' SYSTEMROOT =3D `C:\WINNT' TEMP =3D `c:\DOCUME~1\samc\LOCALS~1\Temp' TERM =3D `cygwin' TMP =3D `c:\DOCUME~1\samc\LOCALS~1\Temp' USERDOMAIN =3D `LAF' USERNAME =3D `samc' USERPROFILE =3D `C:\Documents and Settings\samc' WINDIR =3D `C:\WINNT' _ =3D `/usr/bin/cygcheck' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 (default) =3D `/cygdrive' cygdrive flags =3D 0x00000022 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) =3D `E:\cygwin\base' flags =3D 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) =3D `E:\cygwin\base/bin' flags =3D 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) =3D `E:\cygwin\base/lib' flags =3D 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options a: fd N/A N/A c: hd FAT 2047Mb 93% CP UN LITTLE BOY e: hd NTFS 34043Mb 62% CP CS UN PA FC Fat Man f: cd N/A N/A p: net NTFS 38170Mb 78% CP CS UN PA FC x: net NTFS 38170Mb 78% CP CS UN PA FC E:\cygwin\base / system binmode E:\cygwin\base/bin /usr/bin system binmode E:\cygwin\base/lib /usr/lib system binmode . /cygdrive user binmode,cygdrive Found: E:\cygwin\base\bin\bash.exe Found: E:\cygwin\base\bin\cat.exe Found: E:\cygwin\base\bin\cpp.exe Found: E:\cygwin\base\bin\find.exe Found: E:\cygwin\base\bin\gcc.exe Not Found: gdb Found: E:\cygwin\base\bin\ld.exe Found: E:\cygwin\base\bin\ls.exe Found: E:\cygwin\base\bin\make.exe Found: E:\cygwin\base\bin\sh.exe 58k 2002/05/07 E:\cygwin\base\bin\cygbz2-1.dll - os=3D4.0 img=3D1.0 sys=3D= 4.0 "cygbz2-1.dll" v0.0 ts=3D2002/5/7 1:33 6k 2002/06/24 E:\cygwin\base\bin\cygcharset-1.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygcharset-1.dll" v0.0 ts=3D2002/6/24 13:23 644k 2002/12/08 E:\cygwin\base\bin\cygcrypto.dll - os=3D4.0 img=3D1.0 sys= =3D4.0 "cygcrypto.dll" v0.0 ts=3D2002/12/8 13:57 493k 2002/11/19 E:\cygwin\base\bin\cygcurl-2.dll - os=3D4.0 img=3D1.0 sys= =3D4.0 "cygcurl-2.dll" v0.0 ts=3D2002/11/19 8:38 45k 2001/04/25 E:\cygwin\base\bin\cygform5.dll - os=3D4.0 img=3D1.0 sys=3D= 4.0 "cygform5.dll" v0.0 ts=3D2001/4/25 0:28 35k 2002/01/09 E:\cygwin\base\bin\cygform6.dll - os=3D4.0 img=3D1.0 sys=3D= 4.0 "cygform6.dll" v0.0 ts=3D2002/1/9 0:03 19k 2002/02/20 E:\cygwin\base\bin\cyggdbm.dll - os=3D4.0 img=3D1.0 sys=3D= 4.0 "cyggdbm.dll" v0.0 ts=3D2002/2/19 21:05 490k 2002/09/21 E:\cygwin\base\bin\cygguile-12.dll - os=3D4.0 img=3D1.0 s= ys=3D4.0 "cygguile-12.dll" v0.0 ts=3D2002/9/21 5:01 63k 2002/09/21 E:\cygwin\base\bin\cygguile-srfi-srfi-13-14-v-1-1.dll - o= s=3D4.0 img=3D1.0 sys=3D4.0 "cygguile-srfi-srfi-13-14-v-1-1.dll" v0.0 ts=3D2002/9/21 = 5:01 24k 2002/09/21 E:\cygwin\base\bin\cygguile-srfi-srfi-4-v-1-1.dll - os=3D= 4.0 img=3D1.0 sys=3D4.0 "cygguile-srfi-srfi-4-v-1-1.dll" v0.0 ts=3D2002/9/21 5:01= 14k 2002/09/21 E:\cygwin\base\bin\cygguilereadline-v-12-12.dll - os=3D4.= 0 img=3D1.0 sys=3D4.0 "cygguilereadline-v-12-12.dll" v0.0 ts=3D2002/9/21 5:01 17k 2001/06/28 E:\cygwin\base\bin\cyghistory4.dll - os=3D4.0 img=3D1.0 s= ys=3D4.0 "cyghistory4.dll" v0.0 ts=3D2001/1/6 22:34 20k 2002/10/10 E:\cygwin\base\bin\cyghistory5.dll - os=3D4.0 img=3D1.0 s= ys=3D4.0 "cyghistory5.dll" v0.0 ts=3D2002/10/10 12:28 929k 2002/06/24 E:\cygwin\base\bin\cygiconv-2.dll - os=3D4.0 img=3D1.0 sy= s=3D4.0 "cygiconv-2.dll" v0.0 ts=3D2002/6/24 13:24 22k 2001/12/13 E:\cygwin\base\bin\cygintl-1.dll - os=3D4.0 img=3D1.0 sys= =3D4.0 "cygintl-1.dll" v0.0 ts=3D2001/12/13 3:28 28k 2002/09/20 E:\cygwin\base\bin\cygintl-2.dll - os=3D4.0 img=3D1.0 sys= =3D4.0 "cygintl-2.dll" v0.0 ts=3D2002/9/19 22:13 59k 2002/09/20 E:\cygwin\base\bin\cygkpathsea-3-3-7.dll - os=3D4.0 img=3D= 1.0 sys=3D4.0 "cygkpathsea-3-3-7.dll" v0.0 ts=3D2002/9/20 9:54 32k 2003/01/04 E:\cygwin\base\bin\cygltdl-3.dll - os=3D4.0 img=3D1.0 sys= =3D4.0 "cygltdl-3.dll" v0.0 ts=3D2003/1/4 1:47 26k 2001/04/25 E:\cygwin\base\bin\cygmenu5.dll - os=3D4.0 img=3D1.0 sys=3D= 4.0 "cygmenu5.dll" v0.0 ts=3D2001/4/25 0:27 20k 2002/01/09 E:\cygwin\base\bin\cygmenu6.dll - os=3D4.0 img=3D1.0 sys=3D= 4.0 "cygmenu6.dll" v0.0 ts=3D2002/1/9 0:03 156k 2001/04/25 E:\cygwin\base\bin\cygncurses++5.dll - os=3D4.0 img=3D1.0= sys=3D4.0 "cygncurses++5.dll" v0.0 ts=3D2001/4/25 0:29 175k 2002/01/09 E:\cygwin\base\bin\cygncurses++6.dll - os=3D4.0 img=3D1.0= sys=3D4.0 "cygncurses++6.dll" v0.0 ts=3D2002/1/9 0:03 226k 2001/04/25 E:\cygwin\base\bin\cygncurses5.dll - os=3D4.0 img=3D1.0 s= ys=3D4.0 "cygncurses5.dll" v0.0 ts=3D2001/4/25 0:17 202k 2002/01/09 E:\cygwin\base\bin\cygncurses6.dll - os=3D4.0 img=3D1.0 s= ys=3D4.0 "cygncurses6.dll" v0.0 ts=3D2002/1/9 0:03 15k 2001/04/25 E:\cygwin\base\bin\cygpanel5.dll - os=3D4.0 img=3D1.0 sys= =3D4.0 "cygpanel5.dll" v0.0 ts=3D2001/4/25 0:27 12k 2002/01/09 E:\cygwin\base\bin\cygpanel6.dll - os=3D4.0 img=3D1.0 sys= =3D4.0 "cygpanel6.dll" v0.0 ts=3D2002/1/9 0:03 40k 2001/11/21 E:\cygwin\base\bin\cygpcre.dll - os=3D4.0 img=3D1.0 sys=3D= 4.0 "cygpcre.dll" v0.0 ts=3D2001/11/21 16:15 39k 2001/11/21 E:\cygwin\base\bin\cygpcreposix.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygpcreposix.dll" v0.0 ts=3D2001/11/21 16:15 179k 2002/07/22 E:\cygwin\base\bin\cygpng12.dll - os=3D4.0 img=3D1.0 sys=3D= 4.0 "cygpng12.dll" v0.0 ts=3D2002/7/22 11:03 108k 2001/06/28 E:\cygwin\base\bin\cygreadline4.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygreadline4.dll" v0.0 ts=3D2001/1/6 22:34 127k 2002/10/10 E:\cygwin\base\bin\cygreadline5.dll - os=3D4.0 img=3D1.0 = sys=3D4.0 "cygreadline5.dll" v0.0 ts=3D2002/10/10 12:28 165k 2002/12/08 E:\cygwin\base\bin\cygssl.dll - os=3D4.0 img=3D1.0 sys=3D= 4.0 "cygssl.dll" v0.0 ts=3D2002/12/8 13:57 550k 2002/12/19 E:\cygwin\base\bin\cygtcl83.dll - os=3D4.0 img=3D1.0 sys=3D= 4.0 "cygtcl83.dll" v0.0 ts=3D2002/12/18 22:58 12k 2002/12/19 E:\cygwin\base\bin\cygtclpip83.dll - os=3D4.0 img=3D1.0 s= ys=3D4.0 217k 2002/12/19 E:\cygwin\base\bin\cygtix4183.dll - os=3D4.0 img=3D1.0 sy= s=3D4.0 "cygtix4183.dll" v0.0 ts=3D2002/12/18 21:26 830k 2002/12/19 E:\cygwin\base\bin\cygtk83.dll - os=3D4.0 img=3D1.0 sys=3D= 4.0 "cygtk83.dll" v0.0 ts=3D2002/12/18 21:25 2689k 2002/11/16 E:\cygwin\base\bin\cygxerces-c21.dll - os=3D4.0 img=3D1.0= sys=3D4.0 "cygxerces-c21.dll" v0.0 ts=3D2002/11/15 22:07 50k 2002/03/12 E:\cygwin\base\bin\cygz.dll - os=3D4.0 img=3D1.0 sys=3D4.= 0 "cygz.dll" v0.0 ts=3D2002/3/11 22:38 880k 2002/12/25 E:\cygwin\base\bin\cygwin1.dll - os=3D4.0 img=3D1.0 sys=3D= 4.0 "cygwin1.dll" v0.0 ts=3D2002/12/25 14:37 Cygwin DLL version info: DLL version: 1.3.18 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 69 Shared data: 3 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix: Build date: Wed Dec 25 15:37:50 EST 2002 Shared id: cygwin1S3 Cygwin Package Information Last downloaded files to: E:\Downloads\cygwin Last downloaded files from: ftp://ftp.cise.ufl.edu/pub/mirrors/cygwin Package Version _update-info-dir 00120-1 ash 20020731-1 autoconf 2.54-1 autoconf-devel 2.57-1 autoconf-stable 2.13-4 automake 1.7.1-1 automake-devel 1.7.2-1 automake-stable 1.4p5-5 base-files 1.1-1 base-passwd 1.0-1 bash 2.05b-8 binutils 20021117-1 bzip2 1.0.2-2 crypt 1.0-1 curl 7.10.2-1 cygwin 1.3.18-1 diff 1.0-1 diffutils 2.8.1-1 expect 20021218-1 file 3.37-1 fileutils 4.1-1 findutils 4.1.7-4 gawk 3.1.1-5 gcc 3.2-3 gcc-mingw 20020817-4 gdbm 1.8.0-4 grep 2.5-1 guile 1.6.0-1 gzip 1.3.3-4 less 378-1 libbz2_1 1.0.2-2 libcharset1 1.8-2 libguile12 1.6.0-1 libiconv2 1.8-2 libintl1 0.10.40-1 libintl2 0.11.5-1 libkpathsea3 20020911-1 libltdl3 20030103-1 libncurses5 5.2-1 libncurses6 5.2-8 libpng12 1.2.4-2 libreadline4 4.1-2 libreadline5 4.3-2 libtool 20020705-1 libtool-devel 20030103-1 libtool-stable 1.4.3-1 libxerces-c21 2.1.0-1 login 1.7-1 m4 1.4-1 make 3.79.1-7 mingw-runtime 2.3-1 mktemp 1.4-1 ncurses 5.2-8 openssl 0.9.6h-1 pcre 3.7-1 perl 5.6.1-2 readline 4.3-2 sed 4.0.5-1 sh-utils 2.0.15-3 tar 1.13.25-1 tcltk 20021218-1 termcap 20020930-1 terminfo 5.2-3 texinfo 4.2-4 textutils 2.0.21-1 w32api 2.1-1 which 1.5-1 zlib 1.1.4-1 Use -h to see help about each section ------_=_NextPart_000_01C2B900.05E138E0 Content-Type: text/plain; charset=us-ascii -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ------_=_NextPart_000_01C2B900.05E138E0--