View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003032 | FSSCP | public | 2014-04-18 10:53 | 2014-04-18 11:17 | |
Reporter | Echelon9 | Assigned To | Echelon9 | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.7.1 | ||||
Target Version | 3.7.2 | Fixed in Version | 3.7.2 | ||
Summary | 0003032: AddressSanitizer: SEGV on unknown address 0x00000000f000 in texture_info::LoadTexture() | ||||
Description | ERROR: AddressSanitizer: SEGV on unknown address 0x00000000f000 (pc 0x7fff8f6ba732 sp 0x7fff5fbf3d80 bp 0x7fff5fbf3d80 T0) #0 0x7fff8f6ba731 in strlen (in libsystem_c.dylib) + 17 0000001 0x1055e83e9 in wrap_strlen _asan_rtl_ 0000002 0x10128c85b in std::char_traits<char>::length char_traits.h:258 0000003 0x10128bf5f in std::basic_string<char, std::char_traits<char>, SCP_vm_allocator<char> >::append basic_string.h:837 0000004 0x1012722ec in std::basic_string<char, std::char_traits<char>, SCP_vm_allocator<char> >::operator+= basic_string.h:782 0000005 0x101e22492 in vsprintf parselo.cpp:3747 0000006 0x101b5a8c4 in outwnd_printf2 outwnd_unix.cpp:168 0000007 0x101549fe8 in texture_info::LoadTexture modelinterp.cpp:4875 0000008 0x10144b6bc in model_load_texture modelread.cpp:2382 0000009 0x101442d92 in read_model_file modelread.cpp:2083 0000010 0x10144e3e4 in model_load modelread.cpp:2498 ... int texture_info::LoadTexture(char *filename, char *dbg_name = "<UNKNOWN>") { if (strlen(filename) + 4 >= NAME_LENGTH) //Filenames are passed in without extension { mprintf(("Generated texture name %s is too long. Skipping...\n")); << HERE return -1; } this->original_texture = bm_load_either(filename, NULL, NULL, NULL, 1, CF_TYPE_MAPS); if(this->original_texture < 0) nprintf(("Maps", "For \"%s\" I couldn't find %s.ani\n", dbg_name, filename)); this->ResetTexture(); return texture; } | ||||
Tags | No tags attached. | ||||
|
Naughty The_E, https://svn.icculus.org/fs2open?view=rev&revision=8341 |
|
Resolved in SVN commit 10567 https://svn.icculus.org/fs2open?view=rev&revision=10567 |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-04-18 10:53 | Echelon9 | New Issue | |
2014-04-18 10:53 | Echelon9 | Status | new => assigned |
2014-04-18 10:53 | Echelon9 | Assigned To | => Echelon9 |
2014-04-18 11:00 | Echelon9 | Note Added: 0015702 | |
2014-04-18 11:17 | Echelon9 | Note Added: 0015703 | |
2014-04-18 11:17 | Echelon9 | Status | assigned => resolved |
2014-04-18 11:17 | Echelon9 | Fixed in Version | => 3.7.2 |
2014-04-18 11:17 | Echelon9 | Resolution | open => fixed |