You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SEGFAULT in xerces libraries when removing default instance of SvmTheoreticalSpectrumGenerator [352] #352
If you remove the default instance of SvmTheoreticalSpectrumGenerator in SvmTheoreticalSpectrumGenerator.C some tests fail with segfaults caused by xerces methods like
xercesc_3_0::XMLString::operator new
xercesc_3_0::XMLString::transcode
until we know how to fix this we will leave the default instance in the class.
somewhere if we remove the class. The question of course is where we put the initializer, either we make sure every class remembers to call it in its constructor or we just add it once to the library somewhere to make sure it is always initialized
Activity
timosachsenberg commentedon Oct 13, 2017
I think we should take a look at this issue. Seems to me that this might trigger a global parsing of residueDB
timosachsenberg commentedon Oct 13, 2017
@hroest any idea? I removed the default instance I get several segfaults:
The following tests FAILED:
80 - OnDiscMSExperiment_test (SEGFAULT)
138 - Bzip2InputStream_test (SEGFAULT)
140 - CompressedInputSource_test (SEGFAULT)
153 - GzipInputStream_test (SEGFAULT)
156 - IndexedMzMLDecoder_test (SEGFAULT)
157 - IndexedMzMLFile_test (SEGFAULT)
158 - IndexedMzMLFileLoader_test (SEGFAULT)
171 - MzIdentMLFile_test (SEGFAULT)
175 - MzMLSpectrumDecoder_test (SEGFAULT)
213 - XQuestResultXMLFile_test (SEGFAULT)
2011 - Tutorial_FileIO_mzML (SEGFAULT)
I guess it might not be related to SvmTheoreticalSpectrumGenerator but more generally to XML parsing
timosachsenberg commentedon Oct 13, 2017
for reference a stracktracke:
hmm manager=0x0) at xercesc/util/XMLString.cpp:615
hroest commentedon Oct 16, 2017
It seems like we are missing a
somewhere if we remove the class. The question of course is where we put the initializer, either we make sure every class remembers to call it in its constructor or we just add it once to the library somewhere to make sure it is always initialized
[FIX] ImzMLFile: don't call Xerces Terminate() from noexcept guard dtor
GSoC 2026: imzML Parser in OpenMS (#9454)