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

Deadlock and Increasing Memory Leak in NSURLConnection/test02 on Windows on ARM64 #375

Open
hmelder opened this issue Feb 14, 2024 · 2 comments

Comments

@hmelder
Copy link
Contributor

hmelder commented Feb 14, 2024

image

This requires some further debugging in lldb.

@hmelder
Copy link
Contributor Author

hmelder commented Feb 14, 2024

SDK:
Clang: 18.1.0rc aarch64-pc-windows-msvc
libobjc2: HEAD: f983cdbf683925d942dd1d86edcfe4316bf9ed6c
gnustep-make: HEAD: 77c46a1f0e76ec12f70541d63e0d043ee40216fb
gnustep-base: HEAD: 87fc1f5e2e4094f49b330bece89ba8aa4436c684

@hmelder
Copy link
Contributor Author

hmelder commented Feb 14, 2024

Seems like running it manually changes the behaviour and does not result in a deadlock...

hugo@YellowBox MSYS /c/tools-windows-msvc/src/gnustep-base/Tests/base/NSURLConnection
$ ./obj/test02.exe
2024-02-14 17:47:35.786 test02[1028:5372] Marking local web server tests as hopeful because GSInetServerStream is broken on Windows
2024-02-14 17:47:39.086 test02[1028:5372] ERR: SENTREQUEST
2024-02-14 17:47:39.086 test02[1028:5372] ERR: GOTUNAUTHORIZED
2024-02-14 17:47:39.086 test02[1028:5372] ERR: GOTREQUEST
2024-02-14 17:47:39.086 test02[1028:5372] ERR: AUTHORIZED
2024-02-14 17:47:39.086 test02[1028:5372] ERR: GOTRESPONSE
2024-02-14 17:47:39.086 test02[1028:5372] ERR: SENTRESPONSE
2024-02-14 17:47:39.086 test02[1028:5372] ERR: NOTAUTHORIZED
2024-02-14 17:47:39.086 test02[1028:5372] ERR: GOTFINISH
2024-02-14 17:47:39.086 test02[1028:5372] FAILED for unknown reason possibly not related to the test (e.g. a timer has expired)
Dashed hope:     (2024-02-14 17:47:39.086 -0800) test02.m:64 ... GET http://localhost:1234/
2024-02-14 17:47:42.364 test02[1028:5372] ERR: SENTREQUEST
2024-02-14 17:47:42.364 test02[1028:5372] ERR: GOTUNAUTHORIZED
2024-02-14 17:47:42.364 test02[1028:5372] ERR: GOTREQUEST
2024-02-14 17:47:42.364 test02[1028:5372] ERR: AUTHORIZED
2024-02-14 17:47:42.364 test02[1028:5372] ERR: GOTCONTENT
2024-02-14 17:47:42.364 test02[1028:5372] ERR: GOTRESPONSE
2024-02-14 17:47:42.364 test02[1028:5372] ERR: SENTRESPONSE
2024-02-14 17:47:42.364 test02[1028:5372] ERR: NOTAUTHORIZED
2024-02-14 17:47:42.364 test02[1028:5372] ERR: GOTFINISH
2024-02-14 17:47:42.364 test02[1028:5372] FAILED for unknown reason possibly not related to the test (e.g. a timer has expired)
Dashed hope:     (2024-02-14 17:47:42.364 -0800) test02.m:83 ... response 400 .... GET http://localhost:1234/400
2024-02-14 17:47:45.648 test02[1028:5372] ERR: SENTREQUEST
2024-02-14 17:47:45.648 test02[1028:5372] ERR: GOTUNAUTHORIZED
2024-02-14 17:47:45.648 test02[1028:5372] ERR: GOTREQUEST
2024-02-14 17:47:45.648 test02[1028:5372] ERR: AUTHORIZED
2024-02-14 17:47:45.648 test02[1028:5372] ERR: GOTCONTENT
2024-02-14 17:47:45.648 test02[1028:5372] ERR: GOTRESPONSE
2024-02-14 17:47:45.648 test02[1028:5372] ERR: SENTRESPONSE
2024-02-14 17:47:45.648 test02[1028:5372] ERR: NOTAUTHORIZED
2024-02-14 17:47:45.648 test02[1028:5372] ERR: GOTFINISH
2024-02-14 17:47:45.648 test02[1028:5372] FAILED for unknown reason possibly not related to the test (e.g. a timer has expired)
Dashed hope:     (2024-02-14 17:47:45.648 -0800) test02.m:104 ... payload... response 400 .... POST http://localhost:1234/400
2024-02-14 17:47:48.929 test02[1028:5372] ERR: SENTREQUEST
2024-02-14 17:47:48.929 test02[1028:5372] ERR: GOTUNAUTHORIZED
2024-02-14 17:47:48.929 test02[1028:5372] ERR: GOTREQUEST
2024-02-14 17:47:48.929 test02[1028:5372] ERR: AUTHORIZED
2024-02-14 17:47:48.929 test02[1028:5372] ERR: GOTRESPONSE
2024-02-14 17:47:48.929 test02[1028:5372] ERR: GOTREDIRECT
2024-02-14 17:47:48.929 test02[1028:5372] ERR: SENTRESPONSE
2024-02-14 17:47:48.929 test02[1028:5372] ERR: NOTAUTHORIZED
2024-02-14 17:47:48.929 test02[1028:5372] ERR: GOTFINISH
2024-02-14 17:47:48.929 test02[1028:5372] FAILED for unknown reason possibly not related to the test (e.g. a timer has expired)
Dashed hope:     (2024-02-14 17:47:48.929 -0800) test02.m:130 ... redirecting... GET http://localhost:1234/301

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

No branches or pull requests

1 participant