Page 1 of 1

1381: Crash on exit [#8057]

Posted: Thu Jun 02, 2011 4:08 am
by A User
Hello guys,

I found a reproducable AV, if MM4 is closed. The error dialog says:

"Access violation at address 0093EDFC in module 'MediaMonkey.exe'. Read of address 00000000

Steps to reproduce:
1. Open MM4
2. Switch to Micro-Player
3. Close MM in Micro-Player Mode

I tried this with the regulare built of MM4 #1381 using Pulse Skin on my Win7x64

Re: 1381: Crash on exit

Posted: Thu Jun 02, 2011 5:28 am
by Pman
I have this problem too :-?

Re: 1381: Crash on exit

Posted: Thu Jun 02, 2011 7:13 am
by A User
... I just found out, after the AV MediaMonkey.exe does not exit. The micro player disapears from the taskbar, but I can still see MediaMonkey.exe in the taskmanager. After my tries, I now have about 7 MediaMonkeys running as zombies in the background.

Re: 1381: Crash on exit

Posted: Thu Jun 02, 2011 11:09 am
by Lowlander
I can't reproduce.

Re: 1381: Crash on exit

Posted: Thu Jun 02, 2011 7:39 pm
by PetrCBR
Install debug build and send a bugreport when AV appear again, please.

Re: 1381: Crash on exit

Posted: Fri Jun 03, 2011 3:18 am
by A User
This is, what I already did yesterday. I installed Debug Built 1382 and tried again the described steps. AV occured -> BUG report sent.
In case you don't find it, I caused the AV again, some minutes ago. It is 100% reproducable on my machine.

As it seems, the skin engine seems to try to update the main form. But it does not exist anymore at this moment, as the application is being closed.

Assembler Information:

Code: Select all

-------------------------------------------------------------------------------
; ViewManage._UpdateMainFormAero (Line=3125 - Offset=1)
; -----------------------------------------------------
0093FAD6  mov     eax, [eax+$1004]
0093FADC  call    SkinWrapper.TSkinWrapper.UpdatePlayerDocking
;
; Line=3126 - Offset=2
; --------------------
0093FAE1  mov     eax, dword ptr [$B796A0]
0093FAE6  mov     eax, [eax]
0093FAE8  mov     edx, [eax]
0093FAEA  call    dword ptr [edx+$0114]
;
; Line=3127 - Offset=3
; --------------------
0093FAF0  mov     eax, dword ptr [$B796A0]
0093FAF5  mov     eax, [eax]
0093FAF7  mov     eax, [eax+$1004]
0093FAFD  mov     eax, [eax+$0C]
0093FB00  mov     edx, [eax]                                    ; <-- EXCEPTION
0093FB02  call    dword ptr [edx+$009C]
;
; Line=3128 - Offset=4
; --------------------
0093FB08  pop     ebp
0093FB09  ret

Registers:
-----------------------------
EAX: 00000000   EDI: 01FEF940
EBX: 0059F898   ESI: 007D71F8
ECX: 00000020   ESP: 01FEF844
EDX: 043517B0   EIP: 0093FB00
Call Stack Information of the Thread, the Exception occured in:

Code: Select all

----------------------------------------------------------------------------------------------------
|Address |Module         |Unit              |Class          |Procedure/Method           |Line      |
----------------------------------------------------------------------------------------------------
|*Exception Thread: ID=3968; Priority=0; Class=; [Main]                                            |
|--------------------------------------------------------------------------------------------------|
|0093FB00|MediaMonkey.exe|ViewManage.pas    |               |_UpdateMainFormAero        |3127[3]   |
|0093FACC|MediaMonkey.exe|ViewManage.pas    |               |_UpdateMainFormAero        |3124[0]   |
|0071DBD4|MediaMonkey.exe|TabsManager.pas   |TTabsManager   |UpdateTabsControlVisibility|1250[2]   |
|0071DBC0|MediaMonkey.exe|TabsManager.pas   |TTabsManager   |UpdateTabsControlVisibility|1248[0]   |
|007F7B8C|MediaMonkey.exe|MP3Datab.pas      |TFMainWindow   |PrepareDockedVideo         |20303[29] |
|007F7990|MediaMonkey.exe|MP3Datab.pas      |TFMainWindow   |PrepareDockedVideo         |20274[0]  |
|00888C90|MediaMonkey.exe|FullPlayer.pas    |TFullPlayer    |_Stop                      |2430[57]  |
|00888A24|MediaMonkey.exe|FullPlayer.pas    |TFullPlayer    |_Stop                      |2373[0]   |
|008889D3|MediaMonkey.exe|FullPlayer.pas    |TFullPlayer    |Stop                       |2357[2]   |
|008889BC|MediaMonkey.exe|FullPlayer.pas    |TFullPlayer    |Stop                       |2355[0]   |
|007D6B4D|MediaMonkey.exe|MP3Datab.pas      |TFMainWindow   |FormClose                  |8338[107] |
|004F3A31|MediaMonkey.exe|Forms.pas         |TCustomForm    |DoClose                    |3680[1]   |
|00406050|MediaMonkey.exe|System.pas        |               |_CallDynaInst              |9882[1]   |
|004F9795|MediaMonkey.exe|Forms.pas         |TCustomForm    |Close                      |6532[12]  |
|004F9728|MediaMonkey.exe|Forms.pas         |TCustomForm    |Close                      |6520[0]   |
|007DD971|MediaMonkey.exe|MP3Datab.pas      |TFMainWindow   |Exit1Click                 |10908[7]  |
|007DD930|MediaMonkey.exe|MP3Datab.pas      |TFMainWindow   |Exit1Click                 |10901[0]  |
|007E0653|MediaMonkey.exe|MP3Datab.pas      |               |__CloseApplication         |11762[7]  |
|007F6DB4|MediaMonkey.exe|MP3Datab.pas      |TFMainWindow   |WMAppMessage               |20026[5]  |
|00517B3F|MediaMonkey.exe|Controls.pas      |TControl       |WndProc                    |7232[91]  |
|005177E0|MediaMonkey.exe|Controls.pas      |TControl       |WndProc                    |7141[0]   |
|0051D2D4|MediaMonkey.exe|Controls.pas      |TWinControl    |WndProc                    |10015[144]|
|0051CD10|MediaMonkey.exe|Controls.pas      |TWinControl    |WndProc                    |9871[0]   |
|004F4622|MediaMonkey.exe|Forms.pas         |TCustomForm    |WndProc                    |4073[202] |
|004F3FC8|MediaMonkey.exe|Forms.pas         |TCustomForm    |WndProc                    |3871[0]   |
|007EF8B7|MediaMonkey.exe|MP3Datab.pas      |TFMainWindow   |WndProc                    |17467[8]  |
|0051C89C|MediaMonkey.exe|Controls.pas      |TWinControl    |MainWndProc                |9731[3]   |
|756F0D48|USER32.dll     |                  |               |CallWindowProcW            |          |
|756F0D32|USER32.dll     |                  |               |CallWindowProcW            |          |
|0066043C|MediaMonkey.exe|CoolTrayIcon.pas  |TCoolTrayIcon  |HookFormProc               |1005[50]  |
|004476FC|MediaMonkey.exe|Classes.pas       |               |StdWndProc                 |13164[8]  |
|00406020|MediaMonkey.exe|System.pas        |               |FindDynaMethod             |9832[1]   |
|00406054|MediaMonkey.exe|System.pas        |               |_CallDynaInst              |9885[4]   |
|756E7885|USER32.dll     |                  |               |DispatchMessageW           |          |
|756E787B|USER32.dll     |                  |               |DispatchMessageW           |          |
|004FF71B|MediaMonkey.exe|Forms.pas         |TApplication   |ProcessMessage             |10039[30] |
|004FF5BC|MediaMonkey.exe|Forms.pas         |TApplication   |ProcessMessage             |10009[0]  |
|004FF7EF|MediaMonkey.exe|Forms.pas         |TApplication   |HandleMessage              |10091[1]  |
|004FF7E0|MediaMonkey.exe|Forms.pas         |TApplication   |HandleMessage              |10090[0]  |
|004FFB93|MediaMonkey.exe|Forms.pas         |TApplication   |Run                        |10228[26] |
|004FFAC0|MediaMonkey.exe|Forms.pas         |TApplication   |Run                        |10202[0]  |
|00B5DAE6|MediaMonkey.exe|MediaMonkey.dpr   |               |                           |503[177]  |
|755C33C8|kernel32.dll   |                  |               |GetEnvironmentVariableA    |          |
|--------------------------------------------------------------------------------------------------|

Re: 1381: Crash on exit [#8057]

Posted: Wed Jun 29, 2011 4:51 pm
by rusty
I'm unable to replicate, but I've entered a bug at http://www.ventismedia.com/mantis/view.php?id=8057 .

btw, is this still occurring with the most recent beta builds of MM4 ?

Thanks.

-Rusty

Re: 1381: Crash on exit [#8057]

Posted: Wed Jun 29, 2011 5:08 pm
by Pman
rusty wrote:I'm unable to replicate, but I've entered a bug at http://www.ventismedia.com/mantis/view.php?id=8057 .

btw, is this still occurring with the most recent beta builds of MM4 ?

Thanks.

-Rusty
Problems cured in recent builds! You can take it off the bugs list.