[10.50b] A Crash popup when Ctrl-Q while using CudaLister
Moderators: Hacker, petermad, Stefan2, white
- thomasmolover
- Member
- Posts: 177
- Joined: 2016-12-12, 01:32 UTC
[10.50b] A Crash popup when Ctrl-Q while using CudaLister
sometime when I use Ctrl-Q to preview some file, TC popup a warninig windows and crash.
It happen seem to be random and I can't catch it a same serial operations
this is the error windows
https://imgur.com/a/HAU3akQ
Windows 11
TC 10.5b6 x64
cudalist wlx
It happen seem to be random and I can't catch it a same serial operations
this is the error windows
https://imgur.com/a/HAU3akQ
Windows 11
TC 10.5b6 x64
cudalist wlx
- thomasmolover
- Member
- Posts: 177
- Joined: 2016-12-12, 01:32 UTC
Re: [10.50b] A Crash popup when Ctrl-Q
maybe it is NOT TC bug, how to catch its info???
Re: [10.50b] A Crash popup when Ctrl-Q
Preview what type of file ?
Is CudaLister actual (current is 1.7.6.1)
Is CudaLister actual (current is 1.7.6.1)
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
- thomasmolover
- Member
- Posts: 177
- Joined: 2016-12-12, 01:32 UTC
Re: [10.50b] A Crash popup when Ctrl-Q
I know the actual version as you can see in my post.
The 1st question is still open ?
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
- thomasmolover
- Member
- Posts: 177
- Joined: 2016-12-12, 01:32 UTC
Re: [10.50b] A Crash popup when Ctrl-Q
It happened on random files if its a text-type could be view by cudalist, I could not consider what plugins cause it, I'd put the cudalist first top of all the plugins and wait for the crash.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [10.50b] A Crash popup when Ctrl-Q
TC doesn't have a function CheckSynchronize, so it must be a plugin.
Try opening a text file with F3 and then cycle through all plugins which can show text files with option '4' in the options menu (some editors will use the '4' as text input, so you need to use the menu). One of these plugins must be causing the error.
Try opening a text file with F3 and then cycle through all plugins which can show text files with option '4' in the options menu (some editors will use the '4' as text input, so you need to use the menu). One of these plugins must be causing the error.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [10.50b] A Crash popup when Ctrl-Q
https://forum.lazarus.freepascal.org/index.php?topic=25053.0ghisler(Author) wrote: 2022-05-22, 09:05 UTC TC doesn't have a function CheckSynchronize, so it must be a plugin.
Try opening a text file with F3 and then cycle through all plugins which can show text files with option '4' in the options menu (some editors will use the '4' as text input, so you need to use the menu). One of these plugins must be causing the error.
https://www.freepascal.org/docs-html/rtl/classes/checksynchronize.html
this is means that this func is a part of Core Lazarus/Pascal engine.
Last edited by AntonyD on 2022-05-23, 10:06 UTC, edited 1 time in total.
#146217 personal license
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [10.50b] A Crash popup when Ctrl-Q
Currently only the built-in media player uses threads in Lister. Maybe a plugin written in Lazarus?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- Elwin_Ransom
- Junior Member
- Posts: 38
- Joined: 2022-07-31, 18:14 UTC
- Location: Perelandra
Re: [10.50b] A Crash popup when Ctrl-Q
Mr. Ghisler, the author of the plugin replied in relation to this problem:
I found CheckSynchronize call in win32 widgets, in the handler of WM_NULL msg. maybe this msg is used by TotalCmd? my plugin don't.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [10.50b] A Crash popup when Ctrl-Q while using CudaLister
I found this in the Lazarus sources:
Lazarus seems to post WM_NULL to itself to wake up the UI thread. But why would this be caused by CudaLister? Does CudaLister use Lazarus? If yes, does it call any LCL functions from a background thread?
Code: Select all
WM_NULL:
if (Window = Win32WidgetSet.AppHandle) then
begin
CheckSynchronize;
TWin32Widgetset(Widgetset).CheckPipeEvents;
end;
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- Elwin_Ransom
- Junior Member
- Posts: 38
- Joined: 2022-07-31, 18:14 UTC
- Location: Perelandra
Re: [10.50b] A Crash popup when Ctrl-Q while using CudaLister
Response from plugin author:
It must not do it, IDK it yet.does it call any LCL functions from a background thread?
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [10.50b] A Crash popup when Ctrl-Q while using CudaLister
There seems to be just one function sending WM_NULL, located in win32object.inc:
procedure TWin32WidgetSet.HandleWakeMainThread(Sender: TObject);
If you can debug your plugin, put a breakpoint on it.
procedure TWin32WidgetSet.HandleWakeMainThread(Sender: TObject);
If you can debug your plugin, put a breakpoint on it.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [10.50b] A Crash popup when Ctrl-Q while using CudaLister
Since the original report we had several new version.
I never had any such a crash.
Would be fine to know about the status of the post starter.
I never had any such a crash.
Would be fine to know about the status of the post starter.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
- Elwin_Ransom
- Junior Member
- Posts: 38
- Joined: 2022-07-31, 18:14 UTC
- Location: Perelandra
Re: [10.50b] A Crash popup when Ctrl-Q while using CudaLister
@Horst.Epp
Do you mean the new versions of the plugin? I have the latest version of CudaLister installed: 1.8.1.0 (Win 10, TC 10.52). Crashes happen regularly and steadily, 5-6 times a day. Details here.Since the original report we had several new version