Community
Participate
Working Groups
I encountered this problem when I was implementing the Array of String support of X10. In conv.c, AIFAddArrayElement(), it only treat character pointer (not string) as complex array element, i.e., element with different size. So I ran into segmentation fault when we try to write those result to the buffer. If I modify both AIFAddArrayElement() and EmptyArrayToAIF() in conv.c for checking of FDS_STRING type in their if statement, it seems fixed the problem. Please see attached patch for more information. Thanks.
Created attachment 181121 [details] fix for the problem
Committed to 4.0 and HEAD.