[Eresi-cvs] ERESI-SVN:984:enioh - Fix segmentation fault
ERESI-SVN Postmaster
elfsh-cvs at grid.einherjar.de
Wed Jun 4 18:06:11 UTC 2008
====Comments====
symptom:
load /bin/ls
print 1.sht[0].type
Segmentation fault
19:55 < maayhme> the type of L2 fields is sometimes let to 0
19:55 < maayhme> which is bad
19:56 < maayhme> type -> ASPECT_TYPE_SHORT
19:56 < maayhme> link -> ASPECT_TYPE_SHORT
19:57 < maayhme> info -> ASPECT_TYPE_SHORT
19:58 < maayhme> same for type and flags in setup_phthash()
19:58 < maayhme> just replace those 0 with ASPECT_TYPE_SHORT everywhere
19:58 < maayhme> and I think it will fix that bug
19:58 < maayhme> I cannot do it by myself cause Im in the middle of a modification for another thing
19:58 < maayhme> alright ?
19:59 < maayhme> L2->type = 0 implies pobj->otype = NULL
19:59 < maayhme> which triggers the bug.
====List of Changes====
You may gain more informations checking out our website:
http://www.eresi-project.org/changeset/984
More information about the eresi-cvs
mailing list