Re: Mysterious crash in LIBC06B4.DLL
- From: Ilya Zakharevich <nospam-abuse@xxxxxxxxx>
- Date: Tue, 18 Aug 2009 04:23:38 +0000 (UTC)
On 2009-08-18, Alex Taylor <mail.me@xxxxxxxxxxxxxxxx> wrote:
Basically, one of the functions deep in the TiMidity engine ("dumpstring"
in readmidi.c, line 477) is calling the function ctl->cmsg(), which is a
pointer to the interface-defined message output function. It calls this
function without trouble, the function completes... and then it blows up
the instant it tries to return to the calling procedure.
As expected with stack memory overrun. You remember that the return
address is stored on top of (local) stack?
I get only: "20202020 Invalid address", and the call stack shown by
IPMD at this point is totally empty.
Spaces overrun the return address.
The thing is, it calls this ctl->cmsg function in many other circumstances
without the slightest trouble. Why this particular circumstance would
blow it up is beyond me.
On entry to cmsg(), set a watchpoint for the current bottom of stack.
This will show you WHO is stomping on stack...
Hope this helps,
Ilya
.
- Follow-Ups:
- Re: Mysterious crash in LIBC06B4.DLL - Fixed
- From: Alex Taylor
- Re: Mysterious crash in LIBC06B4.DLL - Fixed
- References:
- Mysterious crash in LIBC06B4.DLL
- From: Alex Taylor
- Re: Mysterious crash in LIBC06B4.DLL
- From: Ilya Zakharevich
- Re: Mysterious crash in LIBC06B4.DLL
- From: Alex Taylor
- Re: Mysterious crash in LIBC06B4.DLL
- From: Ilya Zakharevich
- Re: Mysterious crash in LIBC06B4.DLL
- From: Alex Taylor
- Re: Mysterious crash in LIBC06B4.DLL
- From: Dave Yeo
- Re: Mysterious crash in LIBC06B4.DLL
- From: Alex Taylor
- Re: Mysterious crash in LIBC06B4.DLL
- From: Dave Yeo
- Re: Mysterious crash in LIBC06B4.DLL
- From: Alex Taylor
- Mysterious crash in LIBC06B4.DLL
- Prev by Date: Re: Mysterious crash in LIBC06B4.DLL
- Next by Date: Re: Mysterious crash in LIBC06B4.DLL
- Previous by thread: Re: Mysterious crash in LIBC06B4.DLL
- Next by thread: Re: Mysterious crash in LIBC06B4.DLL - Fixed
- Index(es):
Relevant Pages
|