delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/24/08:23:21

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Reply-To: <al DOT slater AT scluk DOT com>
From: "Al Slater" <al DOT slater AT scluk DOT com>
To: <cygwin AT cygwin DOT com>
Subject: DLLs and exceptions
Date: Mon, 24 Sep 2001 13:23:45 +0100
Message-ID: <000101c144f3$c2060280$458c0ca4@pavilion>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal
X-MDRemoteIP: 164.12.140.69
X-Return-Path: al DOT slater AT scluk DOT com
X-MDaemon-Deliver-To: cygwin AT cygwin DOT com

------=_NextPart_000_0002_01C144FC.23CBF120
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi,

I am working on a project which requires multiple dlls as follows.

cbftest.exe calls libcbfo.dll,  which calls libupdb.dll

The problem is when an exception is thrown in libupdb.dll, I get the message
"abnormal program termination" and the program stops.

If I build the program without using dlls (ie build the program against the
object files instead of the dlls) the exception gets thrown and caught
properly.

I am using the -mno-cygwin option.

Any ideas where the problem may lie?

Below is the output of cygcheck

Cygnus Win95/NT Configuration Diagnostics
Current System Time: Mon Sep 24 13:03:09 2001

WinNT Ver 4.0 build 1381 Service Pack 6

Path:	/d/bc5/bin
	/d/Perl/bin
	/usr/bin
	/usr/local/bin
	/usr/local/apache/libexec
	/f/Oracle/Ora816/bin
	/f/Oracle/Orades/bin
	/f/Oracle/Ora815/bin
	/f/oracle/ora805/bin
	/f/Oracle/Oraoem/bin
	%SGVD%/bin
	/c/Program Files/Oracle/jre/1.1.7/bin
	/d/Perl/bin
	/c/WINNT/system32
	/c/WINNT
	/f/oracle/ora816/orb/bin
	/f/Program Files/Network Associates/PGP60
	/c/Program Files/Microsoft SQL Server/80/Tools/BINN
	/d/PROGRA~1/Borland/Delphi5/Projects/Bpl
	/d/PROGRA~1/Borland/Delphi5/Bin
	/e/newec/ui_tier/newclient/bin
	/d/Program Files/Microsoft Visual Studio/Common/Tools/WinNT
	/d/Program Files/Microsoft Visual Studio/Common/MSDev98/Bin
	/d/Program Files/Microsoft Visual Studio/Common/Tools
	/d/Program Files/Microsoft Visual Studio/VC98/bin
	/s/pvcs
	/f/utils

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

CYGWIN = `binmode tty title ntsec'
HOME = `/export/home/aslate'

!C: = `C:\4nt'
!D: = `D:\'
!F: = `F:\'
!H: = `H:\develop\ultrapos\cbf_o\bin\win'
BCROOT = `d:\bc5'
CLASSPATH =
`f:\oracle\ora816\orb\classes\yoj.jar;f:\oracle\ora816\orb\classes\share.zip
;C:\WINNT\System32\QTJava.zip'
CMDLINE = `cygcheck -svr'
COMPUTERNAME = `ASLATE'
COMSPEC = `C:\4NT\4NT.EXE'
GR_INCLUDE = `d:\gcpp300\h'
HOMEDRIVE = `f:'
HOMEPATH = `\home\aslate'
INCLUDE = `D:\Program Files\Microsoft Visual
Studio\VC98\atl\include;D:\Program Files\Microsoft Visual
Studio\VC98\mfc\include;D:\Program Files\Microsoft Visual
Studio\VC98\include'
LIB = `D:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;D:\Program
Files\Microsoft Visual Studio\VC98\lib'
LIBDIR = `d:\odbcpp\lib;d:\allegris\lib;d:\gcpp300\b50\'
LOGONSERVER = `\\ASLATE'
MP_BASE_INCLUDES =
`\stlport;d:\bc5\include;\newec\db_tier\include;\newec\cbf_tier\include;\new
ec\common\include;\odbcpp\include;\newec\reports\include'
MP_COMMS_INCLUDE = `\newec\comms\include'
MP_TOOLS_INCLUDE = `\newec\tools\include'
MP_UI_INCLUDES =
`\newec\ui_tier\include;d:\allegris\source;\newec\ui_tier\vlang\lh;'
MP_VLANG = `e:\newec\ui_tier\vlang\lh'
MSDEVDIR = `D:\Program Files\Microsoft Visual Studio\Common\MSDev98'
MSINPUT = `f:\Program Files\Microsoft Hardware'
NUMBER_OF_PROCESSORS = `1'
OBJDIR = `..\objs'
OS = `Windows_NT'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.JS;.VBE;.JSE;.WSF;.WSH'
PLUGDIR = `\newec\plugins'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 5 Stepping 2, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0502'
QTJAVA = `C:\WINNT\System32\QTJava.zip'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `/tmp'
TMP = `/tmp'
USERDOMAIN = `PAVILION'
USERNAME = `aslate'
USERPROFILE = `C:\WINNT\Profiles\aslate'
VCSID = `ASLATE'
WINDIR = `C:\WINNT'
TERM = `cygwin'
TZ = `GMTST0GMTDT-1,M3.5.0/2,M10.5.0/3'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/'
  cygdrive flags = 0x00000022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrd
