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

hcat(vec(x1'),vec(x2')) crashes 0.7.0-rc2.0 on Win64 #28440

Closed
PaulSoderlind opened this issue Aug 4, 2018 · 4 comments · Fixed by #28465
Closed

hcat(vec(x1'),vec(x2')) crashes 0.7.0-rc2.0 on Win64 #28440

PaulSoderlind opened this issue Aug 4, 2018 · 4 comments · Fixed by #28465
Labels
bug Indicates an unexpected problem or unintended behavior regression Regression in behavior compared to a previous version system:windows Affects only Windows

Comments

@PaulSoderlind
Copy link
Contributor

x1 = [1 2]
x2 = [3 4]

y = hcat(copy(vec(x1')),copy(vec(x2')))    #works

y = hcat(vec(x1'),vec(x2'))                #crashes Julia
@ararslan
Copy link
Member

ararslan commented Aug 4, 2018

Can you post the backtrace? Seems not to happen on other platforms (works on macOS at least).

@ararslan ararslan added system:windows Affects only Windows regression Regression in behavior compared to a previous version bug Indicates an unexpected problem or unintended behavior labels Aug 4, 2018
@PaulSoderlind
Copy link
Contributor Author

This it what it prints to screen (that's what you asked for, or?)

julia hcatProblemTsT.jl
Illegal inttoptr
          %uglygep40 = ptrtoint i64 addrspace(13)* %uglygep53 to i64
Illegal inttoptr
          %scevgep4142 = ptrtoint i64 addrspace(13)* %scevgep41 to i64
Illegal inttoptr
          %umax4344 = inttoptr i64 %umax to i8 addrspace(13)*
Illegal inttoptr
          %umax4546 = inttoptr i64 %umax45 to i64 addrspace(13)*

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

signal (22): SIGABRT
in expression starting at D:\Julia\Julia-0.7.0-rc2\bin\hcatProblemTsT.jl:7
crt_sig_handler at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/worker/package_win64/build/src\signals-win.c:92
raise at C:\Windows\System32\msvcrt.dll (unknown line)
abort at C:\Windows\System32\msvcrt.dll (unknown line)
runOnFunction at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/worker/package_win64/build/src\llvm-gc-invariant-verifier.cpp:178
_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE at D:\Julia\Julia-0.7.0-rc2\bin\LLVM.dll (unknown line)
_ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE at D:\Julia\Julia-0.7.0-rc2\bin\LLVM.dll (unknown line)
_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE at D:\Julia\Julia-0.7.0-rc2\bin\LLVM.dll (unknown line)
operator() at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/worker/package_win64/build/src\jitlayers.cpp:481
addModule at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/worker/package_win64/build/usr/include/llvm/ExecutionEngine/Orc\IRCompileLayer.h:57 [inlined]
addModule at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/worker/package_win64/build/src\jitlayers.cpp:608
jl_add_to_ee at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/worker/package_win64/build/src\jitlayers.cpp:855 [inlined]
jl_finalize_function at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/worker/package_win64/build/src\jitlayers.cpp:863
getAddressForFunction at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/worker/package_win64/build/src\codegen.cpp:1300
jl_generate_fptr at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/worker/package_win64/build/src\codegen.cpp:1411
jl_compile_method_internal at /home/Administrator/buildbot/worker/package_win64/build/src\gf.c:1804 [inlined]
jl_fptr_trampoline at /home/Administrator/buildbot/worker/package_win64/build/src\gf.c:1811
jl_apply_generic at /home/Administrator/buildbot/worker/package_win64/build/src\gf.c:2165
do_call at /home/Administrator/buildbot/worker/package_win64/build/src\interpreter.c:324
eval_value at /home/Administrator/buildbot/worker/package_win64/build/src\interpreter.c:428
eval_stmt_value at /home/Administrator/buildbot/worker/package_win64/build/src\interpreter.c:363 [inlined]
eval_body at /home/Administrator/buildbot/worker/package_win64/build/src\interpreter.c:682
jl_interpret_toplevel_thunk_callback at /home/Administrator/buildbot/worker/package_win64/build/src\interpreter.c:799
unknown function (ip: FFFFFFFFFFFFFFFE)
unknown function (ip: 000000000FAE0EBF)
unknown function (ip: 0000000000000003)
jl_toplevel_eval_flex at /home/Administrator/buildbot/worker/package_win64/build/src\toplevel.c:831
jl_parse_eval_all at /home/Administrator/buildbot/worker/package_win64/build/src\ast.c:841
jl_load at /home/Administrator/buildbot/worker/package_win64/build/src\toplevel.c:865 [inlined]
jl_load_ at /home/Administrator/buildbot/worker/package_win64/build/src\toplevel.c:872
include at .\boot.jl:317 [inlined]
include_relative at .\loading.jl:1038
include at .\sysimg.jl:29
jl_apply_generic at /home/Administrator/buildbot/worker/package_win64/build/src\gf.c:2165
exec_options at .\client.jl:239
_start at .\client.jl:432
jl_apply_generic at /home/Administrator/buildbot/worker/package_win64/build/src\gf.c:2165
jl_apply at /home/Administrator/buildbot/worker/package_win64/build/src\julia.h:1538 [inlined]
true_main at /home/Administrator/buildbot/worker/package_win64/build/ui\repl.c:112
wmain at /home/Administrator/buildbot/worker/package_win64/build/ui\repl.c:233
__tmainCRTStartup at /usr/src/debug/mingw64-x86_64-runtime-5.0.3-1/crt\crtexe.c:329
mainCRTStartup at /usr/src/debug/mingw64-x86_64-runtime-5.0.3-1/crt\crtexe.c:212
BaseThreadInitThunk at C:\Windows\System32\KERNEL32.DLL (unknown line)
RtlUserThreadStart at C:\Windows\SYSTEM32\ntdll.dll (unknown line)
Allocations: 1028470 (Pool: 1028239; Big: 231); GC: 1

@Keno
Copy link
Member

Keno commented Aug 4, 2018

That looks like the problem #28403. Is this with the official binaries?

@PaulSoderlind
Copy link
Contributor Author

Yes, Version 0.7.0-rc2.0 (2018-08-02 19:14 UTC)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior regression Regression in behavior compared to a previous version system:windows Affects only Windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants