After seeing strange crashes in xmlFreeTextWriter() on only one platform oldag and me dove into wonders of shared linking.
<oldag> just sit right back, and you'll hear a tale <oldag> a tale of a faitful trip <oldag> if not for the courage of the fearless crew (oldag and jan), the Minnow would be lost! <eric> :) <oldag> so, who LOVES unix shared lib dynamic linking! <eric> you know you can sing that to the tune of "Amazing Grace" ? <oldag> who loves it! <oldag> come on.... * eric jumps up and down <eric> Me! <eric> Me! <eric> Me! <eric> not really. <oldag> so get this <eric> mmm, hmm? <oldag> my xml "writer" was being alloc'd by one xml lib <oldag> and then trying to be freed by another <oldag> and they disagreed on size <mark> With different sized structs :P
One libxml was the system libxml in Mac OS X 10.5 (2.6.22), the other one from MacPorts …
[Read more]