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

Closed 13 years ago

#182 closed defect (fixed)

Sherpa crashes under gcc 4.5.2 with Ubuntu11

Reported by: Frank Krauss Owned by: hoeth
Priority: major Milestone: perfect
Component: Unknown Version: 1.3.0
Keywords: Cc:

Description

Sherpa crashes under gcc 4.5.2 on Ubuntu 11.04.

Reason is the length of the char for the random number status file (status.idTag) - correcting it from 16 to 17 seems to help. Bizarrely, the length of the random id is 16 characters ("Rnd4_G_Marsaglia"). It seems all other system configs are happy with 16, I commit the 17 nevertheless into the sinic branch.

Hendrik suggested to circumvent the problem by morphing the char array into a proper string. This may need a bit of checking ....

I classify this as "major" because it is a major pain in the backside.

Attachments (0)

Change History (3)

comment:1 Changed 13 years ago by Frank Siegert

This had already been fixed on trunk in revision 17368, had it not? It has to be one more than the number of characters due to the termination character.

comment:2 Changed 13 years ago by hoeth

Yes, r17368 fixes this on trunk. Does anybody know why it used to work before? Is this a change in eglibc-2.13 (I'm still on 2.12)?

comment:3 Changed 13 years ago by hoeth

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Action
as closed The owner will remain hoeth.

Add Comment


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

 
Note: See TracTickets for help on using tickets.