Modify ↓
      
        Opened 12 years ago
Closed 12 years ago
#2541 closed Bug (Fixed)
Obj in Loop - AutoIt3.exe ended.rc:-1073741819
| Reported by: | mlipok | Owned by: | Jon | 
|---|---|---|---|
| Milestone: | 3.3.9.23 | Component: | AutoIt | 
| Version: | 3.3.9.22 | Severity: | None | 
| Keywords: | Cc: | 
Description
Repro CODE:
Global $oErrorHandler = ObjEvent("AutoIt.Error", "_AutoIt_MyErrFunc")
Global $ADODBHandle
For $i = 1 To 100
    _ADOClose_test()
Next
Func _ADOClose_test($ADODBHandle = -1)
    If $ADODBHandle.State = 1 Then
    EndIf
EndFunc   ;==>_ADOClose_test
Func _AutoIt_MyErrFunc()
    ; Com Error Handler
    Local $sError_log = ""
    $sError_log &= "$oErrorHandler.number is: " & @TAB & $oErrorHandler.number & @CRLF
    $sError_log &= "$oErrorHandler.windescription:" & @TAB & $oErrorHandler.windescription & @CRLF
    $sError_log &= "$oErrorHandler.description is: " & @TAB & $oErrorHandler.description & @CRLF
    $sError_log &= "$oErrorHandler.source is: " & @TAB & $oErrorHandler.source & @CRLF
    $sError_log &= "$oErrorHandler.helpfile is: " & @TAB & $oErrorHandler.helpfile & @CRLF
    $sError_log &= "$oErrorHandler.helpcontext is: " & @TAB & $oErrorHandler.helpcontext & @CRLF
    $sError_log &= "$oErrorHandler.lastdllerror is: " & @TAB & $oErrorHandler.lastdllerror & @CRLF
    $sError_log &= "$oErrorHandler.scriptline is: " & @TAB & $oErrorHandler.scriptline & @CRLF
    $sError_log &= "$oErrorHandler.retcode is: " & @TAB & $oErrorHandler.retcode & @CRLF & @CRLF
    ConsoleWrite($sError_log)
    Return
EndFunc   ;==>_AutoIt_MyErrFunc
output:
>"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /beta /ErrorStdOut /in "L:\TOOLs\Macro\TEST_BETA.au3" /UserParams +>00:51:26 Starting AutoIt3Wrapper v.2.1.3.0 SciTE v.3.3.6.0 ; Keyboard:00000415 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64 Environment(Language:0415 Keyboard:00000415 OS:WIN_7/Service Pack 1 CPU:X64 OS:X64) >Running AU3Check (3.3.9.22) from:C:\Program Files (x86)\AutoIt3\Beta +>00:51:26 AU3Check ended.rc:0 >Running:(3.3.9.22):C:\Program Files (x86)\AutoIt3\Beta\autoit3.exe "L:\TOOLs\Macro\TEST_BETA.au3" --> Press Ctrl+Alt+F5 to Restart or Ctrl+Break to Stop $oErrorHandler.number is: 169 $oErrorHandler.windescription: Variable must be of type 'Object'. $oErrorHandler.description is: $oErrorHandler.source is: $oErrorHandler.helpfile is: $oErrorHandler.helpcontext is: $oErrorHandler.lastdllerror is: 0 $oErrorHandler.scriptline is: 9 $oErrorHandler.retcode is: !>00:51:31 AutoIt3.exe ended.rc:-1073741819 >Exit code: -1073741819 Time: 5.135
Attachments (0)
Change History (2)
comment:1 Changed 12 years ago by mlipok
comment:2 Changed 12 years ago by Jon
- Milestone set to 3.3.9.23
 - Owner set to Jon
 - Resolution set to Fixed
 - Status changed from new to closed
 
Fixed by revision [9196] in version: 3.3.9.23
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
 - In-depth discussions should take place on the forum.
 
For more information see the full version of the ticket guidelines here.
Note: See
        TracTickets for help on using
        tickets.
    
This was discussed here:
http://www.autoitscript.com/forum/topic/156029-autoit-v33922-beta/page-4#entry1131086