<div>Hello, </div>
<div> </div>
<div>I am using QT webkit on solaris. When I try to run the example program "previewer", I got a core dump on bus error. It happend on AtomicString.cpp::equal() function. It turns out the 'characters' argument passed in is not aligned by 4-byte. The code here try to speed up by reinterpret_cast it to uint32_t, and do the comparision. As a result, the program crashes with a bus error. </div>
<div> </div>
<div>This 'characters' argument is passed from the 'characters' member of a CSSParserString object. It's UChar *, so not necessary to be aligned by 4-byte.</div>
<div> </div>
<div>My question is, where does the alignment happen that guarantee 'characters' is aligned by 4-byte? I know it must happen at somewhere, but just can't find it. Can anyone help?</div>
<div> </div>
<div>Thanks in advance.</div>
<div> </div>