Tcl Source Code

View Ticket
Login
Ticket UUID: 218227
Title: Windows user TCL DLL's crash when loaded in 8.2
Type: Bug Created on: 2000-10-26 00:54:46
Submitter: nobody Assigned to: nobody
Subsystem: 40. Dynamic Loading Severity:
Priority: 2 Last modified: 2001-04-19 00:44:24
Status: Closed Closed by: dgp
Resolution: Fixed Closed on: 2001-04-18 17:44:24
Version: obsolete: 8.2
Description:
OriginalBugID: 2638 Bug
Version: 8.2
SubmitDate: '1999-08-31'
LastModified: '1999-09-01'
Severity: CRIT
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: Windows 95
Machine: X86
FixedDate: '2000-10-25'
ClosedDate: '1999-09-01'


Name:
Victor Hellberg

Extensions:
none

Comments:
I would appreciate any help in this regard as unfortunately I am new to
    this programming environment and the original programmer of the DLL has
    left our company.  
    
    Thanks in Advance.

ReproducibleScript:
I'm not too sure whether this is a bug or new feature.  I compiled 2
    DLLs to use with my software.  These call MSAccess routines to do
    Database work.  These worked well with TCL 8.1 but with 8.2 as soon as I
    "load access.dll" Prowish82 crashes.   Is there a change required in the
    code of the DLLs?  Where can I find out what the changes are (In laymans
    terms as I am new to the programming language)  This is in Win95. Don't
    develop in NT.

ObservedBehavior:
When I load the DLL Prowish82 immediately crashes.  I assume I am using
    memory illegally.  The following error occurs:
    
    PROWISH82 caused an invalid page fault in
    module <unknown> at 0000:00000350.
    Registers:
    EAX=004d00b8 CS=014f EIP=00000350 EFLGS=00010a17
    EBX=005d0000 SS=0157 ESP=0080e678 EBP=0080e690
    ECX=004d00b8 DS=0157 ESI=01138010 FS=3b17
    EDX=004d0168 ES=0157 EDI=004d00b8 GS=0000
    Bytes at CS:EIP:
    00 91 48 00 40 00 00 f0 d4 f8 40 00 00 f0 48 00 
    Stack dump:
    018633f5 004d0168 01138014 0080e68c 005d0000 004d00b8 0080e6ac 01862866
    004d00b8 01138014 004cbc93 0080e83b 005d0000 0080e6c4 01131277 004d00b8

DesiredBehavior:
It should load the DLL and make the library functions available for my
    TCL script to run.



The DLLs need to either be recompiled for 8.2 or compiled with
8.1 and stubs.  Make sure to link against just the stubs libraries. 
-- 09/01/1999 hobbs