Andrea,
Downloaded the files you provided.  GG looked at the build log and it looks good.  His current conjecture is that the versioning of libraries seem to be mismatched -- for example running a Mint binary on an Arch system.
This message per gg:

BC_Signals::x_error_handler: error_code=2 opcode=151,24 id=0x0
BadValue (integer parameter out of range for operation)
 
seems to lend credence to his conjecture because the opcode 151,24 is weird. The purpose of  BC_Signals in Cinelerra is to handle O/S related errors which usually stop the program completely.  But Cinelerra just tries to continue which it does.  Where does the CALF DEBUG come from is totally unknown to us and the related addresses are way out there.

CALF DEBUG: instance 0x5558b371cf30 data 0x5558b37f67f0
CALF DEBUG: calf 0x7f7cb7d94750 cpi 0x7f7cb759af40

That is all gg got out of this so far.  If he comes up with anything else, I will pass it along.

On Tue, Mar 3, 2020 at 2:34 PM Andrea paz <gamberucci.andrea@gmail.com> wrote:
Yes, switching from X11 to OpenGL immediately crashes. However, any
operation in Settings/preferences will sooner or later lead to a crash
even with X11.

Starting with .bcast1 in /tmp I didn't crash, not even switching to OpenGL.
I enclose .bcast1, .bcast5 and cin5.log at the link:

https://www.dropbox.com/s/4afv3wz4mfw601u/cin5_log.zip?dl=0

In the terminal I have:

[paz@arch-paz ~]$ LANGUAGE="en_US:us" LANG="en_US.utf8"
CIN_CONFIG=/tmp/bcast1 /home/paz/cinelerra5/cinelerra-5.1/bin/./cin
Cinelerra: Could not set locale.
Cinelerra Infinity - built: Mar  3 2020 20:57:57
git://git.cinelerra-gg.org/goodguy/cinelerra.git
(c) 2006-2019 Heroine Virtual Ltd. by Adam Williams
2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy
Cinelerra is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions. There is absolutely no warranty for Cinelerra.

BC_Signals::x_error_handler: error_code=2 opcode=151,24 id=0x0
BadValue (integer parameter out of range for operation)
audio0 pad 4 0 (4)
FFMPEG::open_decoder: some stream have bad times:
/home/paz/video_editing/prova/1080/ocra.png
FFMPEG::open_decoder: some stream have bad times:
/home/paz/video_editing/prova/1080/ocra.png
FFMPEG::open_decoder: some stream have bad times:
/home/paz/video_editing/prova/1080/ocra.png
audio0 pad 8 0 (8)
FFMPEG::open_decoder: some stream have bad times:
/home/paz/video_editing/prova/1080/rodents.png
FFMPEG::open_decoder: some stream have bad times:
/home/paz/video_editing/prova/1080/rodents.png

(process:319633): Gdk-WARNING **: 22:04:40.289: locale not supported
by C library

(process:319633): Gtk-WARNING **: 22:04:40.291: Locale not supported
by C library.
        Using the fallback 'C' locale.
CALF DEBUG: instance 0x5558b371cf30 data 0x5558b37f67f0
CALF DEBUG: calf 0x7f7cb7d94750 cpi 0x7f7cb759af40
Session time: 0:05:39
Cpu time: user: 0:00:59.024 sys: 0:00:04.476
--
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin