<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Crashing into the wide world of Open Source</title>
	<atom:link href="http://crashopensource.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://crashopensource.wordpress.com</link>
	<description>without a paddle</description>
	<lastBuildDate>Thu, 10 Jan 2008 23:10:01 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='crashopensource.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/f4f7b3d34d8daaed847ca60e065a1615?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Crashing into the wide world of Open Source</title>
		<link>http://crashopensource.wordpress.com</link>
	</image>
			<item>
		<title>Starting up again with Source Server</title>
		<link>http://crashopensource.wordpress.com/2008/01/10/starting-up-again-with-source-server/</link>
		<comments>http://crashopensource.wordpress.com/2008/01/10/starting-up-again-with-source-server/#comments</comments>
		<pubDate>Thu, 10 Jan 2008 23:10:01 +0000</pubDate>
		<dc:creator>Lukas Blakk</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dps911]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[source server]]></category>

		<guid isPermaLink="false">http://crashopensource.wordpress.com/2008/01/10/starting-up-again-with-source-server/</guid>
		<description><![CDATA[And, we&#8217;re back for another semester of poking and prodding the Microsoft Source Server for use with the Mozilla debug symbols.
First order of business is to clean up as much of the symbolstore.py patch as possible and then the next step would be to start writing a pdbstr.exe replacement that can be distributed.  Also, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=crashopensource.wordpress.com&blog=1693221&post=90&subd=crashopensource&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>And, we&#8217;re back for another semester of poking and prodding the Microsoft Source Server for use with the Mozilla debug symbols.</p>
<p>First order of business is to clean up as much of the symbolstore.py patch as possible and then the next step would be to start writing a pdbstr.exe replacement that can be distributed.  Also, there&#8217;s the issue of Mozilla 2 and <a href="http://www.selenic.com/mercurial/wiki/index.cgi/Mercurial">mercurial</a>&#8230;</p>
<p>Looks like there was an <a href="http://weblogs.mozillazine.org/preed/2007/04/version_control_system_shootou_1.html#more">involved process</a> in choosing the next generation VCS for Mozilla 2 and so now I am wondering whether I should be continuing to work on my 0.3 or start working on something that will make source server work with mercurial.</p>
<p>This week I&#8217;ll be trying to pull together a solid list of what I hope to accomplish this term for my 1.0 release, i&#8217;ll post more soon.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/crashopensource.wordpress.com/90/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/crashopensource.wordpress.com/90/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/crashopensource.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/crashopensource.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/crashopensource.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/crashopensource.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/crashopensource.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/crashopensource.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/crashopensource.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/crashopensource.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/crashopensource.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/crashopensource.wordpress.com/90/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=crashopensource.wordpress.com&blog=1693221&post=90&subd=crashopensource&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://crashopensource.wordpress.com/2008/01/10/starting-up-again-with-source-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/427152eee55f233ab9e2982c60c74424?s=96&#38;d=identicon" medium="image">
			<media:title type="html">lukasblakk</media:title>
		</media:content>
	</item>
		<item>
		<title>Open Source code reading/writing</title>
		<link>http://crashopensource.wordpress.com/2008/01/08/open-source-code-readingwriting/</link>
		<comments>http://crashopensource.wordpress.com/2008/01/08/open-source-code-readingwriting/#comments</comments>
		<pubDate>Tue, 08 Jan 2008 02:28:39 +0000</pubDate>
		<dc:creator>Lukas Blakk</dc:creator>
				<category><![CDATA[code hunting]]></category>
		<category><![CDATA[open-source]]></category>

		<guid isPermaLink="false">http://crashopensource.wordpress.com/2008/01/08/open-source-code-readingwriting/</guid>
		<description><![CDATA[Today was the first class of my BTP600 Design Patterns class.  The teacher talked about how there are 3 ways to go about learning to write larger, non-trivial programs.

Try + Fail + Fix
Read the code of other (superstar) coders to see how they did it well
Design Patterns

I like this class.  It&#8217;s very hard [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=crashopensource.wordpress.com&blog=1693221&post=89&subd=crashopensource&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Today was the first class of my BTP600 Design Patterns class.  The teacher talked about how there are 3 ways to go about learning to write larger, non-trivial programs.</p>
<ol>
<li>Try + Fail + Fix</li>
<li>Read the code of other (superstar) coders to see how they did it well</li>
<li>Design Patterns</li>
</ol>
<p>I like this class.  It&#8217;s very hard to see how I will ever write something large and non-trivial but I know that&#8217;s what we will accomplish by the end of BTS and this course as well.  When I look at the mozilla code base, I can&#8217;t see how something like this came to be.  What do you write first?  </p>
<p>The teacher mentioned that Kernighan (sp?) and Richie write really great code and so I&#8217;d like to read some.  Anyone know of a good example?  I welcome tips on code that you may have found exciting to read.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/crashopensource.wordpress.com/89/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/crashopensource.wordpress.com/89/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/crashopensource.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/crashopensource.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/crashopensource.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/crashopensource.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/crashopensource.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/crashopensource.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/crashopensource.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/crashopensource.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/crashopensource.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/crashopensource.wordpress.com/89/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=crashopensource.wordpress.com&blog=1693221&post=89&subd=crashopensource&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://crashopensource.wordpress.com/2008/01/08/open-source-code-readingwriting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/427152eee55f233ab9e2982c60c74424?s=96&#38;d=identicon" medium="image">
			<media:title type="html">lukasblakk</media:title>
		</media:content>
	</item>
		<item>
		<title>IRC Chat purpose and atmosphere</title>
		<link>http://crashopensource.wordpress.com/2008/01/08/irc-chat-purpose-and-atmosphere/</link>
		<comments>http://crashopensource.wordpress.com/2008/01/08/irc-chat-purpose-and-atmosphere/#comments</comments>
		<pubDate>Tue, 08 Jan 2008 02:23:02 +0000</pubDate>
		<dc:creator>Lukas Blakk</dc:creator>
				<category><![CDATA[irc]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[open-source]]></category>

		<guid isPermaLink="false">http://crashopensource.wordpress.com/2008/01/08/irc-chat-purpose-and-atmosphere/</guid>
		<description><![CDATA[Something that I have come to appreciate about Mozilla is that its chat channels on IRC are incredibly positive, helpful and relevant.  As there are so many areas in developing and using Mozilla projects, several channels exist that allow you to join a channel when it is specific to your area of discussion.
Recently I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=crashopensource.wordpress.com&blog=1693221&post=88&subd=crashopensource&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Something that I have come to appreciate about Mozilla is that its chat channels on IRC are incredibly positive, helpful and relevant.  As there are so many areas in developing and using Mozilla projects, several channels exist that allow you to join a channel when it is specific to your area of discussion.</p>
<p>Recently I went to the Joomla channel because I am working on a project for a friend in Joomla.  Now, this is my first time working with Joomla.  I have attended a brief &#8220;Hands on&#8221; workshop at the Ontario Linux Conference and I&#8217;ve read some of Dan Rahmel&#8217;s &#8220;Professional Joomla&#8221;.  I was having trouble understanding the way that Joomla uses plug-ins.  Basically there&#8217;s a plug-in that can recognize a snippet of custom code in an article &#8211; ie: {images view|gallery} or something like that.  What I wanted to do was to be able to put that code in a module so that I could position it on the page in the way that modules can be positioned.  I can&#8217;t find a way to position articles.</p>
<p>So I go to the Joomla channel in the hopes that talking with real person will help &#8211; much as going to the mozilla channels has helped in the past.  I know that the #seneca channel is special because it is targeted at students who are learning, but the Joomla channel said at the top &#8220;Be patient, as your question &#8211; if no answer, try giving more info&#8221; (paraphrasing).  I assumed that I could ask my question and get at least one person to talk it out with me.</p>
<p>Wrong.</p>
<p>What I got instead was a big fat nothing.  NO response.  NO acknowledgement.  I asked politely if I should provide more information, and someone (who had been talking away about someone being gay) said &#8220;Oh, i didn&#8217;t see the question&#8221;.  So I rephrase it and ask again &#8211; then nothing again.  What?!</p>
<p>In frustration, I ask &#8220;is anyone here knowledgeable about plugins?&#8221; and a half hour later, at which point I had moved on to other tasks since there was no reply yet again, I get a private message from someone who says &#8220;ya, what you want?&#8221;.  I didn&#8217;t bother responding.  I created an html workaround to what I wanted to accomplish and moved on.</p>
<p>Needless to say, this experience was disheartening for a moment.  But then I saw the positive side.  I am a small part of a channel or two on the mozilla irc that is friendly, helpful and welcoming.  So that&#8217;s nice to notice and appreciate.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/crashopensource.wordpress.com/88/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/crashopensource.wordpress.com/88/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/crashopensource.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/crashopensource.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/crashopensource.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/crashopensource.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/crashopensource.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/crashopensource.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/crashopensource.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/crashopensource.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/crashopensource.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/crashopensource.wordpress.com/88/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=crashopensource.wordpress.com&blog=1693221&post=88&subd=crashopensource&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://crashopensource.wordpress.com/2008/01/08/irc-chat-purpose-and-atmosphere/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/427152eee55f233ab9e2982c60c74424?s=96&#38;d=identicon" medium="image">
			<media:title type="html">lukasblakk</media:title>
		</media:content>
	</item>
		<item>
		<title>New Year, New To-Do list</title>
		<link>http://crashopensource.wordpress.com/2008/01/03/new-year-new-to-do-list/</link>
		<comments>http://crashopensource.wordpress.com/2008/01/03/new-year-new-to-do-list/#comments</comments>
		<pubDate>Thu, 03 Jan 2008 05:18:47 +0000</pubDate>
		<dc:creator>Lukas Blakk</dc:creator>
				<category><![CDATA[open-source]]></category>

		<guid isPermaLink="false">http://crashopensource.wordpress.com/2008/01/03/new-year-new-to-do-list/</guid>
		<description><![CDATA[Today was the first day back in the hallowed halls of S@Y.  I managed to clear up the conflict signing up for DPS911 and am now officially registered.
I&#8217;ve gotten some great feedback on the bug I filed for the source server so there&#8217;s lots to get started on.  First rewriting the patch better [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=crashopensource.wordpress.com&blog=1693221&post=87&subd=crashopensource&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Today was the first day back in the hallowed halls of S@Y.  I managed to clear up the conflict signing up for DPS911 and am now officially registered.</p>
<p>I&#8217;ve gotten some great feedback on the bug I filed for the source server so there&#8217;s lots to get started on.  First rewriting the patch better and then the grand task of writing a new pdbstr.exe that we can distribute because the Microsoft version cannot do so.</p>
<p>Anyway, that&#8217;s the short, glossy version.</p>
<p>I&#8217;m looking forward to getting back in the game.  As the last few days of the holiday whip by I&#8217;m also working on some websites for friends, training to be a tutor in the Learning Center, helping some friends paint and trying to finish another pair of socks.</p>
<p>Yesterday at a New Year&#8217;s brunch I spent some time with a friend who has recently lost a large amount of her vision.  She is almost (but not quite) legally blind and her vision will continue to deteriorate at an unknown rate.  She&#8217;s a visual artist as well as a teacher and we had a lively discussion about software and adaptive technology.  I&#8217;m determined to find a way to develop simple, well designed, as open source as possible programs for the Mac.  This is a challenge since a) I have been informed that there is no money in writing adaptive software and b) apple development is a mystery to me and c) I&#8217;m not sure if it&#8217;s even possible to write open source programs for Apple.  </p>
<p>Learning about this will be the sidebar on the to-do list for the winter you know, in my spare time <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/crashopensource.wordpress.com/87/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/crashopensource.wordpress.com/87/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/crashopensource.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/crashopensource.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/crashopensource.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/crashopensource.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/crashopensource.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/crashopensource.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/crashopensource.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/crashopensource.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/crashopensource.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/crashopensource.wordpress.com/87/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=crashopensource.wordpress.com&blog=1693221&post=87&subd=crashopensource&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://crashopensource.wordpress.com/2008/01/03/new-year-new-to-do-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/427152eee55f233ab9e2982c60c74424?s=96&#38;d=identicon" medium="image">
			<media:title type="html">lukasblakk</media:title>
		</media:content>
	</item>
		<item>
		<title>0.3 Release of the Source Server for Mozilla Firefox</title>
		<link>http://crashopensource.wordpress.com/2007/12/12/03-release-of-the-source-server-for-mozilla-firefox/</link>
		<comments>http://crashopensource.wordpress.com/2007/12/12/03-release-of-the-source-server-for-mozilla-firefox/#comments</comments>
		<pubDate>Wed, 12 Dec 2007 23:41:16 +0000</pubDate>
		<dc:creator>Lukas Blakk</dc:creator>
				<category><![CDATA[cvs]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[dps909]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[seneca]]></category>
		<category><![CDATA[source server]]></category>
		<category><![CDATA[success]]></category>

		<guid isPermaLink="false">http://crashopensource.wordpress.com/2007/12/12/03-release-of-the-source-server-for-mozilla-firefox/</guid>
		<description><![CDATA[Well, the big ball &#8216;O duct tape that is my hacks on symbolstore.py are complete for now &#8211; here is the patch.  This project will be carried on in the next term at which point I hope to address some of the current issues, namely &#8211; manipulating the directory structure, cleaning up the python [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=crashopensource.wordpress.com&blog=1693221&post=86&subd=crashopensource&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Well, the big ball &#8216;O duct tape that is my hacks on <a href="http://mxr.mozilla.org/mozilla/source/toolkit/crashreporter/tools/symbolstore.py">symbolstore.py</a> are complete for now &#8211; here is <a href="http://avnerd.tv/sharedFiles/symbolstorepatch.txt">the patch</a>.  This project will be carried on in the next term at which point I hope to address some of the current issues, namely &#8211; manipulating the directory structure, cleaning up the python code and assembling a unified documentation page.</p>
<p>For now &#8211; you may test out the fruits of my labour by downloading this <a href="http://avnerd.tv/sharedFiles/ff_SourceServer.exe.zip">installer</a> of Firefox 3.0b2pre which will install Minefield in your Program Files/Minefield directory (you have no choice for installation dir.) and then copying <a href="http://avnerd.tv/symbols/crashreporter-symbols-firefox-3.0b2pre-WINNT-2007120422.zip">these symbols</a> into the folder where your Visual Studio (or Windbg) is looking for debug symbols.</p>
<p>The last thing you have to do in order for this to work is to put a path to <a href="http://other.jrsoftware.org/ic/cvs-1.11.2.zip">cvs.exe</a> in your PATH &#8211; I personally pointed it to the mozilla-build/mysys/bin/cvs.exe but if you like you can <a href="http://other.jrsoftware.org/ic/cvs-1.11.2.zip">download cvs.exe</a> and put it wherever you want.</p>
<p>Now that you have all you need, open up your debugger (VS or Windbg), attach it to the Minefield process and go!</p>
<p>It will ask you about the cvs calls that gather up the source code, say &#8220;OK&#8221; or &#8220;Run&#8221; or whatever is positive.  The file should download into the proper /mozilla/whatever structure &#8211; on my computer it goes into Program Files/Microsoft Visual Studio 8/Common7/IDE/mozilla/&#8230;  </p>
<p>That will be a focus in the next round, is manipulating the cvs command so that the source files go to a c:/temp or something.  The debugger will automatically want to look for the path that the source file originally came from (in this case, my c:/ff_clean/mozilla/&#8230;) &#8211; you will have to point your debugger to the correct file the first time and then after that it knows to look in the mozilla folder you selected.</p>
<p>It works for now like what it is; a ball of duct tape that allows you to get the right source code for where you are in the browser without having a build on your computer.</p>
<p>I look forward to feedback about how this works for you, if you use it and if you have any problems arise.  </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/crashopensource.wordpress.com/86/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/crashopensource.wordpress.com/86/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/crashopensource.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/crashopensource.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/crashopensource.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/crashopensource.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/crashopensource.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/crashopensource.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/crashopensource.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/crashopensource.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/crashopensource.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/crashopensource.wordpress.com/86/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=crashopensource.wordpress.com&blog=1693221&post=86&subd=crashopensource&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://crashopensource.wordpress.com/2007/12/12/03-release-of-the-source-server-for-mozilla-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/427152eee55f233ab9e2982c60c74424?s=96&#38;d=identicon" medium="image">
			<media:title type="html">lukasblakk</media:title>
		</media:content>
	</item>
		<item>
		<title>To the wall&#8230;</title>
		<link>http://crashopensource.wordpress.com/2007/12/08/to-the-wall/</link>
		<comments>http://crashopensource.wordpress.com/2007/12/08/to-the-wall/#comments</comments>
		<pubDate>Sat, 08 Dec 2007 03:05:22 +0000</pubDate>
		<dc:creator>Lukas Blakk</dc:creator>
				<category><![CDATA[cvs]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[dps909]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[source server]]></category>

		<guid isPermaLink="false">http://crashopensource.wordpress.com/2007/12/08/to-the-wall/</guid>
		<description><![CDATA[After many nights of tweaking this space, that path, this logic &#8211; the symbolstore.py script is now playing nice with pdbstr and the pdb files are getting indexed.  So begins the second battle &#8211; how to get Visual Studio to pull the code out of CVS and locate that code on the local drive. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=crashopensource.wordpress.com&blog=1693221&post=83&subd=crashopensource&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>After many nights of tweaking this space, that path, this logic &#8211; the symbolstore.py script is now playing nice with pdbstr and the pdb files are getting indexed.  So begins the second battle &#8211; how to get Visual Studio to pull the code out of CVS and locate that code on the local drive.  Right now, when you have the symbols loaded up and you attach to firefox as a process, a window comes up confirming the call that will be made.  <img src='http://crashopensource.files.wordpress.com/2007/12/picture-1.png' alt='Calling CVS from VStudio' /></p>
<p>If I copy and paste this command into my command line (I have CVS in my path from mozilla-build\mysys\bin) then I can pull the file and it goes into the directory structure as it is in the command starting from my current working directory.</p>
<p>When I click on &#8220;Run&#8221; in Visual Studio however, the code may or may not be getting pulled from CVS &#8211; I have no feeback and if I then try to look at something on the call stack, I get a dialog asking me to find the source code file.  BUT WHERE IS IT?<br />
<img src='http://crashopensource.files.wordpress.com/2007/12/picture-2.png' alt='look for files' /><br />
Visual Studio is trying to find it in the hierarchy that my build was based on&#8230;that is not going to exist on the remote user&#8217;s computer.</p>
<p>I&#8217;ve made a few tweaks to symbolstore.py to try and create a %CVS_WORKINGDIR% in the srcsrv data block where the code would then be pulled to.  This does not appear to be working, as the directory I am instructing it to create is not getting created. </p>
<p>This is the <a href='http://crashopensource.files.wordpress.com/2007/12/symbolstore12_07_2007.txt' title='Current symbolstore.py'>current symbolstore.py</a>.  More tweaking on the horizon.</p>
<p>Many huge thanks to Ted for figuring out the minute details that fixed the call to pdbstr.</p>
<p>The most up to date set of symbols can be found here:  <a href="http://avnerd.tv/symbols/crashreporter-symbols-firefox-3.0b2pre-WINNT-2007120422.zip">http://avnerd.tv/symbols/crashreporter-symbols-firefox-3.0b2pre-WINNT-2007120422.zip</a></p>
<p>The installer for this indexed version is here: <a href="http://avnerd.tv/sharedFiles/ff_SourceServer.exe.zip">http://avnerd.tv/sharedFiles/ff_SourceServer.exe.zip</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/crashopensource.wordpress.com/83/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/crashopensource.wordpress.com/83/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/crashopensource.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/crashopensource.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/crashopensource.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/crashopensource.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/crashopensource.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/crashopensource.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/crashopensource.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/crashopensource.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/crashopensource.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/crashopensource.wordpress.com/83/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=crashopensource.wordpress.com&blog=1693221&post=83&subd=crashopensource&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://crashopensource.wordpress.com/2007/12/08/to-the-wall/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/427152eee55f233ab9e2982c60c74424?s=96&#38;d=identicon" medium="image">
			<media:title type="html">lukasblakk</media:title>
		</media:content>

		<media:content url="http://crashopensource.files.wordpress.com/2007/12/picture-1.png" medium="image">
			<media:title type="html">Calling CVS from VStudio</media:title>
		</media:content>

		<media:content url="http://crashopensource.files.wordpress.com/2007/12/picture-2.png" medium="image">
			<media:title type="html">look for files</media:title>
		</media:content>
	</item>
		<item>
		<title>Symbols and Installers are giving me a headache.</title>
		<link>http://crashopensource.wordpress.com/2007/12/05/symbols-and-installers-are-giving-me-a-headache/</link>
		<comments>http://crashopensource.wordpress.com/2007/12/05/symbols-and-installers-are-giving-me-a-headache/#comments</comments>
		<pubDate>Wed, 05 Dec 2007 06:11:21 +0000</pubDate>
		<dc:creator>Lukas Blakk</dc:creator>
				<category><![CDATA[open-source]]></category>
		<category><![CDATA[source server]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://crashopensource.wordpress.com/2007/12/05/symbols-and-installers-are-giving-me-a-headache/</guid>
		<description><![CDATA[I&#8217;m not sure where things are going wrong right now so I am hoping that you &#8211; faithful readers &#8211; will be able to help me out.  I have run the &#8220;make buildsymbols&#8221; and checked with srctool.exe to confirm that the pdb files are source indexed.  So following that I made an installer [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=crashopensource.wordpress.com&blog=1693221&post=81&subd=crashopensource&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;m not sure where things are going wrong right now so I am hoping that you &#8211; faithful readers &#8211; will be able to help me out.  I have run the &#8220;make buildsymbols&#8221; and checked with srctool.exe to confirm that the pdb files are source indexed.  So following that I made an installer to see if I could attach it in Visual Studio and pull some code.  However I am not getting the symbols to load.  </p>
<p>Here&#8217;s what I have:</p>
<ol>
<li>A modified symbolstore.py: <a href="http://pastebin.mozilla.org/255918">http://pastebin.mozilla.org/255918</a></li>
<li>Symbols and source indexed .pdb files here: http://avnerd.tv/symbols/test/crashreporter-symbols-firefox-3.0b2pre-WINNT-2007120422</li>
<li>An installer for the build I was working on when I did this: http://avnerd.tv/sharedFiles/ff_SourceServer.exe.zip</li>
</ol>
<p>When I point Visual Studio to the symbols I can&#8217;t get anything to load up.  So this means that I am unable to test if the source indexed code&#8217;s cvs commands actually work.</p>
<p>There weren&#8217;t any gotchas the last time I uploaded symbols &#8211; so I&#8217;m not sure where to begin in figuring out why Visual Studio isn&#8217;t grabbing them properly.</p>
<p>I have to work all day tomorrow &#8211; and I have a big assignment still to work on for my BTS system design class, so anyone who can take a minute to poke at this and give me any feedback would be a hero!</p>
<p>Thanks!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/crashopensource.wordpress.com/81/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/crashopensource.wordpress.com/81/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/crashopensource.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/crashopensource.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/crashopensource.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/crashopensource.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/crashopensource.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/crashopensource.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/crashopensource.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/crashopensource.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/crashopensource.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/crashopensource.wordpress.com/81/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=crashopensource.wordpress.com&blog=1693221&post=81&subd=crashopensource&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://crashopensource.wordpress.com/2007/12/05/symbols-and-installers-are-giving-me-a-headache/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/427152eee55f233ab9e2982c60c74424?s=96&#38;d=identicon" medium="image">
			<media:title type="html">lukasblakk</media:title>
		</media:content>
	</item>
		<item>
		<title>3 main barriers to a complete 0.3 release of the source server</title>
		<link>http://crashopensource.wordpress.com/2007/12/03/3-main-barriers-to-a-complete-03-release-of-the-source-server/</link>
		<comments>http://crashopensource.wordpress.com/2007/12/03/3-main-barriers-to-a-complete-03-release-of-the-source-server/#comments</comments>
		<pubDate>Mon, 03 Dec 2007 05:51:05 +0000</pubDate>
		<dc:creator>Lukas Blakk</dc:creator>
				<category><![CDATA[dps909]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[source server]]></category>

		<guid isPermaLink="false">http://crashopensource.wordpress.com/2007/12/03/3-main-barriers-to-a-complete-03-release-of-the-source-server/</guid>
		<description><![CDATA[Here is the code I have so far in symbolstore.py
http://pastebin.mozilla.org/254868
My portion is specifically lines 36 &#8211; 71 where I am now gathering up a string of source files along with the revision number, and generating a (almost) properly formatted stream file in the pdb&#8217;s directory.
Here are the barriers:
1.  I would prefer to have a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=crashopensource.wordpress.com&blog=1693221&post=80&subd=crashopensource&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>Here is the code I have so far in symbolstore.py</strong><br />
<a href="http://pastebin.mozilla.org/254868">http://pastebin.mozilla.org/254868</a></p>
<p>My portion is specifically lines 36 &#8211; 71 where I am now gathering up a string of source files along with the revision number, and generating a (almost) properly formatted stream file in the pdb&#8217;s directory.</p>
<p>Here are the barriers:</p>
<p>1.  I would prefer to have a template where I have a variable %SOURCEFILES% that can be replaced and output to a new file for each pdb, instead of writing out each line of the stream file in symbolstore.py.  If I can&#8217;t get that happening for this release &#8211; oh well, Dave said it can be a bit ugly at the 0.3 stage.  At least what I have right now, is creating the stream file properly.</p>
<p>2.  On lines 38 and 39 &#8211; what I am making here is a string that looks like this:  c:\mozilla/xpcom/glue/nsTraceRefcnt.h and in fact, this has to be c:\USERS_SOURCEFILE_DIR\mozilla\xpcom\glue\nsTraceRecnt.h   &#8212; so two things need to happen here, first, I need the / to be \  (except for the one after c:, cause it&#8217;s right already) and second, for now I can probably name the dir &#8220;ff&#8221; and the user can make sure that VStudio is pointing to that path (c:\ff) when looking for source files&#8230;but in the long run?  I don&#8217;t know yet.</p>
<p>3.  This is along the same lines as the template issue.  The reason I haven&#8217;t successfully implemented the template is because I don&#8217;t know where to put, or how to create a path to, the right folders when symbolstore.py is being called.  Unfortunately, it is not as easy as I had hoped in that putting the template in the same folder as symbolstore.py would allow me to open it with its name only.  So as well as not being able to open the template, I don&#8217;t know how I can call upon pdbstr from inside of symbolstore.py</p>
<p>That&#8217;s going to be the last part, the first two are a little more pressing.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/crashopensource.wordpress.com/80/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/crashopensource.wordpress.com/80/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/crashopensource.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/crashopensource.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/crashopensource.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/crashopensource.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/crashopensource.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/crashopensource.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/crashopensource.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/crashopensource.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/crashopensource.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/crashopensource.wordpress.com/80/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=crashopensource.wordpress.com&blog=1693221&post=80&subd=crashopensource&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://crashopensource.wordpress.com/2007/12/03/3-main-barriers-to-a-complete-03-release-of-the-source-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/427152eee55f233ab9e2982c60c74424?s=96&#38;d=identicon" medium="image">
			<media:title type="html">lukasblakk</media:title>
		</media:content>
	</item>
		<item>
		<title>Source Server home stretch&#8230;on the road to mere python coding</title>
		<link>http://crashopensource.wordpress.com/2007/12/02/source-server-home-stretchon-the-road-to-mere-python-coding/</link>
		<comments>http://crashopensource.wordpress.com/2007/12/02/source-server-home-stretchon-the-road-to-mere-python-coding/#comments</comments>
		<pubDate>Sun, 02 Dec 2007 04:13:43 +0000</pubDate>
		<dc:creator>Lukas Blakk</dc:creator>
				<category><![CDATA[altering code]]></category>
		<category><![CDATA[dps909]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[source server]]></category>
		<category><![CDATA[success]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://crashopensource.wordpress.com/2007/12/02/source-server-home-stretchon-the-road-to-mere-python-coding/</guid>
		<description><![CDATA[Huge changes since last night&#8217;s post.  
I can insert a .stream file (see previous post for what a .stream file data block contains) into an unindexed .pdb file via pdbstr -w as long as it has certain variables. 
I still need to test what the minimum info needed is, right now I just copied [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=crashopensource.wordpress.com&blog=1693221&post=79&subd=crashopensource&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Huge changes since last night&#8217;s post.  </p>
<p>I can insert a .stream file (see previous post for what a .stream file data block contains) into an unindexed .pdb file via pdbstr -w as long as it has certain variables. </p>
<p>I still need to test what the minimum info needed is, right now I just copied and pasted from one that works.  I will slowly delete variables from it until it doesn&#8217;t work anymore.</p>
<p>Using cvs to pull a specific revision of a file looks like this:  cvs export -r 1.23 filename</p>
<p>So &#8211; in my test.pdb.stream file I changed the CVS_EXTRACT_CMD to :</p>
<blockquote><p>CVS_EXTRACT_CMD=%fnchdir%(%CVS_WORKINGDIR%)cvs.exe -d %fnvar%(%var2%) export -r %var4% -d %cvsdatetarg% %var3%</p></blockquote>
<p>(p.s. %var#% are based on * delimited text in the source files section)</p>
<p>In the source files, i add a source file that contains cvs in the symbol file<br />
like so:</p>
<blockquote><p>
SRCSRV: source files &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
c:\ff\mozilla\accessible\public\msaa\AccessibleMarshal.def*MYSERVER*mozilla/accessible/public/msaa/AccessibleMarshal.def*1.3
</p></blockquote>
<p>Then, when I write that to the accessiblemarshal.pdb file followed by a call to srctool -f on that .pdb file, I am greeted with a source indexed file that contains the cvs command that the source server will use to extract the source code when the time comes.</p>
<p>The result looks like this:</p>
<blockquote><p>
[c:\ff\mozilla\accessible\public\msaa\AccessibleMarshal.def] cmd: cvs.exe -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot export -r 1.3 -d 12-01-07 mozilla/accessible/public/msaa/AccessibleMarshal.def</p>
<p>c:\ff\mozilla\objdir_debugInfo\dist\crashreporter-symbols\2007120119\accessiblemarshal.pdb\8EEE4D7316254E22AE3D99EB4082744C3\accessiblemarshal.pdb: 1 source files are indexed &#8211; 199 are not
</p></blockquote>
<p>So now I need to learn how best to add this into the <a href="http://mxr.mozilla.org/mozilla/source/toolkit/crashreporter/tools/symbolstore.py">symbolstore.py</a> file.</p>
<p>My first instinct is to add something in the ProcessFile function that keeps track of all the files that start with cvs, they look like this:</p>
<blockquote><p>
FILE 2 cvs:cvs-mirror.mozilla.org/cvsroot:mozilla/accessible/public/msaa/AccessibleMarshal.def:1.3<br />
FILE 3 c:/program files/microsoft visual studio 8/vc/platformsdk/include/RpcNsi.h
</p></blockquote>
<p>I already did a little playing around with the python script and was able to insert some <a href="http://mxr.mozilla.org/mozilla/source/toolkit/crashreporter/tools/symbolstore.py#383">code here</a> where I wrote if filename.startswith(&#8220;cvs&#8221;) then some debug statement to see that I could in fact catch the right lines (which I did).</p>
<p>So let&#8217;s break it down:</p>
<ol>
<li>I need to track all lines that start with &#8220;cvs&#8221; and then turn these into proper file paths</li>
<li>I need a (minimal) template .pdb.stream file that I can write the source file paths to in source files section</li>
<li>Then I will call pdbstr -w and write that .pdb.stream (each named for the pdb it will write to) to the appropriate pdb file</li>
</ol>
<p>The final hurdle &#8211; learn to write good python code to make this all happen.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/crashopensource.wordpress.com/79/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/crashopensource.wordpress.com/79/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/crashopensource.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/crashopensource.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/crashopensource.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/crashopensource.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/crashopensource.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/crashopensource.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/crashopensource.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/crashopensource.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/crashopensource.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/crashopensource.wordpress.com/79/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=crashopensource.wordpress.com&blog=1693221&post=79&subd=crashopensource&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://crashopensource.wordpress.com/2007/12/02/source-server-home-stretchon-the-road-to-mere-python-coding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/427152eee55f233ab9e2982c60c74424?s=96&#38;d=identicon" medium="image">
			<media:title type="html">lukasblakk</media:title>
		</media:content>
	</item>
		<item>
		<title>Moving pdbstr.exe into the mozilla environment</title>
		<link>http://crashopensource.wordpress.com/2007/12/01/moving-pdbstrexe-into-the-mozilla-environment/</link>
		<comments>http://crashopensource.wordpress.com/2007/12/01/moving-pdbstrexe-into-the-mozilla-environment/#comments</comments>
		<pubDate>Sat, 01 Dec 2007 05:09:03 +0000</pubDate>
		<dc:creator>Lukas Blakk</dc:creator>
				<category><![CDATA[open-source]]></category>
		<category><![CDATA[symbol server]]></category>

		<guid isPermaLink="false">http://crashopensource.wordpress.com/2007/12/01/moving-pdbstrexe-into-the-mozilla-environment/</guid>
		<description><![CDATA[Working on 0.3 release of source server is all about getting the pdb files gathered up when symbolstore.py is made and then feeding them to pdbstr.exe.  I&#8217;ve copied the binary into the mozilla/toolkit/crashreporter/tools folder where symbolstore.py is called and I&#8217;ve spent the last 4 hours or so playing around with python.
So far I have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=crashopensource.wordpress.com&blog=1693221&post=78&subd=crashopensource&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Working on 0.3 release of source server is all about getting the pdb files gathered up when symbolstore.py is made and then feeding them to pdbstr.exe.  I&#8217;ve copied the binary into the mozilla/toolkit/crashreporter/tools folder where symbolstore.py is called and I&#8217;ve spent the last 4 hours or so playing around with python.</p>
<p>So far I have learned this:</p>
<p>1. <strong>THIS IS WRONG, PLEASE IGNORE</strong> That I can call pdbstr.exe on an unindexed pdb file and it will in fact read and generate a data block that has all the information needed to set up the cvs cmd calls &#8211; see this output from calling pdbstr -r -p:thepdbfile -s:srcsrv &gt; thepdbfile.stream <strong>** for corrections see next post ** </strong></p>
<p>2.  The next part would be to write this block back to the pdb file i think &#8211; so that it&#8217;s available to the source server</p>
<p>This is what calling pdbstr -r gets me:<br />
<code><br />
SRCSRV: ini ------------------------------------------------<br />
VERSION=2<br />
INDEXVERSION=2<br />
VERCTRL=http<br />
DATETIME=Tue Nov 27 03:56:53 2007<br />
SRCSRV: variables ------------------------------------------<br />
CVSDATE=11/25/07<br />
CVSDATETARG=11-25-07<br />
CVS_WORKINGDIR=%targ%\%var2%\%fnbksl%(%var3%)<br />
SRCSRVVERCTRL=http<br />
MYSERVER=:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot<br />
HTTP_ALIAS=http://avnerd.tv/source<br />
HTTP_ALIAS=http://avnerd.tv/source<br />
HTTP_EXTRACT_TARGET=%HTTP_ALIAS%/%var2%/%var3%/%var4%/%fnfile%(%var1%)<br />
SRCSRVTRG=%http_extract_target%<br />
SRCSRVCMD=<br />
SRCSRV: source files ---------------------------------------<br />
c:\ffDebug\mozilla\accessible\public\msaa\AccessibleMarshal.def*MYSERVER*mozilla/accessible/public/msaa/AccessibleMarshal.def*1.3<br />
SRCSRV: end ------------------------------------------------<br />
</code></p>
<p>So the next goal is to successfully keep a list in symbolstore.py of all the pdb so that pdbstr can be called on them.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/crashopensource.wordpress.com/78/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/crashopensource.wordpress.com/78/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/crashopensource.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/crashopensource.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/crashopensource.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/crashopensource.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/crashopensource.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/crashopensource.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/crashopensource.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/crashopensource.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/crashopensource.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/crashopensource.wordpress.com/78/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=crashopensource.wordpress.com&blog=1693221&post=78&subd=crashopensource&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://crashopensource.wordpress.com/2007/12/01/moving-pdbstrexe-into-the-mozilla-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/427152eee55f233ab9e2982c60c74424?s=96&#38;d=identicon" medium="image">
			<media:title type="html">lukasblakk</media:title>
		</media:content>
	</item>
	</channel>
</rss>