Skip to content

Instantly share code, notes, and snippets.

View dwaite's full-sized avatar
💭
Wondering what status is for

David Waite dwaite

💭
Wondering what status is for
View GitHub Profile
From 8e2acc84f37094d048ff4ad28e157f5946bea0c3 Mon Sep 17 00:00:00 2001
From: David Waite <[email protected]>
Date: Mon, 30 Nov 2009 10:21:44 -0700
Subject: [PATCH] Write a new quark implementation in C++ for the compiler
Merge bstrlib.h, bstrlib.c into compiler
Eliminate code which was generating problems in the bstring compile, as it is not used by the compiler
---
lib/ext/melbourne/Rakefile | 7 -
lib/ext/melbourne/bstring-license.txt | 29 +
railties/lib/rails/gem_dependency.rb:
def gem_command
case RUBY_PLATFORM
when /win32/
'gem.bat'
when /java/
'jruby -S gem'
else
'gem'
>> require 'oauth'
=> true
>> @consumer=OAuth::Consumer.new( "connect-demo.com", "<secret>", {:site => "http://docs.google.com"})
=> #<OAuth::Consumer:0x1253298 @key="connect-demo.com", @options={:signature_method=>"HMAC-SHA1", :request_token_path=>"/oauth/request_token", :site=>"http://docs.google.com", :authorize_path=>"/oauth/authorize", :access_token_path=>"/oauth/access_token", :scheme=>:header, :http_method=>:post, :oauth_version=>"1.0"}, @secret="<secret>">
>> @consumer.request(:get, '/feeds/documents/private/full?xoauth_requestor_id=dwaite%40connect-demo.com', nil, {:scheme=>:query_string})
=> #<Net::HTTPOK 200 OK readbody=true>
>> response.body
=> "<?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gd='http://schemas.google.com/g/2005'><id>http://docs.google.com/feeds/documents/private/full</id><updated>2009-02-06T21:45:33.511Z</updated><title type='text'>Available Documents - [email protected]<
Object[] a1 = new Object[0];
Object[] b1 = new Object[0];
assertTrue(a1.equals(b1));
%!PS-Adobe-3.0 EPSF-3.0
%APL_DSC_Encoding: UTF8
%APLProducer: (Version 10.5.6 (Build 9G55) Quartz PS Context)
%%Title: (Unknown)
%%Creator: (Unknown)
%%CreationDate: (Unknown)
%%For: (Unknown)
%%DocumentData: Clean7Bit
%%LanguageLevel: 2
%%Pages: 1
Filtering out the data I think is irrelevant, it looks like CoreData is being used for synchronizing bookmarks (rss feeds?) into sqllite, and has some internal error fetching. SIGBUS normally indicates a misaligned memory problem, but it looks like it is using an index as a pointer, or using an index against a null pointer (failure at 0x10).
Based on method names, I would guess this is an error accessing ~/Library/Mail/AvailableFeeds
I have seen a few issues with Mail when safari 4 betas are installed, the older webkit bundled with these has issues that are fixed with newer releases. However, your version string makes me think you are still using the shipping webkit.
-DW
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000010