sherpa is hosted by Hepforge, IPPP Durham
close Warning:
  • Error with navigation contributor "BrowserModule"
  • Failed to sync with repository "(default)": instance.__dict__ not accessible in restricted mode; repository information may be out of date. Look in the Trac log for more information including mitigation strategies.
Modify

Opened 17 years ago

Closed 17 years ago

Last modified 11 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 17 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 17 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 17 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 13 years ago by Frank Siegert

Milestone: rel-old

comment:5 Changed 11 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.