Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-17551

Ardour hangs at the first start (GTK2 issue).

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • Win32SS
    • None

    Description

      Build: ReactOS 0.4.15-x86-dev (Build 20210425-0.4.15-dev-2374-g66f6abf) (Commit 66f6abfc4ad866aa56bcb1fe057ce18d13cc51e9)

      FS: Fat32

      Steps to reproduce the issue:

      1. Install ReactOS. Optional install the audio driver.
      2. Install the DAW - Ardour 32 bits (available here): https://archive.org/download/Ardour5.12.0W32Setup1/Ardour-5.12.0-w32-Setup%20%281%29.exe
      3. Run the Ardour software for the first time.

      Expected behavior: Run ok as Windows XP or Windows 2003.

      ReactOS behavior: The window hangs, the system can't continue the first running of the program and you have to use the task manager to finish it.

      The issue IMO is located around this log spam:

      (/win32ss/gdi/ntgdi/bitblt.c:382) trace: Locking DCs
      (...)
      (/win32ss/user/ntuser/windc.c:924) trace: BC65B358 8A0101AF
      (/win32ss/user/ntuser/windc.c:317) trace: Exit!!!!! DCX_CACHE!!!!!!   hDC-> 8A0101AF 
      (...)
      0528:trace:(/dll/win32/shell32/folders/CFSFolder.cpp:852) (002668A8)->(pidl=0026668D,00000000,
      	{000214e6-0000-0000-c000-000000000046} (IID_IShellFolder),0022FAA8)
      0528:trace:(/dll/win32/shell32/wine/pidl.c:1893) (0026668D)
      0528:trace:(/dll/win32/shlwapi/path.c:199) (0022EFC8,L"C:\\",L"Documents and Settings")
      0528:trace:(/dll/win32/shlwapi/path.c:1580) (L"Documents and Settings")
      0528:trace:(/dll/win32/shlwapi/path.c:298) (L"C:\\")
      0528:trace:(/dll/win32/shlwapi/path.c:2450) (0022EFC8,L"C:\\Documents and Settings")
      0528:trace:(/dll/win32/shell32/wine/pidl.c:1893) (0026668D)
      0528:trace:(/dll/win32/shell32/wine/pidl.c:258) pidl=0026668D
      -------- pidl=0026668D
      0528:trace:(/dll/win32/shell32/wine/pidl.c:1893) (0026668D)
      0528:trace:(/dll/win32/shell32/wine/pidl.c:1886) (0026668D)
      [0026668D] size=0114 type=31 attr=0x00000010 name="Documents and Settings" ("Documents and Settings","DOCUME~1")
      0528:trace:(/dll/win32/shell32/wine/pidl.c:1893) (002666FF)
      0528:trace:(/dll/win32/shell32/wine/pidl.c:1886) (002666FF)
      [002666FF] size=0076 type=31 attr=0x00000010 name="All Users" ("All Users","ALLUSE~1")
      0528:trace:(/dll/win32/ole32/ifs.c:178) (116)
      (...)
      058c:trace:(/win32ss/user/user32/windows/class.c:1041) 000401A0 class/atom: gdkWindowToplevel/0000 3c
      (/win32ss/user/ntuser/window.c:4348) trace: Enter NtUserInternalGetWindowText
      (/win32ss/user/ntuser/window.c:4394) trace: Leave NtUserInternalGetWindowText, ret=6
      058c:trace:(/win32ss/user/user32/windows/spy.c:2675)  (000401A0)  DefWindowProc: [0084] WM_NCHITTEST returned 00000001
      (/win32ss/user/ntuser/winpos.c:3792) trace: Leave NtUserWindowFromPoint, ret=000401A0
      

      The thing that in the workarounded won't fail:

      (/win32ss/gdi/ntgdi/bitblt.c:382) trace: Locking DCs
      (/win32ss/user/ntuser/simplecall.c:151) trace: Enter NtUserCallOneParam
      (/win32ss/user/ntuser/windc.c:924) trace: 00000000 0C0100A2
      (/win32ss/user/ntuser/windc.c:317) trace: Exit!!!!! DCX_CACHE!!!!!!   hDC-> 0C0100A2 
      (/win32ss/user/ntuser/simplecall.c:414) trace: Leave NtUserCallOneParam, ret=00000001
      (/win32ss/user/ntuser/simplecall.c:151) trace: Enter NtUserCallOneParam
      (/win32ss/user/ntuser/simplecall.c:414) trace: Leave NtUserCallOneParam, ret=00000001
      (/win32ss/user/ntuser/winpos.c:3147) trace: Enter NtUserChildWindowFromPointEx
      (/win32ss/user/ntuser/winpos.c:3154) trace: Leave NtUserChildWindowFromPointEx
      (/win32ss/user/ntuser/simplecall.c:151) trace: Enter NtUserCallOneParam
      (/win32ss/user/ntuser/simplecall.c:414) trace: Leave NtUserCallOneParam, ret=00220002
      (/win32ss/user/ntuser/simplecall.c:151) trace: Enter NtUserCallOneParam
      (/win32ss/user/ntuser/message.c:548) trace: IdlePing ppi B404A510
      (/win32ss/user/ntuser/message.c:551) trace: InputIdleEvent
      (/win32ss/user/ntuser/simplecall.c:414) trace: Leave NtUserCallOneParam, ret=00000644
      (/win32ss/user/ntuser/simplecall.c:63) trace: Enter NtUserCallNoParam
      (/win32ss/user/ntuser/message.c:561) trace: IdlePong ppi B404A510
      (/win32ss/user/ntuser/simplecall.c:133) trace: Leave NtUserCallNoParam, ret=00000001
      (/win32ss/user/ntuser/message.c:561) trace: IdlePong ppi B404A510
      (/win32ss/user/ntuser/msgqueue.c:1376) trace: Post Message 1
      (/win32ss/user/ntuser/msgqueue.c:270) trace: UpdateKeyStateFromMsg message:512
      (/win32ss/user/ntuser/msgqueue.c:1509) trace: Got mouse message for 00000000, hittest: 0x1
      (/win32ss/user/ntuser/event.c:191) trace: IntNotifyWinEvent GlobalEvents = 00000000 pWnd 00000000
      (/win32ss/user/ntuser/msgqueue.c:750) trace: Post Destroy 1
      (/win32ss/user/ntuser/message.c:548) trace: IdlePing ppi B404A510
      (/win32ss/user/ntuser/message.c:551) trace: InputIdleEvent
      (/win32ss/user/ntuser/message.c:561) trace: IdlePong ppi B404A510
      05d8:trace:(/win32ss/user/user32/windows/message.c:1765) HWND 0017017E, MSG 512, WPARAM 00000001, LPARAM 00BB00D8, Ansi 0
      (/win32ss/user/ntuser/simplecall.c:63) trace: Enter NtUserCallNoParam
      (/win32ss/user/ntuser/simplecall.c:133) trace: Leave NtUserCallNoParam, ret=0114011E
      (/win32ss/user/ntuser/winpos.c:3762) trace: Enter NtUserWindowFromPoint
      (/win32ss/user/ntuser/callback.c:300) trace: co_IntCallWindowProc(Proc 6C37ED3C, IsAnsiProc: FALSE, Wnd 0017017E, Message 132, wParam 0, lParam 18088222, lParamBufferSize -1)
      (/win32ss/user/ntuser/simplecall.c:63) trace: Enter NtUserCallNoParam
      (/win32ss/user/ntuser/simplecall.c:133) trace: Leave NtUserCallNoParam, ret=0114011E
      05d8:trace:(/dll/win32/uxtheme/system.c:598) 
      05d8:trace:(/win32ss/user/user32/windows/class.c:867) 0017017E -32
      05d8:trace:(/win32ss/user/user32/windows/class.c:1041) 0017017E class/atom: gdkWindowToplevel/0000 3c
      (/win32ss/user/ntuser/window.c:4348) trace: Enter NtUserInternalGetWindowText
      (/win32ss/user/ntuser/window.c:4394) trace: Leave NtUserInternalGetWindowText, ret=15
      05d8:trace:(/win32ss/user/user32/windows/spy.c:2636) (0017017E)  DefWindowProc:[0084] WM_NCHITTEST  wp=00000000 lp=0114011e
      05d8:trace:(/win32ss/user/user32/windows/class.c:867) 0017017E -32
      05d8:trace:(/win32ss/user/user32/windows/class.c:1041) 0017017E class/atom: gdkWindowToplevel/0000 3c
      (/win32ss/user/ntuser/window.c:4348) trace: Enter NtUserInternalGetWindowText
      (/win32ss/user/ntuser/window.c:4394) trace: Leave NtUserInternalGetWindowText, ret=15
      05d8:trace:(/win32ss/user/user32/windows/spy.c:2675)  (0017017E)  DefWindowProc: [0084] WM_NCHITTEST returned 00000001
      (/win32ss/user/ntuser/winpos.c:3792) trace: Leave NtUserWindowFromPoint, ret=0017017E
      (/win32ss/user/ntuser/misc.c:236) trace: Enter NtUserGetThreadState
      (/win32ss/user/ntuser/misc.c:271) trace: THREADSTATE_INSENDMESSAGE
      (/win32ss/user/ntuser/misc.c:322) trace: Leave NtUserGetThreadState, ret=0
      (/win32ss/user/ntuser/simplecall.c:151) trace: Enter NtUserCallOneParam
      (/win32ss/user/ntuser/simplecall.c:414) trace: Leave NtUserCallOneParam, ret=00000001
      (/win32ss/user/ntuser/winpos.c:3147) trace: Enter NtUserChildWindowFromPointEx
      (/win32ss/user/ntuser/winpos.c:3154) trace: Leave NtUserChildWindowFromPointEx
      

      Attachments

        1. ReactOS-Ardour.webm
          513 kB
        2. Frankenstein ROS- Ardour OK.webm
          451 kB
        3. Frankenstein ROS- Ardour OK.log
          121 kB
        4. Ardour ReactOS.png
          Ardour ReactOS.png
          49 kB
        5. Ardour ReactOS.log
          167 kB
        6. Ardour debug user32 workaround.log
          65 kB
        7. Ardour debug user32 real.log
          49 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              julenuri julenuri
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: