Ok, one more thing I meant to mention....we might want to explore adding an option to build a release version with debug symbols to the build process. This could be useful in the future.
On 7/17/07, Rick McGuire <firstname.lastname@example.org> wrote:
> There's an interesting bug happening with the abs method that's driving me a
> bit nuts on what's going on. Here's a simple program that can reproduce the
> /* Testing Abs() function versus ~abs method */
> test = -43.5009
> postestabsmeth = test~abs
> This only fails with the release build, which is making it difficult to
> debug. I added some printfs to the RexxNumberString::abs() method, and it
> appears to complete without error and return. The crash is trying to
> reference storage location 0xffffffff, so there's probably a loop
> underflowing somewhere. If I can just figure out where it's dying, I can
> probably figure out what's going on. Any suggestions on how to attack this?
One thing I was thinking of was gflags combined with the application
verifier. But, I don't think it will help here. I just used it and
it did not show anything useful.
I had also remembered something about a user mode stack trace database
with gflags and I was thinking that you could unwind the stack from
the crash until you reached the first function in the rexx address
space. Then use the map file to figure out the function from the
address. But, I can't find any good documentation on how works. I
see how to enable it, but I don't see where the trace is being put.
gflags is part of the debugging tools for Windows. Here is a link to
the download page:
Install Debugging Tools for Windows 32-bit Version
Download page for the latest 32-bit packages.
However, it also it not clear to me that any of it will work on a
non-debug version of the image. I swore I had seen something that
referred to using the tools on non-debug images, but I don't see
anything like that now.
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
Oorexx-devel mailing list