View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0010616 | mantisbt | attachments | public | 2009-06-22 23:45 | 2011-08-05 02:30 |
| Reporter | sdurkin | Assigned To | atrol | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | unable to reproduce | ||
| Platform | XAMPP for window @GridSense | OS | Windows Server 2003 | OS Version | Enterprise; SP2 |
| Product Version | git trunk | ||||
| Summary | 0010616: Crash on attempt to attach file. | ||||
| Description | When I try to attach a small file to an issue report, I get this error from page bug_file_add.php : APPLICATION ERROR 0000401 Database query failed. Error received from database was #1054: Unknown column 'user_id' in 'field list' for the query: INSERT INTO mantis_bug_file_table My mantis version is "MantisBT 1.2.0a3 2009-06-11-master-d9978e5". I had the release version of Mantis 1.2.0a3 earlier and upgraded to the git version simply by deploying the new files. Was this wrong and the cause of my problem? Should I have gone through the /admin/install.php first? | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
|
I ran through install.php . I can now attach small files (~100k), but at 1Mb I get the following error instead ... APPLICATION ERROR 0000401 Database query failed. Error received from database was 0002006: MySQL server has gone away for the query: INSERT INTO mantis_bug_file_table Note. Schema version = 173 |
|
|
I have updated my installation to 1.2.0cRC1 . After posting this note, I will try to upload the image file to THIS installation. If it works, then maybe I need to upgrade again to the current git. |
|
|
Looks like your attachment upload succeeded. Should we resolve this issue as fixed? |
|
|
No, the issue is not resolved. I tested it just now. This is reproducable. My test is this.
Note, at this time, my installed version of Mantis is: |
|
|
My guess from what you've said is that another unrelated error occurred, and Mantis' error reporting is trying to dump the entire file contents in the backtrace (thus exhausting huge amounts of memory)? |
|
|
Perhaps. The problem is definitely derived from file size though. Below a certain threshold of file size (about 1MB), I consistently can attach without problem. Above the threshold, I consistently get the problem. Because Mantis at www.mantisbt.org doesnt have the problem, but my local installation does, I suspect that does local enviromental issue is at play. I could modify my installation of Mantis to include some appropriate diagnostic information in relation to this issue. Could you give me some hints as to how to go about this? Does Mantis have an in-built logging function that I can leverage for this purpose? |
|
|
sdurkin, this issue is not reproducible with current version of MantisBT. |
|