User Details
- User Since
- Apr 13 2014, 11:29 AM (460 w, 5 d)
Aug 6 2022
With your patch and the extra return false it no longer crashes and I get a tooltip to appear both on the splash/greeting window and when hovering over icons in outliner.
All other places are followed by some kind of return, so I guess that answer that question. I think we want return false after the assert.
/home/elmo/Documents/repos/blender/blender/source/blender/blenfont/intern/blf_font.c: In function ‘blf_ensure_size’: /home/elmo/Documents/repos/blender/blender/source/blender/blenfont/intern/blf_font.c:1558:1: error: control reaches end of non-void function [-Werror=return-type] 1558 | }
I can definitely try to compile with patch and see if it helps.
As for helping with understanding an issue and/or reviewing I am not sure how much I can help as I have very little familiarity with Blender source code and I have never before today looked at FreeType library.
Looking at stacktrace I can see ui_but_tooltip_init and that hinted me on how to reliably reproduce issue. On splash screen I just move cursor over one of last open file names and wait. It seems that it crashes when it tries to show tooltip.
I have tried some other tooltip areas and oddly some work. I.e. thing in the properties panel seem to work. But hovering over "eye" icon or "camera" icon causes an ASAN crash.
I managed to get a crash with fast unwind disabled:
Sep 9 2017
Jun 28 2015
Currently I am back to 2.74 (000dfc0) as it seems to be working fine.
I just tried version built on 2015-06-28 00:13 with hash 3d616cc.
It behaves the same.
Apr 13 2014
@Willi (willi) Yeah, when I created my second example I didn't know that frame is reserved. Hence my comment about trying it out with f.
@Willi (willi) that's what I've basically done in the second example (or not?). Just to be sure I also just tried with variable name f instead of frame (in case there is any clash), but the problem still persists.
Also reading through documentation I see in Drivers section:
I forgot to attach
in previous post.Different approach same issue. Steps as described above, but change steps from setting Scripted Expression:
