sherpa is hosted by Hepforge, IPPP Durham
close Warning: Can't synchronize with repository "(default)" (/hepforge/svn/sherpa does not appear to be a Subversion repository.). Look in the Trac log for more information.
Modify

Opened 14 years ago

Closed 14 years ago

Last modified 10 years ago

#83 closed defect (fixed)

Memory leak in initialisation of Comix vertices

Reported by: Frank Siegert Owned by: Stefan Hoeche
Priority: minor Milestone:
Component: Unknown Version: 0.trunk
Keywords: Cc:

Description

valgrind --leak-check-full reports memory leaks from the initialisation of Comix' vertices:

==4590== 23 bytes in 1 blocks are possibly lost in loss record 88 of 398
==4590==    at 0x402569A: operator new(unsigned int) (vg_replace_malloc.c:255)
==4590==    by 0x4104D05: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.13)
==4590==    by 0x4105977: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned int) (in /usr/lib/libstdc++.so.6.0.13)
==4590==    by 0x41067AC: std::string::reserve(unsigned int) (in /usr/lib/libstdc++.so.6.0.13)
==4590==    by 0x4106DB5: std::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (in /usr/lib/libstdc++.so.6.0.13)
==4590==    by 0x485C6E7: QCD_Vertex_Filler<long double, (char)81>::operator()(COMIX::Model const* const&) const (QCD_Vertices.C:31)
==4590==    by 0x476B4F6: ATOOLS::Getter_Function<void, COMIX::Model const*, std::less<std::string> >::GetObject(COMIX::Model const* const&) const (Getter_Function.C:121)
==4590==    by 0x47E87A0: COMIX::Comix::InitVertices(ATOOLS::Smart_Pointer<COMIX::Model> const&) (Comix.C:144)
==4590==    by 0x47EBC2C: COMIX::Comix::Initialize(std::string const&, std::string const&, MODEL::Model_Base*, BEAM::Beam_Spectra_Handler*, PDF::ISR_Handler*) (Comix.C:164)
==4590==    by 0x4F26E3C: PHASIC::ME_Generators::InitializeGenerators(MODEL::Model_Base*, BEAM::Beam_Spectra_Handler*, PDF::ISR_Handler*) (ME_Generators.C:60)
==4590==    by 0x442D92F: SHERPA::Matrix_Element_Handler::InitializeProcesses(MODEL::Model_Base*, BEAM::Beam_Spectra_Handler*, PDF::ISR_Handler*) (Matrix_Element_Handler.C:259)
==4590==    by 0x43BDFCA: SHERPA::Initialization_Handler::InitializeTheMatrixElements() (Initialization_Handler.C:636)

There are many more like this, from QCD_Vertex_Filler, EW_Vertex_Filler, QED_Vertex_Filler and COMIX::EW_VVH_Getter.

Attachments (0)

Change History (3)

comment:1 Changed 14 years ago by Stefan Hoeche

Resolution: fixed
Status: newclosed

This is solved by r15263.

comment:2 Changed 12 years ago by Frank Siegert

Milestone: rel-old

comment:3 Changed 10 years ago by Stefan Hoeche

Milestone: old

Milestone old deleted

Modify Ticket

Change Properties
Action
as closed The owner will remain Stefan Hoeche.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.