From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Message-id: <2443C2E0-C7B8-4819-B09C-8229DBCFE7EF@mac.com> From: Pietro Gagliardi To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-reply-to: Date: Mon, 28 Jun 2010 14:05:14 -0400 References: <731ED516-1A13-4296-BE0C-2C18D7D62532@mac.com> <7df666a5444b21740cc03ee17da0bfd4@kw.quanstro.net> <6BC07976-E754-4857-A276-2ABD1717AB82@mac.com> <99d8911b4e7f39501281ffd5ee2ff6be@kw.quanstro.net> <77A7E96C-281E-418A-9D78-424AECE06FF2@mac.com> <035D301A-3041-45E9-B424-FCA176E4D008@mac.com> <74e247fcae1592ffccf14609359ce650@kw.quanstro.net> <91C9B9D9-0091-4B92-9A8D-35097B36FCB1@mac.com> Subject: [9fans] problems with tracing 9vx on os x (was: Re: ghostscript not finding LucidaSans Topicbox-Message-UUID: 37cf298c-ead6-11e9-9d60-3106f5b1d025 On Jun 28, 2010, at 11:04 AM, ron minnich wrote: > well, once again, ratrace can be a good tool for understanding things > that don't make sense. I use it all the time for this type of problem > and the results are frequently illuminating. > > ron > First I found a slight building problem on Mac OS X 10.5.8: ethertap.c needs to be changed to include before and to add a defined(__MACOSX__) or similar to the #elf defined(__FreeBSD__) so opentap() can be defined. However once this version was built, I got the following right after seeing the memory usage statistic line: 9vx panic: user fault: signo=10 addr=1100cc77 [useraddr=cc77] read=1 eip=b7de5 esp=2e93ece0 sleeping, so you can attach gdb to pid 44257