View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0002050 | FSSCP | multiplayer | public | 2009-11-24 17:57 | 2011-06-27 09:45 | ||||
Reporter | FUBAR-BDHR | ||||||||
Assigned To | The_E | ||||||||
Priority | normal | Severity | block | Reproducibility | have not tried | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 3.6.11 | ||||||||
Target Version | Fixed in Version | 3.6.13 | |||||||
Summary | 0002050: Standalones crashing - new problem. Looks fs2_open log file related | ||||||||
Description | builds worked yesterday so something must have changed. Getting ERANGE: String error. Please Report. Trying to put into 32 byte buffer: fs2_openship_get_indexed_subsys.log Which is 34 characters if I counted correctly. I don't think the procedure name is supposed to be added to fs2_open though. | ||||||||
Additional Information | 3.6.11 r5685. Worked in 5677. Pretty sure it worked in 5679. Info attached. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files |
|
![]() |
|
FUBAR-BDHR (developer) 2009-11-24 23:48 Last edited: 2009-11-25 00:18 |
OK this may be the strangest bug in the history of FS2_Open. This error seems to be cause by renaming the fs2_open.log file. I renamed it to fs2_openship_get_indexed_subsys.log so I could copy it up to my file server and attach it to another Mantis issue. When I created the new builds and ran them it picked up the renamed log file instead of creating a new fs2_open.log. I deleted the renamed log file and it runs just fine. Now for the even stranger part. This is reproducible. As a test I just renamed fs2_open.log to fs2_open1234567890123456789012345.log. Standalone crashed as soon as I tried to run it. Deleted that log and it ran fine. Update: Standalone not required. |
Zacam (administrator) 2009-11-25 00:30 |
Any file in the DATA dirs that is a recognizable extension for FSO to handle will cause this issue if it's filename exceeds the Range Length. That it just so happens to be a log file in this case is purely incidental. |
The_E (administrator) 2011-06-27 09:25 |
This particular issue can be solved by removing .log from the list of extensions recognized by FSO. Doing that seems to have no other repercussions. |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2009-11-24 17:57 | FUBAR-BDHR | New Issue | |
2009-11-24 17:57 | FUBAR-BDHR | File Added: standalone_logfile.txt | |
2009-11-24 23:48 | FUBAR-BDHR | Note Added: 0011340 | |
2009-11-25 00:18 | FUBAR-BDHR | Note Edited: 0011340 | |
2009-11-25 00:30 | Zacam | Note Added: 0011341 | |
2009-11-25 00:32 | Zacam | Status | new => confirmed |
2011-06-24 00:40 | Zacam | Category | --------- => multiplayer |
2011-06-27 09:25 | The_E | Note Added: 0012730 | |
2011-06-27 09:45 | The_E | Status | confirmed => resolved |
2011-06-27 09:45 | The_E | Fixed in Version | => 3.6.13 |
2011-06-27 09:45 | The_E | Resolution | open => fixed |
2011-06-27 09:45 | The_E | Assigned To | => The_E |