Receiving Access Violation error

3 posts / 0 new
Last post
ZL2APV
Receiving Access Violation error

~$ inxi -xxv2
System:
Host: gvj-HP Kernel: 5.15.0-46-generic x86_64 bits: 64 compiler: gcc
v: 11.2.0 Desktop: Cinnamon 5.4.10 tk: GTK 3.24.33 wm: Mutter dm: LightDM
Distro: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy
Machine:
Type: Desktop System: Hewlett-Packard product: HP Compaq Elite 8300 SFF

This has happened since upgrading from Linux Mint 20.3 to Linux Mint 21
On starting CQRLog I get the access violation error window pop up. If I press Abort it locks up and I have to force quit. If I press OK, it opens the log and displays the main window and list window then freezes and again needs to be force quit. I have purged and re-installed mysql, mariadb and cqrlog all from the Ubuntu repository but before upgrading I was installing CQRLog from the PPA and wonder if there is any regression error as I can't use the Jammy PPA yet (too new I guess). I sure hope that someone can help as I have discovered how reliant on CQRLog I have become.

73, Graeme ZL2APV

Here is the debug output ...
Cqrlog Ver:2.5.2 (001) Date:2021-02-12
**** DEBUG LEVEL 2 ****

OS:
Linux version 5.15.0-46-generic (buildd@lcy02-amd64-115) (gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022
SSL libraries:
libssl.so
libcrypto.so
Loaded 176833 LoTW users
Loaded 156673 eQSL users
Loaded 55228 SCP calls
/home/gvj/.config/cqrlog/database/gvj-HP.pid
p.Executable: kill Parameters: 10803

*
User home directory: /home/gvj/
Program home directory: /home/gvj/.config/cqrlog/
Data directory: /home/gvj/.config/cqrlog/database/
Memebers directory: /home/gvj/.config/cqrlog/members/
ZIP code directory: /usr/share/cqrlog/zipcodes/
Binary dir: /usr/bin/
Share dir: /usr/share/cqrlog/
*
56 us states loaded
Grid map created
/usr/bin/mysqld
MySQLProcess.Executable: /usr/sbin/mysqld Parameters: --defaults-file=/home/gvj/.config/cqrlog/database/mysql.cnf
--datadir=/home/gvj/.config/cqrlog/database/
--socket=/home/gvj/.config/cqrlog/database/sock
--port=64000

Trying to connect to database
2022-08-18 11:34:36 0 [Note] /usr/sbin/mysqld (server 10.6.7-MariaDB-2ubuntu1.1) starting as process 11526 ...
TMySQL57Connection : Server connect failed.
Trying:1
select * from tables where table_schema = 'cqrlog_common'

SELECT log_nr,log_name FROM cqrlog_common.log_list order by log_nr

use cqrlog003

use cqrlog003

use cqrlog003

use cqrlog003

use cqrlog003

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

Closing DXCluster window
Closing TRXControl window
Closing GrayLine window
End dmDXCC
Complete end dmDXCC
Closing dDXCC
TWinControl.UpdateShowing.ChangeShowing failed for frmNewQSO:TfrmNewQSO, Showing reset to False
[FORMS.PP] ExceptionOccurred
[FORMS.PP] ExceptionOccurred
Thread error
Killed

oh1kh
Receiving Access Violation error

TWinControl.UpdateShowing.ChangeShowing failed for frmNewQSO:TfrmNewQSO, Showing reset to False
[FORMS.PP] ExceptionOccurred

That looks like Lazarus/GTK2 problem.
Do you have GTK2 installed or GTK3 that tries to run GTK2 mode ?
I do not know Mint 21 but it can also have GlibC 2.34 already. That also may do something as Cqrlog compiled with GlibC 2.34 does not run with systems that have older GlibC. Perhaps there might be also problems other way round as Cqrlog you are using is compiled with older GlibC.

Perhaps you should try to compile latest Cqrlog from source with your Mint 21 and to be sure to avoid GTK2/GTK3 errors try QT5 version.

Very short guide how to do it:

First install programs for compile using command console:
sudo apt install lazarus git libqt5pas1 libqt5pas-dev
Installing these will install also lot of dependencies so it might take a while.
When all is done get the source code of Cqrlog with:
git clone https://github.com/ok2cqr/cqrlog.git
If you stared this command while being in your home directory it creates a new folder ~/cqrlog for you.
Then you just change to that directory:
cd cqrlog
And do compile job with:
make cqrlog_qt5
Or if you want to do the GTK2 version use instead just:
make
And after compile is over install new Cqrlog with
sudo make install

As you already have installed Cqrlog from package all dependencies are there and you can just start using Cqrlog in normal way.

--
Saku
OH1KH

ZL2APV
Receiving Access Violation error

Thank you Saku,

That has worked brilliantly and I have sued the Qt5 version which has very nice graphics. Its great to be back running again.

73, Graeme ZL2APV