gmanolache / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

Can't build crash_report.xcodeproj #405

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open crash_report.xcodeproj
2. build crash_report target

What is the expected output? What do you see instead?

error: cannot allocate an object of abstract type 
'google_breakpad::OnDemandSymbolSupplier'

What version of the product are you using? On what operating system?

MacOS 10.6

Original issue reported on code.google.com by aigner.e...@gmail.com on 8 Oct 2010 at 8:27

GoogleCodeExporter commented 9 years ago
I ran into the same problem. It looks like around revision 311 some windoze 
programmer added some functionality to fix exploits on windows and broke the 
mac support. Considering that was in Feb 2009, I guess that means no one at 
Google has built this on a mac since then.

Here is a hacked way to fix the problem. Copy the method GetCStringSymbolData 
from simple_symbol_supplier.cc to on_demand_symbol_supplier.cc.

Then you have to add the files exploitability.cc and 
source_line_resolver_base.cc to the project.

Finally, you have to comment out line 73 of exploitability.cc where some 
bonehead windoze programmer added a dependency on windoze specific code without 
any kind of check for what platform the source is being compiled for. 

Once that's taken care of, the xcode project should compile.

I'm working on a blog post about how to get breakpad working on snow leopard. 
The documentation is severely lacking and it seems most people have passed on 
using breakpad because it was too complicated.

Included with that blog post will be viral-free source code for a servlet to 
store the dump in a SQL database.  That part I've already got working. I might 
end up writing a Foundation tool that accepts http connections and stores the 
data in the database, including the pretty output from crash_report. I'll post 
the article once I've got breakpad working in properly and have had someone 
else do a code review.

Look for it at www.lilback.com/mark/

Original comment by mlilback on 10 Oct 2010 at 3:49

GoogleCodeExporter commented 9 years ago
I have used revision 351 so far, and it has compiled correctly.
http://groups.google.com/group/google-breakpad-dev/browse_thread/thread/e2c1c45d
b952012c

Original comment by aigner.e...@gmail.com on 10 Oct 2010 at 8:56

GoogleCodeExporter commented 9 years ago
Looks like mento fixed this in r717.

Original comment by smokey.ardisson@gmail.com on 7 Nov 2010 at 2:58