| Anonymous | Login | Signup for a new account | 2010-07-29 10:15 EDT | ![]() |
| Main | My View | View Issues | Change Log | Roadmap | Wiki | ManTweet | Repositories |
| View Issue Details [ Jump to Notes ] [ Wiki ] | [ Issue History ] [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0010616 | mantisbt | attachments | public | 2009-06-22 23:45 | 2009-10-28 20:29 | ||||||
| Reporter | sdurkin | ||||||||||
| Assigned To | |||||||||||
| Priority | normal | Severity | crash | Reproducibility | always | ||||||
| Status | new | Resolution | open | ||||||||
| Platform | XAMPP for window @GridSense | OS | Windows Server 2003 | OS Version | Enterprise; SP2 | ||||||
| Product Version | git trunk | ||||||||||
| Target Version | Fixed in Version | ||||||||||
| 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 (bug_id, title, description, diskfile, filename, folder, filesize, file_type, date_added, content, user_id) VALUES (278, '', '', '83d539ad118ffebfef88af65cede9588', 'LINEman_Eng.ini', '', 23, 'application/octet-stream', '1245727506', '[Settings]\r\nPort=COM4\r\n', 2). 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 | |||||||||||
Notes |
|
|
sdurkin (reporter) 2009-06-23 00:12 |
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 (bug_id, title, description, diskfile, filename, folder, filesize, file_type, date_added, content, user_id) VALUES Note. Schema version = 173 |
|
sdurkin (reporter) 2009-08-19 03:53 |
I have updated my installation to 1.2.0cRC1 . When I attempt to attach a jpg file (1.84 MB), Mantis crashes. 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. |
|
vboctor (administrator) 2009-10-27 04:21 |
Looks like your attachment upload succeeded. Should we resolve this issue as fixed? |
|
sdurkin (reporter) 2009-10-27 22:53 |
No, the issue is not resolved. I tested it just now. This is reproducable. My test is this. 1. Create a new issue. 2. Select Upload File | Browse... . Note, on my system the displayed label under "Select File" is "(Max. size: 16,000k)". 3. I select a file to upload. The file has size 2,865,664 bytes . This is under the designated limit. 4. I click the "Upload File" button. 5. Mantis crashes with the following error message: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 6973241 bytes) in D:\Application Services\xampp\htdocs\mantis\core\error_api.php on line 378 Note, at this time, my installed version of Mantis is: MantisBT 1.2.0a3 2009-06-11-master-d9978e5 |
|
dhx (developer) 2009-10-28 19:22 |
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)? |
|
sdurkin (reporter) 2009-10-28 20:29 |
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? |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2009-06-22 23:45 | sdurkin | New Issue | |
| 2009-06-23 00:12 | sdurkin | Note Added: 0022230 | |
| 2009-08-19 03:53 | sdurkin | Note Added: 0022761 | |
| 2009-08-19 03:55 | sdurkin | File Added: 92A.jpg | |
| 2009-10-27 04:21 | vboctor | Note Added: 0023397 | |
| 2009-10-27 04:21 | vboctor | Status | new => feedback |
| 2009-10-27 22:53 | sdurkin | Note Added: 0023426 | |
| 2009-10-27 22:53 | sdurkin | Status | feedback => new |
| 2009-10-28 18:29 | vboctor | Category | bugtracker => attachments |
| 2009-10-28 19:22 | dhx | Note Added: 0023446 | |
| 2009-10-28 20:29 | sdurkin | Note Added: 0023456 | |
| MantisBT 1.2.2 git master-1.2.x[^]
Copyright © 2000 - 2010 MantisBT Group
Time: 0.2040 seconds. memory usage: 1,965 KB |