bornintelligent / google-breakpad

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

generate GUIDs ahead of time in Linux handler #276

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the linux handler code generates GUIDs right before writing the
minidump. This is problematic because we wind up calling C library
functions like printf in the signal handler. My simple testcase crashes in
printf if we crash on the main thread. With this patch, we pre-generate the
GUID and filename (like the win32 code already does), and things work properly.

Original issue reported on code.google.com by ted.mielczarek on 12 Oct 2008 at 8:14

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in revision 290.

Original comment by ted.mielczarek on 14 Oct 2008 at 11:21