These are chat archives for symengine/symengine

10th
Apr 2018
Christopher Rackauckas
@ChrisRackauckas
Apr 10 2018 00:28
@isuruf have you looked into Julia v0.7 yet?
Isuru Fernando
@isuruf
Apr 10 2018 03:54
Nope. Do you have a backtrace for the segfault?
Christopher Rackauckas
@ChrisRackauckas
Apr 10 2018 04:21
C:\Users\Chris\AppData\Local\Julia-0.7.0-DEV\bin>julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: https://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.7.0-DEV.4690 (2018-03-23 22:25 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit 78c7d87369* (17 days old master)
|__/                   |  x86_64-w64-mingw32

julia> using SymEngine

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 0x702feca0 -- _ZNK4llvm5Value10getContextEv at C:\Users\Chris\AppData\Local\Julia-0.7.0-DEV\bin\LLVM.dll (unknown line)
in expression starting at no file:0
_ZN4llvm5Value16DoPHITranslationEPKNS_10BasicBlockES3_ at C:\Users\Chris\AppData\Local\Julia-0.7.0-DEV\bin\LLVM.dll (unknown line)
_ZN4llvm9StoreInstC1EPNS_5ValueES2_bjNS_14AtomicOrderingENS_20SynchronizationScopeEPNS_11InstructionE at C:\Users\Chris\AppData\Local\Julia-0.7.0-DEV\bin\LLVM.dll (unknown line)
_ZN4llvm9StoreInstC1EPNS_5ValueES2_bPNS_11InstructionE at C:\Users\Chris\AppData\Local\Julia-0.7.0-DEV\bin\LLVM.dll (unknown line)
CreateStore at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/worker/package_win64/build/usr/include/llvm/IR\IRBuilder.h:1060
julia_to_address at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/worker/package_win64/build/src\ccall.cpp:614 [inlined]
emit_a_ccall at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/worker/package_win64/build/src\ccall.cpp:1939
emit_ccall at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/worker/package_win64/build/src\ccall.cpp:1853
emit_expr at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/worker/package_win64/build/src\codegen.cpp:3880
emit_stmtpos at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/worker/package_win64/build/src\codegen.cpp:3784 [inlined]
emit_function at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/worker/package_win64/build/src\codegen.cpp:5941
jl_compile_linfo at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/worker/package_win64/build/src\codegen.cpp:1160
emit_invoke at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/worker/package_win64/build/src\codegen.cpp:3053
emit_expr at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/worker/package_win64/build/src\codegen.cpp:3866
emit_assignment at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/worker/package_win64/build/src\codegen.cpp:3557 [inlined]
emit_expr at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/worker/package_win64/build/src\codegen.cpp:3883
emit_stmtpos at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/worker/package_win64/build/src\codegen.cpp:3784 [inlined]
emit_function at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/worker/package_win64/build/src\codegen.cpp:5941
jl_compile_linfo at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/worker/package_win64/build/src\codegen.cpp:1160
jl_compile_for_dispatch at /home/Administrator/buildbot/worker/package_win64/build/src\gf.c:1797
jl_compile_method_internal at /home/Administrator/buildbot/worker/package_win64/build/src\julia_internal.h:351 [inlined]
jl_call_method_internal at /home/Administrator/buildbot/worker/package_win64/build/src\julia_internal.h:398 [inlined]
jl_apply_generic at /home/Administrator/buildbot/worker/package_win64/build/src\gf.c:2099
jl_apply at /home/Administrator/buildbot/worker/package_win64/build/src\jul
Isuru Fernando
@isuruf
Apr 10 2018 04:45
It's got to do with the warning
Warning: Syntax `&argument` around is deprecated. Remove the `&` and use a `Ref` argument type instead.
I changed a few and it worked, but there's lots of calls like that needs to be fixed. I'll have a look in the weekend, if you haven't gotten to it by then
@ChrisRackauckas, is the Ref thing still valid in julia-0.6 ?
or is it a julia 0.7 feature?
Christopher Rackauckas
@ChrisRackauckas
Apr 10 2018 04:47
yes
Ref is in v0.6
Isuru Fernando
@isuruf
Apr 10 2018 04:49
@ChrisRackauckas, is there an automated way to fix these warnings?
Christopher Rackauckas
@ChrisRackauckas
Apr 10 2018 04:49
Femtocleaner
I don't know if that's updated yet
so I'd just wait for it
if the segfault is fixed then at least downstream libraries can test.
Isuru Fernando
@isuruf
Apr 10 2018 04:53
Let me drop v0.5 and see if femtocleaner does its job
Isuru Fernando
@isuruf
Apr 10 2018 05:30
symengine/SymEngine.jl#118
75 more warnings to fix
Isuru Fernando
@isuruf
Apr 10 2018 16:03
@ChrisRackauckas, looks like BinDeps is not supported on julia v0.7. https://travis-ci.org/symengine/SymEngine.jl/jobs/364450650#L682
Christopher Rackauckas
@ChrisRackauckas
Apr 10 2018 16:39
yeah, I noticed that
:-/
I'm using BinDeps2 so I can't help you there.
Isuru Fernando
@isuruf
Apr 10 2018 17:13
Locally, I'm using the same git repo symlinked for 0.6, 0.7. so not a problem there