Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SummaryWriter segfaults python #727

Open
wbendick opened this issue Oct 20, 2024 · 0 comments
Open

SummaryWriter segfaults python #727

wbendick opened this issue Oct 20, 2024 · 0 comments

Comments

@wbendick
Copy link

It's unpredictable when it will crash. If I take SummaryWriter out of my code, it does not crash. Here is a typical trace:

Windows fatal exception: access violation

Thread 0x00005260 (most recent call first):

Thread 0x00010ca4 (most recent call first):
File "C:\Users\wbend\AppData\Local\Programs\Python\Python312\Lib\threading.py", line 359 in wait
File "C:\Users\wbend\AppData\Local\Programs\Python\Python312\Lib\queue.py", line 180 in get
File "C:\Users\wbend\nn\venv2\Lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 269 in _run
File "C:\Users\wbend\nn\venv2\Lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 244 in run
File "C:\Users\wbend\AppData\Local\Programs\Python\Python312\Lib\threading.py", line 1075 in _bootstrap_inner
File "C:\Users\wbend\AppData\Local\Programs\Python\Python312\Lib\threading.py", line 1032 in _bootstrap

Current thread 0x0001322c (most recent call first):
File "C:\Users\wbend\nn\dirclassifier.py", line 50 in getitem
File "C:\Users\wbend\AppData\Local\Programs\Python\Python312\Lib\site-packages\torch\utils\data_utils\fetch.py", line 52 in fetch
File "C:\Users\wbend\AppData\Local\Programs\Python\Python312\Lib\site-packages\torch\utils\data\dataloader.py", line 757 in _next_data
File "C:\Users\wbend\AppData\Local\Programs\Python\Python312\Lib\site-packages\torch\utils\data\dataloader.py", line 701 in next
File "C:\Users\wbend\nn\dirclassifier.py", line 280 in train
File "C:\Users\wbend\nn\dirclassifier.py", line 360 in

Process finished with exit code -1073741819 (0xC0000005)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant