From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/402 Path: news.gmane.org!not-for-mail From: Solar Designer Newsgroups: gmane.linux.lib.musl.general Subject: Re: cluts daily reports 08/11 - fixes to buf and alloc Date: Fri, 12 Aug 2011 06:48:33 +0400 Message-ID: <20110812024833.GA4765@openwall.com> References: <4E433AF0.90609@gmail.com> <20110811190824.GA2157@openwall.com> <4E448E47.6040306@gmail.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1313117324 23336 80.91.229.12 (12 Aug 2011 02:48:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 12 Aug 2011 02:48:44 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-403-gllmg-musl=m.gmane.org@lists.openwall.com Fri Aug 12 04:48:41 2011 Return-path: Envelope-to: gllmg-musl@lo.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by lo.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Qrhnd-0004Ar-6r for gllmg-musl@lo.gmane.org; Fri, 12 Aug 2011 04:48:41 +0200 Original-Received: (qmail 22258 invoked by uid 550); 12 Aug 2011 02:48:40 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 22230 invoked from network); 12 Aug 2011 02:48:40 -0000 Content-Disposition: inline In-Reply-To: <4E448E47.6040306@gmail.com> User-Agent: Mutt/1.4.2.3i Xref: news.gmane.org gmane.linux.lib.musl.general:402 Archived-At: On Fri, Aug 12, 2011 at 04:21:59AM +0200, Luka Mar??eti?? wrote: > On 08/11/2011 09:08 PM, Solar Designer wrote: > >Thanks for the report. Where's the final line of diffstat output, > >though? The above says that you mostly deleted a few lines from buf.c, > >but it does not tell how many and whether you also added/edited > >anything. Overall, it does show that you made very little progress. > > Hey, I just checked my e-mail. I removed ~ files, binaries, git data > etc, which is why I thought the last line made little sense. Going forward, please remove those extra files before you run diff|diffstat. Don't edit diffstat output. If needed, you may make copies of the cluts tree and remove extra files from the copies only. > >You should try not only to fix problems in code already written, but > >also make progress at further tasks each and every day. > > Buggy code doesn't help much. True, but you can't afford to spend over 50% of the remaining GSoC time on fixing bugs and getting stuck on some of them. This would be OK if you already had everything implemented, but you don't. > That said, I did focus on pthread_eintr today, rather than alloc. OK. > I'm pretty stuck with alloc. I just can't get > it to work with musl. Valgrind is clean, strace says little (or perhaps > I just can't interpret it well), and gdb - it just won't follow the > second child, so I can't step through it as I hoped to do. This may or may not be the best approach, but you may try inserting: asm("int3"); just in the child process or thread that you want interrupted. You may even make the int3 conditional in the code (check whatever condition you like with an if). Or at high level, you may set the same breakpoint from gdb itself. Alexander