jirentabu / crashrpt

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

Queuing mechanism doesn't get all crash report files and can't store unsent zips and try auto send at same time #158

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
***NOTE*** Please do create a NEW issue per each detected bug! Do not list
all detected problems in single issue record!

What steps will reproduce the problem?
1. Install crashrpt with CR_INST_SEND_QUEUED_REPORTS
2. Turn off internet connection so auto send fails
3. Trigger a crash report in the application

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

The expected output is the full crash zip in <user app data 
local>\CrashRpt\UnsentCrashReports. What I see instead in UnsentCrashReports is 
the crashdump.dmp and crashrpt.xml uncompressed. All my other files that I 
attach to the report are missing. The bug or issue here is the queue mechanism 
doesn't save all the files from the crash report.

The other problem is the inability to store the zip and enable auto sending at 
the same time. The user should be able to try to auto send the report and then 
if that fails find the full zip in UnsentCrashReports and send it manually. 
Enabling zip storage and auto send at once throws an error from crInstall. 

What version of CrashRpt are you using?

1.2.10

What is your version of Visual Studio?

VS 2008 SP1

What is your version of Windows operating system?

Windows 7 x64

Please provide any additional information below.

Thanks for this tool. It is very nice. I just wish a few things were different.

Original issue reported on code.google.com by ABrussZ...@gmail.com on 11 Jul 2012 at 2:35

GoogleCodeExporter commented 9 years ago

Original comment by zexspect...@gmail.com on 15 Jul 2012 at 2:50

GoogleCodeExporter commented 9 years ago
You wrote: "The expected output is the full crash zip in <user app data 
local>\CrashRpt\UnsentCrashReports. What I see instead in UnsentCrashReports is 
the crashdump.dmp and crashrpt.xml uncompressed. "

By default, CrashRpt stores crash report files in uncompressed state. This is 
by design. If you need to store ZIP archives, you probably should use 
CR_INST_STORE_ZIP_ARCHIVES flag. See this page for more information: 
http://crashrpt.sourceforge.net/docs/html/struct_c_r___i_n_s_t_a_l_l___i_n_f_o_w
.html

You wrote: "All my other files that I attach to the report are missing. The bug 
or issue here is the queue mechanism doesn't save all the files from the crash 
report."

You should use CR_AF_MAKE_FILE_COPY flag with crAddFile2() function. See 
this:http://crashrpt.sourceforge.net/docs/html/group___crash_rpt_a_p_i.html#gc7c
157085cda0769968b172ecdd812f2

Original comment by zexspect...@gmail.com on 25 Aug 2012 at 1:05