From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <7ED1969C-3B1B-4FE4-8E2D-5B486E636E26@ar.aichi-u.ac.jp> References: <7ED1969C-3B1B-4FE4-8E2D-5B486E636E26@ar.aichi-u.ac.jp> Date: Tue, 11 Aug 2009 08:27:32 -0700 Message-ID: Subject: Re: [9fans] validateaddress From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 41b71078-ead5-11e9-9d60-3106f5b1d025 acid pid bpset(strcmp) loop 1,20 do { cont(); print("strcmp '", *(*strcmp:s1\s), "' '", *(*strcmp:s2\s), "'\n"); } bpdel(strcmp) also bpset(klook) cont(); # wait a while, see if you hit the breakpoint, probably not DEL (to stop acid if it didn't hit the breakpoint) bpdel(klook) if you do hit the klook breakpoint then try the same sequence but with yyparse instead of klook. the goal is to find some function that isn't being repeatedly called. that helps narrow down the source of the infinite loop to code inside that function or the ones it calls. russ