Andrew,
Can now reproduce the "auto fit" crash reliably on Fedora 37 when add to CFLAGS in cinelerra/Makefile "-flto -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" and on Fedora 36 under different circumstances, which is CFLAGS addition of "-O2 -flto". Not sure why different CFLAGS are required on different O/S versions.
Anyway I get the same crash backtrace of:
(gdb) bt
#0 0x0000000000a0cad0 in Autos::get_next_auto(long, int, Auto*&, int) ()
#1 0x0000000000b04dde in FloatAutos::get_value(long, int, FloatAuto*&, FloatAuto*&) ()
#2 0x0000000000b0530e in FloatAutos::get_extents(float*, float*, int*, long, long) ()
#3 0x0000000000a0ae14 in Automation::get_extents(float*, float*, int*, long, long, int) ()
#4 0x0000000000c5d092 in Tracks::get_automation_extents(float*, float*, double, double, int) ()
#5 0x0000000000b6a30d in MWindow::fit_autos(int) ()
#6 0x0000000000a9f8c9 in EditFitAutos::handle_event() ()
#7 0x0000000000cebbf4 in BC_Button::button_release_event() ()
#8 0x0000000000d310fb in BC_WindowBase::dispatch_button_release() ()
#9 0x0000000000d310fb in BC_WindowBase::dispatch_button_release() ()
#10 0x0000000000d399ff in BC_WindowBase::dispatch_event() ()
#11 0x0000000000d3a288 in BC_WindowBase::run_window() ()
#12 0x0000000000b751bf in MWindow::run() ()
#13 0x00000000007f41be in main ()
But the PROBLEM is when I add a printf statement, it no longer crashes.
And when I compile to add a symbol table to use with GDB, it no longer crashes.
Applying the patch: 0011-EXPERIMENTAL-try-to-init-two-variables-to-0-in-gloat.patch, still crashes too.
Any advice of how I can debug further? How can I view the value of variables in GDB without a symbol table?