er\Start Menu\&Programs\Cygnus Solutions
  (default) = (unsupported type)
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrd
er\Start Menu\&Programs\Cygnus Solutions\Menu
  (default) = (unsupported type)
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrd
er\Start Menu\Programming\Cygnus Solutions
  (default) = (unsupported type)
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Installed Components
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Installed
Components\f:/cygwin
  (default) = `20000517'
  bash = `0002.0004.0001'
  binutils = `19990818.0001'
  bison = `0000'
  byacc = `0000'
  bzip = `0000'
  clear = `0001.0000'
  dejagnu = `0000'
  diff = `0000'
  expect = `0000'
  fileutils = `0000'
  findutils = `0000'
  flex = `0000'
  gawk = `0000'
  gcc = `0002.0095.0002.0001'
  gperf = `0000'
  grep = `0000'
  groff = `0001.011a.0001'
  gzip = `0000'
  inetutils = `0001.0003.0002.0002'
  less = `0000'
  login = `0001.0002'
  m = `0000'
  make = `0003.0079'
  man = `0001.005g.0002'
  patch = `0000'
  sed = `0003.0002.0001'
  shellutils = `0000'
  termcap = `0002'
  texinfo = `0000'
  textutils = `0000'
  time = `0000'
  X = `01R6.0004.Cygwin.0B20.0001'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `f:/cygwin/'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/export
  (default) = `f:/unix'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/exporttext
  (default) = `f:/unix'
  flags = 0x00000008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/include
  (default) = `f:/cygwin/usr/include'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/tmp
  (default) = `f:/temp'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `f:/cygwin/bin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `f:/cygwin/lib'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro\i686-cygwin32

a:  fd           N/A    N/A
c:  hd  NTFS    1027Mb  92% CP CS UN PA FC
d:  hd  NTFS    2047Mb  96% CP CS UN PA FC     APPS
e:  hd  NTFS    2047Mb  88% CP CS UN PA FC     SOURCE
f:  hd  NTFS    4518Mb  91% CP CS UN PA FC     DUMP
g:  cd  CDFS     607Mb 100%    CS UN           817docs
h:  net NTFS   50468Mb  74% CP CS    PA        aslate
i:  net NTFS   50468Mb  74% CP CS    PA        appinst
j:  net NTFS    1961Mb  83% CP CS UN PA FC     Windows NT
k:  net NTFS   50468Mb  74% CP CS    PA        junk
l:  net NTFS    3271Mb  58% CP CS UN PA FC
m:  net NTFS    1027Mb  46% CP CS UN PA FC
p:  net          N/A    N/A
q:  net NTFS   12283Mb  97% CP CS UN PA FC     raid5
s:  net NTFS   12283Mb  97% CP CS UN PA FC     raid5
t:  net NTFS   12283Mb  97% CP CS UN PA FC     raid5
w:  net NTFS   12283Mb  97% CP CS UN PA FC     raid5

f:\cygwin\usr\include  /include  system  binmode
f:\cygwin\bin  /usr/bin  system  binmode
f:\cygwin\lib  /usr/lib  system  binmode
f:\cygwin  /        system  binmode
f:\temp  /tmp     system  binmode
f:\unix  /export  system  binmode
f:\unix  /exporttext  system  textmode
c:    /c       user    binmode,noumount
d:    /d       user    binmode,noumount
e:    /e       user    binmode,noumount
f:    /f       user    binmode,noumount
g:    /g       user    binmode,noumount
h:    /h       user    binmode,noumount
i:    /i       user    binmode,noumount
j:    /j       user    binmode,noumount
k:    /k       user    binmode,noumount
l:    /l       user    binmode,noumount
m:    /m       user    binmode,noumount
q:    /q       user    binmode,noumount
s:    /s       user    binmode,noumount
t:    /t       user    binmode,noumount
w:    /w       user    binmode,noumount

Found: f:\cygwin\bin\bash.exe
Found: f:\cygwin\bin\cat.exe
Found: d:\bc5\bin\cpp.exe
Found: f:\cygwin\bin\cpp.exe
Warning: d:\bc5\bin\cpp.exe hides f:\cygwin\bin\cpp.exe
Found: f:\cygwin\bin\find.exe
Found: f:\cygwin\bin\gcc.exe
Found: f:\cygwin\bin\gdb.exe
Found: f:\cygwin\bin\ld.exe
Found: f:\cygwin\bin\ls.exe
Found: f:\utils\ls.exe
Warning: f:\cygwin\bin\ls.exe hides f:\utils\ls.exe
Found: d:\bc5\bin\make.exe
Found: f:\cygwin\bin\make.exe
Warning: d:\bc5\bin\make.exe hides f:\cygwin\bin\make.exe
Found: d:\PROGRA~1\Borland\Delphi5\Bin\make.exe
Warning: d:\bc5\bin\make.exe hides d:\PROGRA~1\Borland\Delphi5\Bin\make.exe
Found: f:\cygwin\bin\sh.exe

   56k 2000/12/03 f:\cygwin\bin\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz21.0.dll" v0.0 ts=2000/11/20 23:53
   45k 2001/04/25 f:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
                  "cygform5.dll" v0.0 ts=2001/4/25 6:28
   18k 2000/10/23 f:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2000/10/23 3:26
   17k 2001/06/28 f:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory4.dll" v0.0 ts=2001/1/7 4:34
   21k 2001/06/28 f:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory5.dll" v0.0 ts=2001/6/28 3:27
   21k 2001/06/20 f:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl.dll" v0.0 ts=2001/6/20 18:09
   81k 2001/04/28 f:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitcl30.dll" v0.0 ts=2001/4/28 23:57
   35k 2001/04/28 f:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitk30.dll" v0.0 ts=2001/4/28 23:57
   45k 2001/07/04 f:\cygwin\bin\cygjbig1.dll - os=4.0 img=1.0 sys=4.0
                  "cygjbig1.dll" v0.0 ts=2001/7/4 4:25
  119k 2001/06/06 f:\cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0
                  "cygjpeg6b.dll" v0.0 ts=2001/6/6 5:27
   26k 2001/04/25 f:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu5.dll" v0.0 ts=2001/4/25 6:27
  156k 2001/04/25 f:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++5.dll" v0.0 ts=2001/4/25 6:29
  226k 2001/04/25 f:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses5.dll" v0.0 ts=2001/4/25 6:17
   15k 2001/04/25 f:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel5.dll" v0.0 ts=2001/4/25 6:27
  163k 2001/05/06 f:\cygwin\bin\cygpng2.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng2.dll" v0.0 ts=2001/5/6 5:05
  108k 2001/06/28 f:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline4.dll" v0.0 ts=2001/1/7 4:34
  135k 2001/06/28 f:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline5.dll" v0.0 ts=2001/6/28 3:27
  390k 2001/04/28 f:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=2001/4/28 23:56
    5k 2001/04/28 f:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
   10k 2001/04/28 f:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=2001/4/28 23:56
  245k 2001/06/12 f:\cygwin\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0
                  "cygtiff3.dll" v0.0 ts=2001/6/12 18:25
  623k 2001/04/28 f:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=2001/4/28 23:57
   41k 2001/07/04 f:\cygwin\bin\cygXpm-noX4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-noX4.dll" v0.0 ts=2001/7/4 2:21
   45k 2001/07/04 f:\cygwin\bin\cygXpm-X4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-X4.dll" v0.0 ts=2000/11/20 2:45
   49k 2001/02/03 f:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2001/2/3 20:35
  701k 2001/09/13 f:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2001/9/13 4:54
    Cygwin DLL version info:
        dll major: 1003
        dll minor: 3
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        dll malloc env: 28
        api major: 0
        api minor: 46
        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 Sep 12 23:54:31 EDT 2001
        shared id: cygwin1S3

Use -h to see help about each section


Al Slater

Support Supervisor
Stanton Consultancy
al DOT slater AT scluk DOT com
+44 (0)1273 666607


------=_NextPart_000_0002_01C144FC.23CBF120
Content-Type: text/x-vcard;
	name="Al Slater (E-mail).vcf"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="Al Slater (E-mail).vcf"

BEGIN:VCARD
VERSION:2.1
N:Slater;Al
FN:Al Slater (E-mail)
ORG:Stanton Consultancy Ltd;EC / Multiplecs Support
TITLE:Support Supervisor
TEL;WORK;VOICE:+44 (01273) 666607
TEL;WORK;FAX:+44 (01273) 666601
ADR;WORK;ENCODING=3DQUOTED-PRINTABLE:;;Pavilion House=3D0D=3D0A6/7 Old =
Steine;Brighton;East Sussex;BN1 1EJ;United Kin=3D
gdom
LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:Pavilion House=3D0D=3D0A6/7 Old =
Steine=3D0D=3D0ABrighton, East Sussex BN1 1EJ=3D0D=3D0AU=3D
nited Kingdom
ADR;HOME:;;;;;;United Kingdom
LABEL;HOME:United Kingdom
EMAIL;PREF;INTERNET:al DOT slater AT scluk DOT com
REV:20000926T094204Z
END:VCARD


------=_NextPart_000_0002_01C144FC.23CBF120
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_0002_01C144FC.23CBF120--


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019