Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: How to find code error in source given offset in executable

Author: Andrew Williams

Date: 03:53:48 03/08/06

Go up one level in this thread


On March 07, 2006 at 21:07:51, David B Weller wrote:

>My engine has performed a segment fault error at offset 00001e52
>
>How do I find that in the source? Or get close?
>
>I have no idea. Do I have to reverse engineer my own software??? :)
>
>How do you even look at the assembly code of the compiler?
>
>Thanks,
>
>-David

You need to compile with debugging information in the executable. Then you can
run the program under the debugger and it will tell you precisely where it has
crashed.

Andrew



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.