[Bug runtime/11220] arrays can't store MAXSTRINGLEN strings

dsmith at redhat dot com sourceware-bugzilla@sourceware.org
Mon Jan 25 20:19:00 GMT 2010


------- Additional Comments From dsmith at redhat dot com  2010-01-25 20:18 -------
Created an attachment (id=4555)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4555&action=view)
test script that demonstrates the problem

Here's the output from the attached test script:

# stap ../string_array.stp
strings *don't* match!
str:   0:123456789+123456789+123456789+123456789+123456789+123456789 
1:123456789+123456789+123456789+123456789+123456789+123456789 
2:123456789+123456789+123456789+123456789+123456789+123456789 
3:123456789+123456789+123456789+123456789+123456789+123456789 
4:123456789+123456789+123456789+123456789+123456789+123456789 
5:123456789+123456789+123456789+123456789+123456789+123456789 
6:123456789+123456789+123456789+123456789+123456789+123456789 
7:123456789+123456789+123456789+123456789+123456789+123456789
string_array[0]:  
0:123456789+123456789+123456789+123456789+123456789+123456789 
1:123456789+123456789+123456789+123456789+123456789+123456789 
2:123456789+123456789+123456789+123456789+123456789+123456789 
3:123456789+123456789+123456789+123456789+123456789+123456789  4


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11220

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Systemtap mailing list