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 16 years ago

Closed 16 years ago

Last modified 10 years ago

#5 closed defect (fixed)

Uninitialized variable in ATOOLS-2.0.11/Org/My_Root.C

Reported by: Aleksey.Khudyakov@cern.ch Owned by: support@sherpa-mc.de
Priority: minor Milestone:
Component: Unknown Version: 1.0.11
Keywords: Cc:

Description

In file ATOOLS-2.0.11/Org/My_Root.C line 33 variable argcf is not initialized and passed as parameter to TApplication. This may lead to memory corruption and many other "pleasant" thing. Under valgrind program simply segfaults.

P.S. Use valgrind. I've found this bug with it.

Attachments (0)

Change History (5)

comment:1 in reply to:  description Changed 16 years ago by Stefan Hoeche

Summary: Uninitialized variable in ATOOLS-2.0.11/Org/My_Root.CBugfix to be released with new version

Thank you for reporting this problem. It will be fixed in the new Sherpa release 1.1. However, please note that by default Root is not enabled within Sherpa and therefore the problem does not affect the behaviour of the package itself. It is therefore a minor defect.

comment:2 Changed 16 years ago by Stefan Hoeche

Priority: majorminor
Resolution: fixed
Status: newclosed
Summary: Bugfix to be released with new versionUninitialized variable in ATOOLS-2.0.11/Org/My_Root.C

comment:3 Changed 16 years ago by Aleksey.Khudyakov@cern.ch

But this issue should be listed as known problem because this bug can lead to problems in any place of program at any time of execution. IMHO it should be stated that usage of root with sherpa 1.0.11 is not recommended and could lead to problems

comment:4 Changed 12 years ago by Frank Siegert

Milestone: rel-old

comment:5 Changed 10 years ago by Stefan Hoeche

Milestone: old

Milestone old deleted

Modify Ticket

Change Properties
Action
as closed The owner will remain support@sherpa-mc.de.

Add Comment


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

 
Note: See TracTickets for help on using tickets.