-
-
Notifications
You must be signed in to change notification settings - Fork 539
Closed
Labels
bugDefective behaviour in HeidiSQLDefective behaviour in HeidiSQL
Milestone
Description
Description
portable_settings.txt file is empty when HeidiSQL was used to export grid data to a file with UTF-8 encoding without BOM.
Reported in the forum: https://www.heidisql.com/forum.php?t=43892
In fact, not only the settings file is affected, but also when you export a grid a second time with the same encoding.
HeidiSQL version
12.10.0.7007
Database server version
Reproduction recipe
- export a grid to csv in UTF-8 encoding
- repeat the export
Error/Backtrace
Following stack trace is only producible with some removed try/catch blocks, and with debug dcu's built:
exception class : EAccessViolation
exception message : Zugriffsverletzung bei Adresse 00000000005E2A6F in Modul 'heidisql.exe'. Lesen von Adresse 0000000100837E88.
main thread ($1118):
005e2a6f heidisql.exe System.Classes 19838 +13 TStreamWriter.Create
005e2d24 heidisql.exe System.Classes 19864 +8 TStreamWriter.Create
00d345b4 heidisql.exe apphelpers 1226 +7 SaveUnicodeFile
00d4b142 heidisql.exe apphelpers 4526 +4 TAppSettings.ExportSettings
00d4b1c6 heidisql.exe apphelpers 4536 +4 TAppSettings.ExportSettings
011fe4a0 heidisql.exe Main 1879 +58 TMainForm.FormDestroy
00860563 heidisql.exe Vcl.Forms 5478 +3 TCustomForm.DoDestroy
00860217 heidisql.exe Vcl.Forms 5412 +7 TCustomForm.BeforeDestruction
0040f9c2 heidisql.exe System 19725 +2 @BeforeDestruction
0086025c heidisql.exe Vcl.Forms 5421 +0 TCustomForm.Destroy
0040ef85 heidisql.exe System 18403 +5 TObject.Free
005ddd01 heidisql.exe System.Classes 17759 +10 TComponent.DestroyComponents
00857c84 heidisql.exe Vcl.Forms 2532 +12 DoneApplication
00478570 heidisql.exe System.SysUtils 6172 +6 DoExitProc
00411e49 heidisql.exe System 25548 +55 @Halt0
01264bec heidisql.exe heidisql 117 +43 initialization
7ff8bcf9 KERNEL32.DLL BaseThreadInitThunk
7ff8beb1 ntdll.dll RtlUserThreadStartMetadata
Metadata
Assignees
Labels
bugDefective behaviour in HeidiSQLDefective behaviour in HeidiSQL