开云体育

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Problemm running fldigi on Raspberry Pi


Robert S Jenkins, KG4KGL
 

开云体育

Bullseye is not the latest release for an RPi. The current OS is Raspberry is Raspberry Pi OS.?

I installed the latest HamPi for my RPi4 but I noticed is still had Python version 2, which has been deprecated, and even Python v. 3 is not the latest version. I ended up installing a clean Raspberry Pi OS and adding FLdigi and HamClock.

Robert
KG4KGL


On Jul 1, 2024, at 21:36, Robb Cole, N2VJO <robbnterri@...> wrote:

Has this problem been resolved? ?I ran a trace and got pretty much the same results.. ? FLDIGI was running just fine on my Raspi 4 with the latest OS (bullseye I think). ?Then for no apparent reason (no system updates that I made) the app just started to fail.

I have not seen any resolution to this problem, so pardon me if the answer has already been posted.

Regards,?

Robb (N2VJO)

<fldigi_crash.txt>


 

Has this problem been resolved? ?I ran a trace and got pretty much the same results.. ? FLDIGI was running just fine on my Raspi 4 with the latest OS (bullseye I think). ?Then for no apparent reason (no system updates that I made) the app just started to fail.

I have not seen any resolution to this problem, so pardon me if the answer has already been posted.

Regards,?

Robb (N2VJO)


 

Steve, thanks for your reply, but I'm using bullseye, X11 is default.


 

I found that with the new Raspberry Pi OS that uses Wayland, FLDIGI runs extremely slow. Even the mouse cursor is slow.
My solution is to switch back to openbox.

sudo raspi-config
Select Advanced Options
Select Wayland
Select X11? Openbox window manager with X11 backend
Tab to <OK> and press enter.
Press the ESC key
Tab to <Finish> and press Enter.
<reboot>

I hope this fixes it for you.


 

I have tryed several times with two different RaspberryPi RPi4, manually update also the FLTK to version 1.3.9 (bullseye repo is 1.3.5) but nothing to do. fldigi crashes.
Please, if someone here has a working executable of fldigi for RaspberryPi, post it. TU


 

If could be useful, I compiled also flwkey.
Same issue, compile was fine (some warnings) but crashes when I run it. Flwkey has less libraries than fldigi, I mean no hamlib, sound libraries, etc, so the issue is related to something else.

Another observation, when I initially compile fldigi several months ago it worked, it stopped to run after a while, maybe there was an update in bullseye repository that involved a resource used in fldigi.


 

Done,
backtrace attached.


 

开云体育

Johnny,

Please use this procedure:

It will insure that you are starting from a clean configuration.? Capture the backtrace lines and post them as an attachment.

David


 

RPi4, 2 GB

I try with two different devices, both with the same OS.
Try also compiling without rpi4 optimization, as suggested by Ken, same result.

Running? from command line, this is the output after crash:
Caught signal 11
Aborting fldigi due to a fatal error.
Please report this to:?? fldigi-devel@...
or file a bug report at: https://fedorahosted.org/fldigi/newticket

* Stack trace:
fldigi[0x2a9088]
/lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer+0x0)[0xf67b7900]
fldigi[0x375050]
/lib/arm-linux-gnueabihf/libfltk.so.1.3(_ZNK8Fl_Group10draw_childER9Fl_Widget+0x78)[0xf791f260]
/lib/arm-linux-gnueabihf/libfltk.so.1.3(_ZN8Fl_Group13draw_childrenEv+0x50)[0xf791f474]
/lib/arm-linux-gnueabihf/libfltk.so.1.3(_ZNK8Fl_Group10draw_childER9Fl_Widget+0x78)[0xf791f260]
/lib/arm-linux-gnueabihf/libfltk.so.1.3(_ZN8Fl_Group13draw_childrenEv+0x50)[0xf791f474]
/lib/arm-linux-gnueabihf/libfltk.so.1.3(_ZNK8Fl_Group10draw_childER9Fl_Widget+0x78)[0xf791f260]
/lib/arm-linux-gnueabihf/libfltk.so.1.3(_ZN8Fl_Group13draw_childrenEv+0x50)[0xf791f474]
/lib/arm-linux-gnueabihf/libfltk.so.1.3(_ZNK8Fl_Group10draw_childER9Fl_Widget+0x78)[0xf791f260]
/lib/arm-linux-gnueabihf/libfltk.so.1.3(_ZN8Fl_Group13draw_childrenEv+0x50)[0xf791f474]
/lib/arm-linux-gnueabihf/libfltk.so.1.3(_ZN16Fl_Double_Window5flushEi+0x2b4)[0xf791782c]
/lib/arm-linux-gnueabihf/libfltk.so.1.3(_ZN2Fl5flushEv+0x80)[0xf790589c]
/lib/arm-linux-gnueabihf/libfltk.so.1.3(_ZN2Fl4waitEd+0x114)[0xf7906c80]
/lib/arm-linux-gnueabihf/libfltk.so.1.3(_ZN2Fl3runEv+0x30)[0xf7906d88]
fldigi(main+0xb68)[0x2b788]
/lib/arm-linux-gnueabihf/libc.so.6(__libc_start_main+0x114)[0xf679f740]

* Version information:
fldigi 4.2.04
Copyright (C) 2007-2010 Dave Freese, Stelios Bounanos, and others.
License GPLv3+: GNU GPL version 3 or later <http://www.gnu.org/licenses/gpl-3.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

* Build information:
Build information:
? built????????? : Wed Apr 10 21:06:55 CEST 2024 by js@RPi on aarch64-unknown-linux-gnu for aarch64-unknown-linux-gnu

? configure flags:

? compiler?????? : gcc version 10.2.1 20210110 (Raspbian 10.2.1-6+rpi1)

? compiler flags : -I$(srcdir) -I$(srcdir)/include -I$(srcdir)/irrxml -I$(srcdir)/libtiniconv -I$(srcdir)/fileselector -I$(srcdir)/xmlrpcpp -I$(srcdir)/mbedtls -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/opus -D_REENTRANT -pthread -I/usr/local/include -I/usr/include/libusb-1.0 -I/usr/include/libpng16 -pipe -Wall -fexceptions -O2 --param=max-vartrack-size=0 -I$(srcdir)/xmlrpcpp --param=max-vartrack-size=0 -DNDEBUG

? linker flags?? : -lportaudio -lasound -lm -lpthread -lfltk_images -lfltk -lX11 -lX11 -lsndfile -lsamplerate -lpulse-simple -lpulse -L/usr/local/lib -lhamlib -lpng16 -lz -ldl -lpthread -ludev

? libraries????? : FLTK 1.3.5
?????????????????? libsamplerate 0.2.1
?????????????????? libsndfile 1.0.31
?????????????????? PortAudio 19
?????????????????? PulseAudio 14.2
?????????????????? Hamlib 4.6~git

Runtime information:
? system???????? : Linux RPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr? 3 17:24:16 BST 2023 aarch64

? libraries????? : libsamplerate-0.2.1 (c) 2002-2008 Erik de Castro Lopo
?????????????????? libsndfile-1.0.31
?????????????????? PortAudio V19.6.0-devel, revision 396fe4b6699ae929d3a685b3ef8a7e97396139a4 1246720
?????????????????? Pulseaudio 14.2.0
?????????????????? Hamlib 4.6~git


 

开云体育


Start fldigi from the command line and once it crashes, you should see from crash details and/or a core dump.? Post those details here on this thread.?

If you have the advanced skillset and If you're not getting a coredump, consider enabling core dumping on your operating system and send us the details.? This means you can enable coredumps on your system, rebuild Fldigi with debugging objects and DISABLE all optimizations.? Then run the instrumented version of Fldigi, get it to core dump, then send the decoded crashdump details (usually done using gdb) to the list here.

--David
KI6ZHD


On 04/10/2024 11:13 AM, Johnny, IZ8EWD via groups.io wrote:

I follow the previous suggestions but nothing to do. Compile is ok, but fldigi crashes after the configuration wizard.
Attached the config.log


 

开云体育

Which version of the Pi ?

David

On 4/10/24 14:35, Johnny, IZ8EWD via groups.io wrote:

And attached is the output of make, with several warnings


 

And attached is the output of make, with several warnings


 

This ./config is strange:
checking for flxmlrpc >= 1.0.1... no
checking for libmbedtls >= 2.16.0... no

and flidigi use internal lib
? libmbedtls .................. internal lib
? flxmlrpc .................... internal lib


If I check with apt
libflxmlrpc-dev/oldstable,now 0.1.4-5+b6 armhf [installed]
? fldigi suite XmlRpc library - Development files

libflxmlrpc1/oldstable,now 0.1.4-5+b6 armhf [installed,automatic]
? fldigi suite XmlRpc library

libmbedtls-dev/oldstable,now 2.16.9-0.1 armhf [installed]
? lightweight crypto and SSL/TLS library - development files

libmbedtls12/oldstable,now 2.16.9-0.1 armhf [installed,automatic]
? lightweight crypto and SSL/TLS library - tls library


 

I follow the previous suggestions but nothing to do. Compile is ok, but fldigi crashes after the configuration wizard.
Attached the config.log


Cliff, AE5ZA
 

开云体育

Hi Ken,

It sure seems to be here, at least in NE Texas. We're in our third day of rain & T-storms, 3.3" in the first 24 hours. More next week they say also, glub, glub, glub. :-)

73,
Cliff, AE5ZA



On Apr 10, 2024, at 10:19, Ken, KV5Y <kv5y@...> wrote:

Cliff,?
I do not use it, just thought it might be contributing to the problem he was having, since I saw it in the command string on the website that was referenced.
?
Hope Spring has arrived in Texas!!
Ken
?
Ken Rawlings - KV5Y
On 04/10/2024 9:11 AM MDT Cliff, AE5ZA <ae5zaham@...> wrote:
?
?
Ken,
?
That parameter is only for 32bit RPI system. He says he is using 32 bit. If yours is 64 bit, like mine, you can't use that parameter.

73,
Cliff, AE5ZA



