From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24031 invoked by alias); 13 Jul 2012 08:26:20 -0000 Received: (qmail 23994 invoked by uid 22791); 13 Jul 2012 08:26:07 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,KHOP_THREADED,SPF_HELO_PASS,TW_JC X-Spam-Check-By: sourceware.org Received: from mail.scluk.com (HELO mail.scluk.com) (217.207.104.163) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 13 Jul 2012 08:25:50 +0000 Received: from [192.168.15.10] by mail.scluk.com (Cipher TLSv1:-SHA:128) (MDaemon PRO v12.5.6) with ESMTP id md50000182763.msg for ; Fri, 13 Jul 2012 09:25:48 +0100 X-Spam-Processed: mail.scluk.com, Fri, 13 Jul 2012 09:25:48 +0100 (not processed: message from trusted or authenticated source) X-Return-Path: prvs=154196128b=al.slater@scluk.com X-Envelope-From: al.slater@scluk.com X-MDaemon-Deliver-To: cygwin@cygwin.com Message-ID: <4FFFDB87.9060304@scluk.com> Date: Fri, 13 Jul 2012 08:26:00 -0000 From: Al Slater User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:13.0) Gecko/20120602 Thunderbird/13.0 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Differences between C++ 'new' operator and 'malloc()' (NOT a C/C++ question) References: <1342107001.13284.ezmlm@cygwin.com> <4bfae5cb28706b33d48372d5a1bd80bb.squirrel@zeusw.org> In-Reply-To: <4bfae5cb28706b33d48372d5a1bd80bb.squirrel@zeusw.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Reply-To: cygwin@cygwin.com Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-07/txt/msg00262.txt.bz2 On 12/07/2012 16:59, Claude SIMON wrote: > Ryan Johnson wrote: >> >> [...] >> >> Sorry, I should have actually looked at the repo before assuming the >> test case was a monstrosity. By way of penance, I've now looked, >> downloaded, tweaked, and tested it. >> >> [...] >> > > Thanks for testing. > > I removed your test results (and the other stuff) from this message, not > because I'm not interested into, but because I have a new problem, which > prevents me to investigate further the original problem in the light of > your test results. > > Since my last testings, I updated Cygwin, the JDK and the JRE. So, my > current configuration is now : > > Windows Vista 32 bits SP2 > Cygwin 1.7.15 > g++ 4.5.3 > javac 1.7.0_05 > javah 1.7.0_05 > java 1.7.0_05 > > When running the test case, I now have : > > $ java jcmc > Loading library 'jcmc'...Exception in thread "main" > java.lang.UnsatisfiedLinkError: H:\cvs\epeios\bugs\jcmc\jcmc.dll: L'accÞs > Ó cet emplacement de la mÚmoire n'est pas valide > at java.lang.ClassLoader$NativeLibrary.load(Native Method) > at java.lang.ClassLoader.loadLibrary1(Unknown Source) > at java.lang.ClassLoader.loadLibrary0(Unknown Source) > at java.lang.ClassLoader.loadLibrary(Unknown Source) > at java.lang.Runtime.loadLibrary0(Unknown Source) > at java.lang.System.loadLibrary(Unknown Source) > at jcmc.main(jcmc.java:9) > > There is a French message which roughly means "The access to this memory > location is not valid" > > I updated the test case to reflect your changes : > - 'Makefile' now generates the '.h' file, > - 'Makefile' does no more contain the '--stdcall-alias' linker flag, > - the '.cpp' contains now the `extern "C"' directive, > - the '.h' is removed from test case, since it's now generated by the > 'Makefiile'. > > I have the new error message with this modified test case, but also with > the original one. I suspect that the French error message is issued by > Cygwin or by one of its sub-component, since the JVM never issued a > message which wasn't in English, but Cygwin did. > > So, I have to postpone the study of the 'malloc()' related bug until I > manage to resolve this new issue ; I then come back to your test results. > But, meanwhile, if someone has an idea why I have this new error... > > Here again the address where the test case can be found : > http://cvs.savannah.gnu.org/viewvc/epeios/bugs/jcmc/?root=epeios > Does http://cygwin.com/faq/faq.programming.html#faq.programming.msvs-mingw provide any help? -- Al Slater -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple