Probably caused by all those c-style casts! Grrr!!

On Mon, May 26, 2008 at 9:02 PM, Ryan Neufeld <[EMAIL PROTECTED]> wrote:
> I'd been meaning to learn a little about gdb. Interestingly enough I
> also just read a bit in "beautiful code," the book gifted to me by
> google, on ddd; I will be giving both a try now that I have a good
> reason.
>
> I am on OS X on intel, by the way.
>
> Ryan 'jphr' Neufeld
> ---------------------------
> visit me at hammerofcode.com
>
> On 26-May-08, at 6:03 PM, Tim Ansell wrote:
>
>> On Tue, 2008-05-27 at 09:57 +1200, Lee Begg wrote:
>>> On Tue, 27 May 2008, Ryan Neufeld wrote:
>>>
>>>> tpserver-cpp> network start
>>>>
>>>> I receive the error (as well as a program crash thrown in there):
>>>>
>>>> tpserver-cpp> network startBus Error
>>>
>>> Mac OS X on PPC?
>>>
>>> Bus error indicates an unaligned memory access, generally. Could
>>> you run it in
>>> a debugger (gdb tpserver-cpp and at the prompt type "run") and
>>> figure out
>>> where it is given the bus error please?
>>
>> I recommend learning how you use gdb. It's not the best debugger in
>> the
>> world, but it does help a lot (specially since we do not have a large
>> amount of unit tests). ddd is a fairly good graphical extension, but
>> it's UI model is like nothing else under the sun.
>>
>> The likely cause of this problem is where someone has cast a <void*>
>> to
>> a real type and then tried to read it. You can find more about this
>> problem here -> http://en.wikipedia.org/wiki/Bus_error
>>
>> Tim 'Mithro' Ansell
>>
>> _______________________________________________
>> tp-devel mailing list
>> [email protected]
>> http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel
>
> _______________________________________________
> tp-devel mailing list
> [email protected]
> http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel
>
_______________________________________________
tp-devel mailing list
[email protected]
http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel

Reply via email to