Skip to content

Indexing Freezes on a PHP Script #206

@DeployThemAll

Description

@DeployThemAll

Hello

This is my first day using it and I'm testing it first by indexing a project.

I came here in issues and found other people complaining about this recent issue.

so I decided to rerun the indexing again to find out that it stuck at the same file.

I decided to cancel to share the error and I can share the file if that may help you.

New Text Document.txt

PS C:\Users\Bond> uv run --directory "C:\Users\Bond\serena" index-project "C:\laragon\www\New folder"
Indexing symbols in project C:\laragon\www\New folder
Indexing (add_automatic_cart_clearing.php): 100%|████████████████████████████████████████| 1/1 [00:00<00:00, 48.77it/s]
Windows detected - using nuclear shutdown to prevent zombies
Symbols saved to C:\laragon\www\New folder.serena\cache\php\document_symbols_cache_v20-05-25.pkl
Exception ignored in: <function IocpProactor.del at 0x0000024A2FD5D300>
Traceback (most recent call last):
File "C:\Users\Bond\AppData\Roaming\uv\python\cpython-3.11.13-windows-x86_64-none\Lib\asyncio\windows_events.py", line 923, in del
self.close()
File "C:\Users\Bond\AppData\Roaming\uv\python\cpython-3.11.13-windows-x86_64-none\Lib\asyncio\windows_events.py", line 890, in close
fut.cancel()
File "C:\Users\Bond\AppData\Roaming\uv\python\cpython-3.11.13-windows-x86_64-none\Lib\asyncio\windows_events.py", line 159, in cancel
return super().cancel(msg=msg)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Bond\AppData\Roaming\uv\python\cpython-3.11.13-windows-x86_64-none\Lib\asyncio\base_events.py", line 762, in call_soon
self._check_closed()
File "C:\Users\Bond\AppData\Roaming\uv\python\cpython-3.11.13-windows-x86_64-none\Lib\asyncio\base_events.py", line 520, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
Task was destroyed but it is pending!
task: <Task pending name='Task-3' coro=<LanguageServerHandler.run_forever() running at C:\Users\Bond\serena\src\multilspy\lsp_protocol_handler\server.py:413> wait_for=>
Task was destroyed but it is pending!
task: <Task pending name='Task-4' coro=<LanguageServerHandler.run_forever_stderr() running at C:\Users\Bond\serena\src\multilspy\lsp_protocol_handler\server.py:443> wait_for=>
Exception ignored in: <function BaseSubprocessTransport.del at 0x0000024A2FCE1DA0>
Traceback (most recent call last):
File "C:\Users\Bond\AppData\Roaming\uv\python\cpython-3.11.13-windows-x86_64-none\Lib\asyncio\base_subprocess.py", line 125, in del
_warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Bond\AppData\Roaming\uv\python\cpython-3.11.13-windows-x86_64-none\Lib\asyncio\base_subprocess.py", line 70, in repr
info.append(f'stdin={stdin.pipe}')
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Bond\AppData\Roaming\uv\python\cpython-3.11.13-windows-x86_64-none\Lib\asyncio\proactor_events.py", line 80, in repr
info.append(f'fd={self._sock.fileno()}')
^^^^^^^^^^^^^^^^^^^
File "C:\Users\Bond\AppData\Roaming\uv\python\cpython-3.11.13-windows-x86_64-none\Lib\asyncio\windows_utils.py", line 102, in fileno
raise ValueError("I/O operation on closed pipe")
ValueError: I/O operation on closed pipe
Exception ignored in: <function _ProactorBasePipeTransport.del at 0x0000024A2FCE3600>
Traceback (most recent call last):
File "C:\Users\Bond\AppData\Roaming\uv\python\cpython-3.11.13-windows-x86_64-none\Lib\asyncio\proactor_events.py", line 116, in del
_warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Bond\AppData\Roaming\uv\python\cpython-3.11.13-windows-x86_64-none\Lib\asyncio\proactor_events.py", line 80, in repr
info.append(f'fd={self._sock.fileno()}')
^^^^^^^^^^^^^^^^^^^
File "C:\Users\Bond\AppData\Roaming\uv\python\cpython-3.11.13-windows-x86_64-none\Lib\asyncio\windows_utils.py", line 102, in fileno
raise ValueError("I/O operation on closed pipe")
ValueError: I/O operation on closed pipe
Exception ignored in: <function _ProactorBasePipeTransport.del at 0x0000024A2FCE3600>
Traceback (most recent call last):
File "C:\Users\Bond\AppData\Roaming\uv\python\cpython-3.11.13-windows-x86_64-none\Lib\asyncio\proactor_events.py", line 116, in del
_warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Bond\AppData\Roaming\uv\python\cpython-3.11.13-windows-x86_64-none\Lib\asyncio\proactor_events.py", line 80, in repr
info.append(f'fd={self._sock.fileno()}')
^^^^^^^^^^^^^^^^^^^
File "C:\Users\Bond\AppData\Roaming\uv\python\cpython-3.11.13-windows-x86_64-none\Lib\asyncio\windows_utils.py", line 102, in fileno
raise ValueError("I/O operation on closed pipe")
ValueError: I/O operation on closed pipe
Exception ignored in: <function _ProactorBasePipeTransport.del at 0x0000024A2FCE3600>
Traceback (most recent call last):
File "C:\Users\Bond\AppData\Roaming\uv\python\cpython-3.11.13-windows-x86_64-none\Lib\asyncio\proactor_events.py", line 116, in del
_warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Bond\AppData\Roaming\uv\python\cpython-3.11.13-windows-x86_64-none\Lib\asyncio\proactor_events.py", line 80, in repr
info.append(f'fd={self._sock.fileno()}')
^^^^^^^^^^^^^^^^^^^
File "C:\Users\Bond\AppData\Roaming\uv\python\cpython-3.11.13-windows-x86_64-none\Lib\asyncio\windows_utils.py", line 102, in fileno
raise ValueError("I/O operation on closed pipe")
ValueError: I/O operation on closed pipe
RuntimeError: <_overlapped.Overlapped object at 0x0000024A32C14930> still has pending operation at deallocation, the process may crash
RuntimeError: <_overlapped.Overlapped object at 0x0000024A32C15170> still has pending operation at deallocation, the process may crash
RuntimeError: <_overlapped.Overlapped object at 0x0000024A32C152F0> still has pending operation at deallocation, the process may crash
RuntimeError: <_overlapped.Overlapped object at 0x0000024A32C14B70> still has pending operation at deallocation, the process may crash
RuntimeError: <_overlapped.Overlapped object at 0x0000024A32C14C30> still has pending operation at deallocation, the process may crash

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions