beezar / google-breakpad

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

Cannon send both minidump and log files in Mac #517

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. configure sample project to send log file on crash
(with info.plist param BreakpadAppLogFile or directly in the code with 
BreakpadAddLogFile routine)

What is the expected output? What do you see instead?
crash _report sender will prepare incorrect post request.
Second file(log in our case) chunk will not start from the new line
but directly after minidump file. Thus server will fail to parse files.
I have tested with java server part.Apache Commons FileUpload used to parse 
multipart file upload post request. In my case server "saw" both files as one.

What version of the product are you using? On what operating system?
Breakpad rev 1112
Mac Os X 10.7.5
XCode 4.5 (gcc 4.2)

Please provide any additional information below.

I have fixed this problem. patch attached

Original issue reported on code.google.com by rodionma...@gmail.com on 11 Feb 2013 at 2:56

Attachments:

GoogleCodeExporter commented 9 years ago
Yup, the same problem for me:

Breakpad rev 1418
Mac OS X 10.10.2
XCode 6.1.1 (Apple LLVM 6.0)

Original comment by dima.rod...@toptal.com on 17 Feb 2015 at 11:25