Bug 302376

Summary: Long backtrace can exceed 64K comment limit
Product: [Applications] drkonqi Reporter: Maarten ter Huurne <maarten>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mail
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Maarten ter Huurne 2012-06-22 22:17:27 UTC
I tried to report a bug with Dr Konqi, but the API call used to upload the report to the bugs.kde.org server doesn't accept comments over 64K in length. However, this limit includes the size of the backtrace and in this case the backtrace was very long (80 threads with several lines each). The total crash report was 96K in size.

Reproducible: Always

Steps to Reproduce:
1. Make an application with a lot of threads crash.
2. Try to submit the crash report.

Actual Results:  
A dialog displaying an error page from the server saying:

Comments cannot be longer than 65535 characters.
Please press Back and try again.


Expected Results:  
The server accepting the crash report.

One solution would be to increase the 64K limit so the chances of a valid bug report exceeding it are so small it won't happen in practice. Another solution would be to upload the backtrace separately from the other data and apply a different limit to it.

I have KDE 4.8.4 installed, but I don't know which version of Dr Konqi corresponds to that. I couldn't find the executable either to request --version from.
Comment 1 Christoph Feck 2012-06-23 01:10:06 UTC

*** This bug has been marked as a duplicate of bug 248807 ***