<?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/"
	>

<channel>
	<title>Index out of Bounds &#187; crash</title>
	<atom:link href="http://www.jonathanfritz.ca/tag/crash/feed" rel="self" type="application/rss+xml" />
	<link>http://www.jonathanfritz.ca</link>
	<description>the personal portfolio of Jonathan Fritz</description>
	<lastBuildDate>Tue, 24 Aug 2010 01:05:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Going Linux, Once and for All</title>
		<link>http://www.jonathanfritz.ca/hardware/going-linux-once-and-for-all</link>
		<comments>http://www.jonathanfritz.ca/hardware/going-linux-once-and-for-all#comments</comments>
		<pubDate>Wed, 23 Dec 2009 17:12:01 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[amarok]]></category>
		<category><![CDATA[banshee]]></category>
		<category><![CDATA[crash]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[dolphin]]></category>
		<category><![CDATA[fake raid]]></category>
		<category><![CDATA[gstreamer]]></category>
		<category><![CDATA[hard drive]]></category>
		<category><![CDATA[hardware raid]]></category>
		<category><![CDATA[installer]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[kubuntu install]]></category>
		<category><![CDATA[linux experiment]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[raid1]]></category>
		<category><![CDATA[software raid]]></category>
		<category><![CDATA[virtual box]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.jonathanfritz.ca/?p=176</guid>
		<description><![CDATA[With the linux experiment coming to an end, and my Vista PC requiring a reinstall, I decided to take the leap and go all linux all the time. To that end, I&#8217;ve installed Kubuntu on my desktop PC. I would like to be able to report that the Kubuntu install experience was better than the [...]]]></description>
			<content:encoded><![CDATA[<p>With <a href="http://thelinuxexperiment.com/" target="_blank">the linux experiment</a> coming to an end, and my Vista PC requiring a reinstall, I decided to take the leap and go all linux all the time. To that end, I&#8217;ve installed <a href="http://www.kubuntu.org/" target="_blank">Kubuntu</a> on my desktop PC.</p>
<p>I would like to be able to report that the Kubuntu install experience was better than the Debian one, or even on par with a Windows install. Unfortunately, that just isn&#8217;t the case.</p>
<p>My machine contains three 500GB hard drives. One is used as the system drive, while an integrated hardware RAID controller binds the other two together as a RAID1 array. Under Windows, this setup worked perfectly. Under Kubuntu, it crashed the graphical installer, and threw the text-based installer into fits of rage.</p>
<p>With plenty of help from the #kubuntu IRC channel on freenode, I managed to complete the Kubuntu install by running it with the two RAID drives disconnected from the motherboard. After finishing the install, I shut down, reconnected the RAID drives, and booted back up. At this point, the RAID drives were visible from Dolphin, but appeared as two discrete drives.</p>
<p>It was explained to me via <a href="http://ubuntuforums.org/showthread.php?t=408461" target="_blank">this article</a> that the hardware RAID support that I had always enjoyed under windows was in fact a &#8216;fake RAID,&#8217; and is not supported on Linux. Instead, I need to reformat the two drives, and then link them together with a software RAID. More on that process in a later post, once I figure out how to actually do it.</p>
<p>At this point, I have my desktop back up and running, reasonably customized, and looking good. After trying KDE&#8217;s default <a href="http://amarok.kde.org/" target="_blank">Amarok</a> media player and failing to figure out how to properly import an m3u playlist, I opted to use <a href="http://banshee-project.org/" target="_blank">Gnome&#8217;s Banshee</a> player for the time being instead. It is a predictable yet stable iTunes clone that has proved more than capable of handling my library for the time being. I will probably look into Amarok and a few other media players in the future. On that note, if you&#8217;re having trouble playing your MP3 files on Linux, check out <a href="http://ubuntuforums.org/showpost.php?p=6312079&amp;postcount=3" target="_blank">this post</a> on the ubuntu forums for information about a few of the necessary GStreamer plugins.</p>
<p>For now, my main tasks include setting up my RAID array, getting my ergonomic bluetooth wireless mouse working, and working out folder and printer sharing on our local Windows network. In addition, I would like to set up a Windows XP image inside of <a href="http://www.virtualbox.org/" target="_blank">Sun&#8217;s Virtual Box</a> so that I can continue to use Microsoft Visual Studio, the only Windows application that I&#8217;ve yet to find a Linux replacement for.</p>
<p>This is just the beginning of the next chapter of my own personal Linux experiment; stay tuned for more excitement.</p>
<p>This post was mirrored at <a href="http://thelinuxexperiment.com/guinea-pigs/jon-f/going-linux-once-and-for-all/" target="_blank">The Linux Experiment</a></p>
<div class="shr-publisher-176"></div>]]></content:encoded>
			<wfw:commentRss>http://www.jonathanfritz.ca/hardware/going-linux-once-and-for-all/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Outlook, How I Loathe Thee</title>
		<link>http://www.jonathanfritz.ca/software/outlook-how-i-loathe-thee</link>
		<comments>http://www.jonathanfritz.ca/software/outlook-how-i-loathe-thee#comments</comments>
		<pubDate>Wed, 16 Sep 2009 17:45:43 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[barry]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[complaint]]></category>
		<category><![CDATA[crash]]></category>
		<category><![CDATA[desktop manager]]></category>
		<category><![CDATA[evolution mail client]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[function openfolder failed]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[imap]]></category>
		<category><![CDATA[intellisync]]></category>
		<category><![CDATA[internal error #4238]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[mozilla thunderbird]]></category>
		<category><![CDATA[outlook]]></category>
		<category><![CDATA[pop3]]></category>
		<category><![CDATA[pst file]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[rim]]></category>
		<category><![CDATA[settings files]]></category>
		<category><![CDATA[sync]]></category>
		<category><![CDATA[sync failed]]></category>
		<category><![CDATA[the linux experiment]]></category>

		<guid isPermaLink="false">http://jonathanfritz.ca/?p=122</guid>
		<description><![CDATA[I fucking hate Microsoft Outlook. I cannot think up another English language sentiment that more accurately sums up my feelings regarding Microsoft&#8217;s Outlook application. As much as I hate on the Almighty Goog, I long for the days when I could use the simple, clean interface of the superbly well-designed Gmail web application. Then I [...]]]></description>
			<content:encoded><![CDATA[<p>I fucking hate Microsoft Outlook. I cannot think up another English language sentiment that more accurately sums up my feelings regarding Microsoft&#8217;s Outlook application. As much as I hate on the Almighty Goog, I long for the days when I could use the simple, clean interface of the superbly well-designed Gmail web application. Then I went and got myself a Blackberry. All hate aside, I love my phone &#8211; it is the best phone that I&#8217;ve ever carried, and I wouldn&#8217;t consider downgrading if you paid me to do so. However, without an Exchange server, the Blackberry is inexplicably linked to Microsoft Outlook. It is the only well-supported application that the device can sync calendars and contacts with. This, in turn, forces me to use the bloated, cluttered, buggy, and altogether frustrating behemoth that is Outlook.</p>
<p>My current problems began with <a href="http://thelinuxexperiment.com/" target="_blank">The Linux Experiment</a>, a blog that I helped start whose purpose is to record the experiences of seven computer users with varying amounts of Linux experience who have committed to running various distributions of Linux on their primary platforms throughout the next four months. Previously, I had maintained two devices that checked my google mail account &#8211; my Blackberry, which pulled new email down from the server via the <a href="http://en.wikipedia.org/wiki/Imap" target="_blank">IMAP</a> protocol, and Outlook on my Vista PC, which did the same via the <a href="http://en.wikipedia.org/wiki/Pop3" target="_blank">POP3</a> protocol, and immediately deleted the messages once they came down. It was a fine balance that owed its existence to more than a few quirks in the Gmail, Blackberry, and Outlook systems, but in the end ensured that I got my email on both devices, but that it wasn&#8217;t stored on the Gmail servers, which the tinfoil-hat wearing paranoid inside of me greatly appreciated. Unfortunately, I then decided to add a third client to the mix, the <a href="http://en.wikipedia.org/wiki/Evolution_software" target="_blank">Evolution</a> client for Debian Linux, which frankly, is an extremely impressive Outlook clone that seems (initially anyway) to do some things better than Outlook itself.</p>
<p>In order to add a third client to the email mix, I had to remove the fine balance between IMAP and POP3 that had originally existed, and set all three devices up as IMAP clients. Further, Outlook was set to delete all messages on the server that were over 30 days old. This provided some modicum of security, while allowing all three devices to share my email. Along the way, I found out that Evolution actually has the best IMAP support of the bunch, and (unsurprisingly. If there&#8217;s on thing I&#8217;ve learned recently is that Linux does everything, and usually does it right the first time), Outlook the absolute worst that I have ever seen. For easy reference, my various complaints have been summarized into the ordered list presented below:</p>
<ol>
<li>IMAP folders appear outside of the &#8220;Personal Folders&#8221; area, forcing me to maintain multiple email inboxes, instead of allowing me to funnel all of my email into a single inbox. (This may be an issue common to other clients as well &#8211; I honestly don&#8217;t know).</li>
<li>Outlook tends to keep IMAP connections open for too long, resulting in Gmail forcibly closing the connection, and Outlook bitching that said connection was closed by the server. There is no option (that I can find, but hey, have you looked at the option dialogs in Outlook lately?) to adjust this timeout length.</li>
<li>The program does not accurately reflect message status. For example, if I receive an email on my blackberry while away from home and read it, the message status is set to read on the server, and Outlook should reflect this change. It doesn&#8217;t. Evolution does, as does the Blackberry. What the hell?</li>
<li>When an email message is deleted on the Gmail server by another client, Outlook does not delete the message locally &#8211; it simply shows the message with strikethrough formatting on the subject line. In the same vein, when you delete a message in Outlook, there is no way (that I can find) to delete that message from the IMAP server so that it is reflected on other devices.</li>
<li>The Linux Experiment uses a self-signed certificate to verify it&#8217;s identity to connecting mail clients. Granted, this isn&#8217;t how certificates are meant to be used, but it&#8217;s better than nothing, and we don&#8217;t have the money to pay for a CA. Outlook (as one would hope) complains that the certificate is self signed, but lacks an option to ignore this fact. In theory, this is a &#8220;feature&#8221; that notifies a user that their transaction is potentially insecure, but in practice, it&#8217;s a pain in the ass. I know that the email server has a self-signed certificate. I helped set it up. Now shut up and do your job.</li>
</ol>
<p>Those are the big complaints about IMAP support in Outlook. I have other complaints about the application, but they&#8217;re the same as many people&#8217;s and I don&#8217;t want sore fingers, so just Bing the issue if you&#8217;re looking for a half hour rant. The point to take home is that this lackluster support is inexcusable. According to Wikipedia, the IMAP protocol has been in it&#8217;s current revision since 1996, and Gmail is hardly a fly-by-night mail server.</p>
<p>In any case, at the same time that I got everything set up and working between all three devices, Outlook became crash-happy, and started going down three times a day. Sometimes it would crash when I wasn&#8217;t using it at all, sometimes while I was changing account settings, occasionally when I tried to open an email, and even once while I was trying to retrieve email from the Gmail servers. The idea that Outlook (previously rock-solid stable, among it&#8217;s few good attributes) could start regularly crashing for no apparent reason whatsoever seemed far fetched. So what had changed? Well, I&#8217;d added an IMAP account and disabled a POP3 account. These changes modified the Outlook PST files (the unreadable binary blob in which <a href="http://office.microsoft.com/en-us/outlook/HP030822101033.aspx" target="_blank">the program stores everything</a> including it&#8217;s kitchen sink), which could have potentially been corrupted in the process.</p>
<p>So I backed everything up, deleted my PST files, uninstalled and reinstalled Outlook. I did not realize that the program had littered my drive with settings files in both <em>C:\Users\Username\AppData\Roaming\Microsoft\Outlook</em> and <em>C:\Users\Username\AppData\Local\Microsoft\Outlook</em>, as well as (likely) numerous registry keys, and when I launched my fresh install, it attempted to read from these files, and to recreate it&#8217;s missing PST files. Balls. So I closed the application, re-deleted the newly recreated PST files, and also nuked the settings files in the two locations. Upon launching Outlook, it again somehow managed to restore all of my settings, including my RSS feeds and both of my IMAP accounts.</p>
<p>Fine. You restored my settings. Not the via the method that I had hoped, but the effect that I was after has been achieved. The old and possibly corrupted PST files have been recreated, my email accounts are once again being monitored by my Vista PC, and the program hasn&#8217;t crashed yet. Then I tried to sync my Blackberry with Outlook using the RIM Desktop Manager software (an application almost as poorly written as Outlook itself), and the whole house of cards came crashing down. Somehow, whatever I&#8217;d just done absolutely ruined the underlying Intellisync process, and resulted in an error that merely said &#8220;Function OpenFolder failed&#8221; with no further explanation. A quick web search resulted in nothing of value, and the sync process refused to restore my calendar and contacts from the device. The synchronization log files state only that Internal Error #4238 occurred, and that the translation of contacts failed. I Bing&#8217;d up <a href="http://www.blackberryforums.com.au/forums/blackberry-desktop-manager/924-internal-error-4238-transaction-cancelled-microsoft-outlook.html" target="_blank">a post on the Blackberry Forums</a> that instructed me to <a href="http://www.blackberry.com/btsc/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=KB11703&amp;sliceId=SAL_Public&amp;dialogID=32642172&amp;stateId=0%200%2015383841" target="_blank">delete my Intellisync folder</a> to restore my synchronization abilities.</p>
<p>After following the instructions and recreating my sync profile within Desktop Manager, everything worked as expected, and my contacts and calendar were restored to Outlook. Needless to say, this entire enterprise was far more painful than I felt it should be, and only time will tell if I&#8217;ve actually fixed the crash problem, or if it will resurface in a couple of days. Regardless, I will be exploring alternatives with renewed interest. There are plenty of other email/calendar managers out there including <a href="http://www.mozillamessaging.com/en-US/thunderbird/" target="_blank">Mozilla&#8217;s Thunderbird</a>, which I use for my small business and absolutely love. Unfortunately, Blackberry sync is high on my list of requirements from an email client, and so far, Outlook is the only client that can do that reliably without writing a bunch of intermediary code. As a part of the Linux Experiment, I will be looking into the <a href="http://sourceforge.net/projects/barry/" target="_blank">Barry project</a>, which is promising, but seems to be Linux-only.</p>
<p>Stupid Outlook.</p>
<div class="shr-publisher-122"></div>]]></content:encoded>
			<wfw:commentRss>http://www.jonathanfritz.ca/software/outlook-how-i-loathe-thee/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
