On Tue, Jul 18, 2017 at 10:47 AM, Michael Stefaniuc <mstefani@xxxxxxxxxxx> wrote: > Hello guys, > > I thought I'll test the new sparse on the Wine source code, especially > as I remember to have gotten 1-2 of those famous "Crazy programmer" errors. > > But I seem to get an infinite loop with a mem leak: 100% CPU with the > memory utilization increasing until this line triggers > sparse/allocate.c:105: die("out of memory"); OK, I have shrink the test program into the following code. It can still reproduce the dead loop. It is related to simplify the phi source. Unfortunately I need to go now. Luc, you want to take a look? Chris ========================================== extern char *strcpy (char *__dest, const char *__src); static void test_menu_iteminfo( void ) { int ansi = 1; void *init, *string; char stringA[0x80]; do { if(ansi) string=stringA; if(ansi) strcpy( string, init ); } while( !(ansi = !ansi) ); } -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html