<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Me, Valgrind, and Mac OS X</title>
	<atom:link href="http://blog.mozilla.com/nnethercote/2009/01/18/me-valgrind-and-mac-os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mozilla.com/nnethercote/2009/01/18/me-valgrind-and-mac-os-x/</link>
	<description>Just another Blog.mozilla.com weblog</description>
	<lastBuildDate>Wed, 18 Nov 2009 22:03:10 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nicholas Nethercote</title>
		<link>http://blog.mozilla.com/nnethercote/2009/01/18/me-valgrind-and-mac-os-x/comment-page-1/#comment-40</link>
		<dc:creator>Nicholas Nethercote</dc:creator>
		<pubDate>Fri, 06 Mar 2009 00:57:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/nnethercote/?p=8#comment-40</guid>
		<description>Jay B: you should check out the code from the trunk and try that, it&#039;s pretty robust -- it can handle a non-debugging build of Firefox, which is a pretty big program.  And there&#039;s already one bug filed against the port in the Valgrind bug database :)</description>
		<content:encoded><![CDATA[<p>Jay B: you should check out the code from the trunk and try that, it&#8217;s pretty robust &#8212; it can handle a non-debugging build of Firefox, which is a pretty big program.  And there&#8217;s already one bug filed against the port in the Valgrind bug database <img src='http://blog.mozilla.com/nnethercote/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay B.</title>
		<link>http://blog.mozilla.com/nnethercote/2009/01/18/me-valgrind-and-mac-os-x/comment-page-1/#comment-39</link>
		<dc:creator>Jay B.</dc:creator>
		<pubDate>Thu, 05 Mar 2009 23:43:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/nnethercote/?p=8#comment-39</guid>
		<description>Yep - finally! Valgrind coming to OS X! 
Awesome!!

Can&#039;t wait for the first alpha version to try it out.
Used valgrind in my day job on Linux and I&#039;m really missing something equally powerful on my Mac OS X tool suite for years now..</description>
		<content:encoded><![CDATA[<p>Yep &#8211; finally! Valgrind coming to OS X!<br />
Awesome!!</p>
<p>Can&#8217;t wait for the first alpha version to try it out.<br />
Used valgrind in my day job on Linux and I&#8217;m really missing something equally powerful on my Mac OS X tool suite for years now..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gparker</title>
		<link>http://blog.mozilla.com/nnethercote/2009/01/18/me-valgrind-and-mac-os-x/comment-page-1/#comment-13</link>
		<dc:creator>gparker</dc:creator>
		<pubDate>Thu, 29 Jan 2009 03:38:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/nnethercote/?p=8#comment-13</guid>
		<description>My apologies for the incorrect indenting. I had emacs on one machine configured for valgrind-style once upon a time, but lost that configuration later.

No apologies for the rest of the patch. Big ports are always ugly...</description>
		<content:encoded><![CDATA[<p>My apologies for the incorrect indenting. I had emacs on one machine configured for valgrind-style once upon a time, but lost that configuration later.</p>
<p>No apologies for the rest of the patch. Big ports are always ugly&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicholas Nethercote</title>
		<link>http://blog.mozilla.com/nnethercote/2009/01/18/me-valgrind-and-mac-os-x/comment-page-1/#comment-9</link>
		<dc:creator>Nicholas Nethercote</dc:creator>
		<pubDate>Tue, 20 Jan 2009 23:00:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/nnethercote/?p=8#comment-9</guid>
		<description>BlueMM: I used to work at Melbourne Uni, so I did/do the Brunswick-to-Parkville route along the Upfield bike path and Royal Parade a lot.

For longer rides I usually do the Yarra trail from the CBD round to the Merri Ck at Rushall station, and along Park St in Fitzroy/Carlton.</description>
		<content:encoded><![CDATA[<p>BlueMM: I used to work at Melbourne Uni, so I did/do the Brunswick-to-Parkville route along the Upfield bike path and Royal Parade a lot.</p>
<p>For longer rides I usually do the Yarra trail from the CBD round to the Merri Ck at Rushall station, and along Park St in Fitzroy/Carlton.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Chan</title>
		<link>http://blog.mozilla.com/nnethercote/2009/01/18/me-valgrind-and-mac-os-x/comment-page-1/#comment-8</link>
		<dc:creator>Steve Chan</dc:creator>
		<pubDate>Tue, 20 Jan 2009 21:55:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/nnethercote/?p=8#comment-8</guid>
		<description>Hi,
    I&#039;m trying valgrind with a tool that reads in text from a filehandle and then pushes it out over the network via a socket connection. Valgrind seems to bail out when the socket is being created. Here&#039;s the output:

valgrind  ./bropipe -df /tmp/url-alerts.txt
==57151== Memcheck, a memory error detector.
==57151== Copyright (C) 2002-2008, and GNU GPL&#039;d, by Julian Seward et al.
==57151== Using LibVEX rev 1880, a library for dynamic binary translation.
==57151== Copyright (C) 2004-2008, and GNU GPL&#039;d, by OpenWorks LLP.
==57151== Using valgrind-3.5.0.SVN, a dynamic binary instrumentation framework.
==57151== Copyright (C) 2000-2008, and GNU GPL&#039;d, by Julian Seward et al.
==57151== For more details, rerun with: -v
==57151== 
==57151== Listening for debugger on port 2159
DEBUG: try opening `/tmp/url-alerts.txt&#039; as input
DEBUG: got BroConn handle
DEBUG: attempt to connect to 127.0.0.1:47757...UNKNOWN __sigaction is unsupported. This warning will not be repeated.

valgrind: m_syswrap/syswrap-generic.c:1452 (vgModuleLocal_generic_PRE_sys_getsockopt): Assertion &#039;Unimplemented functionality&#039; failed.
valgrind: valgrind
==57151==    at 0xF00AE0AB: ???
==57151==    by 0xF00ADF36: ???
==57151==    by 0xF0134EC3: ???
==57151==    by 0xF0125537: ???
==57151==    by 0xF00F2546: ???
==57151==    by 0xF00EF1BA: ???
==57151==    by 0xF00F0659: ???
==57151==    by 0xF011D99F: ???
==57151==    by 0xFFFFFFFF: ???
==57151==    by 0xF24BBA5C: ???
==57151==    by 0xF24BBA08: ???
==57151==    by 0xF00AE85D: ???
==57151==    by 0xF24BB9E0: ???
==57151==    by 0x2000004: ???
==57151==    by 0x101: ???
==57151==    by 0xF24BBA5C: ???
==57151==    by 0x13: ???

sched status:
  running_tid=1

Thread 1: status = VgTs_Runnable
==57151==    at 0x23F302: getsockopt (in /usr/lib/libSystem.B.dylib)
==57151==    by 0x41BFF0: conn_state (in /usr/lib/libcrypto.0.9.7.dylib)
==57151==    by 0x41C319: conn_write (in /usr/lib/libcrypto.0.9.7.dylib)
==57151==    by 0x3EE811: BIO_write (in /usr/lib/libcrypto.0.9.7.dylib)
==57151==    by 0x3C4EA: __bro_openssl_write (in /usr/local/bro/lib/libbroccoli.2.dylib)
==57151==    by 0x3A324: io_msg_empty_tx (in /usr/local/bro/lib/libbroccoli.2.dylib)
==57151==    by 0x3AA2E: io_msg_queue (in /usr/local/bro/lib/libbroccoli.2.dylib)
==57151==    by 0x3608B: conn_init_configure (in /usr/local/bro/lib/libbroccoli.2.dylib)
==57151==    by 0x364A5: bro_conn_connect (in /usr/local/bro/lib/libbroccoli.2.dylib)
==57151==    by 0x2518: make_connection() (in ./bropipe)
==57151==    by 0x30DE: main (in ./bropipe)


Note: see also the FAQ.txt in the source distribution.
It contains workarounds to several common problems.

If that doesn&#039;t help, please report this bug to: www.valgrind.org

In the bug report, send all the above text, the valgrind
version, and what OS and OS version you are using.  Thanks.

Illegal instruction


   Looks like some kind of unimplemented functionality that is causing and exception?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
    I&#8217;m trying valgrind with a tool that reads in text from a filehandle and then pushes it out over the network via a socket connection. Valgrind seems to bail out when the socket is being created. Here&#8217;s the output:</p>
<p>valgrind  ./bropipe -df /tmp/url-alerts.txt<br />
==57151== Memcheck, a memory error detector.<br />
==57151== Copyright (C) 2002-2008, and GNU GPL&#8217;d, by Julian Seward et al.<br />
==57151== Using LibVEX rev 1880, a library for dynamic binary translation.<br />
==57151== Copyright (C) 2004-2008, and GNU GPL&#8217;d, by OpenWorks LLP.<br />
==57151== Using valgrind-3.5.0.SVN, a dynamic binary instrumentation framework.<br />
==57151== Copyright (C) 2000-2008, and GNU GPL&#8217;d, by Julian Seward et al.<br />
==57151== For more details, rerun with: -v<br />
==57151==<br />
==57151== Listening for debugger on port 2159<br />
DEBUG: try opening `/tmp/url-alerts.txt&#8217; as input<br />
DEBUG: got BroConn handle<br />
DEBUG: attempt to connect to 127.0.0.1:47757&#8230;UNKNOWN __sigaction is unsupported. This warning will not be repeated.</p>
<p>valgrind: m_syswrap/syswrap-generic.c:1452 (vgModuleLocal_generic_PRE_sys_getsockopt): Assertion &#8216;Unimplemented functionality&#8217; failed.<br />
valgrind: valgrind<br />
==57151==    at 0xF00AE0AB: ???<br />
==57151==    by 0xF00ADF36: ???<br />
==57151==    by 0xF0134EC3: ???<br />
==57151==    by 0xF0125537: ???<br />
==57151==    by 0xF00F2546: ???<br />
==57151==    by 0xF00EF1BA: ???<br />
==57151==    by 0xF00F0659: ???<br />
==57151==    by 0xF011D99F: ???<br />
==57151==    by 0xFFFFFFFF: ???<br />
==57151==    by 0xF24BBA5C: ???<br />
==57151==    by 0xF24BBA08: ???<br />
==57151==    by 0xF00AE85D: ???<br />
==57151==    by 0xF24BB9E0: ???<br />
==57151==    by 0&#215;2000004: ???<br />
==57151==    by 0&#215;101: ???<br />
==57151==    by 0xF24BBA5C: ???<br />
==57151==    by 0&#215;13: ???</p>
<p>sched status:<br />
  running_tid=1</p>
<p>Thread 1: status = VgTs_Runnable<br />
==57151==    at 0&#215;23F302: getsockopt (in /usr/lib/libSystem.B.dylib)<br />
==57151==    by 0&#215;41BFF0: conn_state (in /usr/lib/libcrypto.0.9.7.dylib)<br />
==57151==    by 0&#215;41C319: conn_write (in /usr/lib/libcrypto.0.9.7.dylib)<br />
==57151==    by 0&#215;3EE811: BIO_write (in /usr/lib/libcrypto.0.9.7.dylib)<br />
==57151==    by 0&#215;3C4EA: __bro_openssl_write (in /usr/local/bro/lib/libbroccoli.2.dylib)<br />
==57151==    by 0&#215;3A324: io_msg_empty_tx (in /usr/local/bro/lib/libbroccoli.2.dylib)<br />
==57151==    by 0&#215;3AA2E: io_msg_queue (in /usr/local/bro/lib/libbroccoli.2.dylib)<br />
==57151==    by 0&#215;3608B: conn_init_configure (in /usr/local/bro/lib/libbroccoli.2.dylib)<br />
==57151==    by 0&#215;364A5: bro_conn_connect (in /usr/local/bro/lib/libbroccoli.2.dylib)<br />
==57151==    by 0&#215;2518: make_connection() (in ./bropipe)<br />
==57151==    by 0&#215;30DE: main (in ./bropipe)</p>
<p>Note: see also the FAQ.txt in the source distribution.<br />
It contains workarounds to several common problems.</p>
<p>If that doesn&#8217;t help, please report this bug to: <a href="http://www.valgrind.org" rel="nofollow">http://www.valgrind.org</a></p>
<p>In the bug report, send all the above text, the valgrind<br />
version, and what OS and OS version you are using.  Thanks.</p>
<p>Illegal instruction</p>
<p>   Looks like some kind of unimplemented functionality that is causing and exception?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BlueMM</title>
		<link>http://blog.mozilla.com/nnethercote/2009/01/18/me-valgrind-and-mac-os-x/comment-page-1/#comment-7</link>
		<dc:creator>BlueMM</dc:creator>
		<pubDate>Tue, 20 Jan 2009 04:15:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/nnethercote/?p=8#comment-7</guid>
		<description>Being a fellow Melbournian &amp; bike rider, what&#039;s your usual/favourite bike ride(s)?</description>
		<content:encoded><![CDATA[<p>Being a fellow Melbournian &amp; bike rider, what&#8217;s your usual/favourite bike ride(s)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colin Barrett</title>
		<link>http://blog.mozilla.com/nnethercote/2009/01/18/me-valgrind-and-mac-os-x/comment-page-1/#comment-6</link>
		<dc:creator>Colin Barrett</dc:creator>
		<pubDate>Mon, 19 Jan 2009 09:55:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/nnethercote/?p=8#comment-6</guid>
		<description>I would highly recommend having a way to run at the very least the test suite on a 64-bit machine. 64-bit is very very much the future of Mac OS X. A 32-bit only patch won&#039;t be very useful for very long.

It&#039;s possible someone like vlad, alice or jesse would be able to hook you up with a 64-bit OS X machine to ssh into and at least run tests.</description>
		<content:encoded><![CDATA[<p>I would highly recommend having a way to run at the very least the test suite on a 64-bit machine. 64-bit is very very much the future of Mac OS X. A 32-bit only patch won&#8217;t be very useful for very long.</p>
<p>It&#8217;s possible someone like vlad, alice or jesse would be able to hook you up with a 64-bit OS X machine to ssh into and at least run tests.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicholas Nethercote</title>
		<link>http://blog.mozilla.com/nnethercote/2009/01/18/me-valgrind-and-mac-os-x/comment-page-1/#comment-5</link>
		<dc:creator>Nicholas Nethercote</dc:creator>
		<pubDate>Mon, 19 Jan 2009 05:49:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/nnethercote/?p=8#comment-5</guid>
		<description>It&#039;s not working nearly well enough to include in Snow Leopard.  Also, since Valgrind is GPL, I imagine Apple doesn&#039;t want it included in Snow Leopard.</description>
		<content:encoded><![CDATA[<p>It&#8217;s not working nearly well enough to include in Snow Leopard.  Also, since Valgrind is GPL, I imagine Apple doesn&#8217;t want it included in Snow Leopard.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nico</title>
		<link>http://blog.mozilla.com/nnethercote/2009/01/18/me-valgrind-and-mac-os-x/comment-page-1/#comment-4</link>
		<dc:creator>nico</dc:creator>
		<pubDate>Mon, 19 Jan 2009 04:19:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/nnethercote/?p=8#comment-4</guid>
		<description>Great news!

Have you checked with Apple that they are not working on this? Sounds strange to me that Greg puts all that work in and then Apple doesn&#039;t include it in Snow Leopard…but then again, in that case, he probably wouldn&#039;t have released his version just yet.</description>
		<content:encoded><![CDATA[<p>Great news!</p>
<p>Have you checked with Apple that they are not working on this? Sounds strange to me that Greg puts all that work in and then Apple doesn&#8217;t include it in Snow Leopard…but then again, in that case, he probably wouldn&#8217;t have released his version just yet.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
