[D] Bug tracking help request.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • APWhite
    Adept
    • Jul 2007
    • 244

    [D] Bug tracking help request.

    Hi everyone.

    I have been making an update for the DragonAngband and the DBorg, but I am getting a crash that I can't seem to track down.

    I use Borland's free compiler and it has a very crappy debugger (TD32.exe). That debugger seems to point to a function in borg6.c. The stack seems to be borg_flow_kill() -> borg_flow_clear() and failing in borg_flow_clear(). The error is not very often; but I did manage to get a savefile to reproduce the error in just a few minutes.

    What would also be VERY COOL is if someone could tell me how to load up drangband into Visual Studio 2005. I am not familiar enough with VS2005 to create a project from existing code. I see there is an option for that in VS2005, but when I go to make the build, there is a error with the main_win files.

    Those who have some experience are invited to help me track this down. I have a zip file with the most recent dborg files including the 'crash' savefile. I included the source code if you want to load it up on your favorite compiler.

    Any help is appreciated.

    The source code with the crash file can be found at www.itctel.com/apwhite/download/crash.zip

    If you don't already have the drangband librabry files, they can be found at www.itctel.com/apwhite/download/dr299lib.zip

    Thanks

    Andrew White

    I will copy this message onto the newsgroup as well.
    St George Chiropractor
    Angband Borg Homepage
  • andrewdoull
    Unangband maintainer
    • Apr 2007
    • 872

    #2
    Originally posted by APWhite
    Hi everyone.

    I have been making an update for the DragonAngband and the DBorg, but I am getting a crash that I can't seem to track down.

    I use Borland's free compiler and it has a very crappy debugger (TD32.exe). That debugger seems to point to a function in borg6.c. The stack seems to be borg_flow_kill() -> borg_flow_clear() and failing in borg_flow_clear(). The error is not very often; but I did manage to get a savefile to reproduce the error in just a few minutes.
    Have you tried downloading and using mingw32. There's a sticky on the vanilla forum that includes a link for this.

    Gdb may be more useful in giving you diagnostics.

    Andrew
    The Roflwtfzomgbbq Quylthulg summons L33t Paladins -more-
    In UnAngband, the level dives you.
    ASCII Dreams: http://roguelikedeveloper.blogspot.com
    Unangband: http://unangband.blogspot.com

    Comment

    Working...
    😀
    😂
    🥰
    😘
    🤢
    😎
    😞
    😡
    👍
    👎