klog icon indicating copy to clipboard operation
klog copied to clipboard

KLog v2.3.2 Crashes on Startup on High Sierra

Open RobK88 opened this issue 2 years ago • 5 comments

KLog v 2.3.2 crashes on startup on High Sierra.

KLog v2.3 runs fine on High Sierra.

See attached crash log.

KLog Crash Log.txt

P.S. It looks like KLog now only runs on macOS 11 and later. If so, please make the system requirements clear on your website.

RobK88 avatar Nov 21 '23 17:11 RobK88

@RobK88 klog seems to crash inside of rig_init() from hamlib. Can you try:

  1. Starting klog with your rig turned off and plugged in.
  2. Starting klog with your rig turned on and plugged in.
  3. Starting klog with your rig disconnected from your computer.
  4. moving your config file in your home directory temporarily to a different place and try starting klog again? This might be a problem with your configuration, hamlib and your rig.

Make sure you don't have loss of data by accidentally deleting your klog config directory. This directory contains your logfiles!

What rig you got?

ikbenkous avatar Nov 25 '23 05:11 ikbenkous

I don't have a rig attached at this time.

But if you look at the attached crash log, it looks like hamlib provided in the KLog application was built for Big Sur. I will install hamlib built for High Sierra via MacPorts and replace the hamlib library in the Application with the MacPorts version to see if that fixes the problem.

KLog v 2.3 still runs on High Sierra.

RobK88 avatar Nov 26 '23 01:11 RobK88

I do not have a rig connected. Hamlib is NOT activated in the KLog preferences.

I tried temporarily moving ~/.klog/klogrc to another location and ran KLog. NO luck. Application still crashed.

I also tried replacing libhamlib.4.dylib inside the application with libhamlib.4.dylib built by MacPorts for this Mac running High Sierra. No success. Application still crashes at startup.

If you look at the crash log, you will see:

Dyld Error Message:
  Symbol not found: ____chkstk_darwin
  Referenced from: /Applications/KLog.app/Contents/MacOS/../Frameworks/libhamlib.4.dylib (which was built for Mac OS X 11.0)
  Expected in: /usr/lib/libSystem.B.dylib

It really looks like the binary is looking for a symbol that is missing on High Sierra. I suspect KLog was built on a newer Mac where this symbol is present.

KLog v2.3 runs fine on High Sierra. KLog v2.3.1 and KLog v2.3.2 do not. They both crash on startup.

I have reverted back to KLog v2.3

RobK88 avatar Nov 26 '23 17:11 RobK88

I also tried to run KLog v2.3.2 on my Mac running Mojave. It works fine

I just cannot get KLog v2.3.2 to run on my Mac running High Sierra.

RobK88 avatar Nov 26 '23 18:11 RobK88

I can't build in Sierra but I can help you to build a KLog package from sources in your computer for that version. You just need to install Qt and then run a script that will build the KLog d.g package.

ea4k avatar Jan 01 '24 09:01 ea4k