On Apr 10, 2024, at 09:42, Ken, KV5Y <kv5y@...> wrote:

Dave,
I noticed that the procedure that he previously referenced to build fldigi has the following command extension:
?
./configure --enable-optimizations=rpi4
?
Adding this command to "./configure" causes make to error and not complete the compile, for me.
?
Ken
?
Ken Rawlings - KV5Y
?
?
On 04/10/2024 8:30 AM MDT Dave, W1HKJ <w1hkj@...> wrote:
?
?
The difference in fldigi compilation will be negligible.? Linking will be a very little bit longer, but you should be able to measure that even on the Pi.? The header files are necessary for the compilation to correctly use the hamlib API.? Memory usage should be very similar, whether using a static .a file or load the shared .so at run time.

David

On 4/10/24 09:11, Johnny, IZ8EWD via??wrote:
Sorry, another question.??
fldigi needs static hamlib? Because usually i compile only the shared libraries in order to short the computation time.


 

Cliff,
I do not use it, just thought it might be contributing to the problem he was having, since I saw it in the command string on the website that was referenced.
?
Hope Spring has arrived in Texas!!
Ken
?
Ken Rawlings - KV5Y

On 04/10/2024 9:11 AM MDT Cliff, AE5ZA <ae5zaham@...> wrote:
?
?
Ken,
?
That parameter is only for 32bit RPI system. He says he is using 32 bit. If yours is 64 bit, like mine, you can't use that parameter.

73,
Cliff, AE5ZA



On Apr 10, 2024, at 09:42, Ken, KV5Y <kv5y@...> wrote:

Dave,
I noticed that the procedure that he previously referenced to build fldigi has the following command extension:
?
./configure --enable-optimizations=rpi4
?
Adding this command to "./configure" causes make to error and not complete the compile, for me.
?
Ken
?
Ken Rawlings - KV5Y
?
?
On 04/10/2024 8:30 AM MDT Dave, W1HKJ <w1hkj@...> wrote:
?
?
The difference in fldigi compilation will be negligible.? Linking will be a very little bit longer, but you should be able to measure that even on the Pi.? The header files are necessary for the compilation to correctly use the hamlib API.? Memory usage should be very similar, whether using a static .a file or load the shared .so at run time.

David

On 4/10/24 09:11, Johnny, IZ8EWD via wrote:
Sorry, another question.?
fldigi needs static hamlib? Because usually i compile only the shared libraries in order to short the computation time.


Cliff, AE5ZA
 

开云体育

Ken,

That parameter is only for 32bit RPI system. He says he is using 32 bit. If yours is 64 bit, like mine, you can't use that parameter.

73,
Cliff, AE5ZA



On Apr 10, 2024, at 09:42, Ken, KV5Y <kv5y@...> wrote:

Dave,
I noticed that the procedure that he previously referenced to build fldigi has the following command extension:
?
./configure --enable-optimizations=rpi4
?
Adding this command to "./configure" causes make to error and not complete the compile, for me.
?
Ken
?
Ken Rawlings - KV5Y
?
?
On 04/10/2024 8:30 AM MDT Dave, W1HKJ <w1hkj@...> wrote:
?
?
The difference in fldigi compilation will be negligible.? Linking will be a very little bit longer, but you should be able to measure that even on the Pi.? The header files are necessary for the compilation to correctly use the hamlib API.? Memory usage should be very similar, whether using a static .a file or load the shared .so at run time.

David

On 4/10/24 09:11, Johnny, IZ8EWD via wrote:
Sorry, another question.?
fldigi needs static hamlib? Because usually i compile only the shared libraries in order to short the computation time.



 

Dave,
I noticed that the procedure that he previously referenced to build fldigi has the following command extension:
?
./configure --enable-optimizations=rpi4
?
Adding this command to "./configure" causes make to error and not complete the compile, for me.
?
Ken
?
Ken Rawlings - KV5Y
?
?

On 04/10/2024 8:30 AM MDT Dave, W1HKJ <w1hkj@...> wrote:
?
?
The difference in fldigi compilation will be negligible.? Linking will be a very little bit longer, but you should be able to measure that even on the Pi.? The header files are necessary for the compilation to correctly use the hamlib API.? Memory usage should be very similar, whether using a static .a file or load the shared .so at run time.

David

On 4/10/24 09:11, Johnny, IZ8EWD via groups.io wrote:
Sorry, another question.
fldigi needs static hamlib? Because usually i compile only the shared libraries in order to short the computation time.


 

开云体育

The difference in fldigi compilation will be negligible.? Linking will be a very little bit longer, but you should be able to measure that even on the Pi.? The header files are necessary for the compilation to correctly use the hamlib API.? Memory usage should be very similar, whether using a static .a file or load the shared .so at run time.

David

On 4/10/24 09:11, Johnny, IZ8EWD via groups.io wrote:

Sorry, another question.
fldigi needs static hamlib? Because usually i compile only the shared libraries in order to short the computation time.


 

Sorry, another question.
fldigi needs static hamlib? Because usually i compile only the shared libraries in order to short the computation time.