http://gambaswiki.org/bugtracker/edit?object=BUG.910&from=L21haW4-
Tobias BOEGE reported a new bug. Summary ------- Segfault with Subst$(), IIf() and Null Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Unknown Description ----------- Code such as Print Subst$("&1", IIf(False, "x", "")) results in a segfault on my system. It is crucial that there is an IIf() inside a Subst$() evaluation and that the IIf() evaluates to Null, or the empty string for that matter. The segfault occurs in STRING_subst(): #0 STRING_subst (str=<optimized out>, len=4, get_param=get_param@entry=0x4118cb <get_subst>) at gbx_string.c:707 #1 0x0000000000412411 in SUBR_subst (code=<optimized out>) at gbx_subr_string.c:584 #2 0x000000000043d28b in EXEC_loop () at gbx_exec_loop.c:514 Let me know if debugging symbols are required. ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user