SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
[11.2.246 Pro] - Command Selector issue

 
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant View previous topic
View next topic
[11.2.246 Pro] - Command Selector issue
Author Message
gemisigo



Joined: 11 Mar 2010
Posts: 2109

Post [11.2.246 Pro] - Command Selector issue Reply with quote
Calling forth the Command Selector throws and exception. I've narrowed down the probable cause of the issue to something regarding snippets (perhaps there's too many of them?). I'll try to reduce the number to something reasonable but it will take a while. Meantime I cannot use some rather useful features eg. the SQL Preprocessor as I cannot invoke it in any other way but the Command Selector.

Quote:

Exception: TargetWndProc(257,77,3761373185)
Access violation at address 0000000008734345 in module 'SqlAssistPrefs.dll'. Read of address 0000000000000070
operating system : Windows 10 x64 build 19041
system language : English
system up time : 3 days 3 hours
program up time : 51 seconds
processors : 8x Intel(R) Core(TM) i7-4810MQ CPU @ 2.80GHz
physical memory : 2681/16285 MB (free/total)
free disk space : (C:) 14.96 GB
display mode : 1920x1080, 32 bit
process id : $5a38
allocated memory : 137.66 MB
largest free block : 131021.94 GB
executable : SqlEditor.exe
current module : SqlAssistPrefs.dll
module date/time : 2020-06-29 13:50
version : 11.2.246.0
callstack crc : $7fe8132d, $302f94cb, $f82f4cb7
exception number : 1
exception class : EAccessViolation
exception message : Access violation at address 0000000008734345 in module 'SqlAssistPrefs.dll'. Read of address 0000000000000070.

cpu registers:
rax = 000000000e4b1d80
rbx = 0000000000000070
rcx = 0000000000000070
rdx = 0000000000000000
rsi = 0000000000000000
rdi = 0000000000000000
rip = 0000000008734345
rsp = 000000000014f4a0
rbp = 000000000014f4a0
r8 = 0000000000000000
r9 = 0000000001c6ee23
r10 = 000000000000ffff
r11 = 0000000000000010
r12 = 0000000000000000
r13 = 000000000a1459f0
r14 = 0000000000000000
r15 = 0000000000000000

disassembling:
[...]
09ffe01f mov dword ptr [rsp+$20], 0
09ffe027 call public cmdPane.AddCommand
09ffe02c lea rcx, [rax+$70]
09ffe030 mov rax, [rbp+$d8]
09ffe037 mov rdx, [rax+$30]
09ffe03b > call -$18c9d50 ($87342f0) ; System.@UStrAsg
09ffe040 add dword ptr [rbp+$11c], 1
09ffe047 298 cmp [rbp+$11c], ebx
09ffe04d jnz loc_9ffdfc1
09ffe053 nop
09ffe054 jmp loc_9ffe5d8
[...]

main thread ($2b78):
08734345 +0055 SqlAssistPrefs.dll System @UStrAsg
09ffe03b +06fb SqlAssistPrefs.dll cmdPane 299 +58 AddCommand
09ffe748 +0058 SqlAssistPrefs.dll cmdPane 345 +3 AddCommands
09fff7e6 +00a6 SqlAssistPrefs.dll cmdPane 524 +13 TCommandPane.FillNodes
09ffd136 +0186 SqlAssistPrefs.dll cmdPane 99 +24 ShowCommandPane
0a027be3 +1553 SqlAssistPrefs.dll TargetUnit 2606 +309 TTargetManager.DoCmd
0a0238e8 +0b08 SqlAssistPrefs.dll TargetUnit 1690 +96 TTargetManager.WndProc
090938a6 +0016 SqlAssistPrefs.dll Subclass 126 +2 TSubclass.WndProcPrev
090a3ac2 +0062 SqlAssistPrefs.dll PanDock 497 +8 TDockPan.PairWndProc
09093c77 +0027 SqlAssistPrefs.dll Subclass 188 +1 TSubProc.WndProc
0909344e +00be SqlAssistPrefs.dll Subclass 70 +6 SubclassWndProc
0082df2f +012f SqlEditor.exe Vcl.Forms 10469 +23 TApplication.ProcessMessage
0082dfa3 +0013 SqlEditor.exe Vcl.Forms 10499 +1 TApplication.HandleMessage
0082e43f +00ef SqlEditor.exe Vcl.Forms 10637 +26 TApplication.Run
00c97d32 +0122 SqlEditor.exe SQLEditor 74 +21 initialization

thread $22f0:
08ebd6ee +2e SqlAssistPrefs.dll VirtualTrees 6375 +4 TWorkerThread.Execute

thread $3258:
00505909 +49 SqlEditor.exe madExcept 17280 +7 ThreadExceptFrame

Thu Jul 09, 2020 3:09 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
Our investigation resulted in a reproducible case. This crash is caused by an empty code snippet declared in the settings but missing its code, which leads to an internal null pointer exception when adding such snippet to the popup menu.

This defect will be fixed soon. As an immediate workaround, please remove empty code snippets.
Sun Jul 12, 2020 1:59 am View user's profile Send private message
gemisigo



Joined: 11 Mar 2010
Posts: 2109

Post Reply with quote
What do you mean by "empty code snippet"? I've found a couple that had nothing in their bodies. I've added some comments there and restarted both the tray app and SE. Yet, it still throws an exception.

EDIT: okay, there were some empty ones in another style I haven't checked. I've removed those and now it works. Thanks for the hint!
Mon Jul 13, 2020 9:25 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.