hawkeye001 / google-breakpad

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

crash when calling WriteMinidump() #559

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.instantiate an exception_handler object.
2.call exception_handler->WriteMinidump()
3.

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

expect:should be able to write minidump and not crash my application.
instead: write minidump fails and my application crashes.

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

Please provide any additional information below.

I have made a patch for this issue and for the other issue I mentioned in this 
ticket:https://code.google.com/p/google-breakpad/issues/detail?id=527&can=8

Original issue reported on code.google.com by issac.xw...@gmail.com on 9 Jan 2014 at 2:31

Attachments:

GoogleCodeExporter commented 9 years ago
I can not understand why even nobody give a respones?
Anything I miss?

Original comment by issac.xw...@gmail.com on 6 Jun 2014 at 11:34

GoogleCodeExporter commented 9 years ago
It might be helpful to have a small test application to demonstrate the problem.

Original comment by thestig@chromium.org on 6 Jun 2014 at 6:26

GoogleCodeExporter commented 9 years ago
Hi thestig
thanks for your respone!

this not a 100% reproducable problem.
you can take a look at my patch, it is jsut a minor change, and you will 
understand what the problem is.

CrashContext structure is not initialized before use.

ExceptionHandler::HandleSignal() do it differently and correctly.

As for the SIGCHLD problem I had filed an issue about it before:
https://code.google.com/p/google-breakpad/issues/detail?id=527&can=8

and I post a code review request on appspot, Ted Mielczarek helped review it 
but seemed forget about it since then:

https://breakpad.appspot.com/600002/

thanks.

Original comment by issac.xw...@gmail.com on 7 Jun 2014 at 7:09