[17.0.134] Exception on Launch

When starting Toad, after restoring the workspace (loads automatically), the following error message appears:

Access violation at address 000000000453EB55 in module 'Toad.exe'. Read of address 0000000000000050.

Call Stack
Call Stack Information:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|Methods |Details|Stack           |Address         |Module      |Offset          |Source             |Unit           |Class                        |Procedure/Method                |Line                            |
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|*Exception Thread: ID=1516; Parent=0; Priority=0                                                                                                                                                                    |
|Class=; Name=MAIN                                                                                                                                                                                                   |
|DeadLock=0; Wait Chain=                                                                                                                                                                                             |
|Comment=                                                                                                                                                                                                            |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|7FFFFFFE|04     |0000000000000000|000000000453EB55|Toad.exe    |0000000000EDEB55|tdFileEncoding.pas |tdFileEncoding |                             |SaveStringToStream              |535[10]                         |
|00000040|04     |0000000000A3E718|0000000009E6D54C|Toad.exe    |000000000680D54C|tdDScintilla.pas   |tdDScintilla   |                             |_SaveToStream                   |3875[20]                        |
|00000040|04     |0000000000A3E798|0000000009E8FA4E|Toad.exe    |000000000682FA4E|tdDScintilla.pas   |tdDScintilla   |TtdDScintilla                |SaveToStream                    |13459[5]                        |
|00000040|04     |0000000000A3E7E8|00000000098F6E5D|Toad.exe    |0000000006296E5D|frmSyntaxEditor.pas|frmSyntaxEditor|TSyntaxEditorForm            |SaveTextToStream                |13305[4]                        |
|00000040|04     |0000000000A3E828|0000000009429F56|Toad.exe    |0000000005DC9F56|BackupEngine.pas   |BackupEngine   |TBackupEngineItem            |SetContent                      |1119[8]                         |
|00000040|04     |0000000000A3E868|0000000009429CE2|Toad.exe    |0000000005DC9CE2|BackupEngine.pas   |BackupEngine   |TBackupEngineItem            |Backup                          |1063[16]                        |
|00000040|04     |0000000000A3E8C8|00000000094275E4|Toad.exe    |0000000005DC75E4|BackupEngine.pas   |BackupEngine   |TBackupEngine                |BackupNextItem                  |335[19]                         |
|00000040|04     |0000000000A3E908|000000000942746B|Toad.exe    |0000000005DC746B|BackupEngine.pas   |BackupEngine   |TBackupEngine                |Backup                          |295[8]                          |
|00000040|04     |0000000000A3E938|0000000009429BDE|Toad.exe    |0000000005DC9BDE|BackupEngine.pas   |BackupEngine   |TBackupEngine                |TimerFired                      |1036[2]                         |
|00000040|03     |0000000000A3E968|0000000003B373D0|Toad.exe    |00000000004D73D0|Vcl.ExtCtrls.pas   |Vcl.ExtCtrls   |TTimer                       |Create                          |                                |
|00000040|03     |0000000000A3E998|0000000003B371F7|Toad.exe    |00000000004D71F7|Vcl.ExtCtrls.pas   |Vcl.ExtCtrls   |TTimer                       |WndProc                         |                                |
|00000040|03     |0000000000A3E9E8|0000000003831654|Toad.exe    |00000000001D1654|System.Classes.pas |System.Classes |                             |StdWndProc                      |                                |
|00000040|03     |0000000000A3EA38|00007FFF3CE5E852|user32.dll  |000000000000E852|user32.dll         |user32         |                             | (possible CallWindowProcW+1010)|                                |
|00000040|03     |0000000000A3EBC8|00007FFF3CE5E294|user32.dll  |000000000000E294|user32.dll         |user32         |                             | (possible DispatchMessageW+596)|                                |
|00000040|03     |0000000000A3EC48|0000000003BE103E|Toad.exe    |000000000058103E|Vcl.Forms.pas      |Vcl.Forms      |TApplication                 |ProcessMessage                  |                                |
|00000040|03     |0000000000A3ECC8|0000000003BE10B3|Toad.exe    |00000000005810B3|Vcl.Forms.pas      |Vcl.Forms      |TApplication                 |HandleMessage                   |                                |
|00000040|03     |0000000000A3ED38|0000000003BD9DDB|Toad.exe    |0000000000579DDB|Vcl.Forms.pas      |Vcl.Forms      |TCustomForm                  |ShowModal                       |                                |
|00000040|04     |0000000000A3EDE8|0000000009428840|Toad.exe    |0000000005DC8840|BackupEngine.pas   |BackupEngine   |TBackupEngine                |Restore                         |753[32]                         |
|00000040|04     |0000000000A3EFD8|0000000009BA7AA8|Toad.exe    |0000000006547AA8|mainform.pas       |mainform       |TfrmMain                     |TmMainformShown                 |6626[53]                        |
|00000040|03     |0000000000A3F048|0000000003671D91|Toad.exe    |0000000000011D91|System.pas         |System         |TObject                      |Dispatch                        |                                |
|00000040|03     |0000000000A3F0A8|0000000003A1C6FD|Toad.exe    |00000000003BC6FD|Vcl.Controls.pas   |Vcl.Controls   |TControl                     |WndProc                         |                                |
|00000040|03     |0000000000A3F218|0000000003A23BB2|Toad.exe    |00000000003C3BB2|Vcl.Controls.pas   |Vcl.Controls   |TWinControl                  |WndProc                         |                                |
|00000040|03     |0000000000A3F2E8|0000000003BD2047|Toad.exe    |0000000000572047|Vcl.Forms.pas      |Vcl.Forms      |TCustomForm                  |WndProc                         |                                |
|00000040|04     |0000000000A3F3B8|0000000004058475|Toad.exe    |00000000009F8475|cxControls.pas     |cxControls     |TcxWindowProcLinkedObject    |DefaultProc                     |14959[1]                        |
|00000040|04     |0000000000A3F3F8|0000000009F5AE98|Toad.exe    |00000000068FAE98|dxBar.pas          |dxBar          |TdxBarManager                |OwnerWindowProc                 |20455[18]                       |
|00000040|04     |0000000000A3F458|0000000004058A65|Toad.exe    |00000000009F8A65|cxControls.pas     |cxControls     |TcxWindowProcLinkedObjectList|WndProc                         |15069[1]                        |
|00000040|03     |0000000000A3F498|0000000003A22CEA|Toad.exe    |00000000003C2CEA|Vcl.Controls.pas   |Vcl.Controls   |TWinControl                  |MainWndProc                     |                                |
|00000040|03     |0000000000A3F4E8|0000000003831654|Toad.exe    |00000000001D1654|System.Classes.pas |System.Classes |                             |StdWndProc                      |                                |
|00000040|03     |0000000000A3F538|00007FFF3CE5E852|user32.dll  |000000000000E852|user32.dll         |user32         |                             | (possible CallWindowProcW+1010)|                                |
|00000040|03     |0000000000A3F6C8|00007FFF3CE5E4E9|user32.dll  |000000000000E4E9|user32.dll         |user32         |                             |CallWindowProcW                 |                                |
|00000040|04     |0000000000A3F718|0000000009B94339|Toad.exe    |0000000006534339|mainform.pas       |mainform       |                             |NewWindowProc                   |1240[12]                        |
|00000040|03     |0000000000A3F768|00007FFF3CE5E852|user32.dll  |000000000000E852|user32.dll         |user32         |                             | (possible CallWindowProcW+1010)|                                |
|00000040|03     |0000000000A3F8F8|00007FFF3CE5E294|user32.dll  |000000000000E294|user32.dll         |user32         |                             | (possible DispatchMessageW+596)|                                |
|00000040|03     |0000000000A3F978|0000000003BE103E|Toad.exe    |000000000058103E|Vcl.Forms.pas      |Vcl.Forms      |TApplication                 |ProcessMessage                  |                                |
|00000040|03     |0000000000A3F9F8|0000000003BE10B3|Toad.exe    |00000000005810B3|Vcl.Forms.pas      |Vcl.Forms      |TApplication                 |HandleMessage                   |                                |
|00000040|03     |0000000000A3FA68|0000000003BE150A|Toad.exe    |000000000058150A|Vcl.Forms.pas      |Vcl.Forms      |TApplication                 |Run                             |                                |
|00000040|04     |0000000000A3FAA8|0000000009FDCDB7|Toad.exe    |000000000697CDB7|Toad.dpr           |Toad           |                             |initialization                  |2263[163]                       |
|7FFF7FFE|03     |0000000000A3FB48|00007FFF3E76760E|kernel32.dll|000000000001760E|KERNEL32.DLL       |KERNEL32       |                             |BaseThreadInitThunk             |                                |
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Any ideas?

Dirk

Hi Dirk.

The editor backup feature (Options -> Editor -> behavior -> backup editor every n minutes) is what's throwing this error, but I don't know why it is happening. Can you zip up and send me your user files folder? john.dorlon@quest.com

-John

Sure. Done. :slight_smile:

BR
Dirk

I closed TOAD and deleted the file "~EditorBackups.txt" as well as the "~XXXXXX.tmp" files listed in it.
Then I started TOAD and waited until the error message appeared again.
The "~EditorBackups.txt" was created again at this time and corresponding tmp-files were created as well. But for all three editor tabs from one connection no tmp files were created.

Dirk

It seems that the workspace file is corrupted.
I cannot close any of the editor tabs from this connection and closing the editor window does not work either. There is no error, nothing happens.

Dirk

I'll answer you by email