Project

General

Profile

Actions

Emulator Issues #165

closed

HEAP[DolphinWxD.exe]: HEAP: Free Heap block 4415dc0 modified at 4415e08 after it was freed

Added by moo.wejoin over 16 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

What steps will reproduce the problem?

  1. load zelda wind waker from debug build dolphin

What is the expected output? What do you see instead?
First-chance exception at 0x7c812aeb (kernel32.dll) in DolphinWxD.exe:
Microsoft C++ exception: long at memory location 0x0456f144..
HEAP[DolphinWxD.exe]: HEAP: Free Heap block 4415dc0 modified at 4415e08
after it was freed
Windows has triggered a breakpoint in DolphinWxD.exe.

This may be due to a corruption of the heap, and indicates a bug in
DolphinWxD.exe or any of the DLLs it has loaded.

The output window may have more diagnostic information

What version of the product are you using? On what operating system?
svn trunk r389

Please provide any additional information below.
ntdll.dll!_DbgBreakPoint@0()
ntdll.dll!_RtlpBreakPointHeap@4() + 0x28 bytes
ntdll.dll!_RtlAllocateHeapSlowly@12() + 0x307f0 bytes
ntdll.dll!_RtlDebugAllocateHeap@12() + 0xaf bytes
ntdll.dll!_RtlAllocateHeapSlowly@12() + 0x3064f bytes
ntdll.dll!_RtlAllocateHeap@12() + 0x8e5d bytes
Plugin_DSP_HLED.dll!_heap_alloc_base(unsigned int size=68) Line 105 +
0x28 bytes C
Plugin_DSP_HLED.dll!_heap_alloc_dbg(unsigned int nSize=32, int
nBlockUse=1, const char * szFileName=0x00000000, int nLine=0) Line 411 +
0x9 bytes C++
Plugin_DSP_HLED.dll!_nh_malloc_dbg(unsigned int nSize=32, int nhFlag=0,
int nBlockUse=1, const char * szFileName=0x00000000, int nLine=0) Line 268

  • 0x15 bytes C++
    Plugin_DSP_HLED.dll!malloc(unsigned int nSize=32) Line 154 + 0x15 bytes C++
    Plugin_DSP_HLED.dll!operator new(unsigned int size=32) Line 59 + 0x9
    bytes C++
    Plugin_DSP_HLED.dll!std::_Allocate<short *>(unsigned int _Count=8, short
    • __formal=0x00000000) Line 44 + 0xc bytes C++
      Plugin_DSP_HLED.dll!std::allocator<short *>::allocate(unsigned int
      _Count=8) Line 146 + 0xb bytes C++
      Plugin_DSP_HLED.dll!std::deque<short,std::allocator<short>
      >::_Growmap(unsigned int _Count=8) Line 1214 + 0x15 bytes C++
      Plugin_DSP_HLED.dll!std::deque<short,std::allocator<short>
      >::push_back(const short & _Val=0) Line 820 C++

Plugin_DSP_HLED.dll!std::queue<short,std::deque<short,std::allocator<short>
> >::push(const short & _Val=0) Line 73 C++
Plugin_DSP_HLED.dll!Mixer_PushSamples(short * buffer=0x0ab1f864, int
num_stereo_samples=8, int sample_rate=32000) Line 154 C++
> Plugin_DSP_HLED.dll!DSP_SendAIBuffer(unsigned int address=2154595072, int
sample_rate=32000) Line 239 + 0xf bytes C++
DolphinWxD.exe!DSP::UpdateAudioDMA() Line 455 + 0x14 bytes C++
DolphinWxD.exe!SystemTimers::AudioFifoCallback(unsigned __int64
userdata=0, int cyclesLate=4) Line 112 C++
DolphinWxD.exe!CoreTiming::Advance() Line 316 + 0x3d bytes C++
045b0076()
DolphinWxD.exe!Jit64::EnterFastRun() Line 220 + 0x5 bytes C++
DolphinWxD.exe!Jit64::Core::Run() Line 56 C++
DolphinWxD.exe!PowerPC::RunLoop() Line 159 C++
DolphinWxD.exe!CCPU::Run() Line 60 C++
DolphinWxD.exe!Core::CpuThread(void * pArg=0x00c5bdf8) Line 231 C++
kernel32.dll!_BaseThreadStart@8() + 0x37 bytes

Actions #1

Updated by hrydgard over 16 years ago

Thanks for the report. Interesting.

Actions #2

Updated by hrydgard over 16 years ago

tried to find the bug but failed.. this calls for some valgrinding in linux.

Actions #3

Updated by hrydgard about 16 years ago

  • Status changed from New to Fixed

This was a bug in the DSP_HLE plugin. Fixed.

Actions

Also available in: Atom PDF