Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Ralf Habacker" To: "Cygwin" Subject: RE: Oracle 8i on Windows client error 487 (xterm-launched) and 6 (shell -launched) in Cygwin 1.3.3 Date: Wed, 10 Oct 2001 21:00:24 +0200 Message-ID: <003a01c151bd$d1111130$fd1c440a@BRAMSCHE> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 > > I tried to make Darius Clynes small Oracle project work on Windows 2000 > SP2 (latest) and Windows NT 4 SP6b (latest) but I consistently get > > m.AllocationBase 0x0, m.BaseAddress 0x614E0000, m.RegionSize 0x20000, > m.State 0x10000 > K:\cygwin\usr\src\try_ora\my_example.exe: *** Couldn't reserve space for > cygwin's heap > (0x614E0000 <0x1690000>) in child, Win32 error N > > where N = 487 if launched within an xterm > and N = 6 if launcehd within the bash shell started by cygwin.bat. > > When I run with `gdb`, I see a zillion of the following message box > pairs: > > "LDR: Automatic DLL Relocation in my_example.exe" > "LDR: Dll {AN ORACLE DLL} base 600000000 relocated due to collision with > {ANOTHER ORACLE DLL} > I had the same problem with a dll, which image base adress conflicts with the address of the cygwin1.dll (image base = 0x61000000). Try to objdump -x *.dll of the used dll to see which dll has which image base address or use ssp.exe (for example ssp -v -d -dll 0x401000 0x440000 yourapp.exe) to see which dll is relocated to which address. Changing the image base could be done by relinking, other ways I don't know. So it will be a problem to relink an oracle dll without the source code. > accompanied by a very VERY fast DOS-like box flashing by. I/O > redirection of stderr and stdout on the command line doesn't capture > anything. > > Attached are the cygcheck.out for Windows NT 4 and the project files > submitted by M. Clynes. I had to modify the Makefile for directory and > Oracle version differences. > > Problem statement reproduction: > > 1) Install Oracle 8i client. Note the resulting directories. > 2) !mkdir /usr/src/try_ora > 3) Detach the try_ora.tar.gz to /usr/src/try_ora. > 3) !cd /usr/src/try_ora; tar xvfz try_ora.tar.gz > 4) Change ORACLE_HOME in Makefile as needed to match your Oracle 8i > client installation. > 5) !make all > 6) !my_example > > Step 6 should get the same results as I did. Anyone seen these types of > errors with Oracle/Cygwin before? How could I further investigate error > Win32 487 or 6? > > Thanks in advance, > > Richard > > > -- 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/