Bug 302376 - Long backtrace can exceed 64K comment limit
Summary: Long backtrace can exceed 64K comment limit
Status: RESOLVED DUPLICATE of bug 248807
Alias: None
Product: drkonqi
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-22 22:17 UTC by Maarten ter Huurne
Modified: 2012-06-23 01:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***