Greetings.
System Debian 13.6 64 bit updated to date.
All of the sudden I'm facing weird issue with cqrlog 2.5.2
Something went askew...
After I click button "Open log" first window is opened,
but when I go to File it displays menu and freezes forever.
Can not do anything more...
Waiting a while I see new pop-up message:
Access violation.
Press OK to ignore and risk data corruption.
Press Abort to kill the program.
But it is not possible to click any of above two buttons.
Running from console in debug mode I see:
sp2l@debian-13:~$ cqrlog --debug
Cqrlog Ver:2.5.2 (001) Date:2021-02-12
**** DEBUG LEVEL 0 ****
**** CHANGE WITH --debug=1 PARAMETER ****
OS:
Linux version 6.17.8+deb13-amd64 (debian-kernel@lists.debian.org) (x86_64-linux-gnu-gcc-14 (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44) #1 SMP PREEMPT_DYNAMIC Debian 6.17.8-1~bpo13+1 (2025-11-23)
[FORMS.PP] ExceptionOccurred
Sender=EAccessViolation
Exception=Access violation
Stack trace:
$00007F913237C588
$00007F913237E769
$00007F91323845A6
[FORMS.PP] ExceptionOccurred
[FORMS.PP] ExceptionOccurred
Emptied database cqrlog001 but behavior remains the same...
Can not figure out what to do now.
Suggestions and help will be very much appreciated.
Tom - SP2L




HI Tom!
Try again with:
cqrlog --debug=1
You were missing the "=1" with last debug.
--
Saku
OH1KH
Hello Saku.
Now with cqrlog2 --debug=1
sp2l@debian-13:~$ cqrlog2 --debug=1
Cqrlog_Improved Ver:CI_(144)_Gtk2 Build:1 Date:2026-08-01 LCL Version: 4.8.0.0
**** DEBUG LEVEL 1 ****
OS:
Linux version 6.17.8+deb13-amd64 (debian-kernel@lists.debian.org) (x86_64-linux-gnu-gcc-14 (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44) #1 SMP PREEMPT_DYNAMIC Debian 6.17.8-1~bpo13+1 (2025-11-23)
SSL libraries:
libssl.so
libcrypto.so
Loaded 226893 LoTW users
Loaded 195792 eQSL users
loading master.scp into aSCP[0]
Loaded 5742 SCP calls
*
User home directory: /home/sp2l/
Program home directory: /home/sp2l/.config/cqrlog2/
Data directory: /home/sp2l/.config/cqrlog2/database/
Memebers directory: /home/sp2l/.config/cqrlog2/members/
ZIP code directory: /home/sp2l/.config/cqrlog2/zipcodes/
Binary dir: /usr/local/bin/
Share dir: /usr/local/share/cqrlog/
*
56 us states loaded
select * from tables where table_schema = 'cqrlog_common'
SELECT log_nr,log_name FROM cqrlog_common.log_list order by log_nr
use cqrlog001
use cqrlog001
use cqrlog001
use cqrlog001
use cqrlog001
use cqrlog001
SELECT * FROM cqrlog_config
select * from db_version
[UpgradeMainDatabase] Old version: 18 cDB_MAIN_VER: 21
select constraint_name from information_schema.table_constraints where table_schema='cqrlog001' and table_name='log_changes' and constraint_name='log_changes_ibfk_1'
select max(id) from log_changes
insert into upload_status (logname, id_log_changes) values ('UDPLog',0)
select * from cqrlog_common.db_version
SELECT * FROM cqrlog_common.dxcc_ref ORDER BY ADIF
SELECT * FROM cqrlog_common.dxcc_ref ORDER BY ADIF
SELECT * FROM cqrlog_common.bands
Settings:
-----------------------------------------------------
RigCtldPath:/usr/bin/rigctld
RigCtldArgs:-m 1 -t 4532
RunRigCtld: FALSE
RigDevice:
RigCtldPort:4532
RigCtldHost:localhost
RigPoll: 500
RigSendCWR: FALSE
RigChkVfo TRUE
RigId: 1
Not started rigctld process. (Run is set FALSE)
Waiting for rigctld Poll 1 @ localhost:4532
Error with rigctld: Error on connect: connection refused
Waiting for rigctld Poll 2 @ localhost:4532
Error with rigctld: Error on connect: connection refused
Waiting for rigctld Poll 3 @ localhost:4532
Error with rigctld: Error on connect: connection refused
Waiting for rigctld Poll 4 @ localhost:4532
Error with rigctld: Error on connect: connection refused
Waiting for rigctld Poll 5 @ localhost:4532
Error with rigctld: Error on connect: connection refused
Waiting for rigctld Poll 6 @ localhost:4532
Error with rigctld: Error on connect: connection refused
Waiting for rigctld Poll 7 @ localhost:4532
Error with rigctld: Error on connect: connection refused
Waiting for rigctld Poll 8 @ localhost:4532
Error with rigctld: Error on connect: connection refused
Waiting for rigctld Poll 9 @ localhost:4532
Error with rigctld: Error on connect: connection refused
Waiting for rigctld Poll 10 @ localhost:4532
Error with rigctld: Error on connect: connection refused
RETRY ERROR: *NOT* connected to rigctld Poll @ localhost:4532
Destroy rigctld
1
2
3
4
5
6
Done!
Settings:
-----------------------------------------------------
RotCtldPath:/usr/bin/rotctld
RotCtldArgs:-m 1 -t 4533
RunRotCtld: FALSE
RotDevice:
RotCtldPort:4533
RotCtldHost:localhost
RotPoll: 500
RotId: 1
Not started rotctld process. (Run is set FALSE)
Waiting for rotctld Cmd 1 @ localhost:4533
Error with rotctld: Error on connect: connection refused
Waiting for rotctld Cmd 2 @ localhost:4533
Error with rotctld: Error on connect: connection refused
Waiting for rotctld Cmd 3 @ localhost:4533
Error with rotctld: Error on connect: connection refused
Waiting for rotctld Cmd 4 @ localhost:4533
Error with rotctld: Error on connect: connection refused
Waiting for rotctld Cmd 5 @ localhost:4533
Error with rotctld: Error on connect: connection refused
Waiting for rotctld Cmd 6 @ localhost:4533
Error with rotctld: Error on connect: connection refused
Waiting for rotctld Cmd 7 @ localhost:4533
Error with rotctld: Error on connect: connection refused
Waiting for rotctld Cmd 8 @ localhost:4533
Error with rotctld: Error on connect: connection refused
Waiting for rotctld Cmd 9 @ localhost:4533
Error with rotctld: Error on connect: connection refused
Waiting for rotctld Cmd 10 @ localhost:4533
Error with rotctld: Error on connect: connection refused
RETRY ERROR: *NOT* connected to rotctld Cmd @ localhost:4533
1
2
3
4
5
6
FreqmemSql:select id,freq,mode,bandwidth,info from freqmem order by id
FreqmemNR:0=0
FreqmemFirst:0 FreqmemLast:0
Load window pos: frmNewQSO
Reading section:frmNewQSO Local only:FALSE
Loading window size a position (frmNewQSO) (height|width|top|left):709|1032|423|15
SELECT * FROM profiles WHERE visible > 0 ORDER BY nr
SELECT * FROM profiles WHERE nr = -1
SELECT * FROM profiles WHERE visible > 0 ORDER BY nr
SELECT * FROM profiles WHERE nr = -1
Color for xplanetQso:0xFFFFFF
Then cqrlog2 opens almost normally.
Tom - SP2L
Best regards.
Tom - SP2L
https://www.sp2l.eu
Hello Saku.
By mistake I send cqrlog2 --debug=2 instead of cqrlog --debug=2
Now the correct one:
sp2l@debian-13:/usr/bin$ cqrlog --debug=2
Cqrlog Ver:2.5.2 (001) Date:2021-02-12
**** DEBUG LEVEL 2 ****
OS:
Linux version 6.17.8+deb13-amd64 (debian-kernel@lists.debian.org) (x86_64-linux-gnu-gcc-14 (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44) #1 SMP PREEMPT_DYNAMIC Debian 6.17.8-1~bpo13+1 (2025-11-23)
SSL libraries:
libssl.so
libcrypto.so
Loaded 226893 LoTW users
Loaded 195792 eQSL users
Loaded 5742 SCP calls
*
User home directory: /home/sp2l/
Program home directory: /home/sp2l/.config/cqrlog/
Data directory: /home/sp2l/.config/cqrlog/database/
Memebers directory: /home/sp2l/.config/cqrlog/members/
ZIP code directory: /home/sp2l/.config/cqrlog/zipcodes/
Binary dir: /usr/local/bin/
Share dir: /usr/local/share/cqrlog/
*
56 us states loaded
Grid map created
select * from tables where table_schema = 'cqrlog_common'
SELECT log_nr,log_name FROM cqrlog_common.log_list order by log_nr
use cqrlog001
use cqrlog001
use cqrlog001
use cqrlog001
use cqrlog001
SELECT * FROM cqrlog_config
select * from db_version
[UpgradeMainDatabase] Old version: 18 cDB_MAIN_VER: 18
select * from cqrlog_common.db_version
SELECT * FROM cqrlog_common.dxcc_ref ORDER BY ADIF
SELECT * FROM cqrlog_common.dxcc_ref ORDER BY ADIF
SELECT * FROM cqrlog_common.bands
Settings:
-----------------------------------------------------
RigCtldPath:/usr/bin/rigctld
RigCtldArgs:-m 1 -t 4532
RunRigCtld: FALSE
RigDevice:
RigCtldPort:4532
RigCtldHost:localhost
RigPoll: 500
RigSendCWR: FALSE
RigId: 1
1
2
3
4
5
6
Settings:
-----------------------------------------------------
RotCtldPath:/usr/bin/rotctld
RotCtldArgs:-m 1 -t 4533
RunRotCtld: FALSE
RotDevice:
RotCtldPort:4533
RotCtldHost:localhost
RotPoll: 500
RotId: 1
Not started rotctld process. (Run is set FALSE)
Connected to rotctld @ localhost:4533
FreqmemSql:select id,freq,mode,bandwidth,info from freqmem order by id
FreqmemNR:0=0
FreqmemFirst:0 FreqmemLast:0
SELECT * FROM profiles WHERE visible > 0 ORDER BY nr
SELECT * FROM profiles WHERE nr = -1
SELECT * FROM profiles WHERE visible > 0 ORDER BY nr
SELECT * FROM profiles WHERE nr = -1
Access violation
Best regards.
Tom - SP2L
https://www.sp2l.eu
Quite hard to find the reason for Access violation without running debug from Lazarus GUI stepping mode.
It could be corrupted settings.
After "SELECT * FROM profiles " there are several init values read (procedure NewQSO/ClearAll)
As the "Database connection" window opens before that: can you make a new empty log ?
If that can be done, what happens if you open the new log? Does it open properly?
If that worked then you could try to export ini from the log 001.
At "Database connection" -> utils->configuration->export
Open exported file with text editor and look for corrupted lines.
ini file should be human readable with sections [inside brackets] following by name=value pairs.
If there are broken lines, or non ascii characters it is corrupted.
Save ini from log 001
If you could make new empty log that works export ini also from that.
Then at "Database connection" -> utils->configuration, log 001 selected, to import using new log's ini file.
after that try to open log 001.
does it open now?
I assume you have backups from ~/.config/cqrlog before trying anything so that you can return back to start situation.
--
Saku
OH1KH
Hello Saku.
What do you mean by that: "can you make a new empty log ?"
I can delete cqrlog001 in MariaDB database.
Next, created new one empty cqrlog001
Then cqrlog opens with message:
"TMySQL57Connection : Error executing query:
Table 'cqrlog001.cqrlog_config' doesn't exist."
Then I press button OK.
Next, message: "Access violation." pops up.
I press button OK and after a while main window opens.
But I can not do verbatim nothing because "Access violation" pops up every time.
To close program I have to kill it's process.
So, even with empty database, cqrlog is NOT usable at all.
I can empty cqrlog001 via Utils -> Clear log but that doesn't help either.
Best regards.
Tom - SP2L
https://www.sp2l.eu
Hi!
What I was trying to say is to try to create new log 002 (or what ever is the next free number).Use Database connection->button:New log
Leave the log 001 as it is and try to make another one.
Despite that Cqrlog starts a new MariaDB server using ~/.config/cqrlog/database as base folder (when "save log data to local machine" is checked in Database connect) creating this makes some settings also to MariaDB server's common database about log databases.
There is "main" MariaDB server running at port 3306 when you have installed MariaDB packages. That one holds tables information_schema, mysql and performance_schema that are holding some data also about log databases created in ~/.config/cqrlog/database using separate safemode MariaDB server there.
I have had few cases in past where the whole MariaDB installation had to be removed before Cqrlog started to work ok again.
Of course this is not necessary if one has enough wisdom to remove just log database bindings from tables information_schema, mysql and performance_schema.
I do not have.
That is why I suggested you to create a new log, meaning to use another log number than 001 because that may have some "glitches" that do not disappear even when you delete log 001.
It seems that log 001 has lost configuration table 'cqrlog001.cqrlog_config' and when log deleted and recreated this table did not appear again.
It is the one that holds all data that is prepared by Preferences.
So If you can create a working new log 002, or what ever number different than 001, you perhaps can export it's configuration to file and import the file to log 001
using way I said in last message and get the config table recreated.
If you already have several logs in Database connection window's list does any other than log 001 open properly?
If does, then try to export it's configuration to file (Utils->Configuration->export) and try to import that file to log 001 (Utils->Configuration->import)
--
Saku
OH1KH