<div dir="ltr">On 11 October 2013 10:42, Anton Smirnov <span dir="ltr"><<a href="mailto:dev@antonsmirnov.name" target="_blank">dev@antonsmirnov.name</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>10-11 15:35:15.473: ERROR/CLANG_DEBUG(2491): parsing: index=0xbeb06704 filename=./testfile.cpp args_count=0 files_count=1</div>
<div> file=./testfile.cpp</div></div></div></blockquote><div><br></div><div>So, here, the object address was correct, in the array.</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div>// oops, where is filename ? (probably CXIndex at 0xbeb06704 is corrupted for some reason)<br></div><div>10-11 15:35:15.503: ERROR/CLANG_DEBUG(2491): after parse filename: []</div></div></div></blockquote>
<div><br></div><div>Is this from another call? Can you print the address/contents of the array? It might be that the array is pointing to the wrong place, or the array's own address has somehow changed, thus it's not CXIndex that is corrupted, but the array representation.</div>
<div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>
<div>// pack translation unit and return index to java<br></div><div>10-11 15:35:15.503: ERROR/CLANG_DEBUG(2491): hold translationUnit to index=0 (0x656480dc) -> 0xbeb066c8</div></div></div></blockquote><div><br></div>
<div>Is this still the array? The address is different than you use to have earlier.</div><div><br></div><div>cheers,</div><div>--renato</div></div></div></div>