hellomotor / crashrpt

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

Video missing from report #187

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I've found that if crGenerateErrorReport is called with 
CR_EXCEPTION_INFO::bManual set to true the video isn't added to the report 
produced by the crash sender.
Is there any reason for this behaviour or is it a bug?

Original issue reported on code.google.com by zexspect...@gmail.com on 26 Feb 2013 at 8:45

GoogleCodeExporter commented 9 years ago
I use crGenerateErrorReport() without restarting the application and have 
noticed subsequent calls do not result in the files I expect in the error 
report. 
The first call works fine, all files I have added using crAddFile2 appear in 
the error report. The second call works but the error report doesn't contain 
any extra files.  

I tried to re-add the files after the first call to crGenerateErrorReport() but 
crAddFile2 fails saying the file is already added.

It also looks like the video stops after the first call too.

Original comment by zexspect...@gmail.com on 27 Feb 2013 at 5:50

GoogleCodeExporter commented 9 years ago
On a related note I have also found that if files are added in the crash 
callback and video is enabled, the files don't appear in the report. If video 
is disabled the files make into the report.

The reason I need to add files during the crash callback is that I want to 
capture all files in a directory at the time of a crash but don't know the 
contents of the directory in advance.
The ability to add a directory to the crash report would be handy.

Original comment by zexspect...@gmail.com on 28 Feb 2013 at 1:08

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1584.

Original comment by zexspect...@gmail.com on 28 Feb 2013 at 12:30