Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash launching more than one query in the same tab #538

Closed
juanlugil opened this issue Feb 15, 2019 · 3 comments
Closed

Crash launching more than one query in the same tab #538

juanlugil opened this issue Feb 15, 2019 · 3 comments

Comments

@juanlugil
Copy link

juanlugil commented Feb 15, 2019

Steps to reproduce this issue

  1. Step 1;Write more than one query on the same quey tab separeted by ;
  2. Step 2; Execute queys F9
  3. Then I get... An error ocurred in the applictacion over the two grids on two tabs result of the querys.

Current behavior

An error ocurred in the application window opened over grids of results.

Expected behavior

No windows with error.

Possible solution

Environment

  • HeidiSQL version:
    10.1.0.5479 64bits
  • Database system and version:
    Postgres
  • Operating system:
    date/time : 2019-02-15, 15:32:47, 384ms
    computer name : S4J81534
    user name : Administrador
operating system   : Windows 7 x64 Service Pack 1 build 7601
system language    : Spanish
system up time     : 6 hours 58 minutes
program up time    : 19 minutes 34 seconds
processors         : 4x Intel(R) Core(TM) i5-4430 CPU @ 3.00GHz
physical memory    : 10784/16297 MB (free/total)
free disk space    : (C:) 66,05 GB
display mode       : 1920x1200, 32 bit
process id         : $1e18
allocated memory   : 128,75 MB
largest free block : 8181,53 GB
executable         : heidisql.exe
exec. date/time    : 2019-02-10 14:53
version            : 10.1.0.5479
compiled with      : Delphi 10.3 Rio
madExcept version  : 5.0.0
callstack crc      : $9add2096, $9c0f4e35, $9c0f4e35
exception number   : 1
exception class    : EStringListError
exception message  : List index out of bounds (2).

main thread ($22d0):
00000000 ???
7fefd25b KERNELBASE.dll                       RaiseException
004107cd heidisql.exe   System                @RaiseAtExcept
0053a45c heidisql.exe   System.Classes        TStrings.Error
0053cc42 heidisql.exe   System.Classes        TStringList.Get
00990db0 heidisql.exe   Vcl.Tabs              TTabSet.DoDefaultPainting
00991393 heidisql.exe   Vcl.Tabs              TTabSet.Paint
006b1b76 heidisql.exe   Vcl.Controls          TCustomControl.PaintWindow
006a8953 heidisql.exe   Vcl.Controls          TWinControl.PaintHandler
006a966f heidisql.exe   Vcl.Controls          TWinControl.WMPaint
006b1b08 heidisql.exe   Vcl.Controls          TCustomControl.WMPaint
0040e9d2 heidisql.exe   System                TObject.Dispatch
006a17ed heidisql.exe   Vcl.Controls          TControl.WndProc
006a86ca heidisql.exe   Vcl.Controls          TWinControl.WndProc
006a78fa heidisql.exe   Vcl.Controls          TWinControl.MainWndProc
0055c293 heidisql.exe   System.Classes        StdWndProc
775db5cb ntdll.dll                            KiUserCallbackDispatcher
77366e37 USER32.dll                           DispatchMessageW
0084e09e heidisql.exe   Vcl.Forms             TApplication.ProcessMessage
0084e113 heidisql.exe   Vcl.Forms             TApplication.HandleMessage
0084e561 heidisql.exe   Vcl.Forms             TApplication.Run
00ddee7a heidisql.exe   heidisql       85 +26 initialization
7746571b kernel32.dll                         BaseThreadInitThunk
775c385b ntdll.dll                            RtlUserThreadStart

@ansgarbecker
Copy link
Collaborator

Can confirm that. At least if I activate "Send queries one by one". It works without crash when firing with "Send batch in one go".

@ansgarbecker
Copy link
Collaborator

Related to #249

@ansgarbecker
Copy link
Collaborator

The myriad of SELECT 123::regclass queries seem to have caused these "List index out of bounds" error, probably due to running a query while setting up the tabset for a threaded user query. Fixing #249 then also solved this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants