This repository was archived by the owner on Oct 4, 2025. It is now read-only.
Open
Conversation
Fixed No.6 and No.14 in #409 (comment)
specialize_template_clang and enable tests on Windows|
This package is so powerful, thanks for putting the work, as a Windows User, i am sending you good energies so you can find a solution for those issues. |
Open
not sure why `/xxx` can't work
It looks like these code are not being used anywhere and I don't know how to port this to Windows.
(v1.2) pkg> st Cxx
Status `C:\Users\Azure\.julia\environments\v1.2\Project.toml`
[a0b5b9ef] Cxx v0.3.2 #gn-patch-crash (https://github.com/JuliaInterop/Cxx.jl)
julia> using Cxx
C++ > #include <string>
true
C++ > using namespace std
true
C++ > auto str="Hello"s
true
C++ > str
┌ Warning: The two argument form of `func_for_method_checked` is deprecated. Pass sparams in addition.
│ caller = get_llvmf_decl(::Type) at cxxstr.jl:105
└ @ Cxx.CxxCore C:\Users\Azure\.julia\packages\Cxx\nEJNc\src\cxxstr.jl:105
Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x17919656 -- unknown function (ip: 0000000017919656)
in expression starting at REPL[2]:0
unknown function (ip: 0000000017919655)
unknown function (ip: 000000001791958A)
unknown function (ip: 00000000179194AD)
unknown function (ip: 000000001791940E)
unknown function (ip: 00000000179193CF)
macro expansion at C:\Users\Azure\.julia\packages\Cxx\nEJNc\src\cxxstr.jl:516 [inlined]
lambdacall at C:\Users\Azure\.julia\packages\Cxx\nEJNc\src\cxxstr.jl:516 [inlined]
#2 at .\none:2
unknown function (ip: 00000000179188FB)
unknown function (ip: 00000000179186E4)
unknown function (ip: 00000000179185EF)
macro expansion at C:\Users\Azure\.julia\packages\Cxx\nEJNc\src\cxxstr.jl:703 [inlined]
cxxstr_impl at C:\Users\Azure\.julia\packages\Cxx\nEJNc\src\cxxstr.jl:703 [inlined]
#s37#1 at C:\Users\Azure\.julia\packages\Cxx\nEJNc\src\show.jl:25 [inlined]
...
[lines deleted]
...
mainCRTStartup at /usr/src/debug/mingw64-x86_64-runtime-6.0.0-1/usr/src/debug/mingw64-x86_64-runtime-6.0.0-1/crt\crtexe.c:223
BaseThreadInitThunk at C:\WINDOWS\System32\KERNEL32.DLL (unknown line)
RtlUserThreadStart at C:\WINDOWS\SYSTEM32\ntdll.dll (unknown line)
Allocations: 16396429 (Pool: 16393521; Big: 2908); GC: 37Julia v1.1 does not have depwarn but also crashes |
Member
Author
|
looks like something wrong with the "show" method. there is no crash when adding a semicolon after |
3 tasks
|
Would this be worth merging even without the last fix? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A majority of failure cases are caused by #409, still have no idea on how to fix that.Now, a lot of everything works normally on Windows except exception handling.
specialize_template_clangdlsym(RTLD_DEFAULT, "julia_type_to_llvm")using dlfcn-win32__gxx_personality_v0which could not be resolved!