Hi Jonas,
I do not know if the stack trace of the optimized binary is useful, but:
#0 0x00007ffff780aa1c in scm_dapply (proc=0x404, arg1=<optimized out>,
args=0x7fffec751010)
at eval.c:4989
#1 0x0000555555669b84 in
Engraver::internal_make_grob(scm_unused_struct*, scm_unused_struct*,
char const*, int, char const*) (this=<optimized out>,
symbol=0x7ffff2fc4920, cause=cause@entry=0x404, file=0x5555558d2848
"/home/michael/lilypond/lily/paper-column-engraver.cc", line=73,
fun=0x5555558d2f28 <Paper_column_engraver::make_columns()::__FUNCTION__>
"make_columns") at /home/michael/lilypond/lily/engraver.cc:146
This is in the branch of "if (ly_is_procedure (creation_callback))",
which probably means two things:
thanks for spotting this. 'creation_callback' is currently not protected
against
garbage collection, unlike the other debugging callbacks.
I will prepare a separate MR to fix this.
Michael