Invoking SQL*Plus from within cygwin

Upat54wo@aol.com Upat54wo@aol.com
Tue Sep 18 07:02:00 GMT 2001


I have installed the latest and greatest CygWin on an NT 4 sp 6. Finally even got cron to work with the help of the NT admins.  

Now I am trying to run Oracle's sqlplus (for NT) from within a Cygwin terminal window and am receive an error which produces a Dr. Watson type dump.  I have attached the dump.  

Am I being a bit naive about running an NT program under Cgywin?  I'd appreciate someone looking at the dump and giving me any insights on getting this to work.  I have shell scripts which help to reduce and automate a DBA's workload, but they all log on to a database to perform their work using sqlplus.

Thanks!  
-------------- next part --------------

Microsoft (R) Windows NT (TM) Version 4.00 DrWtsn32
Copyright (C) 1985-1996 Microsoft Corp. All rights reserved.



Application exception occurred:
        App: exe\sqlplus.dbg (pid=191)
        When: 9/18/2001 @ 8:21:11.945
        Exception number: c0000005 (access violation)

*----> System Information <----*
        Computer Name: KCM50257
        User Name: dtj011
        Number of Processors: 1
        Processor Type: x86 Family 6 Model 8 Stepping 6
        Windows Version: 4.0
        Current Build: 1381
        Service Pack: 6
        Current Type: Uniprocessor Free
        Registered Organization: KCM
        Registered Owner: PCLAB

*----> Task List <----*
   0 Idle.exe
   2 System.exe
  20 SMSS.exe
  24 CSRSS.exe
  34 WINLOGON.exe
  40 SERVICES.exe
  43 LSASS.exe
  69 SPOOLSS.exe
  81 amgrsrvc.exe
  93 Mcshield.exe
 105 VsTskMgr.exe
  96 RPCSS.exe
 116 Wuser32.exe
 144 clisvcl.exe
 158 PSTORES.exe
 160 mstask.exe
 171 WinMgmt.exe
 302 NDDEAGNT.exe
 232 EXPLORER.exe
 283 systray.exe
 314 launch32.exe
 292 LOADWC.exe
 265 shstat.exe
 340 FINDFAST.exe
 330 OSA.exe
 266 SMSMon32.exe
 310 cygrunsrv.exe
 218 cron.exe
 155 OUTLOOK.exe
 312 MAPISP32.exe
 227 IEXPLORE.exe
 290 CMD.exe
 242 bash.exe
 286 SMSAPM32.exe
 200 Ezsql.exe
 311 bash.exe
 191 sqlplus.exe
 288 DRWTSN32.exe
   0 _Total.exe

(00400000 - 00466000) exe\sqlplus.dbg
(77f60000 - 77fbe000) dll\ntdll.dbg
(60400000 - 60506000) dll\oraclient8.dbg
(60600000 - 60686000) dll\oracore8.dbg
(60800000 - 60850000) dll\oranls8.dbg
(77f00000 - 77f5e000) dll\kernel32.dbg
(78000000 - 78040000) 
(77dc0000 - 77dff000) dll\advapi32.dbg
(77e70000 - 77ec5000) dll\user32.dbg
(77ed0000 - 77efc000) dll\gdi32.dbg
(77e10000 - 77e67000) dll\rpcrt4.dbg
(77fd0000 - 77ffa000) dll\winmm.dbg
(00230000 - 00236000) dll\oravsn8.dbg
(60200000 - 60265000) dll\oracommon8.dbg
(60000000 - 60122000) dll\orageneric8.dbg
(60a00000 - 60a2b000) dll\oranl8.dbg
(60b00000 - 60ba9000) dll\oran8.dbg
(60e00000 - 60e10000) dll\orancrypt8.dbg
(61100000 - 61137000) dll\oranro8.dbg
(776b0000 - 776c4000) dll\ws2_32.dbg
(776a0000 - 776a7000) dll\ws2help.dbg
(00240000 - 002a1000) dll\orannzsbb8.dbg
(61500000 - 6150e000) dll\oranldap8.dbg
(61700000 - 61720000) dll\oraldapclnt8.dbg
(776d0000 - 776d8000) dll\wsock32.dbg
(77b20000 - 77bd7000) dll\ole32.dbg
(65340000 - 653d2000) oleaut32.dbg
(61900000 - 61906000) dll\oranhost8.dbg
(62100000 - 62106000) dll\oranoname8.dbg
(002b0000 - 002b6000) dll\orancds8.dbg
(62300000 - 62306000) dll\orantns8.dbg
(62500000 - 62508000) dll\orannds8.dbg
(002c0000 - 002c7000) dll\oranms.dbg
(002d0000 - 002e1000) dll\oranmsp.dbg
(62700000 - 62740000) dll\oratrace8.dbg
(62900000 - 62b24000) dll\orapls8.dbg
(63100000 - 63108000) dll\oraslax8.dbg
(60350000 - 60356000) dll\orawtc8.dbg
(63200000 - 63273000) dll\orasql8.dbg
(6bc00000 - 6bc11000) ..\..\bin\i386\free\SMNT40.dll

State Dump for Thread Id 0x12f

eax=004717b0 ebx=780230dd ecx=004717c0 edx=0012d30c esi=00000000 edi=004717c0
eip=004057e7 esp=0012d2a4 ebp=00000001 iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             efl=00000206


function: <nosymbols>
        004057ce 90               nop
        004057cf 90               nop
        004057d0 83ec48           sub     esp,0x48
        004057d3 53               push    ebx
        004057d4 55               push    ebp
        004057d5 8b1d84404500     mov     ebx,[00454084]         ds:00454084=780230dd
        004057db 56               push    esi
        004057dc 8b35ac1b4600     mov     esi,[00461bac]         ds:00461bac=00000000
        004057e2 57               push    edi
        004057e3 8b7c245c         mov     edi,[esp+0x5c]         ss:0143bcab=????????
FAULT ->004057e7 f6460301         test    byte ptr [esi+0x3],0x1       ds:0130ea06=??
        004057eb 743e             jz      0040582b
        004057ed f60601           test    byte ptr [esi],0x1           ds:00000000=??
        004057f0 7506             jnz     004057f8
        004057f2 f6460101         test    byte ptr [esi+0x1],0x1       ds:0130ea06=??
        004057f6 7433             jz      0040582b
        004057f8 8b4c2460         mov     ecx,[esp+0x60]         ss:0143bcab=????????
        004057fc 8b5620           mov     edx,[esi+0x20]         ds:0130ea06=????????
        004057ff 8d442464         lea     eax,[esp+0x64]         ss:0143bcab=????????
        00405803 50               push    eax
        00405804 51               push    ecx
        00405805 52               push    edx

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
00000001 00000000 00000000 00000000 00000000 00000000 sqlplus!<nosymbols> 

*----> Raw Stack Dump <----*
0012d2a4  b0 17 47 00 c0 17 47 00 - 01 00 00 00 00 00 00 00  ..G...G.........
0012d2b4  03 00 00 00 40 ba 45 00 - 00 00 00 00 f8 d2 12 00  ....@.E.........
0012d2c4  c8 2b 02 78 d8 d2 12 00 - 29 b9 45 00 0c d3 12 00  .+.x....).E.....
0012d2d4  c0 17 47 00 31 d3 12 00 - d9 ff ff 7f 0c d3 12 00  ..G.1...........
0012d2e4  42 00 00 00 c0 17 47 00 - 00 00 00 00 6c 78 00 00  B.....G.....lx..
0012d2f4  8c d3 12 00 01 00 00 00 - 21 a6 42 00 c0 17 47 00  ........!.B...G.
0012d304  2c b9 45 00 0c d3 12 00 - 4d 65 73 73 61 67 65 20  ,.E.....Message 
0012d314  66 69 6c 65 20 53 50 31 - 3c 6c 61 6e 67 3e 2e 6d  file SP1<lang>.m
0012d324  73 62 20 6e 6f 74 20 66 - 6f 75 6e 64 2e 00 12 00  sb not found....
0012d334  d0 17 47 00 68 d3 12 00 - 00 00 00 00 00 00 00 00  ..G.h...........
0012d344  01 00 00 00 bb c5 42 00 - b0 28 46 00 38 ba 45 00  ......B..(F.8.E.
0012d354  40 ba 45 00 00 00 00 00 - d9 c5 42 00 b0 17 47 00  @.E.......B...G.
0012d364  40 ba 45 00 00 00 00 00 - 94 00 00 00 94 02 00 00  @.E.............
0012d374  94 03 00 00 94 06 00 00 - 03 00 02 00 02 00 01 00  ................
0012d384  01 00 00 00 00 00 00 00 - 00 00 03 00 03 00 03 00  ................
0012d394  03 00 03 00 03 00 03 00 - 76 06 82 02 2e 2c 2e 2c  ........v....,.,
0012d3a4  2c 24 00 00 00 00 00 00 - 00 00 00 00 01 00 00 00  ,$..............
0012d3b4  2d 00 00 00 00 00 00 00 - 00 00 00 00 01 00 00 00  -...............
0012d3c4  2b 00 00 00 00 00 00 00 - 00 00 00 00 01 00 00 00  +...............
0012d3d4  44 44 2d 4d 4f 4e 2d 59 - 59 00 00 00 00 00 00 00  DD-MON-YY.......



More information about the Cygwin mailing list