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
comment:2 Changed 13 years ago by
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
Resolution: | → fixed |
---|---|
Status: | new → closed |
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.