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