flat assembler
Message board for the users of flat assembler.
Index
> Windows > flat assembler not responding |
Author |
|
comrade 02 Sep 2014, 18:29
Please share out a dump file. Instructions are below.
To get a dump of the hanging process:
Then compress it (with 7zip/RAR at maximum settings), upload it to a cloud service (Google Drive, MSFT OneDrive, etc), and share out the link here. Thank you. |
|||
02 Sep 2014, 18:29 |
|
martinfejes 02 Sep 2014, 22:29
comrade wrote: Please share out a dump file. Instructions are below. Thank you for your answer. I have done as you told and here is the dump file: Google Drive Link If I can provide any more info, please tell me. |
|||
02 Sep 2014, 22:29 |
|
shutdownall 03 Sep 2014, 06:57
What happens if you try to save one of the example files before compiling it ?
Couldn't it be a security issue depending on your antivirus kit / sandbox ? Maybe you try to switch it off temporarily. |
|||
03 Sep 2014, 06:57 |
|
martinfejes 03 Sep 2014, 07:09
shutdownall wrote: What happens if you try to save one of the example files before compiling it ? When I tried to open a file from inside the editor to check what you said (file/open) it hangs. The only way I can open a file is double clicking it and letting windows open it with fasmw.exe. Once opened, I can edit and save the file though. Edit: Oh, and I don't have anti-virus or firewall software. |
|||
03 Sep 2014, 07:09 |
|
comrade 03 Sep 2014, 09:09
FASM doesn't seem to be doing anything wrong here. The code is hanging in a shell32 routine that is waiting to acquire a critical section (a mutex), which is currently owned by thread ID 0x3b0. This thread is not in the FASMW process (weird).
Code: 0:000> .effmach x86 Effective machine: x86 compatible (x86) 0:000:x86> .symfix+ 0:000:x86> .load wow64exts 0:000:x86> kbn400 # ChildEBP RetAddr Args to Child 00 000cd94c 772aeca5 000003b0 00000000 00000000 ntdll_77290000!ZwWaitForSingleObject+0xc 01 000cd9c0 772aeb9f 00000002 75884df0 000cda34 ntdll_77290000!RtlpWaitOnCriticalSection+0xd0 02 000cd9ec 772aebcd 000cda10 75260f3d 75884df0 ntdll_77290000!RtlpEnterCriticalSectionContended+0xa0 03 000cd9f4 75260f3d 75884df0 7526dddc 000cde90 ntdll_77290000!RtlEnterCriticalSection+0x42 04 000cda10 752f23bb 000ce0d0 7526ddec 04657ef8 shell32!CMountPoint::GetMountPoint+0x40 05 000cde50 752f228f 000cde80 04668fc8 000ce574 shell32!GetFolderType+0xf4 06 000ce0a4 752f2655 000ce0c0 000ce574 00000000 shell32!CFSFolder::_GetFolderType+0x65 07 000ce0d0 752f260d 000ce564 000ce564 000ce574 shell32!CFSFolderViewCB::OnGetFolderType+0x3e 08 000ce51c 7535c9ca 04ab4e78 0000005e 00000000 shell32!CFSFolderViewCB::RealMessage+0xab 09 000ce540 752f3397 04ab4e78 0000005e 00000000 shell32!CBaseShellFolderViewCB::MessageSFVCB+0x1b 0a 000ce5b0 7526ef14 000004ae 00000002 046af7a0 shell32!CDefView::_ApplySniffedFolderType+0xea 0b 000ce5c0 7526f087 046af7a0 046af898 00010798 shell32!CDefView::_OnItemCountChanged+0x33 0c 000ce63c 752557a2 00010798 000004ae 04b70ee8 shell32!CDefView::WndProc+0x2c1 0d 000ce660 76667834 00010798 000004ae 04b70ee8 shell32!CDefView::s_WndProc+0x48 0e 000ce68c 76667a9a 75255756 00010798 000004ae user32!_InternalCallWinProc+0x23 0f 000ce71c 7666ce71 75255756 00000000 000004ae user32!UserCallWinProcCheckWow+0x184 10 000ce754 6c8c402b 75255756 00010798 000004ae user32!CallWindowProcW+0x83 11 000ce788 76667834 00000000 000004ae 04b70ee8 duser!WndBridge::RawWndProc+0xa9 12 000ce7b4 76667a9a 049d0f80 00010798 000004ae user32!_InternalCallWinProc+0x23 13 000ce844 7666988e 049d0f80 00000000 000004ae user32!UserCallWinProcCheckWow+0x184 14 000ce8b0 76682626 000d04da 00000000 00110724 user32!DispatchMessageWorker+0x208 15 000ce8e0 766826a8 00110724 000ce8fc 00000001 user32!IsDialogMessageW+0x107 16 000ce928 76682f93 00000000 00000001 000d04da user32!DialogBox2+0x176 17 000ce958 76683036 000d04da 74cd2c64 00354268 user32!InternalDialogBox+0x107 18 000ce970 76682ffb 74cd0000 003558d0 000d04da user32!DialogBoxIndirectParamAorW+0x32 19 000ce990 74cd3af4 74cd0000 003558d0 000d04da user32!DialogBoxIndirectParamW+0x1b 1a 000ce9d8 74cef6a0 00000001 00000000 00000000 comdlg32!CFileOpenSave::Show+0x179 1b 000cea04 74cef5f4 000d04da 000cea44 00000000 comdlg32!_InvokeNewFileOpenSave+0x80 1c 000cea2c 74cef54c 0035426c 000ceae4 00343720 comdlg32!_CreateNewFileOpenSaveInProc+0x6b 1d 000cea60 74cef441 00000000 0040b8a0 00343720 comdlg32!NewGetFileName+0xe5 1e 000cea8c 74d08f8e 3591692c 00000000 00410b2b comdlg32!GetFileName+0x97 1f 000cfb68 74d09443 000cfb88 004123a7 0040b8a0 comdlg32!GenericGetFileNameA+0x51f 20 000cfb70 004123a7 0040b8a0 00000000 00410b2b comdlg32!GetSaveFileNameA+0x12 WARNING: Stack unwind information not available. Following frames may be wrong. 21 000cfb88 76667834 000d04da 00000111 00000450 FASMW+0x123a7 22 000cfbb4 76667a9a 00410b2b 000d04da 00000111 user32!_InternalCallWinProc+0x23 23 000cfc44 76699cfe 00410b2b 00000000 00000111 user32!UserCallWinProcCheckWow+0x184 24 000cfcac 766803fc 00ac9fd0 00000000 00000000 user32!SendMessageWorker+0x2cb4e 25 000cfcc8 00411970 000d04da 00000111 00000450 user32!SendMessageA+0x45 26 000cfcf0 76667834 000d04da 00000403 00000000 FASMW+0x11970 27 000cfd1c 76667a9a 00410b2b 000d04da 00000403 user32!_InternalCallWinProc+0x23 28 000cfdac 76699cfe 00410b2b 00000000 00000403 user32!UserCallWinProcCheckWow+0x184 29 000cfe14 766803fc 00ac9fd0 00000000 00000000 user32!SendMessageWorker+0x2cb4e 2a 000cfe30 00412b65 000d04da 00000403 00000000 user32!SendMessageA+0x45 2b 000cfe54 76667834 000d04da 00000111 00000579 FASMW+0x12b65 2c 000cfe80 76667a9a 00410b2b 000d04da 00000111 user32!_InternalCallWinProc+0x23 2d 000cff10 7666988e 00410b2b 00000000 00000111 user32!UserCallWinProcCheckWow+0x184 2e 000cff7c 76678857 000cff98 00410ac2 0040b788 user32!DispatchMessageWorker+0x208 2f 000cff84 00410ac2 0040b788 7636919f fffd8000 user32!DispatchMessageA+0x10 30 000cff98 772da22b fffd8000 367cee3e 00000000 FASMW+0x10ac2 31 000cffdc 772da201 ffffffff 772cf22f 00000000 ntdll_77290000!__RtlUserThreadStart+0x20 32 000cffec 00000000 004106c5 fffd8000 00000000 ntdll_77290000!_RtlUserThreadStart+0x1b 0:000:x86> !cs 75884df0 ----------------------------------------- Critical section = 0x0000000075884df0 (shell32!CMountPoint::_csDL+0x0) DebugInfo = 0x000000000456a160 LOCKED LockCount = 0xFFFFFFFF WaiterWoken = Yes OwningThread = 0x00000000000003b0 RecursionCount = 0x80C LockSemaphore = 0x2 SpinCount = 0xffffffffffffffff 0:000:x86> ~ . 0 Id: 174c.340 Suspend: 1 Teb: fffdb000 Unfrozen 1 Id: 174c.984 Suspend: 1 Teb: fffd5000 Unfrozen 2 Id: 174c.11e4 Suspend: 1 Teb: ffead000 Unfrozen 3 Id: 174c.14f0 Suspend: 1 Teb: ffeaa000 Unfrozen 4 Id: 174c.f24 Suspend: 1 Teb: ffea7000 Unfrozen 5 Id: 174c.17f4 Suspend: 1 Teb: ffea4000 Unfrozen 6 Id: 174c.80c Suspend: 1 Teb: ffea1000 Unfrozen 7 Id: 174c.358 Suspend: 1 Teb: ffe9e000 Unfrozen 8 Id: 174c.83c Suspend: 1 Teb: ffe9b000 Unfrozen 9 Id: 174c.1328 Suspend: 1 Teb: ffe98000 Unfrozen 10 Id: 174c.6e8 Suspend: 1 Teb: ffe95000 Unfrozen 11 Id: 174c.c0 Suspend: 1 Teb: ffe92000 Unfrozen Perhaps we missed a thread here because this dump was generated from a 64-bit process. martinfejes, any chance you could generate a dump again, but this time use a 32-bit version of cdb.exe? (You can get a 32-bit version of cdb.exe from under .\x86 or .\32 directory (forget which it is), or by installing the 32-bit debuggers). Last edited by comrade on 03 Sep 2014, 09:12; edited 1 time in total |
|||
03 Sep 2014, 09:09 |
|
comrade 03 Sep 2014, 09:09
If I had to guess, this hang was due to a misbehaving 3rd-party shell extension.
|
|||
03 Sep 2014, 09:09 |
|
martinfejes 03 Sep 2014, 13:28
comrade wrote:
Here is the dump file made with the 32-bit cdb.exe: drive link By the way, am I doing it the right way? I start fasmw.exe, make it hang and then run cdb.exe from the cmd as you suggested and make a dump file. |
|||
03 Sep 2014, 13:28 |
|
joebo 03 Sep 2014, 15:14
I also started playing with fasm this morning. My virus scanned interrupted fasmw, which appeared to disappear and stall, and then quarantined some items. It might be a similar issue. I excluded fasm from the scanner and all is well.
|
|||
03 Sep 2014, 15:14 |
|
revolution 03 Sep 2014, 22:54
It seems like it is time to delete your AV. It's more of a hindrance than a help.
|
|||
03 Sep 2014, 22:54 |
|
comrade 04 Sep 2014, 03:13
In this dump, the UI thread is hung with the same stack. The critical section information is:
Code: 0:000> !cs 75884df0 ----------------------------------------- Critical section = 0x75884df0 (shell32!CMountPoint::_csDL+0x0) DebugInfo = 0x029d9760 LOCKED LockCount = 0x1 WaiterWoken = No OwningThread = 0x0000035c RecursionCount = 0x1 LockSemaphore = 0x5F4 SpinCount = 0x020007d0 Thread 35c is in the dump: Code: 0:000> ~ . 0 Id: 6e0.123c Suspend: 1 Teb: fffde000 Unfrozen 1 Id: 6e0.bcc Suspend: 1 Teb: fffdb000 Unfrozen 2 Id: 6e0.dec Suspend: 1 Teb: fffd8000 Unfrozen 3 Id: 6e0.9d0 Suspend: 1 Teb: ffeac000 Unfrozen 4 Id: 6e0.1698 Suspend: 1 Teb: ffea9000 Unfrozen 5 Id: 6e0.d68 Suspend: 1 Teb: ffea6000 Unfrozen 6 Id: 6e0.10c0 Suspend: 1 Teb: ffea3000 Unfrozen 7 Id: 6e0.f64 Suspend: 1 Teb: ffea0000 Unfrozen 8 Id: 6e0.16fc Suspend: 1 Teb: ffe9d000 Unfrozen 9 Id: 6e0.560 Suspend: 1 Teb: ffe9a000 Unfrozen 10 Id: 6e0.35c Suspend: 1 Teb: ffe97000 Unfrozen 11 Id: 6e0.7c8 Suspend: 1 Teb: ffe94000 Unfrozen 12 Id: 6e0.bb8 Suspend: 1 Teb: ffe91000 Unfrozen Code: 0:000> ~10s eax=00000000 ebx=04d512e8 ecx=00000000 edx=00000000 esi=04d51128 edi=001b40c0 eip=772ce82c esp=04fafdec ebp=04faff8c iopl=0 nv up ei pl nz na po nc cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000202 ntdll!NtWaitForWorkViaWorkerFactory+0xc: 772ce82c c21400 ret 14h 0:010> kcn400 # 00 ntdll!NtWaitForWorkViaWorkerFactory 01 ntdll!TppWorkerThread 02 kernel32!BaseThreadInitThunk 03 ntdll!__RtlUserThreadStart 04 ntdll!_RtlUserThreadStart This is a threadpool worker thread. Likely something ran on this thread, acquired the critical section, but did not release before exiting. It could be a 3rd-party shell extension. I see the following non-MSFT DLLs loaded in the fasmw.exe process:
Try uninstalling TortoiseSVN and see if it fixes the hang. Before you do that, note down the version number of TortoiseSVN. If this is indeed caused by it, then I would want to check the diff between the version of TortoiseSVN you had installed and the latest version, and see what the bug was. |
|||
04 Sep 2014, 03:13 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.