question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error on Win8.1x64

See original GitHub issue

Hi!

When I run the aiodns example code on Windows 8.1 x64 (Python 3.5.1; pycares 2.0.1, aiodns 1.0.1, cffi 1.6.0) an error occurs:

Fatal Python error: ffi.from_handle() detected that the address passed points to
garbage. If it is really the result of ffi.new_handle(), then the Python object
has already been garbage collected

Thread 0x00000498 (most recent call first):
  File "..\lib\threading.py", line 293 in wait
  File "..\lib\threading.py", line 549 in wait
  File "..\lib\site-packages\IPython\core\history.py", line 804 in run
  File "..\lib\site-packages\IPython\core\history.py", line 68 in needs_sqlite
  File "<decorator-gen-23>", line 2 in run
  File "..\lib\threading.py", line 914 in _bootstrap_inner
  File "..\lib\threading.py", line 882 in _bootstrap

Current thread 0x00000fe8 (most recent call first):
  File "..\lib\site-packages\pycares\_cfficore\__init__.py", line 122 in _sock_state_cb
  File "..\lib\site-packages\pycares\_cfficore\__init__.py", line 455 in process_fd
  File "..\lib\site-packages\pycares\_cfficore\__init__.py", line 113 in wrapper
  File "..\lib\site-packages\aiodns\__init__.py", line 103 in _handle_event
  File "..\lib\asyncio\events.py", line 125 in _run
  File "..\lib\asyncio\base_events.py", line 1254 in _run_once
  File "..\lib\asyncio\base_events.py", line 295 in run_forever
  File "..\lib\asyncio\base_events.py", line 325 in run_until_complete
  ...

Another example of this error.

Also one test is failed:

======================================================================
FAIL: test_query_ns (__main__.DNSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "..\pycares-master\tests\tests.py", line 162, in test_query_ns
    self.assertEqual(self.errorno, None)
AssertionError: 12 != None

----------------------------------------------------------------------
Ran 25 tests in 3.406s

FAILED (failures=1, skipped=5)

Meanwhile pycares 1.0 works fine and stable.

P.S. thank you very much for aiodns and pycares 😉

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
saghulcommented, Jun 14, 2016

Version 2.1.0 is out and binary wheels are uploaded. Closing!

0reactions
saghulcommented, Jun 7, 2016

Glad to hear! I’ll leave this open and take care of it for the next release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Download & Fix WIN8.1x64.dll Missing Error - TechLoris
WIN8.1x64.dll is a critical component for some Windows applications, and the error message indicates that the file is corrupt or missing, which affects...
Read more >
Crash after automatic system repair (Win8.1x64)
Crash after automatic system repair (Win8.1x64). Hi, I found no solution to my weird problem. Yesterday I made my PC go in standby...
Read more >
[SOLVED] [Win8.1x64] Launcher error on start :: The Vanishing of ...
Running Windows 8.1 Pro 64-bit with the latest .NET 4.5 SP1 installed (redist quit saying same or newer instaled), I get a .NET...
Read more >
After the latest Win8.1x64 Updates, my system got stuck ...
I found the answer by using Google into StackExchange. Turns out this is a more common problem than I thought, affecting multiple versions ......
Read more >
[SOLVED] - [Win8.1 x64] PC refuses to update Error 80070BC9 ...
[SOLVED] [Win8.1 x64] PC refuses to update Error 80070BC9 ... I ran sfc /scannow that said that I had some errors left (e.g....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found