View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007570CDashpublic2008-08-28 10:152009-03-28 17:17
ReporterDan Thill 
Assigned ToJulien Jomier 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version1.0.2 
Target VersionFixed in Version1.4 
Summary0007570: Test submission silently fails when test output is quite large.
DescriptionWhen the output from a test is "large" (for me, it was 7MB), the submission would silently fail (nothing was obvious from the client side). I know there are plans to increase the test.output column to a MEDIUMTEXT or LARGETEXT, so I went ahead and did this myself manually. The failure still occurred. I tracked it down to this:

common.php:add_test
-------------------
 $output = mysql_real_escape_string($output);

It simply never returns from this function. I couldn't find anything in any logs, but this is probably a setup problem on my part--I'm not much of web admin.

I suspect it is a MySQL bug, but it may be something that affects us when the test.output column gets increased. Perhaps there are other ways to sanitize the output?

In the meantime, I was able to just truncate my output to 500k so I could keep going.

Additional InformationServer Version: Apache/2.2.8 (Win32) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g mod_autoindex_color SVN/1.4.6 PHP/5.2.5

Mysql: 5.0.51a
TagsNo tags attached.
Attached Fileszip file icon Test.xml.zip [^] (1,603,106 bytes) 2008-08-28 11:35

 Relationships

  Notes
(0013215)
Julien Jomier (manager)
2008-08-28 10:24

It might be a php memory issue. Could you try to increase the memory_limit variable in your php.ini?
BTW, CDash 1.2 will have a MEDIUMTEXT.
Also, if there is a way to get your xml files that would be great (if you can make them avaiable). Thanks for the report.
(0013216)
Dan Thill (reporter)
2008-08-28 10:48

I already did that--I apologize for forgetting to mention it. I increased all the limits I could find to extremely large values (CDash is just a local install for me to track regression tests).
(0014767)
Julien Jomier (manager)
2009-02-03 13:49

It seems to work with the new parser. It might be a memory issue at the MySQL level though. I tried on my windows box with MySQL 5.0 and it worked. Feel free to reopen if you have more information.

 Issue History
Date Modified Username Field Change
2008-08-28 10:15 Dan Thill New Issue
2008-08-28 10:20 Julien Jomier Status new => assigned
2008-08-28 10:20 Julien Jomier Assigned To => Julien Jomier
2008-08-28 10:24 Julien Jomier Note Added: 0013215
2008-08-28 10:48 Dan Thill Note Added: 0013216
2008-08-28 11:35 Dan Thill File Added: Test.xml.zip
2009-02-03 13:49 Julien Jomier Note Added: 0014767
2009-02-03 13:49 Julien Jomier Status assigned => resolved
2009-02-03 13:49 Julien Jomier Fixed in Version => 1.4
2009-02-03 13:49 Julien Jomier Resolution open => fixed
2009-03-28 17:17 Julien Jomier Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team