<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Consolas'; font-size:11pt; font-weight:400; font-style:normal;">On Tuesday 10 February 2009, Thiago Macieira wrote:<br>
> Matt Cole wrote:<br>
> >I have a Sun Ultra 10 machine, on which I have KDE 3.5 compiled, up, and<br>
> >running, except for one component -- Arts.  Arts compiles, no problems<br>
> >there, but whenever it starts up, all I get is "Bus error".  I'm fairly<br>
> >new to the Sparc world, but I'm guessing that this is the same as a<br>
> >segfault on the x86 platform.<br>
><br>
> SIGBUS and SIGSEGV are two different signals supported in both platforms.<br>
> They have slightly different meanings, but I can never remember which is<br>
> which. One is access to invalid memory and the other is invalid access to<br>
> valid memory.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>SIGSEGV is invalid memory<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>SIGBUS is misaligned access to valid memory.  x86 platform don't generally see this since the processor/chipset/something fixes up the access at a speed penalty automatically.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>What's probably happening is that some of the arts code needs to have alignment forced to be correct somehow, probably someone is casting out of malloc() or mmap()ed memory instead of using a struct or something.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Regards,<br>
 - Michael Pyne</p></body></html>